Commit Graph

28077 Commits

Author SHA1 Message Date
Stig Bjørlykke eb18a596d7 From Kovarththanan Rajaratnam:
Move hf/ett into proto_register_jxta() and do some field cleanup

svn path=/trunk/; revision=28984
2009-07-07 14:13:45 +00:00
Stig Bjørlykke bccc3d3190 Added Kovarththanan Rajaratnam.
svn path=/trunk/; revision=28983
2009-07-07 12:21:25 +00:00
Stig Bjørlykke 871294f998 From Kovarththanan Rajaratnam:
Duplicate name/blurb removal from packet-fix.h (and template)

svn path=/trunk/; revision=28982
2009-07-07 12:14:47 +00:00
Stig Bjørlykke d3c75a218b From Kovarththanan Rajaratnam:
Move hf/ett into proto_register_amqp() and do some field cleanup
(duplicate name/blurb removal)

svn path=/trunk/; revision=28981
2009-07-07 11:58:23 +00:00
Stig Bjørlykke f9717846d1 Added credits for Lua BitOp.
svn path=/trunk/; revision=28980
2009-07-07 11:52:53 +00:00
Stig Bjørlykke b9a11a95a6 From Kovarththanan Rajaratnam:
Move hf/ett definitions from packet-infiniband.h -> packet-infiniband.c to
align it with the rest of the bunch

svn path=/trunk/; revision=28979
2009-07-07 11:40:40 +00:00
Stig Bjørlykke 87d24c9101 From Kovarththanan Rajaratnam:
Remove trailing spaces in protocol/field names

svn path=/trunk/; revision=28978
2009-07-07 11:37:15 +00:00
Stig Bjørlykke 192639ad8a Added Richard Kummel.
svn path=/trunk/; revision=28977
2009-07-07 11:33:55 +00:00
Stig Bjørlykke 09218f7338 From Richard Kummel:
- New dissector for EtherCAT Switch Link Header added to EtherCAT plugin
- Changed filtering of EtherCAT commands to the abbreviated form:
  e.g. ecat.cmd = APWR

From me:
- Mark unused variables
- Fixed a string warning
- Do not initialize a static struct
- Use tfs_yes_no
- Reorder files in Makefile

svn path=/trunk/; revision=28976
2009-07-07 11:13:22 +00:00
Stig Bjørlykke 3f625c283e From Kovarththanan Rajaratnam:
More header field info cleanup

svn path=/trunk/; revision=28975
2009-07-07 10:12:15 +00:00
Stig Bjørlykke d00c2baf5c Remove some check_col() calls.
svn path=/trunk/; revision=28974
2009-07-07 10:07:42 +00:00
Anders Broman 23b068e307 Introduce se_address_to_str()
svn path=/trunk/; revision=28973
2009-07-07 09:42:09 +00:00
Anders Broman 1dacabc5ba Cleanup header_field_info definitions
- Regenerating x420 seems to have fixed the "last" problem :-)

svn path=/trunk/; revision=28972
2009-07-07 09:27:52 +00:00
Stig Bjørlykke 0437f102c3 From Kovarththanan Rajaratnam:
More FT_XXX cleanup.

svn path=/trunk/; revision=28971
2009-07-07 09:02:59 +00:00
Stig Bjørlykke 7881d1ccd7 From Kovarththanan Rajaratnam:
More FT_XXX cleanup.

svn path=/trunk/; revision=28970
2009-07-07 09:00:33 +00:00
Stig Bjørlykke fd9d18bbe9 From Julián Lastiri via bug 3656:
ClassifierID should be before Priority field in the Extended Classifier of
PacketCable Multimedia Protocol. Also the reference to PacketCable Multimedia
document PKT-SP-MM-I02-040930 is wrong because there is no definition about
Extended Classifier. My fix is based on PacketCable Multimedia
PKT-SP-MM-I04-080522 document.

svn path=/trunk/; revision=28969
2009-07-07 08:27:15 +00:00
Stig Bjørlykke 6d472a50fc From Kovarththanan Rajaratnam via bug 3548:
Minor hf cleanup.

svn path=/trunk/; revision=28968
2009-07-07 07:46:57 +00:00
Stig Bjørlykke 3a6e56c25a From Kovarththanan Rajaratnam via bug 3548:
Move header_field.h into packet-unistim.c to align it with all other
dissectors.

svn path=/trunk/; revision=28967
2009-07-07 07:45:32 +00:00
Anders Broman 739bfc6ff0 Delete obsolete protocol dissectors.
svn path=/trunk/; revision=28966
2009-07-07 05:43:43 +00:00
Anders Broman f36b964d63 Add holding|spa to the strings removed from manuf names.
manuf will be automatically rebuilt on Sunday.

svn path=/trunk/; revision=28965
2009-07-07 05:10:20 +00:00
Anders Broman 54965169c2 From Kovarththanan Rajaratnam:
More "Cleanup header_field_info definitions"

svn path=/trunk/; revision=28964
2009-07-07 04:41:53 +00:00
Gerald Combs 46f8dbf674 From Kovarththanan Rajaratnam via bug 3652:
This patch protects against malformed Unique ID lengths (>= 252 bytes) and
defer all tvb_xxx related calls to when we actually need them. This allows us
to dissects as much as possible before bailing out (in case of a malformed
length).

From me:

Add a link to the protocol specification.  Remove packet-miop.h along
with some struct definitions. (Don't tvb_memcpy over structs!) Remove
some more tvbuffs.  Don't call proto_item_add_subtree if we're not going
to use the trees.  Call proto_tree_add_item instead of
proto_tree_add_text Remove a bunch of unused ett_ variables.  Add an
expert item for the protocol version.  Register the field array with the
correct length.

svn path=/trunk/; revision=28963
2009-07-06 20:23:32 +00:00
Anders Broman 6d7ba64d68 From Kovarththanan Rajaratnam:
More "Cleanup header_field_info definitions"

svn path=/trunk/; revision=28962
2009-07-06 18:36:00 +00:00
Anders Broman 568054f777 From Kovarththanan Rajaratnam:
More "Cleanup header_field_info definitions"

svn path=/trunk/; revision=28961
2009-07-06 18:35:05 +00:00
Jörg Mayer 162f9ef199 Shorten a few variables for values read from the packet.
Inspired by Kovarththanan Rajaratnam's patch for bug 3665
which in turn was a duplicate for the (fixed) bug 3660.

svn path=/trunk/; revision=28960
2009-07-06 17:49:33 +00:00
Jörg Mayer d7020119ed Move edp to the top level tree instead of inside the ismp
tree.

svn path=/trunk/; revision=28959
2009-07-06 17:45:40 +00:00
Jörg Mayer 5cd78e2625 OK, nobody cared about the waring, so just remove the
test for now.

svn path=/trunk/; revision=28958
2009-07-06 17:44:02 +00:00
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
Gerald Combs a1897b00a2 Fix a couple of typos.
svn path=/trunk/; revision=28956
2009-07-06 17:13:41 +00:00
Anders Broman 0d64273468 Initialize memory to zero.
(is NULL = zero on all platforms?)

svn path=/trunk/; revision=28955
2009-07-06 15:37:29 +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
Stig Bjørlykke 5afe405717 Removed an incorrect optimalization for invalidating packet in row 0.
svn path=/trunk/; revision=28950
2009-07-06 13:53:01 +00:00
Anders Broman 907673a91c Revert checkin made by misstake(don't use new packet list).
svn path=/trunk/; revision=28949
2009-07-06 13:34:30 +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
Bill Meier 2e82efa158 Update dictionary files from FreeRadius 2.1.6 [5/18/09]: part 1: New files
svn path=/trunk/; revision=28946
2009-07-06 12:39:58 +00:00
Ulf Lamping ea7fa021fa fix install step
svn path=/trunk/; revision=28945
2009-07-06 09:46:28 +00:00
Anders Broman 4a69751414 gtk_tree_view_set_fixed_height_mode() is GTK 2.6
svn path=/trunk/; revision=28944
2009-07-05 16:22:20 +00:00
Gerald Combs 626e134b25 [Automatic manuf and enterprise-numbers update for 2009-07-05]
svn path=/trunk/; revision=28941
2009-07-05 15:03:31 +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
Michael Tüxen 9518d53ab4 Make the compiler on Mac OS X happy...
svn path=/trunk/; revision=28934
2009-07-03 10:29:45 +00:00
Ulf Lamping d180d37c8d update to the latest PROFINET drafts
(defragmentation of RT fragments "FRAG-PDU" is still not implemented)

svn path=/trunk/; revision=28932
2009-07-03 09:12:43 +00:00