Commit graph

1499 commits

Author SHA1 Message Date
Bill Meier
73cb352109 Don't register to SCTP port 0: use dissector_add_handle instead
svn path=/trunk/; revision=26703
2008-11-05 21:43:05 +00:00
Bill Meier
017f36d61b Minor cleanup mostly related to proto_reg_handoff
Remove code for unused handles;
 Localize handles to proto_reg_handoff as appropriate;
 Localize "saved_prefs" to proto_reg_handoff;
 In some cases: move "once-only" code in proto_reg_handoff
  so that it's executed only the first time thru 
  proto_reg_handoff;
 Properly delete/add port when pref changed (packet_ulp);

svn path=/trunk/; revision=26697
2008-11-04 22:01:35 +00:00
Bill Meier
92a9b695a4 Move find_dissector (2x) to fcn called by proto_reg_hand_off in other dissectors
svn path=/trunk/; revision=26696
2008-11-04 21:50:33 +00:00
Bill Meier
5e4758e5e0 Move prefs processing from registered init fcn to proto_reg_handoff fcn
svn path=/trunk/; revision=26695
2008-11-04 21:48:25 +00:00
Bill Meier
aea36789d4 prefs.h & conversation.h not req'd; data_handle not used
svn path=/trunk/; revision=26694
2008-11-04 21:44:19 +00:00
Bill Meier
f35324d0fd Minor cleanup mostly related to proto_reg_handoff
Remove code for unused handles;
 Localize handles (in proto_reg_handoff) which need not be global;
 Localize (in proto_reg_handoff) "saved prefs";
 Use find_dissector instead of create_dissector_handle as appropriate;
 Use gboolean for "initialized" flag in proto_reg_handoff.

svn path=/trunk/; revision=26693
2008-11-04 21:42:02 +00:00
Anders Broman
e375c3990a Regenerate all asn2wrs generated dissectors
svn path=/trunk/; revision=26670
2008-11-01 22:30:14 +00:00
Stig Bjørlykke
94e9e2b1ec Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26652
2008-10-31 17:27:51 +00:00
Anders Broman
5d6abb0d13 Add id-pkix-ocsp-nocheck.
Fixes bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3015

svn path=/trunk/; revision=26631
2008-10-30 20:12:00 +00:00
Anders Broman
1e151d673f From Pascal Quantin:
Add dissection for 3GPP 25.331 System information Blocks messages and IRAT related messages.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3016

svn path=/trunk/; revision=26624
2008-10-30 19:31:50 +00:00
Anders Broman
f5fb3686ba Move dissect_geographical_description() from gsm_map to gsm_a_common to make it easier to use it in other dissectors including it from gsm_map makes in neccesarry to include asn1.h.
Fix some bugs in the code, use it from bssmap.
(Forgotten files).

svn path=/trunk/; revision=26610
2008-10-28 20:23:23 +00:00
Anders Broman
4c0b4d7ecb Move dissect_geographical_description() from gsm_map to gsm_a_common to make it easier to use it in other dissectors including it from gsm_map makes in neccesarry to include asn1.h.
Fix some bugs in the code, use it from bssmap.
(Forgotten file).

svn path=/trunk/; revision=26609
2008-10-28 20:22:42 +00:00
Anders Broman
d397a165c2 From Shmulik Bezale:
GSM_MAP - ucs2 support on USSD.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2991

svn path=/trunk/; revision=26606
2008-10-28 19:31:29 +00:00
Anders Broman
5edf350ffc Wrong value for ELLIPSOID_POINT_WITH_UNCERT_CIRC used in CASE.
svn path=/trunk/; revision=26593
2008-10-27 21:57:36 +00:00
Anders Broman
9b9c51873b From shmulikB:
1. ansi map fail to parser BCD digits when Numbering Plan: Telephony Numbering
(ITU-T Rec. E.164,E.163) (2)

2. fix dissector_try_port if sms-TeleserviceIdentifier RECIEVE BEFORE
sms-BearerData.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2989

svn path=/trunk/; revision=26521
2008-10-23 05:56:28 +00:00
Anders Broman
02b1fcfb8d Further updates: dissect error-code and e-data.
svn path=/trunk/; revision=26486
2008-10-17 16:09:34 +00:00
Anders Broman
248049bcbb Add asn1 file from Heimdal use som stuff from it add more dissection in the template and .cnf file.
svn path=/trunk/; revision=26484
2008-10-16 21:27:14 +00:00
Anders Broman
9a24983e9d This file is not needed.
svn path=/trunk/; revision=26468
2008-10-15 20:09:24 +00:00
Anders Broman
3cbb374385 Now Kerberos compiles, a lot of work remains to get it into shape.
svn path=/trunk/; revision=26467
2008-10-15 20:08:10 +00:00
Anders Broman
18a701918b Start of an asn2wrs generated kerberos dissector. Most of the hand crafted stuff is in the template file but it's not yet accessed from the asn2wrs generated code.
- Work in progress.

svn path=/trunk/; revision=26460
2008-10-15 06:14:24 +00:00
Anders Broman
57660e3fb6 Try to get rid of unused code warnings.
svn path=/trunk/; revision=26455
2008-10-14 19:07:26 +00:00
Anders Broman
f9172ec5aa gosse updates.
svn path=/trunk/; revision=26454
2008-10-14 19:06:53 +00:00
Stig Bjørlykke
3f59b298ed Added goose to makefiles.
svn path=/trunk/; revision=26448
2008-10-14 11:58:04 +00:00
Anders Broman
37a91449cb Try to get rid of unused code warnings.
svn path=/trunk/; revision=26445
2008-10-13 19:54:48 +00:00
Bill Meier
d4e4c917cc Remove unused #include <conversations.h>
svn path=/trunk/; revision=26443
2008-10-13 19:48:52 +00:00
Anders Broman
61fdd2f1f6 From Martin Lutz:
IEC 61850 GOOSE protocol

svn path=/trunk/; revision=26440
2008-10-13 19:31:12 +00:00
Bill Meier
edf416e48a Remove line from template which was previously manually removed from the generated file.
svn path=/trunk/; revision=26431
2008-10-13 16:52:11 +00:00
Bill Meier
34a6288d7f Remove unused prefs.h, conversation.h & data_handle; Fix typo
svn path=/trunk/; revision=26430
2008-10-13 16:40:04 +00:00
Jaap Keuter
49fe94aa3f Fix for bug 2823
Do not pass automatic variables back into caller space.

svn path=/trunk/; revision=26426
2008-10-13 06:56:27 +00:00
Anders Broman
092aab864a Another instance of Signal info.
svn path=/trunk/; revision=26415
2008-10-11 14:33:02 +00:00
Anders Broman
f8a1888e9f From Bruno Hivert:
Pretify Bearer Capability.

svn path=/trunk/; revision=26411
2008-10-11 11:06:58 +00:00
Anders Broman
5ad34b26b6 Dissect Signal info with gsm-0806 protocol id.
svn path=/trunk/; revision=26399
2008-10-10 12:08:28 +00:00
Anders Broman
9f87a8bf94 Put Tag and lengt in the tree.
svn path=/trunk/; revision=26397
2008-10-09 18:57:35 +00:00
Anders Broman
fdb832cf1b Dissect Bearer cap in Signal info.
svn path=/trunk/; revision=26396
2008-10-09 17:51:51 +00:00
Ronnie Sahlberg
2b739fc611 use g_malloc/g_free instead of malloc/free
svn path=/trunk/; revision=26353
2008-10-05 08:41:44 +00:00
Ronnie Sahlberg
54716f411b change u_char to unsigned char to make the osx compiler happy
svn path=/trunk/; revision=26351
2008-10-05 00:51:28 +00:00
Ronnie Sahlberg
d83b8b0336 kerberos/gss enhancements
add a parameter *datalen to decrypt_krb5_data() so that we can pass back 
the length of the decrypted blob back to the caller.
This is useful for when there are "junk" at the end of the blob and thus 
the decrypted data is not the same size as the encrypted blob.
GSS CFX is one such example.
(we should have done this earlier since it might have made some other 
stuff easier to imlement...)


make the preference setting krb_decrypt a globally visible variable so 
we can see its value and act on it from callers of krb decryption from 
outside of packet-kerberos.c    i.e.   from GSS CFX


Make keytype == -1  a wildcard that when passed to decrypt_krb5_data() 
will try any/all encryption keys.
This since GSS CFX does not provide the enctype in the GSS layer.
(The GSS CFX enctype is only negotiated during the AP-REQ/REP  so we 
should later pick this value up and store it in a CFX session variable.
That is for a later enhancement.
)


Enhance the GSS decryption (that for hitorical reasons are implemented 
in packet-spnego.c  and not packet-gssapi.c :-)  )
to also handle decryption of GSS CFX

This should make wireshark able to decrypt any/all GSSAPI  RFC4121 
packets, if the keytab file is provided.


I have successfully decrypted LDAP using GSS CFX with AES encryption 
with this.




svn path=/trunk/; revision=26350
2008-10-05 00:28:36 +00:00
Stig Bjørlykke
55cc2f5adc Decode content according to given content type.
svn path=/trunk/; revision=26338
2008-10-02 15:45:54 +00:00
Ronnie Sahlberg
3c8c901617 add 3 new OIDs to the x509af dissector
svn path=/trunk/; revision=26325
2008-10-01 05:23:58 +00:00
Gerald Combs
d2821ce8c0 We always use start_offset, so don't wrap it in "#ifdef HAVE_KERBEROS".
svn path=/trunk/; revision=26301
2008-09-30 02:55:42 +00:00
Ronnie Sahlberg
687b0422d3 from Metze
add dissection of RFC4121 krb5 blobs



svn path=/trunk/; revision=26294
2008-09-29 18:44:10 +00:00
Anders Broman
34c2c82499 GSM MAP: inconsistent spacing in Info column
Bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2912

svn path=/trunk/; revision=26291
2008-09-29 16:57:09 +00:00
Anders Broman
3a26e89362 From Reinhard(rspmn):
Wrong display of USSD strings in the GSM 7-bit alphabet for non-ASCII data

svn path=/trunk/; revision=26286
2008-09-27 14:16:55 +00:00
Anders Broman
d4a70f2961 Add the missing part of the fix for "Failure to dissect long SASL wrapped LDAP response".
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2687

svn path=/trunk/; revision=26272
2008-09-25 19:21:44 +00:00
Anders Broman
e4e3a49dbe Update to the latest asn1 files and try to get rid of unused code warnings.
svn path=/trunk/; revision=26271
2008-09-25 19:20:14 +00:00
Anders Broman
e34e97ac41 Update to the latest asn1 files and try to get rid of unused code warnings.
svn path=/trunk/; revision=26270
2008-09-25 19:19:39 +00:00
Anders Broman
7d8e236960 Add value_string to dissect_q931_cause_ie().
svn path=/trunk/; revision=26267
2008-09-25 05:21:33 +00:00
Anders Broman
612463c139 Try to fix some "defined but not used" warnings.
svn path=/trunk/; revision=26243
2008-09-21 14:23:34 +00:00
Stig Bjørlykke
bf24d9c3dc Dump the unsupported opcode for invoke result and invoke error,
as is done for invoke argument.

svn path=/trunk/; revision=26232
2008-09-19 15:28:43 +00:00
Gerald Combs
aac8e0d91d Fix a spelling error pointed out by Noam Rathaus.
svn path=/trunk/; revision=26228
2008-09-18 17:19:15 +00:00