Commit graph

5457 commits

Author SHA1 Message Date
Tomas Kukosa
17feb32ca9 change QSIG tables structure so as they can be generated automatically from ASN.1 in the next step
svn path=/trunk/; revision=22354
2007-07-19 11:41:10 +00:00
Bill Meier
71209c200f Fix two Windows compile warnings
svn path=/trunk/; revision=22353
2007-07-18 15:07:45 +00:00
Tomas Kukosa
3f0e5022e2 remove packet-q932-ros.h
svn path=/trunk/; revision=22352
2007-07-18 14:12:56 +00:00
Martin Mathieson
0a759fa734 Minor changes to expert items
svn path=/trunk/; revision=22350
2007-07-18 13:18:41 +00:00
Tomas Kukosa
ab5d466fc7 rose_ctx_t structure usage in Q.932 dissector
svn path=/trunk/; revision=22349
2007-07-18 13:15:36 +00:00
Luis Ontanon
e27b40f589 Add Address decoding, two debug environment variables (WIRESHARK_DEBUG_DIAM_DICT_PARSER and WIRESHARK_DUMP_DIAM_DICT) and fix some issues pointed out by Martin
svn path=/trunk/; revision=22345
2007-07-17 22:19:54 +00:00
Luis Ontanon
144ca8491d fix a leak
svn path=/trunk/; revision=22343
2007-07-17 22:09:10 +00:00
Luis Ontanon
e1ed3a1b8d get crc10 and crc6 out of packet-iuup.c
- experimental code for a way-too-heurstic look for iuup dissector


svn path=/trunk/; revision=22341
2007-07-17 22:04:00 +00:00
Luis Ontanon
fc98b36914 Have the encapsulation selection match on the port name as well as stk filename.
svn path=/trunk/; revision=22340
2007-07-17 22:00:40 +00:00
Stephen Fisher
d1357063ae From Jess Balint:
a patch to fix the state management for the MySQL protocol dissector.


svn path=/trunk/; revision=22339
2007-07-17 21:50:29 +00:00
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
Ronnie Sahlberg
ab81a16892 add initial samr idl and conformance file
svn path=/trunk/; revision=22252
2007-07-05 22:01:58 +00:00
Anders Broman
601892260c Try to get rid of the warnings.
svn path=/trunk/; revision=22250
2007-07-05 21:29:53 +00:00
Graeme Lunt
2d671eadbd Consistent eol-style restored.
svn path=/trunk/; revision=22248
2007-07-05 16:31:12 +00:00
Graeme Lunt
ce458040ac Allow for leading whitespace in parameters when looking for the boundary.
svn path=/trunk/; revision=22246
2007-07-05 16:19:36 +00:00
Anders Broman
9f5e016fff New Camel dissector built with -X and -T option and origninal ASN1 files.
svn path=/trunk/; revision=22245
2007-07-05 13:18:28 +00:00
Anders Broman
379d320b8b From Stig Bjørlykke:
This patch adds an option to packet-ber to show unexpected tags/data as unknown BER.  It also fixes some offset/length combinations when adding the error message to the tree.

svn path=/trunk/; revision=22244
2007-07-05 13:14:25 +00:00
Martin Mathieson
64ecf611c4 Make timestamp a double to make filtering more useful.
svn path=/trunk/; revision=22243
2007-07-05 09:58:09 +00:00
Martin Mathieson
b9ac488c45 Make lines of raw SIP filterable. Fix a little whitespace.
svn path=/trunk/; revision=22242
2007-07-04 17:27:46 +00:00
Graeme Lunt
14e67d04bc New dissector for Internet Message Format (IMF) - RFC 2822.
It provides basic dissection of the text-based protocol, providing fields for filtering.
It also calls the multipart dissector for any MIME body that is found.
It includes very basic support for MIXER (RFC 2156) fields.
It also registers itself as "message/rfc822" in the media type table.


svn path=/trunk/; revision=22241
2007-07-04 16:24:20 +00:00
Graeme Lunt
1066b988e6 New preference to allow for the reassembly of SMTP DATA and subsequent dissection as Internet Message Format (imf).
(imf dissector in separate patch).


svn path=/trunk/; revision=22240
2007-07-04 16:16:32 +00:00
Anders Broman
de416e9532 Preparations for updated CAMEL dissector.
svn path=/trunk/; revision=22239
2007-07-04 13:27:44 +00:00
Ronnie Sahlberg
69a35c3c47 relax the checking of [PG] PORTAL IP ADDRESS, some implementations are
apparently broken and send 64 bytes for these fields.

mark these packets in the decode pane that the isns host is broken


change the calculation of offset to just increment it by tag size  len 
size and length one at the very end of the attribute dissector



svn path=/trunk/; revision=22236
2007-07-03 13:05:33 +00:00
Ronnie Sahlberg
960af5e5ba dissect a new AD-IF-RELEVANT type seen in some vista traces
it is essentially 

Checksum ::= SEQUENCE {
   type     [0] INTEGER  # -138 == HMAC-MD5
   checksum [1] OCTET STRING
}

SignTicket ::= SEQUENCE {
   enctype   [0] INTEGER
   signature [1] Checksum
}



svn path=/trunk/; revision=22235
2007-07-03 12:02:16 +00:00
Anders Broman
44a41824c3 Fix dissection of IP addresses in unaligned PER.
Add dissection of MSISDN and IMSI to the ULP dissector.

svn path=/trunk/; revision=22233
2007-07-03 09:08:31 +00:00
Tomas Kukosa
a41f5ff693 ARGUMENT and RESULT types of OPERATION can be used with new asn2wrs and need not to be redefined as assignment
svn path=/trunk/; revision=22231
2007-07-02 12:25:13 +00:00
Anders Broman
94a699a583 Fix some of the 'defined but not used' warnings.
svn path=/trunk/; revision=22229
2007-07-02 12:12:49 +00:00
Anders Broman
04138a1353 Correct a copy paste error and rename fields.
svn path=/trunk/; revision=22228
2007-07-02 09:20:19 +00:00
Anders Broman
42f17b2111 Try to fix defined but not used warnings and use the nice new table function to get the
list of Opcodes.

svn path=/trunk/; revision=22227
2007-07-01 18:48:15 +00:00
Jaap Keuter
a286ab2d9b Fix for bug 1585:
Add new frame types for IAX protocol and modem subclass dissection.

svn path=/trunk/; revision=22226
2007-06-29 19:00:46 +00:00
Martin Mathieson
1d477c802c - Map gre -> IP
- Change a value string value to help an easily-frightened colleague

svn path=/trunk/; revision=22224
2007-06-29 16:16:57 +00:00
Jaap Keuter
9295f8a88c Fix for bug 1669:
Don't ditch the returned offset.

svn path=/trunk/; revision=22220
2007-06-28 19:03:47 +00:00
Guy Harris
126dedd9b2 I think David Young needs to be granted the power of life and death
over anybody who edits the sys/net80211/ieee80211_radiotap.h header on
any operating system.  I also think he needs to be willing to use that
power when necessary.

svn path=/trunk/; revision=22217
2007-06-27 23:53:24 +00:00
Graeme Lunt
12af6d79bc This patch will set correct extension_id for ExtensionAttributeType
(error introduced in r22043), and fix printing of CAP values in
oraddress (error introduced in r22054).


svn path=/trunk/; revision=22209
2007-06-27 18:03:23 +00:00
Graeme Lunt
1763f7caa3 This patch adds a check for octet string in RTSE reassembly.
If not an octet string the data is handled as ordinary RTSE APDU.


svn path=/trunk/; revision=22208
2007-06-27 17:57:44 +00:00
Graeme Lunt
473077719e This patch make PRES context identifiers conversation aware.
svn path=/trunk/; revision=22207
2007-06-27 17:51:19 +00:00
Graeme Lunt
4c05398910 This patch changes ExemptedAddressSeq to a SEQUENCE OF.
svn path=/trunk/; revision=22206
2007-06-27 17:42:41 +00:00
Anders Broman
9c90bbd256 Fix distcheck
svn path=/trunk/; revision=22205
2007-06-27 17:03:25 +00:00
Anders Broman
32d0349b54 Try to fix the last defined but not used warnings(again).
svn path=/trunk/; revision=22204
2007-06-27 17:02:47 +00:00
Anders Broman
85b3120a7d Try to fix the last defined but not used warnings.
svn path=/trunk/; revision=22196
2007-06-26 20:49:21 +00:00
Gerald Combs
0c4cb64c57 Add capture counts for PPI.
svn path=/trunk/; revision=22195
2007-06-26 19:38:44 +00:00
Anders Broman
abf8df1d03 Try to fix some GCC warnings
svn path=/trunk/; revision=22194
2007-06-26 17:10:05 +00:00
Jaap Keuter
9142a7a242 Fix for bug 1658:
Add Do Not Age bit interpretation.

svn path=/trunk/; revision=22193
2007-06-26 07:02:48 +00:00
Jaap Keuter
71db7e37ac From Lukazs M.:
Small patch for packet-edonkey.c (stupid mistakes are the easiest to made :-))

svn path=/trunk/; revision=22192
2007-06-25 20:47:45 +00:00
Anders Broman
f6e12b2533 From Flavio Leitner:
Fix IPMI Completion Codes.

svn path=/trunk/; revision=22191
2007-06-25 19:51:23 +00:00
Anders Broman
2e693964c6 Generate CMIP from original asn1 files with -X and -T option.
svn path=/trunk/; revision=22187
2007-06-25 18:40:17 +00:00
Gerald Combs
452d9b91e7 Fix logic to properly ignore (for now) encrypted keys and group keys.
svn path=/trunk/; revision=22186
2007-06-25 18:22:36 +00:00
Tomas Kukosa
c2172dbc5b - fix field type FT_... for SelectionType
- fix OPTIONAL handling in CLASS definition
- Q.932 ROS regenerated

svn path=/trunk/; revision=22184
2007-06-25 08:58:27 +00:00
Anders Broman
5e339afc28 From Martin Peylo:
Changes are only for protocol version 2.

The changes are:
- dissect "TIPC Bundler Protocol" messages correctly
- search for other dissectors which want to dissect encapsulated data according to the TIPC user or TIPC type of a message. The data dissection is difficult since a TIPC data message does not necessarily a "type" set. So for the moment - while TIPC is not widely used - just triggering for the user of a message will be sufficient for people looking into the TIPC protocol.
- "Dissect TIPC data" in the preferences is now switched on by default
- to show undissected data, the "data" dissector is now used.
- corrected some typos

svn path=/trunk/; revision=22183
2007-06-25 06:10:36 +00:00
Ronnie Sahlberg
45b5adb97b remove some compiler warning due to unused pinfo parameter
a SASL encapsulated ldap blob can contain more than one LDAP message so 
the rest_is_pad parameter is bogus and thus removed.

make dissect_ldap_pdu handle when we have more than one LDAP message 
inside one sasl blob


svn path=/trunk/; revision=22181
2007-06-24 17:23:55 +00:00
Anders Broman
05b30163e2 Try to fix some more GCC warnings.
svn path=/trunk/; revision=22180
2007-06-24 09:18:36 +00:00
Graeme Lunt
ba986f3f05 Consolidation of FTBP dissector into the X420 dissector.
svn path=/trunk/; revision=22178
2007-06-24 08:23:26 +00:00
Graeme Lunt
21209f9b5b This patch adds RTSE reassembly. The reassembly is done when
receiving a SES MAJOR SYNC POINT, as this indicates the end of the
COTP DT Data stream.  Previous the RTSE dissector was called when
receiving a COTP DT Data fragment with the "last data unit" bit set,
but this does not work with messages fragmented in RTSE.  Reassembly
can be turned off in the preferences.


svn path=/trunk/; revision=22176
2007-06-24 05:28:27 +00:00
Graeme Lunt
124ef66685 This patch adds s4406 type to COL_INFO, as for X420.
svn path=/trunk/; revision=22175
2007-06-24 05:22:09 +00:00
Graeme Lunt
104f8ebe46 This patch fixes reassembly when receiving a SES MINOR SYNC POINT and a
COTP DT Data (class 1) fragment in the same frame.  Also added the
generated dst_ref and a reference to the "COTP segment data" to the
tree.


svn path=/trunk/; revision=22173
2007-06-24 05:09:42 +00:00
Anders Broman
58dd15575f Try to fix some GCC warnings.
svn path=/trunk/; revision=22172
2007-06-23 15:32:36 +00:00
Anders Broman
442538ce0b Fix a typo.
svn path=/trunk/; revision=22171
2007-06-23 15:31:37 +00:00
Ronnie Sahlberg
35f3ff0246 add code to handle new insanity in how spnego and gss wrap
eachother



svn path=/trunk/; revision=22165
2007-06-22 19:32:02 +00:00
Ronnie Sahlberg
83dc65536f dns request/response tracking did not work if tree==NULL we didnt set up
the tracking structures

this makes dns request/response trackign work when you dont have any 
color filters


svn path=/trunk/; revision=22163
2007-06-22 13:23:50 +00:00
Martin Mathieson
94d90dc979 NASREQ AVP 4 (NAS-IP-Address) is of type OctetString, not IPAddress
(according to RFC 4005).

svn path=/trunk/; revision=22162
2007-06-22 12:42:47 +00:00
Anders Broman
83ffab00e2 Fix some GSM MAP Warnings.
svn path=/trunk/; revision=22154
2007-06-21 21:38:34 +00:00
Gerald Combs
7efcc33a1e In packet-ieee802.11.c, fix a serious preference bug introduced in the
last checkin.  In airpcap.c, appease the toolbar code by returning a
lower-case, non-separated WEP key.

svn path=/trunk/; revision=22152
2007-06-21 20:22:56 +00:00
Gerald Combs
249a747c51 Be less restrictive about WEP key preferences. Use hex_str_to_bytes to
process WEP keys.  Allow the "wep:" prefix for WEP keys even when
HAVE_AIRPDCAP isn't defined.  Add a NULL pointer check to
hex_str_to_bytes().  Fixes bug 1584.

Fixup indentation.

svn path=/trunk/; revision=22151
2007-06-21 17:49:03 +00:00
Graeme Lunt
ade534a4ec New preference to specify the tcp port to use for P1 and fix to include /OU= in dissected X.400 addresses.
svn path=/trunk/; revision=22149
2007-06-21 16:50:16 +00:00
Anders Broman
a80b9c8e41 Show IPv4/IPv6 addresses as such.
svn path=/trunk/; revision=22147
2007-06-20 21:56:03 +00:00
Anders Broman
607b0b1048 Add call to the sms dissector for MO-ForwardSM-Arg and MT-ForwardSM-Arg.
Use a separate valuestring for forwardSM and sendRoutingInfoForSM.

svn path=/trunk/; revision=22146
2007-06-20 21:54:40 +00:00
Jaap Keuter
d613ff0e2c From Lukasz M.:
Sometimes edonkey packets comes joined, and wireshark display only last
one on column Info. Now everyone is displayed.

svn path=/trunk/; revision=22143
2007-06-20 17:17:25 +00:00
Martin Mathieson
6949e0d231 - include gqpolicy.xml properly!
- print more specific console disgnostics when AVPs don't match because of vendorID being different

svn path=/trunk/; revision=22142
2007-06-20 14:40:40 +00:00
Anders Broman
abae311a58 - update the Unix Makefile to use gsmmap.cnf and not gsm_map.cnf.
- the Facility is not bellow the facility itself, but at the end of the tree.
It's not a problem, but it looks strange.. - Fixed

svn path=/trunk/; revision=22141
2007-06-19 22:11:30 +00:00
Bill Meier
5d2e6b2958 Fix windows build error ....
svn path=/trunk/; revision=22137
2007-06-18 21:12:13 +00:00
Anders Broman
ac66e18162 Update .cnf file
svn path=/trunk/; revision=22136
2007-06-18 21:03:59 +00:00
Anders Broman
3e2842aa89 Fix to:
For the Cancel Location message, you can replace the
old_CancelLocationArgV2 by the Identity message.
So the old syntax for Cancel Location is not used anymore.

For the message Send Authentication Info Res, there is a typo error. The "item" should not be used.

- one with the decoding of "processUnstructuredSS-Data", the IA5 string 
is not decoded/displayed.

This should go into 0.99.6.

svn path=/trunk/; revision=22135
2007-06-18 20:54:15 +00:00
Stephen Fisher
75c18967f4 Fix Windows build-bot warnings:
packet-smb.c(5479) : error C2220: warning treated as error - no object file generated
packet-smb.c(5479) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data
packet-smb.c(5480) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data
 

svn path=/trunk/; revision=22134
2007-06-18 20:14:07 +00:00
Stephen Fisher
e2c17dea98 From Joe Eykholt:
- Remove ethertype preference from recently added FCoE dissector

Me:

- Add Joe to the AUTHORS list
- Change previous line in AUTHORS list from @ to [AT] in e-mail address


svn path=/trunk/; revision=22133
2007-06-18 19:31:34 +00:00
Anders Broman
0b09a4cb76 Add code for signals:
- LCSParameterRequest
- CheckMEID
- PositionEventNotification
- StatusRequest

svn path=/trunk/; revision=22132
2007-06-18 19:20:52 +00:00
Stephen Fisher
269db0a4df From Guillaume Chazarain:
Please find attached a patch to fix some bugs in the armagetronad
dissector. More specifically:
  
* Update the descriptors to armagetronad-0.2.8.2.1, the file
src/network/Makefile.in does not exist anymore in the armagetronad
source code.
* Ensure the printed data is null terminated.
* Avoid guint16 overflow because of the '* 2'.
* Remove a statement with no effect (data = NULL).

svn path=/trunk/; revision=22131
2007-06-18 19:15:48 +00:00
Stephen Fisher
c053b3c769 From Martin Warnes:
Attached is a small patch that adds a preference option to allow the SQL
Query string to be appended to the INFO column display. This makes life
a little bit easier when scanning a trace to find the packet associated
with a specific query. I thought it was better to implement it as a
preference option with default set FALSE as it can clutter up the
display for applications that generate large amounts of queries.

svn path=/trunk/; revision=22130
2007-06-18 19:08:59 +00:00
Stephen Fisher
9c24cd4036 From Martin Warnes:
Currently the MySQL dissector assumes that an OK-Packet Response
contains the Server_Status field. Having checked the MySQL protocol page
I can't say conclusively whether it should or it shouldn't, however I've
come across a couple of MySQL Java clients that receive the OK-Packet
without the Server_Status field set in response to a "SET AUTOCOMMIT" call.
 
The attached patched simply adds a check to ensure the Server_Status
field is present before calling function mysql_dissect_server_status.


svn path=/trunk/; revision=22129
2007-06-18 18:57:58 +00:00
Jaap Keuter
d8200256a6 From Lukasz "M.":
I added 5 new packets to packet-edonkey.c and improve 2. Diffs in
attachment. This part of wireshark (decoding emule packets) it's not
finish as I see  :)  I try to do it, meybe...  :)

svn path=/trunk/; revision=22128
2007-06-18 18:11:58 +00:00
Stephen Fisher
c38ff43591 Fix compilation on OS X with GLib 1.2 by including ctype.h since our
isprint.h override only kicks in for GLib 2+.


svn path=/trunk/; revision=22125
2007-06-18 01:42:17 +00:00
Ronnie Sahlberg
2acf2daae2 nfs acl uses the same status codes as nfs so use the hf field for nfs
svn path=/trunk/; revision=22124
2007-06-18 00:04:30 +00:00
Ronnie Sahlberg
4f9c68984e make hf_nfs_nfsstat externaly visible so other dissectors can use nfs
status codes


svn path=/trunk/; revision=22123
2007-06-18 00:01:24 +00:00
Ronnie Sahlberg
f74d20b142 track filenames between rename requests and responses to make it easier to
diagnose why a rename failed


svn path=/trunk/; revision=22122
2007-06-17 23:58:01 +00:00
Ronnie Sahlberg
0adc338017 remember locking info between requests and repsonses so it is easier to
diagnose why an operation returned an error


svn path=/trunk/; revision=22121
2007-06-17 20:57:34 +00:00
Ronnie Sahlberg
ab740c7f6d add some missing error codes
svn path=/trunk/; revision=22118
2007-06-17 17:39:30 +00:00
Guy Harris
d83b345266 Fix indentation.
svn path=/trunk/; revision=22112
2007-06-15 23:07:10 +00:00
Anders Broman
8e6ac5494a Change Alcatel Specific extension container
PlmnContainer asn1 code to mach tracing info.

svn path=/trunk/; revision=22108
2007-06-15 17:58:23 +00:00
Martin Mathieson
0a3ac0f2eb For IPPRIM, try to set UDP/TCP address info so conversation tracking will work.
svn path=/trunk/; revision=22107
2007-06-15 17:21:13 +00:00
Anders Broman
d3902956dd Correct some typos.
svn path=/trunk/; revision=22106
2007-06-15 16:26:08 +00:00
Anders Broman
49e49c6e64 Update the makefile and a comment in the template file.
svn path=/trunk/; revision=22105
2007-06-15 16:20:35 +00:00
Gerald Combs
1d567d6e6b The 802.11 dissector calculates the header size, so pass that value to
the WEP/WPA decryption code instead of re-calculating it.  Fixes bug
1639.

Remove fcsPresent, radiotapPresent, and associated code from airpdcap.c
since they were always FALSE.  Glib-ize some data types.  Fixup white
space.

Update the release notes.

svn path=/trunk/; revision=22104
2007-06-14 22:09:14 +00:00
Anders Broman
7cd5781110 From Stig Bjørlykke.
ContentsTypeParameter and Relationship are OPTIONAL as they are defined with a DEFAULT.

svn path=/trunk/; revision=22103
2007-06-14 19:05:20 +00:00
Gerald Combs
64d16f4888 Add a hint for using wlan.fc.type_subtype.
svn path=/trunk/; revision=22102
2007-06-14 16:44:36 +00:00
Martin Mathieson
7c6ab66d53 Try to fix warning/error.
svn path=/trunk/; revision=22101
2007-06-14 15:17:49 +00:00
Martin Mathieson
ef1aa6fe2d Try again!
svn path=/trunk/; revision=22100
2007-06-14 12:43:15 +00:00
Martin Mathieson
34511b8b59 Improve parsing of sctpprim header (variant 1)
svn path=/trunk/; revision=22099
2007-06-14 11:24:37 +00:00
Jaap Keuter
0de9abe808 From Victor Fajardo:
Attached is a patch file for the PANA protocol dissector. The changes updates the packet-pana.c dissector to support draft-ietf-pana-pana-15.txt.

svn path=/trunk/; revision=22098
2007-06-14 07:09:07 +00:00
Anders Broman
9af02b5130 Change actx->external.direct_reference to be the OID string.
Use it in BER direct reference to call the OID dissector.

svn path=/trunk/; revision=22097
2007-06-14 05:17:07 +00:00
Gerald Combs
4b24df98fe Fix a bunch of errors found by gcc.
svn path=/trunk/; revision=22096
2007-06-14 01:13:04 +00:00
Guy Harris
555af2a1dc Include a link to the AFP reference, as well as to the programming
guide.

svn path=/trunk/; revision=22095
2007-06-13 23:43:07 +00:00
Gerald Combs
d1a745f27b Add support for PPI (the Per-Packet Information header), described at
http://www.cacetech.com/documents/PPI_Header_format_1.0.pdf .

svn path=/trunk/; revision=22094
2007-06-13 22:36:58 +00:00
Jeff Morriss
37a954260a Stop using switch statements on the GTI when decoding GT's: the values are
not unique between ANSI and ITU so we end up with incorrect behavior.  In
particular:
  - In non-ANSI if GTI==0x1, don't try to decode TT, NP, and ES.
  - In ANSI don't decode the O/E indicator on GTI==0x1.
  - In non-ANSI don't decode NAI on GTI==0x1 or 0x4.

svn path=/trunk/; revision=22090
2007-06-13 13:39:05 +00:00
Graham Bloice
3ade8e7d43 Fixed crash with missing conversation fragment, improved presentation, minor typos corrected
svn path=/trunk/; revision=22089
2007-06-13 10:15:31 +00:00
Jaap Keuter
a0cc432cfe Fix for bug 1632:
Fix bitmask for FCP "retry requested/reply".

svn path=/trunk/; revision=22088
2007-06-13 06:54:49 +00:00
Jaap Keuter
d87fb06466 Fix for bug 1633:
Adding BLS ABTS handling.

svn path=/trunk/; revision=22087
2007-06-13 06:52:23 +00:00
Stephen Fisher
bcfc3b9468 Get the Unix buildbots going again
svn path=/trunk/; revision=22086
2007-06-13 06:22:43 +00:00
Luis Ontanon
161b20becb This should fix Coverity's CID: 240 (Bug 1648)
svn path=/trunk/; revision=22084
2007-06-12 23:53:58 +00:00
Anders Broman
58f01d87cc Preparations for updated CMIP dissector:
- Export AE-title from ACSE
- Start REAL dissection(unfinished).

svn path=/trunk/; revision=22083
2007-06-12 21:29:27 +00:00
Martin Mathieson
a06723a7fb Diameter update:
- add IMS Gq interface (same AVPs seem to be used by IMS Rx and ETSI Gq' interfaces)
- other small corrections

svn path=/trunk/; revision=22079
2007-06-12 11:09:22 +00:00
Gerald Combs
9bf0729452 Fix include paths.
svn path=/trunk/; revision=22076
2007-06-11 19:03:20 +00:00
Anders Broman
3f3efe41da Generate ANSI MAP with the -X option.
svn path=/trunk/; revision=22072
2007-06-11 05:28:18 +00:00
Anders Broman
f07a01dd51 Remove an unused variable.
svn path=/trunk/; revision=22070
2007-06-10 21:31:10 +00:00
Anders Broman
d28046f3b5 Updated GSM MAP to use the latest asn1 original files.
MAP-dalouge and gsm_ss is included in this dissector.

svn path=/trunk/; revision=22069
2007-06-10 19:04:12 +00:00
Guy Harris
230c951306 From Stephen Donnelly of Endace:
The code for reading ERF files has not been significantly
	updated since 2004.  This patch brings it up to date with a
	number of changes.

	1) Increase number of decodable ERF types from 7 to 12. This
	   covers newer DAG card models and firmware updates.

	2) Fix timestamp conversion. Was calculating only microsecond
	   precision, now displaying with nanosecond resolution.  Hardware
	   precision is 7.5 to 30 ns depending on model.

	3) Allow the user to specify HDLC encapsulation as 'chdlc',
	   'ppp_serial', 'frelay' or 'mtp2'.  This is needed because the
	   ERF HDLC capture formats do not include information on what
	   protocol is used at the next level.  This is currently done via
	   an environment variable 'ERF_HDLC_ENCAP' and is analagous to the
	   existing 'ERF_ATM_ENCAP' variable.

	   If the user does not specify an HDLC encapsulation it tries to
	   guess, and falls back to MTP2 for backwards compatibility with
	   Florent's existing behaviour.

	   I know environment variables are ugly, suggestions are welcome.

	4) When reading HDLC captures as MTP2, use
	   WTAP_ENCAP_MTP2_WITH_PHDR rather than WTAP_ENCAP_MTP2.  This
	   allows us to put the 'Multi-Channel ERF' record 'channel
	   number' field into the MTP2 pseudo header > 'link_number'
	   field.  This is then displayed in Frame information, and can
	   be filtered on.  (Would be nice if it could be made a display
	   column?)

	Because the ERF record does not specify whether Annex A is used
	or not, we pass MTP2_ANNEX_A_USED_UNKNOWN and allow the existing
	user preference to decide.

Move the MTP2_ANNEX_A_ definitions into Wiretap, make the annex_a_used
field a guint8, and change MTP2_ANNEX_A_USED_UNKNOWN to 2 so it fits in
a guint8.  (This means that if you can save an ERF MTP2 file as a
libpcap file, the pseudo-header will have MTP2_ANNEX_A_USED_UNKNOWN in
it.)

svn path=/trunk/; revision=22067
2007-06-08 17:06:13 +00:00
Anders Broman
9a116d0bcf From Stefan Wenk:
Following items are changed:
*) Bandwidth efficient decoding re-implemented with expert-info support. 
    The old implementation supported a single frame only.
*) Support for AMR-WB added
*) Fixes for IF1 and IF2 decoding

svn path=/trunk/; revision=22066
2007-06-08 05:04:54 +00:00
Guy Harris
e5f3d4af31 Better hash function for file handles, as suggested by Brent Callaghan
(the old one was mapping file handles that differed only by one bit to
the same hash value; the new one mapped them to different hash values).

svn path=/trunk/; revision=22065
2007-06-08 02:45:30 +00:00
Gerald Combs
f445de2be5 Add an option to ignore vendor-specific HT elements.
svn path=/trunk/; revision=22064
2007-06-07 17:40:23 +00:00
Luis Ontanon
2a6e042da8 Unconditionally initialize profile (avoid a warning causing the distcheck buildbot to fail).
svn path=/trunk/; revision=22062
2007-06-06 22:02:56 +00:00
Bill Meier
6e5dc8ea47 Fwom David Buechi: Powerlink dissector enhancement:
The attached patch adds a small enhancement for the ETHERNET Powerlink
dissector (some well-known CANopen device profiles are decoded in human
readable plaintext in the IdentResponse frame).

svn path=/trunk/; revision=22061
2007-06-06 21:04:22 +00:00
Jaap Keuter
f345f716a2 Fix for bug 1643.
Add element type Policy Server.

svn path=/trunk/; revision=22059
2007-06-06 19:58:26 +00:00
Jaap Keuter
a1a33fbcfc Fix for bug 1644.
Get the DST from the right offset in the tvb.

svn path=/trunk/; revision=22058
2007-06-06 19:50:28 +00:00
Tomas Kukosa
90974e3440 Q.932 ROS regenerated from original ASN.1 source
svn path=/trunk/; revision=22055
2007-06-06 09:43:45 +00:00
Tomas Kukosa
1dcf2aaef0 use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)
svn path=/trunk/; revision=22054
2007-06-06 08:12:27 +00:00
Guy Harris
ad07451fd1 For various routines used by dissect_smb_fid() to dissect various FID
attributes specified at open time, have them take a length value, and
pass 4 if the values are extracted from the current packet and 0 if they
come from values saved when the FID was opened (as they're generated
values not found in the packet) - that fixes bug 1638.

svn path=/trunk/; revision=22053
2007-06-05 21:23:49 +00:00
Jaap Keuter
e9577b77f5 Fix for bug 1512:
Present user with the invalid time string.

svn path=/trunk/; revision=22052
2007-06-05 20:36:23 +00:00
Jaap Keuter
08a6f4ed7b Fix for bug 1642:
Added hf_smpp_sms_signal to hf_array.

svn path=/trunk/; revision=22051
2007-06-05 20:26:03 +00:00
Guy Harris
82fcefd134 Squelch some warnings - including some that appear legitimate; the name
of the function was missing from the call for monitorRouteRequest.  It
also appears that the wrong function was being called for
monitorRouteReport.

svn path=/trunk/; revision=22049
2007-06-05 17:15:21 +00:00
Anders Broman
bc4c034a33 Regenerate the INAP dissector with thelatest asn2wrs and theunmodified asn files.
svn path=/trunk/; revision=22048
2007-06-05 14:53:37 +00:00
Anders Broman
ad554d54f3 Regenerate the MMS dissector with -T and -X options.
svn path=/trunk/; revision=22047
2007-06-05 14:47:11 +00:00
Tomas Kukosa
40ba5931de use ASN.1 type names in conformance file instead of Wireshak types
svn path=/trunk/; revision=22045
2007-06-05 13:34:18 +00:00
Tomas Kukosa
49df6a8c10 Q.932 and QSIG regenerated with -X (new BER) option
svn path=/trunk/; revision=22044
2007-06-05 12:15:52 +00:00
Tomas Kukosa
31e45c7a21 not allow #.FN_HDR/FTR for Wireshark types but only for ASN.1 types
it makes interconnection between .cnf file and ASN.1 source more readable
(changes for #.FN_BODY will follow)

svn path=/trunk/; revision=22043
2007-06-05 12:00:57 +00:00
Michael Tüxen
cc8ed4a3c4 From Michael Scharf: Add support for TCP Quickstart.
svn path=/trunk/; revision=22041
2007-06-04 23:27:12 +00:00
Michael Tüxen
8c9bbba0cd Register as heuristic dissector for SUA.
svn path=/trunk/; revision=22040
2007-06-04 22:51:16 +00:00
Tomas Kukosa
eb782d0cea - CLASS definitions support including exports through the *-exp.cnf file
- support of extension in middle of SEQUENCE root elements
- new option EMBEDDED_PDV_CB to set default callback
- ChoiceValue support at syntax level
- ValueSet support at syntax level
- exception identifier support
- ValueFromObject support at syntax level
- next minor changes (to compile X.880 and INAP)

- dissectors using classes regenerated

svn path=/trunk/; revision=22036
2007-06-04 14:41:38 +00:00
Ronnie Sahlberg
a17d4a117b add the name for the keeaplive pdu
svn path=/trunk/; revision=22035
2007-06-04 07:35:05 +00:00
Ronnie Sahlberg
c2456b8f4a there is no longer a FINISHED pdu in the protocol
svn path=/trunk/; revision=22034
2007-06-04 07:24:55 +00:00
Anders Broman
5a2fb14332 Add some opcodes and mark func as _U_ in packet-ber.c
svn path=/trunk/; revision=22032
2007-06-03 21:10:29 +00:00
Anders Broman
4393bceae5 INAP:
- Use (some) IN CS4 asn1 files Q.1248.1 Q.1248.2 Q.1248.3

BER/asn2wrs:
-  Add basic support for EmbeddedPDVType

svn path=/trunk/; revision=22031
2007-06-03 19:58:59 +00:00
Ronnie Sahlberg
ff26c88dca srvid is also aligned to an 8 byte boundary
svn path=/trunk/; revision=22029
2007-06-02 23:08:21 +00:00
Ronnie Sahlberg
1445df7446 add a new field to one of the pdus
rsn in dmaster request/response is aligned to a 64 bit bundary


svn path=/trunk/; revision=22028
2007-06-02 22:50:31 +00:00
Ronnie Sahlberg
add05b70d7 show the database name for ctdb.dbid fields
svn path=/trunk/; revision=22027
2007-06-02 22:31:12 +00:00
Anders Broman
38adb4cf94 Camel regenerated with the -X option
svn path=/trunk/; revision=22024
2007-06-02 09:36:26 +00:00
Ronnie Sahlberg
16453761ca update the ctdb controls to match the current version of the protocol
svn path=/trunk/; revision=22023
2007-06-02 08:20:58 +00:00
Anders Broman
883083a064 Regenerate the INAP dissector with the -X option using the original asn1 files
(with small modifications).

svn path=/trunk/; revision=22021
2007-06-01 19:52:26 +00:00
Martin Mathieson
7b8632f552 - Check NACK version is 1 before dissecting as NACK
- Add expert item when NACK found
- Give a couple of subtrees items to make them more filterable 

svn path=/trunk/; revision=22020
2007-06-01 18:29:23 +00:00
Stephen Fisher
8501d62d2b From Zach Chadwick:
TR-111, from the DSL-Forum adds two options to STUN (RFC 3489) to help
with TR-069 enabled devices traverse firewalls. TR-111 can be read here:
http://www.dslforum.org/techwork/tr/*TR-111*.pdf

This patch adds support for decoding the two optional STUN attributes
used by TR-111.  One is simply a zero-length attribute, and the other a
string attribute.

Me: Changed stun.att.connection.request.binding to
stun.att.connection_request_binding


svn path=/trunk/; revision=22019
2007-05-31 23:53:39 +00:00
Stephen Fisher
e156c1cce7 From Florian Lohoff:
Updates to the redback dissector


svn path=/trunk/; revision=22018
2007-05-31 19:29:29 +00:00
Stephen Fisher
2745f06d96 From Lars Ruoff:
find attached several trivial diffs for viewing RTP SSRC values in Hex
rather than Dec at various places in the UI.
Also includes change from BASE_DEC to BASE_HEX_DEC for corresponding RTP
and RTCP dissector header fields.


svn path=/trunk/; revision=22017
2007-05-31 18:41:25 +00:00
Stephen Fisher
4c21e608ca Wrap newly added (svn rev 22007) but unused "Required MBMS bearer
capabilities 7.7.76" function called decode_gtp_mbms_bearer_cap in
an #if 0 block to get the Unix buildbots going again.  Left code
intact on the asumption that it is about to be used since it was
recently added.


svn path=/trunk/; revision=22014
2007-05-31 01:29:16 +00:00
Anders Broman
8673ae26d3 - LDAP generated with -X option
- a minor update to MobileDomainDefinitions.asn adding ID and a document reference.

svn path=/trunk/; revision=22010
2007-05-30 21:50:31 +00:00
Anders Broman
ce511a8146 Update value strings.
svn path=/trunk/; revision=22007
2007-05-30 19:02:14 +00:00
Anders Broman
d197031761 Change implicit tag handling for SEQUENCE OF and fix a cut'n paste error.
svn path=/trunk/; revision=22006
2007-05-30 19:00:50 +00:00
Tomas Kukosa
dc46e52ec8 - remove unused hf_rnsap_L3_DL_DCCH_Message_PDU from RANAP
- dissectors regenerated with fixed asn2wrs

svn path=/trunk/; revision=22004
2007-05-30 14:31:05 +00:00
Anders Broman
4b2284cc35 Clean up the .cnf file a bit.
svn path=/trunk/; revision=21992
2007-05-29 19:08:26 +00:00
Guy Harris
5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Guy Harris
bf16786902 Add missing calculated_delay_report_gap field to _rtcp_conversation_info
structure.

svn path=/trunk/; revision=21989
2007-05-29 17:27:59 +00:00
Martin Mathieson
8e98967075 When reporting roundtrip delay, show delay since timestamp of LSR frame.
svn path=/trunk/; revision=21985
2007-05-29 14:37:34 +00:00
Guy Harris
d2ac4f7133 Check for G_GINT64_MODIFIER in Wireshark as we do in Wiretap.
In all the places where a cast to "long long" or "unsigned long long"
was done, use G_GINT64_MODIFIER and get rid of the cast, as

	1) there's no guarantee that "%ll" works

and

	2) there's no guarantee that "long long" works

(the latter definitely does *NOT* work with MSVC++; the former doesn't
work with regular printf in MSVC++, but it might work with the GLib
printf-based functions).

svn path=/trunk/; revision=21978
2007-05-29 06:56:07 +00:00
Sebastien Tandel
76729e5d0f From David Howells :
Fix compilation failures when building wireshark-0.99.6-SVN-21916 on an
x86_64-unknown-linux-gnu target with gcc version 4.1.2 20070403 (Red Hat
4.1.2-8).

The failures fall into two categories:
  (1) Casts between pointers and 32-bit integers without an intermediary cast
via 'long' or 'unsigned long'.  This results in a compiler warning complaining
about casts between a pointer and an integer of a different size.
  (2) Passing values to "%lld" or similar printf-style format options that the
compiler thinks are a different size.  Such values need to be cast to 'long
long' or 'unsigned long long'.

svn path=/trunk/; revision=21975
2007-05-29 02:43:18 +00:00
Anders Broman
430a1de0c0 From Joe Eykholt:
Attached is a patch file and a new dissector for FCoE.   This protocol
is described at http://fcoe.com and has been submitted to T11. It is an encapsulation protocol that can be used to transport FC frames over raw Ethernet when the link is loss-free due to pause.  The Ethertype 0x8906 has been reserved through IEEE for this protocol.

svn path=/trunk/; revision=21967
2007-05-28 06:38:30 +00:00
Anders Broman
b8d8f0ce1b From Neil Ostroff:
The enclosed patch updates the ansi isup dissector to support the following parameters:  

 

1. Generic Name  

2. Originating Line Info  

3. Jurisdiction  

4. Charge Number  

5. Forward Call Indicator (bits M and N are now being decoded)  

6. Cause Code (all values are now being decoded)

svn path=/trunk/; revision=21966
2007-05-28 06:13:03 +00:00
Stephen Fisher
6aa0d47b38 From Metatech:
Here is a small patch of a dozen lines that extracts SQL statements from
the packet.
This allows to use the field "drda.sqlstatement" in coloring rules or in a
packet filter so that only SQL statements are dumped from a connection


svn path=/trunk/; revision=21964
2007-05-27 23:34:55 +00:00
Sebastien Tandel
028a7cf638 From Ville Nuorvala :
adds support for the following RFCs (and RFC-to-be):
  - RFC 3519 Mobile IP Traversal of Network Address Translation (NAT) Devices
  - RFC 3543 Registration Revocation in Mobile IPv4
  - RFC 4433 Mobile IPv4 Dynamic Home Agent (HA) Assignment (including the not
      yet published errata about the message extension using the short message
      extension format)
  - draft-ietf-mip4-message-string-ext Mobile IPv4 Message String Extension


svn path=/trunk/; revision=21948
2007-05-26 01:01:27 +00:00
Stephen Fisher
3f239a2fc7 Fix bug #1416: crash (stack smashing) on single DHCP packet
svn path=/trunk/; revision=21947
2007-05-26 00:38:53 +00:00
Guy Harris
1e7c1bc036 Add a cast to squelch an MSVC warning.
svn path=/trunk/; revision=21944
2007-05-25 21:50:12 +00:00
Gerald Combs
a33ebc8d5c Throw an exception instead of trying to add a 4GB fragment.
svn path=/trunk/; revision=21943
2007-05-25 21:32:32 +00:00
Guy Harris
88f69b80c0 Make SND_SEQ an array of 2 guint32's, rather than an array of 8
guint8's, to squelch some compiler warnings (and clean up some
comparisons).

svn path=/trunk/; revision=21941
2007-05-25 19:39:35 +00:00
Luis Ontanon
c22f70ec1b - epan/uat.h: change the UAT_PROTO_DEF macro to handle both the name of the dissector and the handle
- packet-user_encap.c: use the new UAT_PROTO_DEF
- gtk/uat_gui.c:  change the order of "containment" of the widgets to have the clist fields sized to the scrolledwindow instead of the whole window


svn path=/trunk/; revision=21934
2007-05-25 16:47:22 +00:00
Tomas Kukosa
31e3747eab get rid of few warnings
svn path=/trunk/; revision=21933
2007-05-25 11:40:32 +00:00
Tomas Kukosa
6c5a299a55 UMTS RRC updated to 3GPP TS 25.331 V7.4.0 (2007-03) and moved to one directory
svn path=/trunk/; revision=21931
2007-05-25 06:54:39 +00:00
Jaap Keuter
7178eb7aad From Brian Vandenberg:
I ran into a problem trying to debug some of my stuff yesterday that depends on the http dissector, and the server I'm working with defaults to ssl traffic; whenever I try to debug it, it always gets hung up on the lines I mentioned in the email quoted below (within the ssl dissector).

It seems the culprit is in the use of g_malloc within ssl_data_alloc, and free (instead of g_free) in  tls_prf. 

I've attached the diff for the fixes I made.

svn path=/trunk/; revision=21929
2007-05-25 06:35:21 +00:00
Anders Broman
cbb9271a0a Make it possible to "decode as" NBAP over SCTP, update IANA registered PPID's
for SCTP.

svn path=/trunk/; revision=21927
2007-05-24 20:42:55 +00:00
Gerald Combs
ad3702a7c2 Fix a crash bug found through fuzz testing. The bug was introduced
after the 0.99.5 release.

svn path=/trunk/; revision=21924
2007-05-24 17:36:07 +00:00
Tomas Kukosa
3ecba48898 fix rrlp subdissector calling
svn path=/trunk/; revision=21921
2007-05-24 13:30:45 +00:00
Tomas Kukosa
b20af30b48 few BER dissectors regenerated
svn path=/trunk/; revision=21920
2007-05-24 12:36:41 +00:00
Tomas Kukosa
062d80f7b8 - RNSAP calls RRC through dissector handle instead of direct function call
- PER dissectors regenerated

svn path=/trunk/; revision=21919
2007-05-24 12:30:38 +00:00
Anders Broman
c4669fd0cb Put in some forgotten actx.
svn path=/trunk/; revision=21912
2007-05-23 20:49:53 +00:00
Graham Bloice
009c784fb6 Corrected dissection of read requests when no object indexes are supplied, i.e. index field is 0
svn path=/trunk/; revision=21909
2007-05-23 16:35:42 +00:00
Jörg Mayer
f9836c56e8 warning fix: passing argument 2 of 'iconv' from incompatible pointer type
svn path=/trunk/; revision=21908
2007-05-23 15:42:48 +00:00
Tomas Kukosa
d105a414d0 fix warning
svn path=/trunk/; revision=21907
2007-05-23 14:31:12 +00:00
Tomas Kukosa
fe5ee23c89 - support of CONTAINING constraint in OCTET STRING and BIT STRING
- fix handling of tag for EXTERNAL type
- change automatic postfix for duplicate names from '...%d' to '..._%02d'

svn path=/trunk/; revision=21906
2007-05-23 13:42:05 +00:00
Tomas Kukosa
e8ecaf723b support of CONTAINING constraint in OCTET STRING and BIT STRING
svn path=/trunk/; revision=21905
2007-05-23 13:36:25 +00:00
Ronnie Sahlberg
49849c691e show the directory name in replies to CreateDir/Checkdir and DeleteDir
svn path=/trunk/; revision=21899
2007-05-22 23:12:58 +00:00
Ronnie Sahlberg
bc33880788 show the filename that was to be deleted in the Delete reply
svn path=/trunk/; revision=21897
2007-05-22 23:05:25 +00:00
Stephen Fisher
8724d742a2 Fix for bug #1598 - add support for PRSVP (RSVP encapsulated in UDP port 3455)
svn path=/trunk/; revision=21896
2007-05-22 22:55:09 +00:00
Anders Broman
412fc09583 Regenerate dissector with -X and -T directives.
svn path=/trunk/; revision=21895
2007-05-22 21:17:08 +00:00
Anders Broman
ddb6768db2 Update the EXTERNAL dissection code(still unfinished).
svn path=/trunk/; revision=21893
2007-05-22 21:15:00 +00:00
Guy Harris
59d2c52ac3 With at least some compilers, "enum QUALITY_TYPE" is unsigned, and the
compiler warns about checking whether it's >= 0, as it always is.

Don't do that check - we don't use "type" until the switch statement,
and GCC should issue a warning if not all valid "enum QUALITY_TYPE"
values are handled in the switch statement.

Sort the items in the switch statement in the order in which they appear
in the enum definition, so it's clearer that it covers all values.

svn path=/trunk/; revision=21890
2007-05-22 17:32:39 +00:00
Anders Broman
dca634c4de Prepare for the use of the new -X parameter for BER encoded protocols.
svn path=/trunk/; revision=21889
2007-05-22 16:17:54 +00:00
Jörg Mayer
5e33afbf50 Don't generate enums that end in a comma
svn path=/trunk/; revision=21888
2007-05-22 16:14:28 +00:00
Graham Bloice
574eb87d18 Code cleanups, some parsing errors fixed, added more object types
svn path=/trunk/; revision=21887
2007-05-22 16:01:25 +00:00
Sebastien Tandel
213056bdd2 revert changes of r21879 which fix gcc bugs. These changes was from mipv4
improvements patch.

svn path=/trunk/; revision=21886
2007-05-22 13:47:45 +00:00
Jörg Mayer
21adfc3029 Trivial warning fixes:
opcua: warning: function declaration isn't a prototype
rest: comma at end of enumerator

svn path=/trunk/; revision=21885
2007-05-22 13:17:24 +00:00
Ronnie Sahlberg
9f69a4eae2 improve FIND_FIRST2 useability in the same way as in the previous
patches


svn path=/trunk/; revision=21881
2007-05-22 03:55:54 +00:00
Ronnie Sahlberg
050a0508e1 remember the object name from a QUERY_PATH_INFO and show it as a
generated item in the response.

also show the infolevel in the response as a generated item


svn path=/trunk/; revision=21880
2007-05-22 03:33:51 +00:00
Sebastien Tandel
3082359cab fix gcc 4.2 warnings (qualifier type)
svn path=/trunk/; revision=21879
2007-05-22 03:30:28 +00:00
Ronnie Sahlberg
d35ba564aa fix an incorrect shift
svn path=/trunk/; revision=21878
2007-05-22 02:55:14 +00:00
Ronnie Sahlberg
dac8664c9e show the QUERY_FS_INFO level as a generated item in the response packet
svn path=/trunk/; revision=21875
2007-05-22 02:14:35 +00:00
Ronnie Sahlberg
c5575a6894 add the level of interest to the dissection of QUERY_PATH_INFO/QUERY_FILE_INFO responses
as a generated item


svn path=/trunk/; revision=21874
2007-05-22 01:42:56 +00:00
Ronnie Sahlberg
196ed78ce8 add the disposition to the data we store for how a fid is opened
svn path=/trunk/; revision=21873
2007-05-22 01:26:32 +00:00