Commit Graph

847 Commits

Author SHA1 Message Date
Graeme Lunt c55b754264 Tidy ups for SASL/GSSAPI support:
1) Handle empty (zero length) saslCredentials
2) Handle "GSSAPI" auth_mech when identified from the bind
3) Annotate column info to show SASL service applied to LDAP operation


svn path=/trunk/; revision=20830
2007-02-17 11:06:25 +00:00
Anders Broman 9288918d6b From Florent Drouin:
A patch to update the gsm map definition up to 3GPP TS 29.002 V7.5.0 (2006-09) Release 7 There is a little impact on the GTP dissector, because I had to change the name of the Local ErrorCode in the gsm map asn1 definition due to a conflict with the Camel dissector.

svn path=/trunk/; revision=20823
2007-02-16 21:02:19 +00:00
Tomas Kukosa a91eb30021 H.225.0 updated to 05/2006, Amendment 1 01/2007
svn path=/trunk/; revision=20807
2007-02-14 08:08:44 +00:00
Stephen Fisher 3f3d725506 Changes to the ansi_map and ospf dissectors to use new RVAL() (range string)
feature.


svn path=/trunk/; revision=20806
2007-02-14 01:16:19 +00:00
Luis Ontanon b26c1c4ca2 Add a description of UAT fields, and have it as a tooltip in the New/Edit Dialog.
svn path=/trunk/; revision=20797
2007-02-12 19:57:41 +00:00
Graeme Lunt 4a6b87d35e This patch adds some expert info in CDT when:
- Unable to get compressed content
- Unable to uncompress content

http://www.wireshark.org/lists/wireshark-dev/200702/msg00356.html


svn path=/trunk/; revision=20746
2007-02-08 17:12:38 +00:00
Graeme Lunt 06e7801472 This patch adds support for decoding BER-encoded files as "X.411 Message".
http://www.wireshark.org/lists/wireshark-dev/200702/msg00355.html


svn path=/trunk/; revision=20745
2007-02-08 17:09:15 +00:00
Luis Ontanon 4e55e354bb Have the windows buildot compiling again.
svn path=/trunk/; revision=20742
2007-02-08 10:15:04 +00:00
Luis Ontanon b08d8470e7 Oddly enough MSVC cannot compile this one.
svn path=/trunk/; revision=20738
2007-02-07 18:51:44 +00:00
Luis Ontanon 2006fac500 * Add a category param to the uat.
* UATify SNMP Users


svn path=/trunk/; revision=20736
2007-02-07 14:54:35 +00:00
Jeff Morriss 0a9304dc6f Fix for bug 1350: Add return value for
dissect_ansi_map_sms_originationrestrictions()

Also close a couple of comments, remove one /* embedded in a comment,
remove a couple unused variables (still lots of unused params in there),
and fix indentation of some proto_item and proto_tree variable declarations.

svn path=/trunk/; revision=20730
2007-02-07 02:41:10 +00:00
Anders Broman 951cb6ee63 Fix a copy error.
svn path=/trunk/; revision=20728
2007-02-06 07:59:24 +00:00
Anders Broman 5541864c73 Extend the events valuestring with Bearer Modification Support Event.
svn path=/trunk/; revision=20657
2007-01-31 22:59:41 +00:00
Luis Ontanon 5ea201cacf Merge Anders' and my own fixes to some bugs
- most paramaters have data set to NULL, have them added to the tree
- avoid the context tracing mecanism bailing out if a ContextList appears in the packet.
- in q9150 do not attempt to dissect sdp unless we believe it is sdp
    (BTW we need heuristics for sdp and other potential payloads of this parameter..)


svn path=/trunk/; revision=20649
2007-01-31 09:30:08 +00:00
Anders Broman c9ea62712c Fix bug 1328 and related bugs found when examining the trace.
svn path=/trunk/; revision=20634
2007-01-30 22:52:09 +00:00
Anders Broman 695a2bddd6 Update value strings.
svn path=/trunk/; revision=20612
2007-01-29 21:30:06 +00:00
Graeme Lunt c4b562e988 Support for SMIMECapabilities and KeyPreference attributes.
ContentInfo syntax for .p7s, .p7c and .p7m files.


svn path=/trunk/; revision=20585
2007-01-28 10:20:51 +00:00
Graeme Lunt 7edc7aea68 Definition of a per-recipient extension to prevent failure of dissection.
(Don't know what the extension actually is.)


svn path=/trunk/; revision=20584
2007-01-28 10:15:46 +00:00
Graeme Lunt 428435dcd8 Fix for per-domain-bilateral-information (bilateral-information field wasn't handled).
svn path=/trunk/; revision=20583
2007-01-28 10:12:51 +00:00
Anders Broman 4e448c3cf9 Dissekt ControlChannelData.
svn path=/trunk/; revision=20458
2007-01-16 22:51:08 +00:00
Tomas Kukosa 9a36b34d03 fix registration H.225 over TLS
svn path=/trunk/; revision=20449
2007-01-16 07:53:46 +00:00
Anders Broman 2cea2d7034 Dissect SMS-OriginationRestrictions.
svn path=/trunk/; revision=20444
2007-01-15 21:07:36 +00:00
Anders Broman 165354a3f5 Handle the case where the same TransactionID is used for two different
destinations.

svn path=/trunk/; revision=20440
2007-01-15 14:01:04 +00:00
Anders Broman de009c280a Dissect sms-BearerData also in responce messages if service code seen in Invoke.
Pretify a bunch of DigitsType parameters.

svn path=/trunk/; revision=20439
2007-01-15 10:19:50 +00:00
Anders Broman d1db2cb464 If a OCTET STRING has zero length a zero length tvb will be returned - handle that case
and add pretifications by Graeme Lunt.

svn path=/trunk/; revision=20430
2007-01-14 22:20:02 +00:00
Anders Broman 2aa94bbcd9 Dissect cdma2000HandoffInvokeIOSData and response data
(Missing .cnf file in previous checkin) add BCD decoded items to Digits type item.

svn path=/trunk/; revision=20426
2007-01-14 15:29:29 +00:00
Anders Broman ff5d1745e3 Handle the case ehere TCAP identifier isn't present.
svn path=/trunk/; revision=20421
2007-01-13 23:02:06 +00:00
Anders Broman 623ca476f1 - Correct Tag numbering and marking of OPTIONAL.
- Add some variants of Digits dissection.
 - Correct the DMH-RedirectionIndicator.
- Add reserved bits.

svn path=/trunk/; revision=20420
2007-01-13 19:18:46 +00:00
Anders Broman 2ddd0fdf0a Handle zero length invokes and some asn1 fixes.
svn path=/trunk/; revision=20418
2007-01-13 16:08:30 +00:00
Graeme Lunt 7d3a4e9264 New protocol dissector for PKCS#12 - Personal Information Exchange Syntax.
Generally found within a file (.p12 or .pfx) or as a directory attribute (userPKCS12 from iNetOrgPerson).

Wiki page and sample file to follow.


svn path=/trunk/; revision=20416
2007-01-13 15:26:13 +00:00
Graeme Lunt 2fd7d2c620 New "decode as ..." feature for BER-encoded files (WTAP_FILE_BER).
A BER-encoded file can be dissected as one of a number of registered syntaxes (registered using register_ber_syntax_dissector()). 
Syntaxes may also be associated with OIDs (or other strings) using register_ber_oid_syntax(). 

A default syntax with which to dissect a BER-encoded file is determined from its filename (extension). For example, ".cer" and ".crt" files will be dissected as "Certificate".


svn path=/trunk/; revision=20414
2007-01-13 12:59:27 +00:00
Anders Broman 69238439c4 Dissect cdma2000HandoffInvokeIOSData.
svn path=/trunk/; revision=20409
2007-01-12 17:50:20 +00:00
Anders Broman 844abae29a Dissect CDMAServiceOption.
svn path=/trunk/; revision=20407
2007-01-12 12:05:56 +00:00
Gerald Combs f67fdf4865 Move sha1.[ch] to epan/crypt/crypt-sha1.[ch]. Remove duplicate code.
svn path=/trunk/; revision=20399
2007-01-12 00:33:32 +00:00
Anders Broman dd5a89ec49 Add dissection of cdmaChannelData and only add Opcode to hastable once.
svn path=/trunk/; revision=20398
2007-01-11 22:26:15 +00:00
Luis Ontanon efa6338231 warn the user if the decrypted data doesn't look like a ScopedPDU instead of dissecting it.
svn path=/trunk/; revision=20393
2007-01-11 17:39:16 +00:00
Luis Ontanon 5223c8dfa6 - allow use of * as any-engine-id
- automatic localization of usertable entries with no engine-id
- remove last remains of debug code


svn path=/trunk/; revision=20387
2007-01-11 00:29:50 +00:00
Anders Broman c9bbf1b510 Packet-ber:
Handle the following type of construct
CDMATargetMAHOInformation ::= SEQUENCE {
	targetCellID			[3] IMPLICIT TargetCellID,
	cdmaPilotStrength		[65] IMPLICIT CDMAPilotStrength,
	cdmaTargetOneWayDelay	[61] IMPLICIT CDMATargetOneWayDelay
	}

CDMATargetMAHOList ::= SEQUENCE OF [135] IMPLICIT CDMATargetMAHOInformation

ansi_map:
- Correct an Enummeration
- add Missing OPTIONAL to Tags
- Handle parameter if it's one or two octets long.

svn path=/trunk/; revision=20386
2007-01-10 22:59:40 +00:00
Luis Ontanon b82782e9c8 + AES decryption
svn path=/trunk/; revision=20369
2007-01-10 02:30:22 +00:00
Luis Ontanon 0ddb0fd48f * sha1 authentication
- remove warnings and test code


svn path=/trunk/; revision=20366
2007-01-10 01:15:18 +00:00
Gerald Combs 9d5858f635 Move cryptography code to epan/crypt.
svn path=/trunk/; revision=20359
2007-01-09 22:14:07 +00:00
Anders Broman dfeba2c627 Add ansi_map to the makefiles
Add missing IMPLICIT and tag numbers, some whitespace changes.

svn path=/trunk/; revision=20358
2007-01-09 21:45:46 +00:00
Luis Ontanon faa3da9af0 change the loading order of some headers to avoid a conflict with net-snmp
svn path=/trunk/; revision=20356
2007-01-09 20:22:48 +00:00
Luis Ontanon f7a79f43e7 SNMPv3 USM decryption/authentication phase 1
svn path=/trunk/; revision=20353
2007-01-09 18:38:55 +00:00
Anders Broman 284c951386 Show return signal in info col. also if no data.
svn path=/trunk/; revision=20335
2007-01-07 15:38:29 +00:00
Anders Broman c2b459f78f Check in the asn2wrs generated ANSI map dissector.
svn path=/trunk/; revision=20334
2007-01-06 20:51:03 +00:00
Anders Broman dee9a1745a - Dissect IA5 digits
- Update info column
- Call subdissectors
- fix some asn1 bugs
- clean up .cnf file.

svn path=/trunk/; revision=20325
2007-01-05 07:32:39 +00:00
Luis Ontanon 41bf0f37ea the widcards: Choose and All were inverted (again?)
svn path=/trunk/; revision=20314
2007-01-04 22:44:17 +00:00
Anders Broman b556ad58bb Make the recent INAP change in the template file as well.
svn path=/trunk/; revision=20311
2007-01-04 20:15:22 +00:00
Anders Broman 1818a5c8cb Add dissection of SystemCapabilities.
svn path=/trunk/; revision=20299
2007-01-04 07:51:26 +00:00
Anders Broman b2312da614 Add call to the Teleservice dissector add a bunch of missing Return signals and
fix up some cut and paste errors.

svn path=/trunk/; revision=20293
2007-01-03 07:55:40 +00:00
Gerald Combs 53689800e6 Move epan/crypt-md5.[ch] to epan/crypt. Remove
epan/crypt/airpdcap_md5.[ch].  Fix up whitespace.

svn path=/trunk/; revision=20277
2007-01-02 22:49:57 +00:00
Bill Meier 444602bf97 Oops: wireshark.com --> wireshark.org
Also: 1 additional Ethereal --> Wireshark

svn path=/trunk/; revision=20272
2007-01-02 17:19:25 +00:00
Bill Meier 739eb43c3a More ethereal --> wireshark
svn path=/trunk/; revision=20270
2007-01-02 14:11:35 +00:00
Guy Harris 04ca66dfb1 Ehtereal[sic] -> Wireshark. :-)
Give a little more detail in the comment in the H.248 dissector about
"MEGACO" vs. "H.248".

svn path=/trunk/; revision=20262
2007-01-02 09:20:27 +00:00
Anders Broman 9375e27794 Use TransactionId to match ansi map responses to requests and fix
some bugs in the asn2wrs generated ansi map dissector.

svn path=/trunk/; revision=20257
2007-01-01 22:03:01 +00:00
Anders Broman 039a3278a0 From Florent Drouin:
Update the Camel ASN1 definition to version 3GPP TS
29.078 7.3.0 Release 7.
Some definitions for element SIZE have been replaced to use the capSpecificBound variables, and some decoding problemes, like for Establish temporary connection have been solved.
I did notice that the CalledPartyBCDNumber (ISDN-AddressString (1..9) ) is not inline with the last definition (1..41), but I did not update it.

svn path=/trunk/; revision=20153
2006-12-19 22:07:08 +00:00
Stephen Fisher c97caf2a94 From Stig Bjorlykke:
I have added a new dissector for DMP (STANAG 4406 Direct Message
Profile) as defined in STANAG 4406 Annex E.  The DMP protocol has no
assigned UDP port number yet, so the default value in this dissector
is 0 (I suppose this is som sort of "disabled"?) until we get this
registered.

The dissector has been tested on OSX Intel/PowerPC and Solaris SPARC.

Changes in this patch:
* Added DMP dissector
* Added a new CRC table and functions in crc16.c
* Made NonDeliveryReasonCode and NonDeliveryDiagnosticCode available
from X.411
* Made NonReceiptReasonField and DiscardReasonField available from X.420


svn path=/trunk/; revision=20133
2006-12-14 00:16:06 +00:00
Ronnie Sahlberg 84553a1b5e if there is a list of mechTypes in the negTokenInit then store the first one
and associate it with the conversation properly.

do the same for supportedMech in the negTokenTarg


This will allow wireshark to decode the blob in negTokenTarg even when no supportedMech is provided.



svn path=/trunk/; revision=20129
2006-12-13 02:44:00 +00:00
Stephen Fisher 537c28f645 From Stig Bjorlykke:
This patch fixes a small typo in the s4406 dissector.


svn path=/trunk/; revision=20093
2006-12-10 04:38:42 +00:00
Jörg Mayer e26860607d Get rid of UCD SNMP support (it's not longer supported and
superseeded by net-snmp). Replace some_snmp by net_snmp
where appropriate.


svn path=/trunk/; revision=20071
2006-12-08 15:05:41 +00:00
Anders Broman 771d0fc34a Revert some dissector_handle_t to static changes to make it compile again.
svn path=/trunk/; revision=20064
2006-12-07 20:53:32 +00:00
Anders Broman d61e373bb4 As ponted out by Stig Bjørlykke change a whole bunch of dissector_handle_t to static.
svn path=/trunk/; revision=20062
2006-12-07 20:34:08 +00:00
Guy Harris 64088ba432 We got rid of ldap/Lightweight-Directory-Access-Protocol-V3.asn.orig, so
don't try to put it into the distribution.

svn path=/trunk/; revision=20006
2006-11-27 19:42:14 +00:00
Guy Harris 34cd954555 Note that this isn't just cut and pasted from RFC 2251.
svn path=/trunk/; revision=20005
2006-11-27 19:41:07 +00:00
Ronnie Sahlberg 30a62fa3e7 remove file that is not used
bug 1247


svn path=/trunk/; revision=19997
2006-11-27 09:00:01 +00:00
Bill Meier 07a6f489a3 Fix property typo: svm:keywords --> svn:keywords
svn path=/trunk/; revision=19993
2006-11-26 18:53:35 +00:00
Bill Meier ff4739e437 Fix some property typos (eg: svn:kwywords, swn:keywords, etc)
Add 'svn:eol-style native' for a few .[hc] files


svn path=/trunk/; revision=19992
2006-11-26 18:31:53 +00:00
Anders Broman e1c57b07f7 Revert changes to have named bits in the bitstring of unknown length.
svn path=/trunk/; revision=19954
2006-11-21 22:18:12 +00:00
Anders Broman e89aadc13a Add OID translation for some more Generic codecs.
svn path=/trunk/; revision=19900
2006-11-15 07:04:22 +00:00
Jörg Mayer dd26a7021b nikai@nikai.net:
Remaining fixes from:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1225

svn path=/trunk/; revision=19895
2006-11-14 20:32:29 +00:00
Anders Broman 28e73ca8d2 Sorry that should have been static int. Corrcted now.
svn path=/trunk/; revision=19869
2006-11-08 21:28:03 +00:00
Jörg Mayer c0d26bccb9 Make Wireshark build on my system (gcc 4.1.0) again
svn path=/trunk/; revision=19868
2006-11-08 13:59:46 +00:00
Anders Broman 3f1b8044d0 Use h248v3.asn.
svn path=/trunk/; revision=19867
2006-11-08 06:57:29 +00:00
Jörg Mayer 5bd45dfdb9 Make things build on my system again
svn path=/trunk/; revision=19866
2006-11-08 00:10:09 +00:00
Anders Broman 8d8af34ba4 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1206
MEGACO message cannot be decoded correctly for ServiceChange Command
And decoding of serviceChangeReason.

svn path=/trunk/; revision=19861
2006-11-07 19:25:59 +00:00
Jaap Keuter cf9adce9be Fix bug 1207, simple swap of the two text strings.
svn path=/trunk/; revision=19819
2006-11-06 12:19:26 +00:00
Jaap Keuter 066cab237e Don't remove a preference, make it obsolete instead.
svn path=/trunk/; revision=19818
2006-11-06 11:41:02 +00:00
Graeme Lunt 326773f754 Tidy up of information column for NTLM authentication.
Related to Bug 1148.


svn path=/trunk/; revision=19810
2006-11-05 12:15:52 +00:00
Graeme Lunt e15d91a592 General updates to:
*) Remove maximum LDAP PDU size check - they can get large with either large attributes (e.g. CRLs, SPIFs) or with lots of results (see http://www.wireshark.org/lists/wireshark-users/200610/msg00197.html). The max size preference is also removed.
*) Support for dissecting LDAP controls including server side sorting and paged results. A new BER function is introduced to see if there is a dissector for a given OID.
*) Remove reference to removed BER preference in the LDAP reassembly preference.
*) Mark a LDAPURL as a URL


svn path=/trunk/; revision=19792
2006-11-04 09:14:54 +00:00
Anders Broman e5188939c3 Dissect h324ext_h223lcparm.
svn path=/trunk/; revision=19786
2006-11-03 20:15:17 +00:00
Ronnie Sahlberg 2d1bb39121 change the signature for the get_pdu_len() function pointer passed to tcp_dissect_pdus() to also include a packet_info pointer.
there are many reasons why some protocols actually need to be able to access the pinfo structure while determining the pdu size



svn path=/trunk/; revision=19751
2006-10-31 09:29:07 +00:00
Ulf Lamping 647533a5ef put every python script name into "" so the call won't fail on Win32 native python.
The problem is the slash in e.g.:

 @$(PYTHON) ../../tools/make-dissector-reg.py

is interpreted as an option instead of being part of the path.

I didn't wanted to use backslashes as this might introduce new problems with cygwin's python port.

svn path=/trunk/; revision=19730
2006-10-29 17:19:52 +00:00
Anders Broman 2aed0d4f40 Fix more Ubuntu warnings.
svn path=/trunk/; revision=19711
2006-10-26 21:31:48 +00:00
Anders Broman b68d723b81 Remove some unused asn1 code(not in spec) to get rid of some Ubuntu warnings.
svn path=/trunk/; revision=19688
2006-10-25 22:09:48 +00:00
Anders Broman acff0f06a5 Fix Id marking
svn path=/trunk/; revision=19686
2006-10-25 19:26:58 +00:00
Gerald Combs 28d32a420f Add more paranoid pointer checks. Fixes CID 219.
svn path=/trunk/; revision=19684
2006-10-25 17:00:33 +00:00
Anders Broman dc10ba22e6 Fix Event dissection which was broken when going to V3.
and add a few parameters.

svn path=/trunk/; revision=19544
2006-10-15 22:11:26 +00:00
Anders Broman 6c0254b1cb Upadte to H.248 V3 and add some annex E parameters.
svn path=/trunk/; revision=19543
2006-10-15 16:06:02 +00:00
Ronnie Sahlberg daa7210867 fix for 1148
pretty horrible hack to store an ntlmssp blob inside an ldap string

the info column is not entirely pretty but   the payload is at least decoded


svn path=/trunk/; revision=19490
2006-10-11 08:18:14 +00:00
Guy Harris 51a426a4ca Clean up some compiler warnings.
svn path=/trunk/; revision=19473
2006-10-10 08:10:42 +00:00
Anders Broman 60068a047e Add ASN1 for H248 v3. The aim is to replace the current asn1 file after some more testing.
svn path=/trunk/; revision=19463
2006-10-09 20:22:31 +00:00
Anders Broman ed0cf1e0bb H248:
Lost a line in last commit.

ISUP Export a value string.

svn path=/trunk/; revision=19454
2006-10-08 20:57:20 +00:00
Anders Broman 1785428d4c Add a few packages and fix dissecton of a_codecs and handle the case when
hf_param = -1.

svn path=/trunk/; revision=19445
2006-10-06 19:48:00 +00:00
Anders Broman 1677b21838 Added the possibillity of Statistic pkg as well.
svn path=/trunk/; revision=19436
2006-10-04 22:43:38 +00:00
Anders Broman 7817c0a610 Put back the bugfixes froim Revision 19190/19356
Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1091

"h248_handle was declared localy, udp port was not added at register.

Added a few more packagenames."

svn path=/trunk/; revision=19434
2006-10-04 21:52:35 +00:00
Anders Broman 12819c3b19 Finally got it to complie.
svn path=/trunk/; revision=19427
2006-10-04 16:02:59 +00:00
Luis Ontanon c284a7f9ab more cleanup... almost there...
svn path=/trunk/; revision=19426
2006-10-04 15:31:31 +00:00
Anders Broman 699c5c66b6 From Florent.Drouin@alcatel.fr:
I did improve the OID management in the tcap dissector.
Now, when a tcap message is reveived, without upper layer, the ACN is saved in the TCAP context, and can be used for the next messages of the dialogue. It is used only when the upper layer session is opened with Tcap only messages.

svn path=/trunk/; revision=19414
2006-10-03 19:24:22 +00:00
Luis Ontanon 8f737d2587 Get it to compile...
svn path=/trunk/; revision=19412
2006-10-03 18:38:04 +00:00