Commit graph

8403 commits

Author SHA1 Message Date
Anders Broman
3cc1acb3b1 CFLOW decoding is wrong for IPv6 fields.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3328

svn path=/trunk/; revision=28957
2009-07-06 17:37:03 +00:00
Stig Bjørlykke
383809a151 Rewrite non-ASCII characters.
svn path=/trunk/; revision=28954
2009-07-06 14:14:13 +00:00
Anders Broman
c0e6bc1eca Small editorial changes.
svn path=/trunk/; revision=28953
2009-07-06 14:09:52 +00:00
Bill Meier
60e658e132 Radius: Additional attribute handling:
- implement "ether" attribute; 
 - parse "abinary" attribute [uses existing radius_abinary()]
Also: add a comment in packet-radius.h about the meaning of the encrypt flag.

svn path=/trunk/; revision=28952
2009-07-06 14:05:37 +00:00
Stig Bjørlykke
da47d6113a From Joakim Wiberg via bug 3670:
This patch correctes serveral minor things.

1. Adds decoding of generic services to classes that have a separate dissect
   function.
2. Adds new error codes.
3. Adds new CIP objects.
4. Extends the VendorID list.

svn path=/trunk/; revision=28951
2009-07-06 13:59:09 +00:00
Jörg Mayer
0a48757c84 Fix for bug 3660: Length (guint32) could become 0 or very large
(overflow).

svn path=/trunk/; revision=28948
2009-07-06 13:00:04 +00:00
Anders Broman
1853380559 Decode error for network-id in BICC BCU-ID
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3648

svn path=/trunk/; revision=28947
2009-07-06 12:50:12 +00:00
Anders Broman
f16859def3 From Kovarththanan Rajaratnam:
Cleanup header_field_info definitions
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548

svn path=/trunk/; revision=28940
2009-07-05 11:49:36 +00:00
Anders Broman
508d91b358 A fix for:
"ANSI ISUP Cause indicators with coding standard=ANSI fail to dissect."
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3654

svn path=/trunk/; revision=28939
2009-07-04 15:15:51 +00:00
Guy Harris
bf7462bf97 Set save_fragmented regardless of whether we're reassembling or not, as
we restore it regardless of whether we're reassembling or not.

svn path=/trunk/; revision=28938
2009-07-03 17:12:36 +00:00
Bill Meier
d36f35f28b From: Tobias Witek: Fix processing of radius 'vendor specific attributes'
In the RADIUS dissector, the function radius_register_avp_dissector() registers
vendors that are not already present in the dictionary hash-table. As far as I
can see, there are two problems with this:

1. The function does not set the number of type/length octets and the has_flags
 variable for that AVP, which is required to correctly decode AVP/VSA values
2. In some situations, the function is called _before_ radius_load_dictionary()
is called (for example for the vendor 3GPP (ID: 10415))

Therefore, all vendor entries that are created by calling
radius_register_avp_dissector() leave their type_octets and length_octets un-initialized,
which causes incorrect decoding.

[Result: Radius dissector displays messages such as:
 "Malformed Packet: RADIUS" and "Error/Malformed: Malformed Packet(Exception occurred)"]

The attached patch fixes this problem by assuming that the dictionary knows the
'ground truth' about the type/length octet and the has_flags information and allows it to
overwrite these values even for vendors that have already been loaded.

Also: (from Bill Meier): set the type/length octet and the has_flags variables to default
"standard" values (1,1,FALSE) in radius_register_avp_dissector().

Fixes Bug #3651 (and Bug #3635).
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3651
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3635

svn path=/trunk/; revision=28937
2009-07-03 16:03:02 +00:00
Anders Broman
1415c62c68 Fix:
packet-ndmp.c:562: warning: unused parameter 'pinfo'

svn path=/trunk/; revision=28936
2009-07-03 13:05:45 +00:00
Anders Broman
24b17483b7 From Chris Costa:
NDMP fragmentation fix.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3395

svn path=/trunk/; revision=28935
2009-07-03 11:45:42 +00:00
Gerald Combs
5631122d1d Try to allocate enough memory on all platforms.
svn path=/trunk/; revision=28930
2009-07-03 00:17:06 +00:00
Gerald Combs
88ba030310 From Kovarththanan Rajaratnam via bug 3567:
The template cache contains pointers that are session-scope (only freed in
netflow_reinit()) but still we use g_malloc(). This patch changes that so we
now use se_alloc(). With this patch I'm able to reproduce the crash
("Per-session memory corrupted").

svn path=/trunk/; revision=28927
2009-07-02 20:35:58 +00:00
Gerald Combs
2391d808af Update documentation links.
svn path=/trunk/; revision=28926
2009-07-02 20:35:46 +00:00
Anders Broman
9952ce524f From Radek Vokál:
Support for new NFSv4 features.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3258

svn path=/trunk/; revision=28919
2009-07-02 16:54:20 +00:00
Stig Bjørlykke
75a8a15e2b From Albert Chin:
Small patch to make it compile on AIX.

svn path=/trunk/; revision=28917
2009-07-02 06:51:27 +00:00
Gerald Combs
e2890d4053 Fix a couple of labels.
svn path=/trunk/; revision=28914
2009-07-01 23:36:35 +00:00
Stig Bjørlykke
581d804ce5 Added error value tables.
svn path=/trunk/; revision=28913
2009-07-01 21:20:18 +00:00
Gerald Combs
a66905c3d2 Add a couple of IPFIX labels where they differ from Netflow.
svn path=/trunk/; revision=28912
2009-07-01 20:56:03 +00:00
Gerald Combs
0aaad68faf Try to fix fuzzing errors in bug 3636. When dissecting an options
template, differentiate between Netflow v9 and IPFIX, which require
different interpretations. Add other minor fixes and comments.

svn path=/trunk/; revision=28911
2009-07-01 19:36:24 +00:00
Guy Harris
3de850b274 Thou shalt not call assert() in dissectors.
svn path=/trunk/; revision=28910
2009-07-01 17:40:08 +00:00
Stig Bjørlykke
c18998e9c0 Added support for Simulcrypt EMMG <-> MUX,
and generic support for other interfaces.

svn path=/trunk/; revision=28902
2009-07-01 07:21:13 +00:00
Jörg Mayer
6425275b89 - Put ISMP.EDP into the protocol column to make it clearer
that filtering on edp is not going to help
- Make it possible to filter on ismp.edp
- In case of edp fill info column

svn path=/trunk/; revision=28901
2009-07-01 05:27:34 +00:00
Guy Harris
fe767063a7 Replace one assert() with DISSECTOR_ASSET(), so we don't crash, and get
rid of another, as the pointer in question is non-null in all calls (if
somebody adds another call with a null pointer, it'll crash when
dereferencing the pointer in any case).

svn path=/trunk/; revision=28900
2009-06-30 23:56:26 +00:00
Guy Harris
bc57dc2d75 Don't crash if a null pointer is passed, just skip the appending of the
items.

svn path=/trunk/; revision=28899
2009-06-30 23:52:20 +00:00
Guy Harris
db08b1f783 Get rid of assert() call; either the pointer will never be null, in
which case it won't crash, or it will be null, in which case that just
trades one crash for another, and we should fix the crash.

svn path=/trunk/; revision=28898
2009-06-30 23:49:34 +00:00
Gerald Combs
4f19e431b7 Add some length checks. Fixes bug 3567.
svn path=/trunk/; revision=28897
2009-06-30 20:59:51 +00:00
Bill Meier
6e2bd7cc03 From: Benjamin Roch: Enhancements and small fixes for packet-tte.c dissector;
Also: a few minor mostly formatting changes by me.

svn path=/trunk/; revision=28895
2009-06-30 19:52:43 +00:00
Bill Meier
92446c8005 packet-radius: Fix exception CLEANUP handling when malformed attribute list/pair seen;
Fixes crash reported in Bug #3578. [https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3578]
Essentially: CLEANUP_CALL_AND_POP wasn't being executed for certain error exits from
 dissect_attribute_pairs() thus leaving a CLEANUP entry on the exception stack.
Also: vsa_buffer_table wasn't being destroyed if an exception occurred in dissect_attribute_pairs.

svn path=/trunk/; revision=28891
2009-06-30 13:57:26 +00:00
Stig Bjørlykke
a01a94d02b Always register to tcp.port to be able to decode as.
svn path=/trunk/; revision=28890
2009-06-30 12:26:11 +00:00
Stig Bjørlykke
4721f29558 Changed check for having multiple ldap PDU's in one frame.
The previous check is incorrect when the first ldap frame in the capture is
selected and the filter is changed, or selecting "Follow TCP Stream".

Also removed check_col().

svn path=/trunk/; revision=28889
2009-06-30 10:38:00 +00:00
Stig Bjørlykke
942b03f06e Cleanup protocol name for ldap.
svn path=/trunk/; revision=28888
2009-06-30 08:28:21 +00:00
Balint Reczey
aa2c87df87 Added option to show not dissected packet data on a separate packet bytes pane.
It makes offsets in the not dissected data easier to follow.

svn path=/trunk/; revision=28885
2009-06-29 22:22:30 +00:00
Bill Meier
ec28353bb4 From Kovarththanan Rajaratnam: Fix for Bug #3572
[http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3572]

svn path=/trunk/; revision=28884
2009-06-29 20:59:26 +00:00
Jörg Mayer
dcd823565b Add value for vfstate: active
svn path=/trunk/; revision=28883
2009-06-29 20:35:47 +00:00
Anders Broman
a98ce52e80 From Artem Tamazov:
Added: PW ATM 1:1, AAL5 SDU, AAL5 PDU support + BFD fix + PW ATM OAM fix

svn path=/trunk/; revision=28881
2009-06-29 19:24:14 +00:00
Jaap Keuter
98fa965a00 Make dissector handle unexpected data better.
svn path=/trunk/; revision=28875
2009-06-28 16:39:31 +00:00
Anders Broman
4d8424a2bb From Jon Smirl:
More packet decoding for Intellon powerline devices.

From me put proto_register_homeplug() last in the file and whitespace changes.

svn path=/trunk/; revision=28872
2009-06-28 15:18:27 +00:00
Anders Broman
9b9880a25a From yin sun:
h248 term wildcard enhancement

svn path=/trunk/; revision=28861
2009-06-27 13:37:03 +00:00
Anders Broman
f179827b21 From Greg Schwendimann:
802.11 decryption is broken
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3590

svn path=/trunk/; revision=28860
2009-06-27 12:41:39 +00:00
Anders Broman
e4fea1939c From Kovarththanan Rajaratnam:
- Fix ncp2222.py and all the epan/dissectors/dcerpc dissectors. The
latter required changes to idl2wrs which used variadic macros (not supported in MSVC 6.0).

- Cleanup PIDL conformance files

svn path=/trunk/; revision=28856
2009-06-27 10:31:42 +00:00
Anders Broman
6a5ea97ff6 From Sebastien Decugis:
Add Missing Diameter EAP support.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3600

svn path=/trunk/; revision=28849
2009-06-26 05:48:03 +00:00
Stig Bjørlykke
9733aadcfe Re-generate asn1 dissectors after hf_register_info cleanup.
svn path=/trunk/; revision=28848
2009-06-26 03:59:01 +00:00
Stig Bjørlykke
7f1f48a8b2 From Joakim Wiberg via bug 3103:
Various improvements to the CIP and ENIP dissectors.

From me:
Updated to latest trunk changes.

svn path=/trunk/; revision=28844
2009-06-26 02:38:23 +00:00
Stig Bjørlykke
74ff21bccf From Nathan Hartwell via bug 2733:
Use time_secs_to_str_unsigned().

svn path=/trunk/; revision=28841
2009-06-25 02:08:06 +00:00
Stig Bjørlykke
26bd9f3623 Remove a tvb_free() call.
svn path=/trunk/; revision=28839
2009-06-25 01:50:56 +00:00
Jaap Keuter
7b79574a5b From Artem Tamazov:
Added: ESMC support as per G.8264 (Slow Protocol Subtype 0x0a).
* QL codes are dissected according to G.781 5.5.1.1 "Option I SDH". 
Added: support for Timestamp entities in ESMC PDU as per WD56 proposal.

svn path=/trunk/; revision=28836
2009-06-24 06:21:45 +00:00
Stig Bjørlykke
69116bfad2 Fixed field types for some reserved fields.
svn path=/trunk/; revision=28835
2009-06-24 05:54:19 +00:00
Stig Bjørlykke
ff7ff86249 More hf_register_info related cleanup.
svn path=/trunk/; revision=28834
2009-06-24 03:03:25 +00:00
Bill Meier
5c91a491ab Remove superflous code; #include <stdio.h> not needed.
svn path=/trunk/; revision=28833
2009-06-24 02:42:43 +00:00
Stig Bjørlykke
8531980952 From Kovarththanan Rajaratnam:
More hf_register_info related cleanup.

svn path=/trunk/; revision=28832
2009-06-24 02:17:12 +00:00
Stig Bjørlykke
975a16f706 From Kovarththanan Rajaratnam:
Cleanup hf_register_info declaration passed to llc_add_oui(). While there,
change the declaration to an array in order to be consistent with the rest
of packet-*.c files.

svn path=/trunk/; revision=28830
2009-06-24 02:11:11 +00:00
Stig Bjørlykke
92215412c5 Change hf_nisplus_dummy to use "dummy" as name instead of " "
(this is the only place where " " was used)

svn path=/trunk/; revision=28829
2009-06-24 02:08:14 +00:00
Stig Bjørlykke
7eefc799b6 From Kovarththanan Rajaratnam:
More hf_register_info related cleanup
* Fix process-x11-fields.pl (packet-x11.c)

svn path=/trunk/; revision=28828
2009-06-24 02:07:16 +00:00
Stig Bjørlykke
43485d8963 More hf_register_info related cleanup.
svn path=/trunk/; revision=28827
2009-06-24 02:05:51 +00:00
Bill Meier
96079919f5 Remove two unused includes
svn path=/trunk/; revision=28825
2009-06-24 00:49:54 +00:00
Bill Meier
c98c466139 if (!initialized) ... not req'd + other addt'l minor revisions;
Also: add packet-hpteam.c to Makefile.common so it gets built as part oif Wireshark.

svn path=/trunk/; revision=28824
2009-06-24 00:29:54 +00:00
Jaap Keuter
0621ecb3a8 From Nathan Hartwell:
This patch attempt should more closely align with the Wireshark "layout" of using 
a dissector rather than a "hack" to the packet-llc dissector.

svn path=/trunk/; revision=28823
2009-06-23 21:05:47 +00:00
Anders Broman
2555dcfb74 Revert(Try to fix indentation a bit.)
svn path=/trunk/; revision=28821
2009-06-23 14:16:28 +00:00
Anders Broman
6738ccefeb Try to fix indentation a bit.
svn path=/trunk/; revision=28820
2009-06-23 13:49:46 +00:00
Jaap Keuter
083c3a3027 From Kovarththanan Rajaratnam:
The Bluetooth AMP Manager protocol was recently adopted by the Bluetooth SIG.
This protocol sits on top of L2CAP and requires a few changes in order to
accommodate the new move/create channel request.

This patch includes:
* a new Bluetooth AMP Manager Protocol dissector
* changes to L2CAP to handle the new move/create channel signals
* introduce a dissector table for fixed channel, allowing btamp dissector to
handle the BT AMP Manager Protocol channel
* Preliminary changes in L2CAP to support the new enhanced L2CAP modes
(enhanced retransmission/streaming mode)

svn path=/trunk/; revision=28819
2009-06-23 06:49:38 +00:00
Jaap Keuter
9ba3058f05 From Shinsuke SUZUKI:
Due to an incorrect offset setting in packet-icmpv6.c Wireshark cannot parse RA router-lifetime and RA flags properly.

svn path=/trunk/; revision=28818
2009-06-23 06:45:59 +00:00
Gerald Combs
ddecfd9725 Instead of tvb_get_ptr + ep_alloc + proto_tree_add_string to fetch a string and
add it to the tree, just call proto_tree_add_item. Fixes bug 3564.

Replace another tvb_get_ptr call with tvb_format_text.

svn path=/trunk/; revision=28815
2009-06-22 22:38:29 +00:00
Stig Bjørlykke
7f77783e20 From Kovarththanan Rajaratnam:
More header field info cleanup in plugins/* and epan/dissectors/*

svn path=/trunk/; revision=28811
2009-06-22 18:23:58 +00:00
Jörg Mayer
6270137b07 Fix my 'fix': guint8 > 0 is always true
svn path=/trunk/; revision=28807
2009-06-22 07:27:14 +00:00
Jörg Mayer
cf0746df92 Fix warning: always evaluates to true/false
svn path=/trunk/; revision=28805
2009-06-22 06:29:32 +00:00
Jörg Mayer
abdbac3ec6 Lots of additional decoding, still quite a few things missing.
svn path=/trunk/; revision=28804
2009-06-22 06:28:10 +00:00
Jaap Keuter
8eee6e4cd8 Fix for bug 3559:
Don't let the index run over the size of the array.

svn path=/trunk/; revision=28801
2009-06-22 05:57:44 +00:00
Stig Bjørlykke
7614d925c2 More header_field_info cleanup.
svn path=/trunk/; revision=28799
2009-06-22 05:35:47 +00:00
Stig Bjørlykke
c08baee3d8 More header_field_info cleanup.
svn path=/trunk/; revision=28798
2009-06-22 05:18:37 +00:00
Stig Bjørlykke
f8c959dc8c From Kovarththanan Rajaratnam:
Move header field info declarations into function scope.

This is the first step. Another patch will be submitted which actually scrubs
the header field info declarations (remove empty blurbs, etc.)

svn path=/trunk/; revision=28797
2009-06-22 04:58:08 +00:00
Stig Bjørlykke
85c8e31574 From Kovarththanan Rajaratnam via bug 3548:
More header_field_info cleanup.

From me:
Don't fix the empty name for hf_nisplus_dummy.

svn path=/trunk/; revision=28792
2009-06-21 18:45:56 +00:00
Anders Broman
983175d9cf Add duration to the tap info.
svn path=/trunk/; revision=28791
2009-06-21 18:27:34 +00:00
Graeme Lunt
05a3dca2bc LDAP control support for Password policy for LDAP directories.
svn path=/trunk/; revision=28783
2009-06-21 09:13:11 +00:00
Jörg Mayer
631380a950 Lots of improvements to GLPB dissector - still lot of stuff missing.
svn path=/trunk/; revision=28781
2009-06-20 16:07:01 +00:00
Stig Bjørlykke
21b253b4e0 And delete the added file...
svn path=/trunk/; revision=28780
2009-06-19 06:16:29 +00:00
Stig Bjørlykke
1733596a6f Revert changes committed by an accident.
Will be committed again later.

svn path=/trunk/; revision=28779
2009-06-19 06:15:52 +00:00
Jörg Mayer
4be57a71e6 The previous patch fixed only part of the problem,
as offset was only increased inside the if statement.
Get rid of offset and put in the numeric value.

svn path=/trunk/; revision=28778
2009-06-19 06:14:29 +00:00
Stig Bjørlykke
b3e10e559a Moved setting of length2 to make it always set.
svn path=/trunk/; revision=28777
2009-06-19 05:45:40 +00:00
Jörg Mayer
ea64b28267 Add beginnings of Cisco's GLBP protocol. It's based
on the trace referred to by bug 3544 and the documentation
URL given in the dissector.

svn path=/trunk/; revision=28776
2009-06-19 05:29:20 +00:00
Jörg Mayer
caf2c996ef Replace my email address by a reference to AUTHORS
svn path=/trunk/; revision=28775
2009-06-19 05:27:15 +00:00
Stig Bjørlykke
9391dce6b2 From Kovarththanan Rajaratnam via bug 3548:
More header_field_info cleanup.

svn path=/trunk/; revision=28772
2009-06-19 02:09:52 +00:00
Stig Bjørlykke
b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
    for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
    FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero

svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Stig Bjørlykke
89162943b0 From Anders:
Update to June specification.

svn path=/trunk/; revision=28767
2009-06-17 15:02:12 +00:00
Martin Mathieson
fae33ea177 Call RRC dissector inside TRY/CATCH block, in order to:
- finish dissecton of other bodies
- make sure stats are updated in the face of RRC exceptions

svn path=/trunk/; revision=28766
2009-06-17 12:13:29 +00:00
Martin Mathieson
ec48fc388f Trivial prettifications
svn path=/trunk/; revision=28765
2009-06-17 09:43:56 +00:00
Michael Tüxen
f177e9f3f7 Suggested by Anders...
svn path=/trunk/; revision=28761
2009-06-16 20:32:17 +00:00
Graeme Lunt
21a230d14c Bug 2833:
Naming attributes in subject DNs defined for Extended Validation Certificates
http://www.cabforum.org/EV_Certificate_Guidelines_draft11.pdf


svn path=/trunk/; revision=28746
2009-06-15 19:43:29 +00:00
Jeff Morriss
c53823afbf Remove non-ASCII character
svn path=/trunk/; revision=28737
2009-06-15 14:59:08 +00:00
Bill Meier
496d36cfb9 proto_reg_handoff... doesn't need 'if (!inited) ...';
Remove unneeded forward declaration;
Set emacs editor modelines value to a "safe" value.

svn path=/trunk/; revision=28734
2009-06-15 12:36:50 +00:00
Martin Mathieson
55a1075bea Show data-segment info in info column.
svn path=/trunk/; revision=28733
2009-06-15 09:46:13 +00:00
Stig Bjørlykke
b78a4f2a34 Added missing 'const' for value_string.
svn path=/trunk/; revision=28732
2009-06-15 04:52:50 +00:00
Jörg Mayer
c321f29518 Trivial warning fixes:
- Might be used uninitialized
- not a prototype
- comma at end of enum


svn path=/trunk/; revision=28730
2009-06-15 02:34:53 +00:00
Gerald Combs
8afdf51d9f From Didier Gautheron via bug 3531:
Recent glib versions always include signal.h in gbacktrace.h

On Linux PPC signal.h defines PT_R4 which is also defined by samba and
compilation fails.

svn path=/trunk/; revision=28727
2009-06-14 20:57:57 +00:00
Michael Tüxen
a9de6414e0 Fix from yamisoe@gmail.com for Bug 3533.
svn path=/trunk/; revision=28721
2009-06-14 10:24:52 +00:00
Jaap Keuter
a78d986bd1 Prevent duplicate header field registrations.
svn path=/trunk/; revision=28720
2009-06-14 05:35:35 +00:00
Gerald Combs
99dcb5e99b Add a Banana dissector. This is used by the Twisted Python framework for
data serialization.

svn path=/trunk/; revision=28716
2009-06-12 17:48:39 +00:00
Graeme Lunt
2c105f125b Decode id-data, usually found within S/MIME (CMS), as IMF/MIME.
svn path=/trunk/; revision=28711
2009-06-12 10:39:03 +00:00
Anders Broman
1b5af9ff1f Updates to Jun spec. version.
svn path=/trunk/; revision=28706
2009-06-11 16:26:31 +00:00
Anders Broman
2169c5f139 From Duncan Salerno:
GTPv2 IE names incorrect/incomplete
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3525

svn path=/trunk/; revision=28705
2009-06-11 16:25:35 +00:00
Martin Mathieson
ab7a96c2e6 Trivial: add spaces to info column string text.
svn path=/trunk/; revision=28703
2009-06-11 14:05:31 +00:00
Martin Mathieson
db0bd672a6 Set length of proto item for status pdu.
svn path=/trunk/; revision=28702
2009-06-11 13:58:08 +00:00
Martin Mathieson
73aa7cc85b Add BSR reports into their own subtrees.
Check frame length from context info against actual length.

svn path=/trunk/; revision=28701
2009-06-11 13:55:49 +00:00
Stig Bjørlykke
1564b860e4 Remove some warnings.
svn path=/trunk/; revision=28699
2009-06-11 11:52:42 +00:00
Stig Bjørlykke
9b6fc0d050 From Jens Braeuer via bug 3522:
Change "wps.serial_number" from bytes to string.

svn path=/trunk/; revision=28697
2009-06-11 11:35:45 +00:00
Jörg Mayer
701cedf791 Add decoding of auto-neg capabilites in inverse (wrong) order as
proposed in:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1455#c32

svn path=/trunk/; revision=28680
2009-06-09 22:09:23 +00:00
Stig Bjørlykke
0530813ecd From Edward J. Paradise via bug 3520:
From revision 00 to revision 01 the tlv values changed for the SCS TLV's.

svn path=/trunk/; revision=28679
2009-06-09 21:41:53 +00:00
Jörg Mayer
0db429e50c Powervalue is in units of 100mW, print effective value and unit
svn path=/trunk/; revision=28674
2009-06-09 16:51:04 +00:00
Stig Bjørlykke
3677441868 Enable Lua tcp tap userdata.
svn path=/trunk/; revision=28673
2009-06-09 14:51:00 +00:00
Jörg Mayer
7856eef821 RFC3576 states, that some messages will use port 3799 instead
of the "standard" radius ports. Register radius to that port
as well.

svn path=/trunk/; revision=28672
2009-06-09 10:52:28 +00:00
Martin Mathieson
f56c2e8156 Check for leftover bytes following Status PDU.
svn path=/trunk/; revision=28650
2009-06-07 13:35:17 +00:00
Anders Broman
c2509b0b3f Handle Detach and Service request, make it possible to set direction on link(UL/DL).
svn path=/trunk/; revision=28648
2009-06-06 17:03:34 +00:00
Guy Harris
cf91fdf16b Have tap listeners specify whether the "packet" routine requires
a protocol tree;

	the column values.

This includes stats-tree listeners.

Have the routines to build the packet list, and to retap packets, honor
those requirements.  This means that cf_retap_packets() no longer needs
an argument to specify whether to construct the column values or not, so
get rid of that argument.

This also means that there's no need for a tap to have a fake filter
to ensure that the protocol tree will be built, so don't set up a fake
"frame" filter.

While we're at it, clean up some cases where "no filter" was represented
as a null string rather than a null pointer.

Have a routine to return an indication of the number of tap listeners
with filters; use that rather than the global num_tap_filters.

Clean up some indentation and some gboolean vs. gint items.

svn path=/trunk/; revision=28645
2009-06-05 22:42:47 +00:00
Michael Tüxen
2f5d2bb8a3 * Fix name of Irene in AUTHORS.
* Add Varun Notibala to AUTHORS.
* Add support for NR-SACK and fix stability problems.

svn path=/trunk/; revision=28642
2009-06-05 13:33:18 +00:00
Graeme Lunt
63ec29238c Microsoft PKCS#12 local machine keyset bag attribute
svn path=/trunk/; revision=28641
2009-06-05 12:04:24 +00:00
Jaap Keuter
ba01060178 From Jakub Zawadzki:
Fix edonkey dissector a little, by using gint type for tvb_length_remaining() result.

svn path=/trunk/; revision=28640
2009-06-04 17:37:48 +00:00
Martin Mathieson
3b4e37916f Fix typos, and make filter strings more consistent.
svn path=/trunk/; revision=28638
2009-06-04 15:08:56 +00:00
Graeme Lunt
99a105954f A segmented DATA SPDU sequence of length one has user information.
svn path=/trunk/; revision=28634
2009-06-04 08:30:03 +00:00
Stig Bjørlykke
f55541c7e1 Fixed bit position for wlan_mgt.fixed.delba.param.initiator.
This fixes bug 3505.

svn path=/trunk/; revision=28620
2009-06-03 10:38:07 +00:00
Stig Bjørlykke
5fc6f20298 Added a preference to define more udp ports to use for TFTP.
svn path=/trunk/; revision=28619
2009-06-03 09:57:22 +00:00
Jaap Keuter
a27093be2e Remove the module globals.
Clean up the source code.

svn path=/trunk/; revision=28615
2009-06-02 21:44:00 +00:00
Bill Meier
0a6a096b34 Do find_dissector_handles once-only in proto_reg_handoff...
lenght ==> length in a few places;

svn path=/trunk/; revision=28610
2009-06-02 19:41:35 +00:00
Stig Bjørlykke
7a71847e0d Fixed the type for key_len in dissect_key().
svn path=/trunk/; revision=28609
2009-06-02 19:35:45 +00:00
Bill Meier
8ccf0f9ba4 packet_hip: (Minor): Remove unused data_handle; move proto_register... to just before proto_reg-handoff...
svn path=/trunk/; revision=28604
2009-06-02 18:47:20 +00:00
Stig Bjørlykke
ab319c586e From Alexis La Goutte via bug 3488:
Add support for decoding CAPWAP Control Packet (RFC5415)

From me:
Adjusted some names.
Some space cleanup.

svn path=/trunk/; revision=28603
2009-06-02 18:39:38 +00:00
Stig Bjørlykke
7e6d072ce7 Rewrote to add IPv6 addresses correctly and rewrote some proto_item_add_bytes()
to avoid using tvb_get_ptr().

svn path=/trunk/; revision=28601
2009-06-02 15:46:55 +00:00
Jeff Morriss
05322d40f1 Decode SCCP cause values in SUA (using value_strings exported from the SCCP
dissector).

svn path=/trunk/; revision=28599
2009-06-02 15:34:17 +00:00
Stig Bjørlykke
a48abd8b33 Removed a unused preference setting, some unused includes and
some unused code.

svn path=/trunk/; revision=28598
2009-06-02 15:22:33 +00:00
Stig Bjørlykke
7bdb23ed67 From Samu Varjonen via bug 3378:
Added support for Host Identity Protocol (HIP).

From me:
- Adjusted location of "Checksum" and "HIP Controls", as they seems to have
  switched place in the bytes window
- Rewrote some proto_tree_add_uint -> proto_tree_add_item (some still remain)
- Rewrote to not use tvb_memcpy()
- Corrected some proto_tree_add_item's as the format seems to be big-endian
- Terminate ALL value_string's with { 0, NULL }
- No need to zero-terminate value_string strings.
- Removed call to check_col()
- Removed some prototypes
- Removed unused hf_hip_tlv_id, hf_hip_res and hf_hip_tlv_enc_iv (please check)
- Rewrote some C++ comments

svn path=/trunk/; revision=28596
2009-06-02 15:10:04 +00:00
Graeme Lunt
57d4cea4d5 Update to:
* support the P3 protocol in addition to the P1 protocol; and 
* reduce the number of changes to the ASN.1 modules (as asn2wrs now handles more of the ASN.1 constructs).
P3 is currently only supported over ROS (and not RTSE)


svn path=/trunk/; revision=28593
2009-06-02 11:04:14 +00:00
Graeme Lunt
4251c11a35 Support for the Entrust VersionInfo certificate extension
svn path=/trunk/; revision=28590
2009-06-02 09:46:03 +00:00
Graeme Lunt
f10d978b33 Restore the generation and display of LDAP DNs from RDN components
svn path=/trunk/; revision=28589
2009-06-02 09:44:52 +00:00
Graeme Lunt
24187e9c4d Correct LDAP certificate attribute name
svn path=/trunk/; revision=28587
2009-06-02 09:20:10 +00:00
Graeme Lunt
f9218e245e Added support for the UserNotice certificate extension.
svn path=/trunk/; revision=28586
2009-06-02 09:17:16 +00:00
Jaap Keuter
38638f9fb1 From Matt Deckard:
Add support for the DIS protocol dissector to more fully interpret the PDU
types "Data Query", "Data", and "Set Data". It should interpret the
originating and receiving entity IDs, request ID, number of fixed and variable
datum fields, and the ID and values of each datum field in the PDU.

svn path=/trunk/; revision=28583
2009-06-02 06:37:21 +00:00
Balint Reczey
ab57f8da5d Unescape telnet suboption data if needed.
This fixes bug 191.

svn path=/trunk/; revision=28582
2009-06-02 00:04:55 +00:00
Balint Reczey
8b7993180b Revert 28580.
svn path=/trunk/; revision=28581
2009-06-01 22:41:48 +00:00
Balint Reczey
4d55fdb51c Fix dissection of telnet window size suboption.
This fixes bug 191.

svn path=/trunk/; revision=28580
2009-06-01 22:27:00 +00:00
Stig Bjørlykke
01c61d3ecb Removed some unused hf_ entries.
Renamed filter abbrev from ns. to nstrace.

svn path=/trunk/; revision=28571
2009-06-01 18:17:52 +00:00
Stig Bjørlykke
c9b492a422 From Ravi Kondamuru via bug 3457:
Add support to read citrix netscaler capture file format.

From me:
- Renamed packet-ns.c to packet-nstrace.c
- Rewrote to not use "goto" in netscaler.c
- Moved dissecting of coreid

svn path=/trunk/; revision=28564
2009-06-01 17:23:38 +00:00
Martin Mathieson
3f416f98ee For DL-SCH/UL-SCH, show subframe number in info column.
svn path=/trunk/; revision=28561
2009-06-01 16:50:27 +00:00
Michael Tüxen
246d8f9c6c Bring cipher suites in sync.
svn path=/trunk/; revision=28542
2009-05-31 15:25:38 +00:00
Martin Mathieson
4e6962056a Don't dissect IP-ID and UDP checksum for IR, IR-DYN frames.
Name hf items and filter strings to consistently include "rohc"

svn path=/trunk/; revision=28539
2009-05-31 12:11:44 +00:00
Stephen Fisher
c4680240d9 Change my e-mail address
svn path=/trunk/; revision=28537
2009-05-31 05:55:15 +00:00
Michael Tüxen
c69b435205 Add cipher suites defined in RFC 4279.
svn path=/trunk/; revision=28535
2009-05-30 19:52:41 +00:00
Martin Mathieson
c5c563d38b Tidy up comments.
svn path=/trunk/; revision=28531
2009-05-30 12:54:08 +00:00
Martin Mathieson
63504714a0 Dual-license this header file.
svn path=/trunk/; revision=28530
2009-05-30 11:57:39 +00:00
Anders Broman
b4aeb97ed5 tvb_new_real_data -> tvb_new_child_real_data
svn path=/trunk/; revision=28517
2009-05-29 06:16:43 +00:00
Stig Bjørlykke
385d0e165f From Tobias Witek (bug 3496):
The patch puts the function declarations for zbee_sec_ccm_decrypt() and
zbee_sec_key_hash() into a #ifdef HAVE_LIBGCRYPT guardian to avoid gcc from
complaining about functions that are declared as 'static' but never defined.

It additionally puts the function zbee_sec_make_nonce() (and its declaration)
into a #ifdef HAVE_LIBGCRYPT guardian to avoid gcc from complaining about a
defined but unused function, if libgcrypt is not used.

svn path=/trunk/; revision=28513
2009-05-28 08:38:49 +00:00
Martin Mathieson
932c696498 Add casts from size_t to fix win64 buildbot problems.
svn path=/trunk/; revision=28512
2009-05-28 03:26:40 +00:00
Martin Mathieson
7bef808c6b Add definitions for a UDP framing protocol and heuristic dissector (example client code will be posted on wiki soon)
Add a missed initialisation to stats window struct.

svn path=/trunk/; revision=28511
2009-05-28 02:24:27 +00:00
Anders Broman
b6b645feb3 Detect if the setup channel is video or not.
svn path=/trunk/; revision=28509
2009-05-27 18:22:39 +00:00
Stephen Fisher
cebc358d09 Make the TZSP dissector register itself for find_dissector.
svn path=/trunk/; revision=28491
2009-05-26 17:10:49 +00:00
Bill Meier
548e468959 Misc dissector cleanup:
- Make some fcns & vars static
- hf[] blurbs: "" and repeated text --> NULL
- Move proto_register & proto_reg_handoff to end of source
- packet-catapult-dct2000: simplify proto_reg_handoff
- Use consistent indentation

svn path=/trunk/; revision=28488
2009-05-26 16:01:12 +00:00
Bill Meier
a3f8b9e4c0 zbee: Misc cleanup:
- Ethereal --> Wireshark
- Make fome fcns & vars static
- Spelling
- hf[] blurbs: "" --> NULL
- Remove some unneeded forward declarations
- packet-zep: rework reg_handoff to init handles only once
- Rename global 'get_bit_field' to 'zbee_get_bit_field'
  ...

svn path=/trunk/; revision=28487
2009-05-26 15:50:10 +00:00
Gerald Combs
9f6f7c5239 Add a cast for Win64.
svn path=/trunk/; revision=28480
2009-05-26 04:32:51 +00:00
Gerald Combs
8a6daf2a1c From Didier Gautheron via bug 3052:
Add:
- FIX 4.0 to 4.4 fields, auto generated with XSLT stylesheets applied on
http://www.quickfixengine.org/ xml files (not included quickfixengine code is
BSD but xml files have no copyright).

- value_string functions for string keys, added to value_string.c.

- FIX desegmentation, it doesn't work well with malformed FIX PDU.

svn path=/trunk/; revision=28478
2009-05-26 00:49:38 +00:00
Gerald Combs
e718dc79ea From Roberto Mariani via bug 3324:
- Removed heuristic for find if is_request and used event_type

- URB_INTERRUPT don't goes in reverse direction... fixed

svn path=/trunk/; revision=28477
2009-05-26 00:32:16 +00:00
Stig Bjørlykke
b9960e08d8 Added an expert info for "IP port reused".
svn path=/trunk/; revision=28472
2009-05-25 21:10:22 +00:00
Jaap Keuter
719238d3fd From Dan Gora:
This patch adds support for the I-TDM control protocol specified in PICMG SFP.1 chapter 3.12.  
This control protocol is used to "automatically" initialize new I-TDM data flows.

svn path=/trunk/; revision=28468
2009-05-25 06:50:34 +00:00
Jaap Keuter
78a3a653f9 From Thomas M. Knoll:
The CoS Capability extended community has been changed to a transitive ext. community 
and was reassigned an IANA type number. It has changed from 0x40 to 0x05. 
see: http://www.iana.org/assignments/bgp-extended-communities

svn path=/trunk/; revision=28467
2009-05-25 06:48:40 +00:00
Jaap Keuter
bd563faabb From Michael Lum:
Some of the hard-coded 96 and 127 values representing dynamic payloads 
were changed to use #defines from rtp_pt.h but not all.

svn path=/trunk/; revision=28466
2009-05-25 06:46:33 +00:00
Stig Bjørlykke
906506f6cf Use proto_tree_add_uint64 for 64 bits values.
svn path=/trunk/; revision=28465
2009-05-24 23:23:06 +00:00
Stig Bjørlykke
905b8d0b2d From Rama Chitta (bug 3467):
Added routines for Memcache Textual Protocol.

svn path=/trunk/; revision=28462
2009-05-24 22:39:07 +00:00
Stig Bjørlykke
b787288d49 Rewrite some non-ascii characters.
svn path=/trunk/; revision=28461
2009-05-24 20:59:33 +00:00
Michael Tüxen
6637bf6adf Out goes a C++ comment inside #if 0 #endif to make the API checker happy.
svn path=/trunk/; revision=28456
2009-05-23 12:09:15 +00:00
Gerald Combs
3e39be6cea From Terry Hardie via bug 3080:
In ISUP, if the redirecting or original called number parameters are present,
but have a zero length number in them, the dissector (incorrectly) marks them
as malformed packets.

Also, the precedence decoder is very terse (Doesn't even display the precedence
level correctly)

svn path=/trunk/; revision=28448
2009-05-22 16:05:30 +00:00
Bill Meier
9473419e8b zbee: minor cleanup
- replace C++ comments by C-style comments (or #if 0...#endif);
- Chnage all hf[] "" blurbs to NULL;
- Fix some spelling;
- Remove two unused handles.

svn path=/trunk/; revision=28439
2009-05-21 20:03:03 +00:00
Bill Meier
3eab9f8463 paltalk: minor cleanup:
- prefs registration not req'd (no prefs);
 - move hf[] & ett[] to be local to proto_register;
 - use std dissector format: move proto_register & proto_reg_handoff to end; 
 - if (proto == -1) in proto_register not req'd;
 - if (! initialized) not req'd in proto_reg_handoff since no prefs callback.

svn path=/trunk/; revision=28437
2009-05-21 18:36:32 +00:00
Jörg Mayer
61d5b442f4 Add filterable generated item arp.isgratuitous. Inspired
by question on wireshark-users ML by
wireshark.20090520@tozer.org.uk

svn path=/trunk/; revision=28436
2009-05-21 05:15:03 +00:00
Guy Harris
19a0011c59 foo() and foo(void) might be the same in C++, but they're not the same
in C.

svn path=/trunk/; revision=28435
2009-05-21 01:01:22 +00:00
Gerald Combs
7a7e7eac34 From Mohammad Ebrahim Mohammadi Panah via bug 2954:
I've developed a Wireshark dissector for Paltalk messenger protocol.

svn path=/trunk/; revision=28434
2009-05-21 00:34:03 +00:00
Gerald Combs
f3080aff14 From Alex Lindberg via bug 3094:
Added descriptions for dynamic RTP Payload types.

svn path=/trunk/; revision=28433
2009-05-20 23:46:48 +00:00
Guy Harris
5b45905ffc Add a preference to force the dissector to assume that packets have an
FCS; this handles protocols where there's no length field, so that the
"is there a trailer and/or an FCS?" heuristic can't work.

svn path=/trunk/; revision=28432
2009-05-20 22:50:30 +00:00
Gerald Combs
3392d8a62f Fix Win64 compilation.
svn path=/trunk/; revision=28430
2009-05-20 20:28:31 +00:00
Gerald Combs
f5e8e21ce2 From Owen Kirby via bug 3431:
The attached patch file adds dissectors for the ZigBee protocol stack, 
which runs atop the IEEE 802.15.4 dissector. Also included is the
dissector for the ZigBee Encapsulation Protocol (packet-zep.c), used by
the Exegin Q51 protocol analyzer.

From me:

Fix a bunch of gcc (the compiler, not me) warnings.

svn path=/trunk/; revision=28429
2009-05-20 19:29:39 +00:00
Gerald Combs
e2c0d132e1 From Jakub Zawadzki via bug 3421:
e_ip->ip_ttl is currently always set to 0, in attachment fix. 

I also (in same patch, sorry) submit cleanup to use ep_alloc() instead
of static e_ip buffers, I didn't test it, but I hope it's ok.

There's note about static buffers in doc/README.tapping, which should
also be updated, but I don't feel so good with my English :)

From me:

Rename e_ip to ws_ip. Update the static buffers note in README.tapping.

svn path=/trunk/; revision=28425
2009-05-20 15:50:40 +00:00
Stig Bjørlykke
b74a4c3cd1 Added expert info for Unknown RTSE PDU.
svn path=/trunk/; revision=28424
2009-05-20 10:08:00 +00:00
Stig Bjørlykke
84cbcbb1fc Added expert info for OID not implemented.
svn path=/trunk/; revision=28423
2009-05-20 09:29:22 +00:00
Stig Bjørlykke
6a713aad50 Added expert info for OID not implemented.
svn path=/trunk/; revision=28422
2009-05-20 09:27:45 +00:00
Anders Broman
5c8f23cca1 Update to 8.5.1 - "Minor corrections before freezing of ASN.1"
svn path=/trunk/; revision=28421
2009-05-20 05:19:06 +00:00
Gerald Combs
d7d00a144d From Julien Kerihuel via bug 2850:
Patch to implement decoding of Exchange RFR protocol.

svn path=/trunk/; revision=28420
2009-05-19 23:22:59 +00:00
Stig Bjørlykke
6cc936929a Ok, private_data is only saved if HAVE_LIBGCRYPT.
svn path=/trunk/; revision=28417
2009-05-19 20:00:05 +00:00
Anders Broman
3a11073d6b Get info about media type(Video or not) a first step towards usage in rtp statistics.
svn path=/trunk/; revision=28415
2009-05-19 18:42:33 +00:00
Stig Bjørlykke
af7304aa79 Move pd variables outside HAVE_LIBGCRYPT.
svn path=/trunk/; revision=28414
2009-05-19 18:28:24 +00:00
Martin Mathieson
8315e941ac Add a few more missing ROHC RTP fields.
svn path=/trunk/; revision=28413
2009-05-19 17:26:14 +00:00
Stig Bjørlykke
fc3f1b5283 From Artem Tamazov (bug 3472):
Save/Restore pinfo->private_data when used.

svn path=/trunk/; revision=28412
2009-05-19 17:16:14 +00:00
Stig Bjørlykke
1d54e7ad56 Avoid crash when not reassembling multiple TCP segments.
(check for valid pointers, in this case: ndmp_conv_data->task)

This fixes the crash in bug #3470.

svn path=/trunk/; revision=28409
2009-05-19 14:40:23 +00:00
Jaap Keuter
95dfe6a326 Update IP protocol numbers according to current IANA registery.
svn path=/trunk/; revision=28408
2009-05-19 07:34:33 +00:00
Gerald Combs
d797045341 From Abhik Sarkar via bug 3242:
Add a UAT for custom HTTP header fields.
  
From me:

  Use se_alloc0 to initialize a struct. Use g_strdup(...) instead of
  g_strdup_printf("%s"...). Add a missing UAT_END_FIELDS.

svn path=/trunk/; revision=28406
2009-05-19 00:17:23 +00:00
Gerald Combs
def3068154 Use se_alloc0 and ep_alloc0.
svn path=/trunk/; revision=28397
2009-05-18 20:30:55 +00:00
Gerald Combs
79c4c2990b Remove unnecessary tree checks pointed out by Stig.
svn path=/trunk/; revision=28396
2009-05-18 19:14:21 +00:00
Guy Harris
a9f463bee4 Clean up indentation.
svn path=/trunk/; revision=28395
2009-05-18 17:47:42 +00:00
Gerald Combs
23d52583ca From Yaniv Kaul via bug 3215:
Attached please find a patch that enables to heuristically find VNC
traffic on non-standard ports.

(it also adds some if(tree) ... around some proto_tree_add_item()
functions)

svn path=/trunk/; revision=28394
2009-05-18 17:23:16 +00:00
Jaap Keuter
b118290a6b From David Aggeler:
Not much, just a little bit of fine tuning:
- Spelling
- Added expert_add_info() for status responses with warning & error level
- Added command details in info column (optionally)

Also plugging memory leak.

svn path=/trunk/; revision=28392
2009-05-18 06:21:22 +00:00
Guy Harris
19a74e6fcc Just use proto_tree_add_item() for some fields whose values we don't
use.

Rename some variables to reflect the names they have in the IGRP
document.

Don't treat being called with a non-IPv4 address as a dissector bug - we
can't prevent ourselves from being called from the IPv6 dissector.  This
fixes bug 3466.

Clean up indentation.

svn path=/trunk/; revision=28390
2009-05-18 00:27:44 +00:00
Guy Harris
9b3360c5ef Add a URL on the Cisco site describing IGRP packets.
svn path=/trunk/; revision=28389
2009-05-17 22:25:13 +00:00
Martin Mathieson
09d545038d Add newline to end of file
svn path=/trunk/; revision=28387
2009-05-17 21:41:00 +00:00
Gerald Combs
7ea5c3cba7 From Johannes Berg via bug 3415:
The attached patch updates wireshark to the radiotap RX flags leaving the
non-standard option to dissect bit 14 as "FCS in header".

Merge the patch by hand in a couple of places to avoid conflicts with
r26861.

svn path=/trunk/; revision=28385
2009-05-17 19:18:18 +00:00
Gerald Combs
169d8cb394 From Didier Gautheron via bug 3210:
This patch improves the decoding of MapID and MapName Apple's AFP commands for
subtype 5 and 6.

svn path=/trunk/; revision=28383
2009-05-17 18:30:04 +00:00
Jaap Keuter
b429593171 Remove C++ style comments.
Cleanup indentation a bit.

svn path=/trunk/; revision=28380
2009-05-17 06:02:48 +00:00
Stig Bjørlykke
c47e788c94 Regenerate all asn2wrs generated dissectors.
svn path=/trunk/; revision=28379
2009-05-16 22:07:03 +00:00
Jörg Mayer
1922d3ceee Jochen Bartl <jochen.bartl@gmail.com>
via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2824

I have added the SCM header to the wlccp dissector. This header is present in
packets of base message type 0x01. You can find the specification in the
following document, when you search for "The table below shows the fields for
an SCM Advertisement Reply Message.":

http://www.freepatentsonline.com/y2005/0220054.html

It seems like the header structure in the document is wrong regarding the "SCM
Node ID" (MAC address) field. From looking at the hexdumps I found out that the
node id shows up in the header before the "Instance Age" field. There is also a
2 byte field between the node id and the instance age, which is always zero. I
have named this field  wlccp.scm_unknown_short, because I don't know what it is
for.

Me:

Fix two bugs that came up during testing but were present before the patch,
both involving wrong length handling triggering dissector assert and malformed
packet messages.



svn path=/trunk/; revision=28376
2009-05-16 16:31:54 +00:00
Anders Broman
0f9c96f8fd From Chidambaram Arunachalam:
SIP Patch to include support for Max-Breadth, Answer-Mode, Priv-Answer-Mode, Trigger-Consent and Permission Missing headers
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3463

svn path=/trunk/; revision=28375
2009-05-16 09:16:11 +00:00
Anders Broman
ea4f4f08af Froim Vincent Helfre:
Fix issues with unaligned PER.

svn path=/trunk/; revision=28374
2009-05-15 18:39:33 +00:00
Anders Broman
1464f7ca84 Introduce decode_bits_in_field() and use it.
clean up some left owers from previous checkin.

svn path=/trunk/; revision=28373
2009-05-15 18:38:13 +00:00
Martin Mathieson
7ed080da5c Timing advance command is 6 bits.
svn path=/trunk/; revision=28371
2009-05-15 10:02:14 +00:00
Jörg Mayer
ced7569727 Rename an CCX IE
svn path=/trunk/; revision=28370
2009-05-15 06:51:58 +00:00
Jörg Mayer
7bbfa31856 - All Frames that I currently know how to dissect include the FCS
- Decode Channel and (what probably is the) Timestamp

svn path=/trunk/; revision=28369
2009-05-15 06:48:25 +00:00
Gerald Combs
93471e8eeb Remove an unused variable.
svn path=/trunk/; revision=28367
2009-05-15 00:07:10 +00:00
Gerald Combs
9a72434b1e Add support for process flow records to IPFIX, which required adding
support for vendor-specific IEs. Fix variable-length record handling. Add
conversation tracking to the UDP dissector and add process flow
information to TCP and UDP conversations.

This lets us run process flow collectors on one or more machines and
have the process username, PID, command name, etc. show up in the TCP
and UDP protocol trees.

svn path=/trunk/; revision=28366
2009-05-14 23:33:17 +00:00
Anders Broman
64a33ad7af Apply some of the patches from:
http://wiki.wireshark.org/Development/Optimization

svn path=/trunk/; revision=28364
2009-05-14 20:04:28 +00:00
Anders Broman
4ec2c4ff47 Apply some of the patches from:
http://wiki.wireshark.org/Development/Optimization

svn path=/trunk/; revision=28363
2009-05-14 19:28:07 +00:00
Anders Broman
5f538e901d Apply some of the patches from:
http://wiki.wireshark.org/Development/Optimization

svn path=/trunk/; revision=28362
2009-05-14 19:11:43 +00:00
Anders Broman
2289fa0d21 Fix:
GSM DTAP: Incorrect decoding of MS Radio Access Capability Switch-Measure*
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3461

svn path=/trunk/; revision=28361
2009-05-14 18:26:18 +00:00
Martin Mathieson
4a16f077ce Backoff Indicator must now (March 09) be the first subheader in an RAR PDU.
svn path=/trunk/; revision=28360
2009-05-14 17:12:37 +00:00
Anders Broman
17e10d08fb Use tvb_new_child_real_data().
svn path=/trunk/; revision=28357
2009-05-14 05:36:48 +00:00
Anders Broman
c91a384702 Apply some of the patches from:
http://wiki.wireshark.org/Development/Optimization

svn path=/trunk/; revision=28356
2009-05-13 19:46:11 +00:00
Martin Mathieson
4dda12f0be - add direction filter to PDCP
- fix PDCP fields ("pdcp.*" -> "pdcp-lte.*")
- improve PDCP info column output (to be more like RLC)

svn path=/trunk/; revision=28342
2009-05-13 09:36:42 +00:00
Anders Broman
95c51c2e2d Make an epxpert item checking PC length.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3458

svn path=/trunk/; revision=28337
2009-05-12 17:48:48 +00:00
Martin Mathieson
ea18cc4095 Enable preference to call LTE RRC for data inside PDCP frames.
svn path=/trunk/; revision=28329
2009-05-11 15:19:51 +00:00
Martin Mathieson
76332049f8 Rename lis to fms & some ROHC feedback format improvements.
svn path=/trunk/; revision=28322
2009-05-08 23:29:42 +00:00
Bill Meier
abc0794cc2 The convention is to use TFS(...) when specifying a true_false_string with an FT_BOOLEAN field;
Also: use the global true_false_string tfs_yes_no  in place of a static local string.

svn path=/trunk/; revision=28321
2009-05-08 22:55:22 +00:00
Bill Meier
5aa5576a55 The convention is to use TFS(...) when specifying a true_false_string with an FT_BOOLEAN field;
Also: use the global true_false_string tfs_yes_no  in place of a static local string.

svn path=/trunk/; revision=28320
2009-05-08 22:18:14 +00:00
Bill Meier
f8e4a91659 Fix potential crash: FT_BOOLEAN field had a value_string not a true_false_string;
Also: Fix comment to indicate this is an EHS dissector not a VCDU dissector.

svn path=/trunk/; revision=28319
2009-05-08 21:58:10 +00:00
Bill Meier
79a1441582 FT_BOOLEAN fields w/o bitmasks really should use BASE_NONE (not BASE_DEC,...).
svn path=/trunk/; revision=28317
2009-05-08 20:35:57 +00:00
Bill Meier
10bb70f09d FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
svn path=/trunk/; revision=28316
2009-05-08 20:15:35 +00:00
Bill Meier
87d06b8892 Fix a typo from the previous commit .....
svn path=/trunk/; revision=28315
2009-05-08 20:12:52 +00:00
Bill Meier
8e23d11ae5 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
svn path=/trunk/; revision=28313
2009-05-08 19:43:50 +00:00
Bill Meier
ab291b9c00 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Also: Change FT_BOOLEAN with no bitmask from BASE_DEC to BASE_NONE.

svn path=/trunk/; revision=28312
2009-05-08 19:42:58 +00:00
Bill Meier
636147e417 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Also: Use global tfs_yes_no TFS structure in two cases (packet-ipv6.c)

svn path=/trunk/; revision=28311
2009-05-08 18:39:17 +00:00
Anders Broman
ca3cca594a Update a comment.
svn path=/trunk/; revision=28309
2009-05-08 18:11:39 +00:00
Anders Broman
b68b9d2ccf From Reinhard Speyerer:
GSM DTAP: incorrect display of Suppl. Service Message.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3452
Patch slightly modified.

svn path=/trunk/; revision=28308
2009-05-08 18:10:39 +00:00
Bill Meier
fef69c8dd3 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Use consistent indentation.


svn path=/trunk/; revision=28307
2009-05-08 17:48:23 +00:00
Bill Meier
9af5304276 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Replace blurbs identical with title in hf[] with NULL;
Use consistent indentation.

svn path=/trunk/; revision=28306
2009-05-08 17:25:23 +00:00
Bill Meier
3c12ce0f30 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Replace "" (or repeated text) blurbs in hf[] with NULL;
Use consistent indentation.

svn path=/trunk/; revision=28305
2009-05-08 16:45:56 +00:00
Bill Meier
ba2e20b5d8 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Replace "" (or repeated text) blurbs in hf[] with NULL;

svn path=/trunk/; revision=28303
2009-05-08 15:27:36 +00:00
Jörg Mayer
af417beb8e Warningfix:
function() -> function(void)

svn path=/trunk/; revision=28302
2009-05-08 15:16:07 +00:00
Bill Meier
0274ef3673 Use NULL instead of repeated identical text if hf[] blurbs;
Use #if 0 ... #endif instead of /* ... */ to comment out code;
Reformat some long lines;
Use consistent indentation.


svn path=/trunk/; revision=28301
2009-05-08 15:03:11 +00:00
Bill Meier
731fb6b9f5 Remove 2 tabs in strings;
Minor code formatting changes;
Remove unnecessary  forward declaration.

svn path=/trunk/; revision=28300
2009-05-08 14:48:42 +00:00
Bill Meier
4d33f9646e Use NULL instead of duplicate text for hf[] blurbs;
Remove empty proto_reg_handoff;
Replace a tab in a string with a space;
Use consistent identation.

svn path=/trunk/; revision=28299
2009-05-08 14:46:01 +00:00
Jaap Keuter
10e3b25e08 Clean up header fields.
svn path=/trunk/; revision=28298
2009-05-08 06:53:43 +00:00
Bill Meier
18fac3d956 Use NULL instead of repeated,indentical text for blurbs in hf[];
Adjust some spacing;
Replace tab in string by a space;
Use #if 0... #endif instead of /* ... */ to comment out some code.

svn path=/trunk/; revision=28296
2009-05-07 21:22:36 +00:00
Jaap Keuter
829ff3a493 Clean up header file and dissector code. Update EAP numbers list.
svn path=/trunk/; revision=28295
2009-05-07 21:13:32 +00:00
Martin Mathieson
5f875c1be5 Hide a couple of generated fields when they have uninteresting values.
svn path=/trunk/; revision=28291
2009-05-06 22:01:33 +00:00
Jaap Keuter
c9ce609c64 From Jared August:
Added the capability to dissect the ALTERNATE_TIME_OFFSET_INDICATOR TLV.

svn path=/trunk/; revision=28288
2009-05-06 07:12:07 +00:00
Guy Harris
efafedd3e0 Add support for the IANA's OUI, and recognize NHRP-over-SNAP.
An NHRP extension offset of 0 is not an error - it means there are no
extensions.

Start using the address family number to determine the type of
link-layer addresses in NHRP.  Don't fetch IPv4 addresses and add them
to the tree - just use proto_tree_add_item().

svn path=/trunk/; revision=28286
2009-05-05 22:35:19 +00:00
Guy Harris
9ed2e2b4fb The only callers of ethertype() should be dissectors for protocols with
Ethernet-type trailers; no callers are left that don't at least purport
to care about them.

svn path=/trunk/; revision=28284
2009-05-05 21:05:06 +00:00