Commit graph

17692 commits

Author SHA1 Message Date
Anders Broman
e8e5d6aa26 Update to V11.1.0 (2012-03)
svn path=/trunk/; revision=41904
2012-04-03 14:12:07 +00:00
Jakub Zawadzki
83adc2d745 Fix off by one shift error introduced in r39531.
In tvb_get_ephemeral_unicode_string() length is number of bytes (not characters).

svn path=/trunk/; revision=41903
2012-04-03 09:28:58 +00:00
Jakub Zawadzki
189b255ddf Fix dependent_frames memleak.
Reviewed-By: Jeff Morriss (http://www.wireshark.org/lists/wireshark-dev/201204/msg00013.html)

svn path=/trunk/; revision=41902
2012-04-03 09:18:16 +00:00
Jeff Morriss
cf58e2bd83 From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7023 :
For each message, the DVB-CI dissector checks the message size against the
buffer size negotiated at startup. If the buffer size negotation was not
captured, a warning is flagged up for each packet saying its size is too big. 

Obviously, the check only makes sense if we know the negotiated buffer size...

svn path=/trunk/; revision=41901
2012-04-03 01:52:44 +00:00
Jeff Morriss
b4f42921bb Fix a couple of CIDs related to missing breaks: both are intentional[1] so add
comments to that effect.

[1] Based on comment from Lars Roff via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6844

svn path=/trunk/; revision=41899
2012-04-03 01:25:24 +00:00
Anders Broman
a52545a4c1 From Nick Lowe:
Negate version bits in flags for PEAP, TTLS, FAST.

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

svn path=/trunk/; revision=41892
2012-04-02 08:00:43 +00:00
Bill Meier
02b9c6460c Use correct values for "alt screen size" for 327x-3 and 327x-4 terminals.
Slightly improve code which tries to keep track of "screen size".
Add a comment as to what is really required to properly keep track
 of the screen size "state".


svn path=/trunk/; revision=41891
2012-04-01 23:06:21 +00:00
Bill Meier
3052f47326 Remove a bad (unterminated) comment; Fixes Buildbot compile error.
svn path=/trunk/; revision=41890
2012-04-01 21:48:17 +00:00
Bill Meier
b27ca5bf7e Fix some bugs related to the use of proto_tree_add_bits_item();
Improve details pane display of a few TN3270 fields.

svn path=/trunk/; revision=41889
2012-04-01 21:31:51 +00:00
Anders Broman
c0a018ec2d From Nick Lowe: Show the reserved bits if set for EAP-TLS, unify/clean up the display output. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7017
svn path=/trunk/; revision=41886
2012-04-01 16:12:56 +00:00
Bill Meier
c782bbd1e4 Define numerous arrays as static rather than dynamic
so they are initialized only once rather than each time a
 function using the array is executed.
Re-arrange the code slightly so much of the dissection can be
 put under 'if (tree)'.

svn path=/trunk/; revision=41885
2012-04-01 16:06:39 +00:00
Martin Mathieson
2b13fcbb2c Set the extent of IR, IR-DYN and feedback packet types.
Make some fields display and HEX and DEC.

svn path=/trunk/; revision=41881
2012-04-01 14:55:40 +00:00
Martin Mathieson
d101fb251b Clear info column before calling ROHC dissector.
svn path=/trunk/; revision=41880
2012-04-01 14:52:48 +00:00
Gerald Combs
5c2416a283 [Automatic manuf, services and enterprise-numbers update for 2012-04-01]
svn path=/trunk/; revision=41878
2012-04-01 14:03:31 +00:00
Jakub Zawadzki
612f2b0e4d Remove return statement (part of r41314), fix bug #7015
svn path=/trunk/; revision=41877
2012-04-01 09:31:02 +00:00
Anders Broman
6151ed8dac At least 4 bytes is required to check PSC, fixes bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6996
svn path=/trunk/; revision=41876
2012-04-01 09:20:35 +00:00
Anders Broman
2c4128c609 Use proto_tree_add_item() in a couple of places, show bit fields
svn path=/trunk/; revision=41875
2012-04-01 09:19:02 +00:00
Michael Tüxen
8421176e01 Add support for RFC 6525.
svn path=/trunk/; revision=41874
2012-03-31 22:01:36 +00:00
Jakub Zawadzki
80445e5a99 Fix off by one shift errors introduced in r39530 where it seemed proper[1]
[1] I'm unsure of packet-dtpt, so I haven't patch it.

svn path=/trunk/; revision=41873
2012-03-31 20:57:15 +00:00
Jakub Zawadzki
bb8afe3f68 Add initial support for dissecting packets encapsulated in Netfilter LOG (DLT_NFLOG=239).
svn path=/trunk/; revision=41872
2012-03-31 17:29:41 +00:00
Jakub Zawadzki
35eae45497 These buffers in tvb_uncompress() can't ovelaps, so use optimized memcpy().
svn path=/trunk/; revision=41870
2012-03-31 12:35:07 +00:00
Jakub Zawadzki
60f47ed05b Fix for bug #6480 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6480)
Yay, first commit since r37883 (almost 9months).

svn path=/trunk/; revision=41869
2012-03-31 12:33:10 +00:00
Ronnie Sahlberg
ce6237d4a0 SCSI SBC: Start decoding LogicalBlockProvisioning VPD page
svn path=/trunk/; revision=41867
2012-03-31 04:45:33 +00:00
Ronnie Sahlberg
19a13c2111 SCSI SBC: Add the new fields that have been added to READ_CAPACITY16
svn path=/trunk/; revision=41864
2012-03-30 23:48:23 +00:00
Jeff Morriss
05113c3737 From Svetoslav Duhovnikov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6995 :
The following patch adds decoding capabilities for RFC 5886 for PCEP protocol:

9.1. New PCEP Message


   Each PCEP message has a message type value.

   Two new PCEP (specified in [RFC5440]) messages are defined in this
   document:

   Value  Description                                      Reference
     8    Path Computation Monitoring Request (PCMonReq)   This document
     9    Path Computation Monitoring Reply (PCMonRep)     This document

9.2. New PCEP Objects


   Each PCEP object has an Object-Class and an Object-Type.  The
   following new PCEP objects are defined in this document:

   Object-Class Value Name        Object-Type             Reference

          19          MONITORING  1                       This document

          20          PCC-REQ-ID  1: IPv4 addresses       This document
                                  2: IPv6 addresses

          25          PCE-ID      1: IPv4 addresses       This document
                                  2: IPv6 addresses       This document

          26          PROC-TIME   1                       This document

          27          OVERLOAD    1: overload             This document

svn path=/trunk/; revision=41862
2012-03-30 22:36:02 +00:00
Anders Broman
d8a60f8a0a From Claude LeFrancois: Support 2 new GTP Information Elements. The Fully Qualified Domain Name (FQDN) GTP IE and the Evolved Allocation/Retention Priority II GTP IE.
svn path=/trunk/; revision=41861
2012-03-30 21:45:42 +00:00
Jeff Morriss
17ce01b48d From Weston Andros Adamson via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7010 :
While developing SP4_MACH_CRED support for the linux nfs client, I noticed that
wireshark was displaying these bitmasks incorrectly (as fattrs instead of NFS
operations).

I also noticed that BACKCHANNEL_CTL (a required value in the mask for
SP4_MACH_CRED) wasn't in names_nfsv4_operation[], so I added it and verified
that we're not missing any other ops.

svn path=/trunk/; revision=41851
2012-03-30 17:50:08 +00:00
Jeff Morriss
d22d574d6c From Liangfeng via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7012 :
According to 3GPP R7//R8/R9/R10/R11, AVP 'MBMS-Session-Duration' has 3 octets.
First 17 bits indicate seconds, the rest of bits(7 bits) represents days. 

However, in the source file packet-gtp.c, it parse the AVP reversely -- taking
first 7 bits as days, the rest of 17 bits as seconds.  This patch fixes that.

svn path=/trunk/; revision=41849
2012-03-30 17:40:01 +00:00
Chris Maynard
ccfcaa067b Allow unknown extension values to be filterable.
svn path=/trunk/; revision=41848
2012-03-30 17:38:10 +00:00
Jörg Mayer
adc575f065 gcc.47 would complain that rsoffset might be used uninitialized
when passed by reference. Init to 0 to silence this warning.

Some whitespace fixes.

svn path=/trunk/; revision=41846
2012-03-30 14:48:37 +00:00
Jörg Mayer
5b9cc23569 Fix compiler warnings (set but not used).
Remove whitespace at end of line.

svn path=/trunk/; revision=41845
2012-03-30 13:18:13 +00:00
Stig Bjørlykke
602883402d Adjusted UAT name.
svn path=/trunk/; revision=41844
2012-03-30 12:45:43 +00:00
Stig Bjørlykke
b651bbac35 Call uat->post_update_cb also when not having the uat file.
This is because some uat's do cleanup in the init routine, which is needed
when changing profile.

svn path=/trunk/; revision=41842
2012-03-30 11:12:03 +00:00
Stig Bjørlykke
adabb3d63e Added support for configuring custom LDAP AttributeValue types.
svn path=/trunk/; revision=41841
2012-03-30 09:08:55 +00:00
Stig Bjørlykke
019008548b Recreate the packet list when changing UAT for header fields.
This fixes a crash when changing settings for fields used as a custom column.

svn path=/trunk/; revision=41840
2012-03-30 08:57:57 +00:00
Martin Mathieson
5282c1b9c5 When a capture starts with a non-zero SN, don't report 0-(SN-1) as
missing.

svn path=/trunk/; revision=41837
2012-03-30 01:18:12 +00:00
Jeff Morriss
786c604ad0 From Guy Martin via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7007 :
This patch adds support for the DVB Bouquet Association Table (BAT) from ETSI
EN 300 468.

With this last patch, the support for the DVB SI table is quite complete.

svn path=/trunk/; revision=41836
2012-03-30 01:17:46 +00:00
Ronnie Sahlberg
461b2021b2 ONC-RPC: After we have dissected the decrypted PDU, update offset to reflect that we have eaten all these bytes or rpc will think there was un-dissected data remaining and will show it as an extra "data" field.
svn path=/trunk/; revision=41833
2012-03-29 21:13:24 +00:00
Alexis La Goutte
a256cb0c9d Remove unused hf variable
svn path=/trunk/; revision=41828
2012-03-29 18:08:16 +00:00
Alexis La Goutte
f0fcfd92a7 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41827
2012-03-29 17:41:51 +00:00
Alexis La Goutte
df14b18fdf From Sven Eckelmann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7009
Add support for 4addr unicast packets 

Add support for 4addr unicast packets packets that will be supported in
linux 3.5.

svn path=/trunk/; revision=41826
2012-03-29 17:40:49 +00:00
Alexis La Goutte
1acb420248 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41825
2012-03-29 17:34:21 +00:00
Alexis La Goutte
508cb1aa2f From Roland Knall via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7003
openSAFETY - Cleanup SSDO dissection, add additional information, remove logic bug

- rename isRequest to isResponse, which is the right name for it
- clean-up elseif to a better readable stand-alone if-clause
- add sender for response package without valid scm

svn path=/trunk/; revision=41824
2012-03-29 17:26:56 +00:00
Stig Bjørlykke
91f2f97f28 Don't try to convert AttributeValue to string if having a ldap_name dissector.
Prefix the converted printable string correctly with 'AttributeValue: '.

svn path=/trunk/; revision=41823
2012-03-29 12:03:49 +00:00
Ronnie Sahlberg
378d039009 ONC-RPC: Add decryption of GSSAPI protected NFS and other ONC based protocols
svn path=/trunk/; revision=41822
2012-03-29 07:42:47 +00:00
Martin Mathieson
92cd70bd61 Improve support for primitives that carry NAS-EPS.
Also parse beginning of "Monitor" lines.

svn path=/trunk/; revision=41821
2012-03-29 01:24:49 +00:00
Ronnie Sahlberg
3d81f3612b ONC-RPC: When a GSS context is destroyed, that NULL procedure call does not carry neither a verifier nor a payload.
Stop decoding the packed immediately after the credentials so that we dont incorrectly flag these packets as malformed.


svn path=/trunk/; revision=41817
2012-03-28 09:42:05 +00:00
Michael Tüxen
7e112bec91 From Robin Seggelmann:
Support DTLS 1.2
Fix a bug in option handling.


svn path=/trunk/; revision=41816
2012-03-28 09:31:04 +00:00
Ronnie Sahlberg
5a2b1ea380 remove a header include that was used when debugging and forgotten to be removed from previous commit
svn path=/trunk/; revision=41814
2012-03-28 09:16:09 +00:00
Ronnie Sahlberg
fcd7ed4e62 ONC-RPC: add tracking of GSSAPI authentication contexts
Add traking of when GSS authentication contexts are created and when they are destroyed
so that it is easy to "click on created in link" in a SecNFS packet to get to where the kerberos blob for authentication is


Add context created in/destroyed in to the decode so you can quickly jump to where the authantiation happened to check the decrypted krb5 credentials



svn path=/trunk/; revision=41813
2012-03-28 09:10:41 +00:00