Commit Graph

37522 Commits

Author SHA1 Message Date
Guy Harris 4e579d9f60 From Iain Arnell:
A missing value_ptr parameter in the handling of ajp13 response headers
led to them being displayed differently than the request headers.

This patch also simplifies the offset/length calculation for header
values, and skips the size for consistency with handling of other ajp13
string values.

svn path=/trunk/; revision=39390
2011-10-12 17:55:49 +00:00
Guy Harris 17c21b91f2 Add Iain Arnell, who contributed ajp13 patches.
svn path=/trunk/; revision=39389
2011-10-12 17:54:23 +00:00
Guy Harris 9177afaf0c From Iain Arnell:
Revision 35984 introduced a regression in ajp13_get_nstring. According
to the comments here, the returned length _includes_ the trailing null.
The encoded length, however, does _not_ including the trailing null.
This patch resolves the problem by simply adding 1 to the returned
length.

svn path=/trunk/; revision=39388
2011-10-12 17:53:58 +00:00
Bill Meier 4401bad3cd Fix a benign bug: use intended proto_tree_add_uint() instaed of proto_tree_add_item();
Fix an endianness issue;
Add a comment re "tvb_memcpy to a struct is not kosher".

svn path=/trunk/; revision=39387
2011-10-12 17:30:31 +00:00
Anders Broman 59a363da40 Update the Camel and MAP ASN.1 files.
svn path=/trunk/; revision=39386
2011-10-12 16:41:42 +00:00
Bill Meier daa85b0464 Cleanup use of proto_tree_add_item()/proto_tree_add_uint() in a few cases
svn path=/trunk/; revision=39385
2011-10-12 16:31:41 +00:00
Bill Meier 20aa78a1d2 Fix a benign bug: Use correct proto_tree_add_item() encoding arg.
svn path=/trunk/; revision=39384
2011-10-12 15:02:11 +00:00
Bill Meier b666d5ca18 Fix some proto_tree_add_item() FT_ABSOLUTE_TIME encoding parameters:
Again: a tip o'the hat to Guy.


svn path=/trunk/; revision=39383
2011-10-12 14:12:36 +00:00
Alexis La Goutte 990b483a54 Add Modification CMake (Following add in Rev 39379)
svn path=/trunk/; revision=39382
2011-10-12 07:44:14 +00:00
Anders Broman 735191c3c8 Revert http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=39380
svn path=/trunk/; revision=39381
2011-10-12 05:27:41 +00:00
Anders Broman 0516c89156 From Eliot:
Patch libwireshark.def adding some symbols needed by wspyton
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448

svn path=/trunk/; revision=39380
2011-10-12 05:12:49 +00:00
Anders Broman 3e9d852a1b From Jouni Malinen:
Move sniffer meta data parsing to separate files

packet-ieee80211.c includes dissectors for three different styles
of IEEE 802.11 sniffer meta data (like signal strength). Move these
to separate files in the same style as a fourth format (radiotap)
was already handled, so that packet-ieee80211.c focuses on the
actual IEEE 802.11 frame dissecting.

This reverts
http://anonsvn.wireshark.org/viewvc?revision=23911&view=revision
Objections?
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6443

svn path=/trunk/; revision=39379
2011-10-12 05:08:51 +00:00
Bill Meier 9ef1758adf Fix a case wherein proto_tree_add_boolean() was intended instead of proto_tree_add_item().
Also: Use proto_tree_add_boolean() instead of proto_tree_add_item() for code consistency in 2 other cases.


svn path=/trunk/; revision=39378
2011-10-12 03:28:07 +00:00
Guy Harris dd7e20d472 Update template to match generated dissector - dissector_try_port() is
dead, long live dissector_try_uint().

svn path=/trunk/; revision=39377
2011-10-11 20:19:46 +00:00
Anders Broman d57210d390 Use dissector_try_uint()
svn path=/trunk/; revision=39376
2011-10-11 19:35:43 +00:00
Anders Broman f355d35acf From Eliot:
Patch wspy_dissector.py to use dissector_add_uint
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448

svn path=/trunk/; revision=39375
2011-10-11 19:24:19 +00:00
Anders Broman 8e964a9da0 From Eliot:
Patch homeplug.py wspython sample to not conflict with built in homeplug

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448

svn path=/trunk/; revision=39374
2011-10-11 19:16:15 +00:00
Stig Bjørlykke 0de5c129a1 Make asn1/lcsap/Makefile
svn path=/trunk/; revision=39373
2011-10-11 19:01:32 +00:00
Anders Broman 5abc230af9 From Jouni Malinen:
Dissect Time Advertisement and Time Zone elements.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6443

svn path=/trunk/; revision=39371
2011-10-11 18:46:27 +00:00
Anders Broman d12747796c From Jouni Malinen:
ieee80211: Start splitting add_tagged_field into helper functions.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6443

svn path=/trunk/; revision=39370
2011-10-11 18:43:13 +00:00
Anders Broman e98c120858 From Jouni Malinen:
Simplify tag_num_vals.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6443

svn path=/trunk/; revision=39369
2011-10-11 18:40:02 +00:00
Anders Broman 5874619e61 From Jouni Malinen:
Dissect WNM (IEEE 802.11v) information.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6443

svn path=/trunk/; revision=39368
2011-10-11 18:29:29 +00:00
Anders Broman e9303de68a From Jouni Malinen:
Wi-Fi P2P: Show frame name in col_info

Make it easier to find specific P2P frames by adding the name of the P2P
Public Action frames into col_info.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6443

svn path=/trunk/; revision=39367
2011-10-11 18:26:03 +00:00
Anders Broman 0bbbcccbeb From Harald Welte:
In order to ensure one consistent GSMTAP definition, some comments are added to
the code in order to make sure modifications are first merged in the GSMTAP
mainline header file, and then propagated to wireshark.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6442

svn path=/trunk/; revision=39366
2011-10-11 18:21:27 +00:00
Anders Broman 9e1a19bf6f Build the LCS-AP dissector.
svn path=/trunk/; revision=39365
2011-10-11 18:16:53 +00:00
Martin Mathieson c3d27315ed Avoid longjmp warning by making adding volatile.
svn path=/trunk/; revision=39364
2011-10-11 18:06:01 +00:00
Gerald Combs 583ac864c0 Enable GeoIP lookups by default. Don't add GeoIP subtrees if we didn't
find any databases.

svn path=/trunk/; revision=39363
2011-10-11 17:57:09 +00:00
Anders Broman 747cd4100f From Spenser Sheng:
LCS-AP dissector.

svn path=/trunk/; revision=39362
2011-10-11 16:49:18 +00:00
Bill Meier 67dda34221 Fix benign bugs wherein proto_tree_add_uint() was intended instead of proto_tree_add_item();
(Replaces changes made in SVN #39351).

svn path=/trunk/; revision=39361
2011-10-11 15:39:47 +00:00
Bill Meier 13f39288a0 Fix a bug wherein proto_tree_add_uint() was intended instead of proto_tree_add_item();
This bug would have caused display of a FT_UINT32 field with the wrong endianness.
(Replaces change made in SVN #39350).


svn path=/trunk/; revision=39360
2011-10-11 15:11:51 +00:00
Bill Meier e98b54c098 Use intended proto_tree_add_uint() instead of proto_tree_add_item() to fix benign bugs (Replaces SVN #39348).
svn path=/trunk/; revision=39359
2011-10-11 14:58:54 +00:00
Bill Meier 17c47d3078 Fix several cases wherein proto_tree_add_uint() was intended iso proto_tree_add_item();
One case would have caused display of a FT_UINT16 field with the wrong endianness.

svn path=/trunk/; revision=39358
2011-10-11 14:49:09 +00:00
Bill Meier 0a94d852e4 Revert SVN #39347; There's a better way.
svn path=/trunk/; revision=39357
2011-10-11 14:31:01 +00:00
Bill Meier f74d57767c Fix a number of benign bugs wherein proto_tree_add_uint was intended (rather than proto_tree_add_item).
Tip o' the hat to Guy ...

svn path=/trunk/; revision=39356
2011-10-11 14:10:52 +00:00
Bill Meier 366f6e28ed Revert SVN #39345; (There's a better way ...)
svn path=/trunk/; revision=39355
2011-10-11 14:02:26 +00:00
Guy Harris 037b9d13b5 No libpcap, no capturing, no capture filters, no capture_filter_init().
svn path=/trunk/; revision=39354
2011-10-11 01:25:54 +00:00
Bill Meier af3ae8ceea Fix "unused variable" compile error.
svn path=/trunk/; revision=39352
2011-10-10 23:45:33 +00:00
Bill Meier ee395460d0 Fix benign bugs in some proto_tree_add_item() 'encoding' args;
svn path=/trunk/; revision=39351
2011-10-10 23:36:07 +00:00
Bill Meier 232629191b Fix bugs which caused certain fields to display with the wrong endianness;
Specifically: some proto_tree_add_item() 'encoding' args were incorrect.

svn path=/trunk/; revision=39350
2011-10-10 23:34:24 +00:00
Gerald Combs 8e5c7e2da9 Check our capture filter syntax in a separate thread.
svn path=/trunk/; revision=39349
2011-10-10 22:39:35 +00:00
Bill Meier 29e823dfba Fix benign bugs in some proto_tree_add_item() 'encoding' args;
svn path=/trunk/; revision=39348
2011-10-10 21:53:15 +00:00
Bill Meier f96f3faf27 Fix additiuonal bugs in some proto_tree_add_item() 'encoding' args;
Two of the bugs would appear to have caused display of a FT_UINT16 field with
 the wrong endianness.

svn path=/trunk/; revision=39347
2011-10-10 21:46:19 +00:00
Bill Meier f2ee4a9303 Fix benign bug in some proto_tree_add_item() 'encoding' args;
Use consistent indentation.

svn path=/trunk/; revision=39346
2011-10-10 21:29:10 +00:00
Bill Meier 8960630a3c Fix some benign bugs in proto_tree_add_item() 'encoding' arg.
svn path=/trunk/; revision=39345
2011-10-10 21:12:05 +00:00
Bill Meier e81572eaa9 Comment out some unused hf[] entries;
Add notes about missing hf[] entries.

svn path=/trunk/; revision=39344
2011-10-10 20:57:56 +00:00
Bill Meier a78fdcfddc Convert proto_tree_add_item() 'encoding' parameter as appropriate.
svn path=/trunk/; revision=39343
2011-10-10 20:12:57 +00:00
Anders Broman bf76975958 Use guint64
svn path=/trunk/; revision=39342
2011-10-10 19:16:58 +00:00
Bill Meier b37eaa9920 Fix a benign bug in proto_tree_add_item() 'encoding' arg.
svn path=/trunk/; revision=39341
2011-10-10 19:10:13 +00:00
Anders Broman 372a8191bf Make it possible to build custom ASN1 based dissectors on Windows.
svn path=/trunk/; revision=39340
2011-10-10 18:26:33 +00:00
Anders Broman 29d57edb56 From Donnie Savage:
Re-write of the EIGRP dissector to support Multi-Protocol (TLV 2.0) and
Multi-Topology (TLV 3.0).  This version also support Service Advertisement
Framework(SAF) extensions to EIGRP

Dissector includes:
- Dissection of all EIGRP Opcodes and TLVs
- Decode of EIGRP Flags and bitfields
- Decode of EIGRP Communities
- Decode of latest EIGRP "wide metric" formats
- Decode of EIGRP Extended Metrics
- Decode of SAF packets with XML client data handed off to XML dissector

From me:
Fix checkapi errors/warnings use G_GINT64_CONSTANT and G_GINT64_MODIFIER

svn path=/trunk/; revision=39339
2011-10-10 18:11:18 +00:00