Commit Graph

19426 Commits

Author SHA1 Message Date
Bill Meier add85b1cbb Remove unneeded code ("[set_but_unused]").
svn path=/trunk/; revision=45347
2012-10-06 15:56:08 +00:00
Ronnie Sahlberg cde73df2e7 ICMP: Icmp was a mad mix of different indentation styles.
indent -kr -i8   for now to make it use a consistent style
No code changes, only formatting in this patch


svn path=/trunk/; revision=45346
2012-10-06 15:53:01 +00:00
Bill Meier 4f578199b5 Minor changes:
- proto_reg_handoff...() called only once: simplify;
- move proto_register...() to just before proto_reg_handoff...() as per convention;
- misc.

svn path=/trunk/; revision=45345
2012-10-06 15:52:14 +00:00
Ronnie Sahlberg 1693627478 ICMP request/response matching fixes
Change icmp request/response matching to be more aligned to other matching
strategies and use two tables. One table for first time we visit a packet
and a second table to track all confirmed matches.


svn path=/trunk/; revision=45343
2012-10-06 15:06:00 +00:00
Martin Mathieson 62d83ed0c8 Give up trying to parse those lines - the format has changed and its too
complicated now.

svn path=/trunk/; revision=45342
2012-10-06 15:00:38 +00:00
Martin Mathieson 5bd351fb32 Look up once and store the RLC and PDCP dissectors.
svn path=/trunk/; revision=45341
2012-10-06 14:59:51 +00:00
Jaap Keuter c80ed42fc6 Vastly improve the debug presentation( of trees)+.
svn path=/trunk/; revision=45340
2012-10-06 14:35:59 +00:00
Evan Huus dfd86092f2 Fix error caught by valgrind where we were running off the end of a
variable because we were passing the address of a single guint8 as a
char*. Work around it by making the guint8 an array and filling the last
element with 0 as if it were a null-terminated string.

svn path=/trunk/; revision=45339
2012-10-06 14:23:44 +00:00
Pascal Quantin 062ad6bad1 pinfo is now used
svn path=/trunk/; revision=45338
2012-10-06 10:03:41 +00:00
Pascal Quantin 75dd452b24 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7801 :
Ensure that the sub-type length is at least 2 (for sub-type and length fields).
Prevents an infinite loop when the length equals 0.

svn path=/trunk/; revision=45337
2012-10-06 10:01:59 +00:00
Chris Maynard 5ef60b46a3 We are already saving size and maximized state by default. Save position too.
svn path=/trunk/; revision=45334
2012-10-05 21:58:45 +00:00
Gerald Combs dec2d034b0 Try to describe icmp.resp_in and icmp.resp_to more clearly.
svn path=/trunk/; revision=45332
2012-10-05 16:04:04 +00:00
Pascal Quantin 9bcae55a34 Fix copy/paste error
svn path=/trunk/; revision=45330
2012-10-05 04:48:51 +00:00
Guy Harris f569edbcef The sFlow specification says there's an address type "unknown", with an
address type value of 0, and with zero bytes of address; handle it
explicitly, and don't treat it as an error.

In the sFlow dissectors, do all the checks for "is this an sFlow
packet?" *before* we do anything to the columns and the protocol tree.

svn path=/trunk/; revision=45329
2012-10-05 01:17:33 +00:00
Pascal Quantin 04ba20fa0e Upgrade NAS dissector to v11.4.0 (Release 11)
svn path=/trunk/; revision=45325
2012-10-04 21:23:06 +00:00
Martin Kaiser 6afaa3ed63 fix fuzz test failures in sflow
in dissect_sflow_245_address_type(), don't reset the offset to 0 when
the address family is unkown
bring up an expert info instead and increment offset by the number of
bytes processed

svn path=/trunk/; revision=45324
2012-10-04 19:51:00 +00:00
Jaap Keuter 4bcc01b5bd From Sven Eckelmann:
Fix dissection of IEEE 802.11 Channel Switch Announcement element.

svn path=/trunk/; revision=45321
2012-10-04 19:30:15 +00:00
Martin Kaiser a0ce1f8fc2 try to fix usb-related fuzz test crashes
in dissect_usb_interface_descriptor() and
dissect_usb_endpoint_descriptor, the offset should be incremented
depending on the number of bytes we dissected, not based on the len
field (len field==0 would then cause an endless loop)

also fixed one occurrence of old_offset-offset, that's probably a typo,
the values will always be negative...

svn path=/trunk/; revision=45310
2012-10-04 15:37:38 +00:00
Martin Kaiser e8205fb955 From Alexander Koeppe
support for EPRT command as defined in RFC 2428 (IPv4 addresses only)

from me
simplify the code, expert info must not be under if(tree)

based on the submission in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7729

svn path=/trunk/; revision=45308
2012-10-04 14:35:09 +00:00
Pascal Quantin 191dd647a1 Display the raw PFI next to the translated one (as a value string array would do) so as to reduce a bit confusion
svn path=/trunk/; revision=45295
2012-10-03 18:09:04 +00:00
Bill Meier ac6e9cbb8b Trivial: use consistent indentation; reformat a long line.
svn path=/trunk/; revision=45288
2012-10-03 16:20:22 +00:00
Guy Harris 6cfc6b1539 Fix indentation.
svn path=/trunk/; revision=45270
2012-10-02 21:15:54 +00:00
Guy Harris 73dd0321ea Get rid of the always-null and unused argument to
host_name_lookup_process().  If, in the future, we find that we need an
argument for changes we're making, we can add it then.

svn path=/trunk/; revision=45269
2012-10-02 21:13:59 +00:00
Pascal Quantin 88324e39bb Use a value string array for EPS Bearer Identity and remove useless de_esm_lnkd_eps_bearer_id function
svn path=/trunk/; revision=45267
2012-10-02 20:44:36 +00:00
Pascal Quantin 64272873f0 The Packet Filter Identifier range is [1;16] according to 3GPP 27.007 chapter 10.1.3
svn path=/trunk/; revision=45266
2012-10-02 20:17:08 +00:00
Pascal Quantin ff3bd58b74 Upgrade NAS EPS dissector to v11.4.0 (Release 11)
svn path=/trunk/; revision=45253
2012-10-02 12:46:21 +00:00
Pascal Quantin dc1788a98e According to 3GPP 24.011, information element name is RP-Originator Address, not RP-Origination Address
svn path=/trunk/; revision=45252
2012-10-02 10:58:36 +00:00
Pascal Quantin 4afd80511e Fix hf_me (it is a 2 bits long field, not a boolean)
svn path=/trunk/; revision=45249
2012-10-02 07:20:31 +00:00
Jaap Keuter 34e3d6d1f3 Make protocol 5 octets long and cut down code clutter,
svn path=/trunk/; revision=45242
2012-10-01 21:43:34 +00:00
Pascal Quantin 5ec061bf0c Add options to dissect MCCH from LTE MAC/RLC dissectors
svn path=/trunk/; revision=45239
2012-10-01 19:51:07 +00:00
Martin Kaiser 1ca75014ae dvb-ci: display cc item's name in the subtree title
svn path=/trunk/; revision=45224
2012-09-30 17:58:45 +00:00
Chris Maynard a1722d352a Trivial: LEDs -> Icons
svn path=/trunk/; revision=45223
2012-09-30 15:59:40 +00:00
Gerald Combs ee6d50acba [Automatic manuf, services and enterprise-numbers update for 2012-09-30]
svn path=/trunk/; revision=45220
2012-09-30 14:03:25 +00:00
Alexis La Goutte 7c59618e8d From Olivier Benghozi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7734
Enhance Route Refresh Capability : Add draft-ietf-idr-bgp-enhanced-route-refresh-02

Not yet support new NOTIFICATION error code : ROUTE-REFRESH Message Error (Value To Be Defined)

From me :
* Make some Route Refresh fields filterable 

svn path=/trunk/; revision=45217
2012-09-30 10:38:37 +00:00
Alexis La Goutte cd519e450c From Olivier Benghozi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7734
BGP bad decoding for Graceful Restart Capability with only helper support

BGP Capability in OPEN message: Graceful restart capability (64).

So when the length of the capability value is smaller that 6 (6 meaning full
support of GR capa, with significants elements and at least one AFI/SAFI), the
code interprets it as erroneous.

However,as described in RFC4724: " When a sender of this capability does not
include any <AFI, SAFI> in the capability, it means that the sender is not
capable of preserving its forwarding state during BGP restart, but supports
procedures for the Receiving Speaker (as defined in Section 4.2 of this
document). In that case, the value of the Restart Time field advertised by the
sender is irrelevant".

So, length of exactly 2 is valid but has to be interpreted with a particular
meaning.

In the dissector code, a length of 2 should be a special case for this capa,
decoding as "Graceful Restart helper mode only" or something like that, and
maybe also displaying an expert message if the Restart flag is not 0 in this
case, since here it's not expected to be possible.

svn path=/trunk/; revision=45216
2012-09-30 10:05:18 +00:00
Pascal Quantin 1b3fd6e7e1 Upgrade LTE RRC dissector to v11.1.0
svn path=/trunk/; revision=45215
2012-09-30 08:06:50 +00:00
Evan Huus d908cf1132 From Andrew Kampjes via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7750
Pull SDH level out of ERF header if the user hasn't manually set the preference.

svn path=/trunk/; revision=45207
2012-09-29 13:44:45 +00:00
Pascal Quantin 99e7a5b4dc From Mike Morrin via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7615 :
Fix minor bug in dissection of "e" bit and add value strings for remaining data block header fields

svn path=/trunk/; revision=45206
2012-09-29 08:34:00 +00:00
Alexis La Goutte 0bddabb63b From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7767
Add the FeliCa Plug System Code

Fairly recently, Sony introduced the "FeliCa Plug" (AKA "NFC Dynamic Tag")
product - which also has a unique System Code value (0xFEE1) associated with
it, according to
http://www.sony.net/Products/felica/business/tech-support/data/fp_usmnl_1.11.pdf

svn path=/trunk/; revision=45205
2012-09-29 07:47:19 +00:00
Pascal Quantin 99d2b14706 Remove a duplicate hf
svn path=/trunk/; revision=45200
2012-09-28 21:20:29 +00:00
Pascal Quantin 12c71b2ff1 Remove a duplicate hf
svn path=/trunk/; revision=45198
2012-09-28 20:36:03 +00:00
Bill Meier f8a2fd3010 Fix another "set but unused" compiler warning...
svn path=/trunk/; revision=45197
2012-09-28 19:59:52 +00:00
Bill Meier daab50bc27 Fix "set but unused" compiler error.
svn path=/trunk/; revision=45196
2012-09-28 19:56:16 +00:00
Bill Meier 562c890560 Cleanup:
packet-mpls.c:
  - refactor dissect_pw_ach();
  - create/uer value_string_ext as appropriate;
  - use call_dissector() rather than direct dissector call in one cse;

 all:
  - use 'LABEL' prefix for a set of rather generic enum identifiers;
  - fix some cases of calling expert...() or sub-dissectors under 'if(tree)';
  - reformat some hf[] entries;
  - do some whitespace changes.

svn path=/trunk/; revision=45195
2012-09-28 19:50:49 +00:00
Pascal Quantin da4b39e720 Revert r21471: previous decoding of APN was matching 3GPP 23.003 chapter 9.1 and the pcap file attached to bug 1543 is not valid
svn path=/trunk/; revision=45194
2012-09-28 16:31:08 +00:00
Pascal Quantin 559a26361a Upgrade LTE Positioning Protocol to V11.0.0
svn path=/trunk/; revision=45193
2012-09-28 15:40:14 +00:00
Jörg Mayer 7ebba8f64d Get rid of HAVE_CONFIG_H for cmake. Fix one case where it was still used.
svn path=/trunk/; revision=45191
2012-09-28 14:24:52 +00:00
Guy Harris f7030c6940 Get rid of unused variable.
svn path=/trunk/; revision=45179
2012-09-27 19:35:23 +00:00
Greg Morris a039953b6e Fix for buildbot warning on OSX-10.6-x64
svn path=/trunk/; revision=45178
2012-09-27 18:04:09 +00:00
Greg Morris 247040590d Added additional server information in NCP 23/17 reply structure for OES Linux.
Fixed GTKHash table being overwritten when number of NCP packets exceeds 255. Sequence numbers wrap so this was causing the request value table to be overwritten and subsequent malformed NCP packets.

Fixed buid_expert_data for file open reporting to correctly convert to Hex value so proper lookup in val table will succeed.

Added additional OES Linux values to build_expert_data for server entries.

svn path=/trunk/; revision=45177
2012-09-27 17:47:10 +00:00