Commit Graph

5247 Commits

Author SHA1 Message Date
Gerald Combs 01567eb9f4 If we can't find dictionary.xml, fail instead of trying to read from
stdin (which makes distcheck unhappy).  Fixup whitespace.

svn path=/trunk/; revision=22338
2007-07-17 21:29:18 +00:00
Guy Harris d38d3652d9 "key" is a guint8 *; make the pointer into the string to which it refers
a guint8 * as well - that keeps us from sign-extending the characters
before passing them to the ctype.h macros.

svn path=/trunk/; revision=22337
2007-07-17 19:09:50 +00:00
Jeff Morriss a1c34d30c8 Don't use g_ascii_isupper() nor g_ascii_tolower(): they don't exist in GTK1. Replaced with generic isupper() and tolower().
svn path=/trunk/; revision=22336
2007-07-17 18:56:09 +00:00
Martin Mathieson 355d1e1321 Show malformed SDP line as an expert item
svn path=/trunk/; revision=22334
2007-07-17 13:09:44 +00:00
Martin Mathieson 6bbe9bd5d6 Avoid an infinite loop (on malformed packet)
svn path=/trunk/; revision=22333
2007-07-17 11:54:22 +00:00
Jaap Keuter 8cb4cc6aaf Fix for bug 1616:
ICMPv6 & UDP w/IPv6 checksum with a routing header fixed using the routing header address now.

svn path=/trunk/; revision=22331
2007-07-17 07:01:36 +00:00
Stephen Fisher a1f317de36 From Kevin A. Noll via private bug #1683:
This is a major re-write of the WLCCP version 0xc1 dissector. It now is
able to dissect many more WLCCP message types and the TLVs that may be
included in a message. Placeholders are left for message types and
TLV types that we do not currently have enough data to engineer a
dissector.


svn path=/trunk/; revision=22330
2007-07-17 06:21:15 +00:00
Jeff Morriss 520296ca02 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1675 (warning: cast from pointer to integer of different size) and, presumably, display of PER encoded IPv4 addresses by copying the IP address into a guint32 and passing that to proto_tree_add_ipv4().
svn path=/trunk/; revision=22328
2007-07-16 21:37:07 +00:00
Tomas Kukosa e7a40dbb61 make TCP and SSL/TLS ports configurable for HTTP
svn path=/trunk/; revision=22322
2007-07-16 12:51:42 +00:00
Luis Ontanon cf526583e8 for MSVC (vendor_flag ? 12 : 8) is signed ...
well for gcc is either signed or unsigned (they are two literals!)


svn path=/trunk/; revision=22321
2007-07-16 06:28:56 +00:00
Luis Ontanon b0bd83c868 Rewrite of the diameter dissector to use the dictionary for creating hfids, drop libxml dependency.
The work is still incomplete (anything but strings and numbers appears as bytes) but I want others to start testing it.

TODO:
builders and decoders for:
- (ntp) timestamps
- addresses
- diameteruris
- diameteridentities
- ipfilterrules
- qosfilterrules
- mipregistrationrequests


svn path=/trunk/; revision=22318
2007-07-16 05:41:58 +00:00
Graeme Lunt 24a91cfc09 Add packet-imf.h
svn path=/trunk/; revision=22315
2007-07-14 12:52:51 +00:00
Graeme Lunt 4d0f66a26f Further problem highlighted by OSX.
svn path=/trunk/; revision=22314
2007-07-14 10:15:52 +00:00
Graeme Lunt d23237ab38 Fix for warnings on OSX.
svn path=/trunk/; revision=22313
2007-07-14 09:58:08 +00:00
Graeme Lunt 3347aa9950 New dissector for Transport-Neutral Encapsulation Format - TNEF.
TNEF is a Microsoft defined format for carrying additional information about a message (e.g. rich text formatting)
and generally appears as a "winmail.dat" attachment. Details are here:

http://msdn2.microsoft.com/en-us/library/ms530652.aspx

This is a basic dissector which handles the TNEF attributes and the MAPI properties (found in MAPIPROPS
TNEF attribute). It is not complete and requires further work to complete the dissection. However it will
dissect TNEF generated from Outlook (including messages with attachments).

It is registered under the appropriate BER OID (1.2.840.113556.3.10.1) for X.400 attachments and media 
type ("application/ms-tnef") for MIME messages. For MIME messages, any content-transfer-encoding
(usually base64) needs to be removed before calling this dissector. There is a preference in the 
MIME multipart dissector to do this. 


svn path=/trunk/; revision=22312
2007-07-14 09:53:30 +00:00
Graeme Lunt 7b1032f9b0 Optional removal of any base64 content-transfer-encoding from a MIME
body before passing it to a sub-dissector. The decoded content is added 
as a new source, named with the filename or the content-type.


svn path=/trunk/; revision=22311
2007-07-14 09:19:35 +00:00
Graeme Lunt b1a3d8a5a0 Expose a function (imf_find_field_end()) and
make the field format dissection case-insensitive.

svn path=/trunk/; revision=22310
2007-07-14 09:15:02 +00:00
Graeme Lunt fc842e9933 Dissection of octet-aligned EXTERNALs.
svn path=/trunk/; revision=22308
2007-07-14 08:21:58 +00:00
Graeme Lunt 406b6bb630 From Stig Bjorlykke.
ExtendedBodyPart parameters are OPTIONAL.


svn path=/trunk/; revision=22307
2007-07-14 08:16:43 +00:00
Anders Broman b2b6df139c Fix bug
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1640 change "Change-Filter-Request (43)" to "CoA-Request (43)"

svn path=/trunk/; revision=22301
2007-07-13 20:00:38 +00:00
Anders Broman 222ed488b0 From Florent DROUIN:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1652
patch to correct the decoding of Calling Party Number, and
Called Party Number, when an implicit tag is used.

svn path=/trunk/; revision=22299
2007-07-13 14:46:21 +00:00
Jeff Morriss 10dcbaa760 From Florent Drouin: fix for bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1681 : initialize the variable containing the OID so the dialog portion gets decoded properly
svn path=/trunk/; revision=22298
2007-07-13 13:45:11 +00:00
Tomas Kukosa 6659588f60 - get rid of anonymous unions
- move some structures from packet-per and packet-q932-ros to asn1.h

svn path=/trunk/; revision=22295
2007-07-13 11:25:53 +00:00
Jeff Morriss 25df9f2133 From Guillem Hernandez: fix decoding of EOSP bit. From Jaap Keuter: fix description of 'value' in proto_tree_add_boolean() that caused the former bug.
svn path=/trunk/; revision=22293
2007-07-12 22:36:35 +00:00
Martin Mathieson ecc4b9ad06 Fix parsing of sctpprim header (v1)
svn path=/trunk/; revision=22290
2007-07-12 17:31:26 +00:00
Jeff Morriss df2472cb41 Undo part of rev 21460: go back to passing proto_ssl to the tap (since apparently follow ssl stream uses it) but now cast it using GINT_TO_POINTER so as to avoid a warning (seen on 64-bit Redhat AS4) about casting to a pointer from an integer of different size. It does not appear that there is a DTLS tap (which is the other thing changed in 21460).
svn path=/trunk/; revision=22289
2007-07-12 15:34:21 +00:00
Gerald Combs 90975ad053 Move packet-ipsec.c to CLEAN_DISSECTOR_SRC.
svn path=/trunk/; revision=22287
2007-07-11 18:23:54 +00:00
Gerald Combs 24238df617 Add a missing display filter.
svn path=/trunk/; revision=22285
2007-07-10 23:23:09 +00:00
Martin Mathieson 11cd484b8f Allow filtering of whole AVP
svn path=/trunk/; revision=22284
2007-07-10 17:45:11 +00:00
Jaap Keuter a9ed13c1d1 Fix reserved bits bitmask.
svn path=/trunk/; revision=22282
2007-07-10 05:15:45 +00:00
Gerald Combs 0ed707468e From Dustin Johnson: Fix a typo.
svn path=/trunk/; revision=22280
2007-07-09 17:01:00 +00:00
Martin Mathieson afb016cc87 - Fix a broken comment in xml file
- Add/fix some AVPs
- Print unmatched command codes in decimal

svn path=/trunk/; revision=22275
2007-07-09 13:27:15 +00:00
Ronnie Sahlberg b363b1664d dissect lsa_Strings correctly in the samr dissector
svn path=/trunk/; revision=22274
2007-07-09 13:05:52 +00:00
Ronnie Sahlberg 58bc100096 the sidtype is a 32bit enum not a standard enum
svn path=/trunk/; revision=22273
2007-07-09 12:50:57 +00:00
Ronnie Sahlberg 43010b965b make all rids use a single hf filter field
dissect the Type of rid using lsa_Types


svn path=/trunk/; revision=22272
2007-07-09 12:37:20 +00:00
Ronnie Sahlberg 0b3695ea9b disabling sid snooping in the code
this module was never really finished and was therefore semi-useless.
disabled now since the change to samr broke it  and the real fix to 
unbreak it would be a substantial rewrite of it
(and adding a nice gui so one can see which sids are mapped...)

disabled it   but did not remove it since i do think the module is 
useful   IF it is completed with a lot more operations.



svn path=/trunk/; revision=22271
2007-07-09 11:04:38 +00:00
Ronnie Sahlberg 824b7f0a25 rename all policy handles in samr to have a name that describes the type
of handle.



svn path=/trunk/; revision=22270
2007-07-09 10:49:34 +00:00
Anders Broman a655815efa ACP123 with -X and -T option
svn path=/trunk/; revision=22269
2007-07-08 14:38:07 +00:00
Ronnie Sahlberg 654b6075af bug 1550
add a fix for ack/seq tracking when the tcp is broken and sends a 
non-zero ack field for SYN packets.

add a warning to the dissect pane that illustrates that these are broken 
packets
 


svn path=/trunk/; revision=22267
2007-07-07 22:27:22 +00:00
Anders Broman 593548ef6b Make hf fileds for ARGGUMENT RESULT and ERROR parameters.
svn path=/trunk/; revision=22266
2007-07-07 22:24:37 +00:00
Ronnie Sahlberg 543f686d6c add the new pidl created SAMR dissector
svn path=/trunk/; revision=22265
2007-07-07 21:47:27 +00:00
Ronnie Sahlberg f031e11770 fix a typo
svn path=/trunk/; revision=22264
2007-07-07 03:34:30 +00:00
Ronnie Sahlberg ca8fd4031d add some more access masks
svn path=/trunk/; revision=22263
2007-07-07 01:25:26 +00:00
Jaap Keuter b002a79472 From Steve Karg:
Attached is a patch that fixes bug 1670 and related issues.
For the BACnet GetEventInformation-ACK request dissector:
1. Corrected BitString decoding for acknowledgedTransitions and eventEnable.
2. Corrected the ability to decode more than one event.
3. Grouped each item of the sequence using subtrees.  Added more informative
text to Priority and Timestamp.
4. Corrected eventState to use BACnetEventState enumeration instead of
BACnetEventStateFilter.

svn path=/trunk/; revision=22262
2007-07-06 22:36:58 +00:00
Ronnie Sahlberg 58db64e69f add dissection of the bits for the Connect[0-5] access_masks
svn path=/trunk/; revision=22260
2007-07-06 22:14:04 +00:00
Anders Broman 13ed09da5b From Nicolas Dichtel:
First patch is only to reindent the packet-mip6 files.
Second patch adds PMIPv6 options (draft-ietf-netlmm-proxymip6-01.txt) and Mobile Node Identifier Option (RFC4283).

svn path=/trunk/; revision=22258
2007-07-06 10:07:25 +00:00
Anders Broman 361006501b From Seehofer, Markus:
ETHERTYPE for IEEE1588/PTP

svn path=/trunk/; revision=22257
2007-07-06 10:03:19 +00:00
Ronnie Sahlberg a0fbebed71 some more prettification, show name of created users on the summary
line and also in the associated policy handle


svn path=/trunk/; revision=22256
2007-07-06 05:45:55 +00:00
Ronnie Sahlberg 5830fd55bc redo the lsa_String dissector we temporarily host in samr until lsa has
been pidlified

prettify some strings and show them in the summary line


svn path=/trunk/; revision=22255
2007-07-06 04:05:06 +00:00
Ronnie Sahlberg a1fa757734 add policy handle tracking to samr.cnf
svn path=/trunk/; revision=22254
2007-07-05 22:19:28 +00:00