Commit graph

9504 commits

Author SHA1 Message Date
Stig Bjørlykke
f092ff045d Initialize a subtree.
svn path=/trunk/; revision=31822
2010-02-07 20:12:48 +00:00
Anders Broman
6d64ae6425 Try to pacify the buildbot.
svn path=/trunk/; revision=31821
2010-02-07 20:08:00 +00:00
Anders Broman
95e212e6c7 From Owen Kirby:
Packet decryption for IEEE 802.15.4.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4457

svn path=/trunk/; revision=31820
2010-02-07 19:39:31 +00:00
Stig Bjørlykke
85504613fd Fixed warning: format not a string literal and no format arguments.
svn path=/trunk/; revision=31816
2010-02-07 15:38:42 +00:00
Anders Broman
5ffc91810b From Tobias Erichsen:
AppleMIDI - dissector for lightweight session protocol used in Apple network MIDI.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4455

svn path=/trunk/; revision=31814
2010-02-07 14:30:11 +00:00
Anders Broman
0d999e6e74 From Stephen Donnelly:
AAL2 preference.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4465

svn path=/trunk/; revision=31813
2010-02-07 13:37:51 +00:00
Stig Bjørlykke
539b558f8c Renamed some reassembled data texts.
Removed some check_col().

svn path=/trunk/; revision=31809
2010-02-06 18:20:21 +00:00
Jaap Keuter
c084355412 From Chris Maynard:
Take into account PIM protocol specifics with regards to TTL when colorizing packets.

svn path=/trunk/; revision=31807
2010-02-05 22:39:14 +00:00
Jaap Keuter
ac07c187ee Harden "Process Information" presentation functions.
svn path=/trunk/; revision=31806
2010-02-05 22:08:29 +00:00
Jaap Keuter
a264038022 From Alex Burlyga:
Currently parsing of the Exchange_Id is technically correct but hard to read.
This patch updates display inline with data structures specified in RFC 5661.

svn path=/trunk/; revision=31805
2010-02-05 22:02:55 +00:00
Jaap Keuter
3d987f81c5 From Mike Sager:
Dynamically register callback dissector based on the NFSv4.0 SETCLIENTID args
(the equivalent of what had already been done for NFSv4.1 CREATE_SESSION).

Fix CB_LAYOUTRECALL dissecting: the recall type wasn't getting parsed, so some
of the layout recall info wasn't being displayed.

Parse CB_SEQUENCE's referring call lists.

svn path=/trunk/; revision=31804
2010-02-05 21:37:21 +00:00
Gerasimos Dimitriadis
214148c7c6 Fix the MNC decoding when Global Title is built
according to E.212

svn path=/trunk/; revision=31802
2010-02-05 20:54:13 +00:00
Anders Broman
222b6fac82 Try to pacify the buildbot.
svn path=/trunk/; revision=31799
2010-02-05 06:46:32 +00:00
Anders Broman
f93f8f0388 From Joshua Zhao:
Add vendor extension support for 802.11 radiotap header.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4283
Slightly modified.

svn path=/trunk/; revision=31798
2010-02-05 05:54:56 +00:00
Guy Harris
85dd2ca96b I think you meant "pinfo->pseudo_header->atm.flags & ATM_AAL2_NOPHDR"
(test whether ATM_AAL2_NOPHDR is set in atm.flags), not
"pinfo->pseudo_header->atm.flags | ATM_AAL2_NOPHDR" (which is always
true if ATM_AAL2_NOPHDR is nonzero, which it is).

svn path=/trunk/; revision=31796
2010-02-05 01:06:27 +00:00
Ronnie Sahlberg
890bec2425 From: Stefan Metzmacher <metze@samba.org>
Subject: [PATCH 4/7] packet-winsrepl.c: handle the strange alignment after 
names

metze


svn path=/trunk/; revision=31795
2010-02-04 23:17:17 +00:00
Ronnie Sahlberg
ad66a89c3a From: Stefan Metzmacher <metze@samba.org>
Date: Thu, 27 Aug 2009 10:51:34 +0200
Subject: [PATCH 3/7] packet-spnego: fix decryption of DCERPC packets in 
decrypt_gssapi_krb_cfx_wrap()

There the checksum and the encrypted data are no 2 different buffers
and we need to combine them before we try to rotate and decrypt them.

metze


svn path=/trunk/; revision=31794
2010-02-04 23:16:08 +00:00
Ronnie Sahlberg
7fcf9485e0 From Metze
Subject: [PATCH 2/7] packet-smb2.c: fix handling of compounded 
SMB2 PDUs


svn path=/trunk/; revision=31793
2010-02-04 23:14:21 +00:00
Ronnie Sahlberg
a06266a983 From: Stefan Metzmacher <metze@samba.org>
fix crash bug in dcerpc nt


svn path=/trunk/; revision=31792
2010-02-04 23:13:05 +00:00
Ronnie Sahlberg
52d90d5cb1 Initialize a variable to squash a compiler warning.
GCC mistakes opcode that it might be uninitialized.
This is not true, but GCC can not detect that it will never be
used unititialized.


svn path=/trunk/; revision=31791
2010-02-04 22:17:40 +00:00
Gerasimos Dimitriadis
2aeb3bf5ee From Holger Pfrommer:
Updated text in packet-hilscher.c
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4462

svn path=/trunk/; revision=31790
2010-02-04 21:14:53 +00:00
Martin Mathieson
35a4c0b3d6 Add UEId to MAC tap struct and stats window.
svn path=/trunk/; revision=31788
2010-02-04 16:30:43 +00:00
Tomas Kukosa
0925d015d9 One warning fixed
svn path=/trunk/; revision=31785
2010-02-04 08:00:51 +00:00
Tomas Kukosa
0d48e8fb1f Remove forgotten useless lines
svn path=/trunk/; revision=31784
2010-02-04 07:23:11 +00:00
Tomas Kukosa
895c25125d Support QSIG using global opcode 1.3.12.9.op instead of local one (some old QSIG implementations)
svn path=/trunk/; revision=31783
2010-02-04 07:18:50 +00:00
Gerald Combs
fe6dc2f7c3 Fix for bug 4444.
svn path=/trunk/; revision=31780
2010-02-03 23:10:45 +00:00
Jeff Morriss
a358ec76a8 Change author attribution as per https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3732#c13 .
Add an AUTHORS entry while we're at it.

svn path=/trunk/; revision=31779
2010-02-03 18:57:32 +00:00
Anders Broman
2a0e96b2a0 Try to get rid of unused code warnings.
svn path=/trunk/; revision=31778
2010-02-03 16:59:21 +00:00
Anders Broman
984524db42 Fix from Tomas Kukosa to resolve problem with large negative intiger constraints
"packet-rrlp-fn.c:2391: warning: integer constant is too large for 'long' type."

svn path=/trunk/; revision=31777
2010-02-03 16:58:52 +00:00
Stig Bjørlykke
47e732e29e Changed "reassembled_length" -> "reassembled.length".
svn path=/trunk/; revision=31776
2010-02-03 08:47:15 +00:00
Stig Bjørlykke
98df26f3a9 Added protocol name to "Reassembled length" text.
svn path=/trunk/; revision=31774
2010-02-02 22:32:31 +00:00
Anders Broman
daaf48182f Try to get rid of unused code warnings.
svn path=/trunk/; revision=31773
2010-02-02 21:12:55 +00:00
Anders Broman
66aa6ba9cf Try to get rid of unused code warnings.
svn path=/trunk/; revision=31772
2010-02-02 19:56:12 +00:00
Anders Broman
4b45c6a632 Fix a typo and get rid of some unused code warnings.
svn path=/trunk/; revision=31771
2010-02-02 19:45:53 +00:00
Anders Broman
3e5a5d0ae2 Try to get rid of unused code warnings.
svn path=/trunk/; revision=31770
2010-02-02 19:28:34 +00:00
Stig Bjørlykke
88b72356ad Introduce "Reassembled length" filter element for all protocols doing
reassembly.

svn path=/trunk/; revision=31767
2010-02-02 16:01:52 +00:00
Anders Broman
6dfde68911 From Stephen Donnelly:
Endace ATM and AAL2 enhancements.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4447

svn path=/trunk/; revision=31766
2010-02-02 04:56:39 +00:00
Jörg Mayer
da757e0833 - Reorder some functions to avoid as many forward declarations
as possible.
- Rename a few hf_ variables
- Display some values in the COL_INFO and options caption.

svn path=/trunk/; revision=31765
2010-02-01 22:31:37 +00:00
Gerasimos Dimitriadis
ba32bc6d54 Fix for Bug 3116
wrong decoding IMSI with GSM MAP protocol

svn path=/trunk/; revision=31764
2010-02-01 21:19:56 +00:00
Gerald Combs
f1e8ec9007 C-ize a C++ comment.
svn path=/trunk/; revision=31763
2010-02-01 21:14:39 +00:00
Gerald Combs
27a400361c C-ize a C++ comment.
svn path=/trunk/; revision=31762
2010-02-01 21:13:56 +00:00
Anders Broman
2f6f1e48af From Tobias Witek:
Replace ERF dissector with ATM dissector for protocols 'FP Hint' and 'META'
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4384

svn path=/trunk/; revision=31761
2010-02-01 20:27:16 +00:00
Bill Meier
d0a48b5bee Use qualified rather than somewhat generic names for some enum definitions;
eg: OFFSET --> Q_OFFSET
(enums are in the global namespace).
This fixes some gcc -Wshadow warnings.

svn path=/trunk/; revision=31760
2010-02-01 19:01:56 +00:00
Bill Meier
37fea77dd2 Use consistent indentation; remove trailing spaces/tabs on lines.
svn path=/trunk/; revision=31759
2010-02-01 18:49:56 +00:00
Bill Meier
381bfd9c01 Various fixes:
1. Make message flags field filterable;
2. Fix various (relatively small) memory leaks mostly by using "seasonal"
   memory (instead of using g_malloc/g_new) so that memory is properly freed
   each time a capture file is (re)read.
3. Add some code so that use of a nested CLEANUP_PUSH could be removed.
   (The nested CLEANUP_PUSH was causing a gcc -Wshadow warning).
4. Use ep_alloc'd memory in one case to simplify code.
5. Clean up some indentation.

svn path=/trunk/; revision=31758
2010-02-01 18:16:25 +00:00
Jörg Mayer
3d5756ea07 - Make all top level elements filterable.
- Get rid of dhcpv6_enterprise_number and replace it by a one
  line ..._add_item each time.
- Move common code out of if () {} else {}.

svn path=/trunk/; revision=31757
2010-02-01 16:26:54 +00:00
Bill Meier
2241bbf094 Create "decompressed Content" tab in hex bytes pane only if decompression actually done.
This is a revision of  SVN #29086 which caused the 
"decompressed Content" tab in the hex bytes pane to always be displayed.

svn path=/trunk/; revision=31755
2010-02-01 16:18:18 +00:00
Jörg Mayer
fb9c5f1da3 Bugfix: Hilight the correct range of bytes when dissecting embeeded
dhvpv6 payload.
New feature: Allow minimalistic filtering on dhcpv6 options:
  type, length and value (value as hex dump)

svn path=/trunk/; revision=31753
2010-02-01 14:53:00 +00:00
Martin Mathieson
8126a8ab32 Add a preference that allows the LTE RLC dissector to accept RLC PDUs truncated after the header rather than report missing data.
svn path=/trunk/; revision=31750
2010-02-01 11:00:08 +00:00
Jaap Keuter
bad03bdd51 From Jochen Bartl:
Expert infos patch for EIGRP dissector.

svn path=/trunk/; revision=31749
2010-02-01 07:43:07 +00:00
Jeff Morriss
96044c161d From Hitoshi Irino via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4381 : restore dissection of netflow v9 packets.
svn path=/trunk/; revision=31745
2010-01-31 22:10:17 +00:00
Jaap Keuter
ef44e06208 From Jens Weibler:
Just a small patch to add information about elliptic curves for SSL-connections.

svn path=/trunk/; revision=31744
2010-01-31 19:57:01 +00:00
Stig Bjørlykke
8f5c4683ea Added an option to try decoding unknown primitives as BER encoded data.
svn path=/trunk/; revision=31740
2010-01-30 17:44:45 +00:00
Jaap Keuter
469b2966f6 From Shivesh Makharia:
I had written the VSNCP/VSNP which are specific to the CDMA community and
wanted to contribute this to Wireshark development.

svn path=/trunk/; revision=31739
2010-01-30 13:08:11 +00:00
Jaap Keuter
3b41224975 IANA updates and fixes for PPP types.
svn path=/trunk/; revision=31738
2010-01-30 10:43:46 +00:00
Bill Meier
cbec3dba8c Fix two gcc -Wshadow warnings.
svn path=/trunk/; revision=31736
2010-01-29 22:16:54 +00:00
Gerald Combs
080bbacb41 Preliminary fix for bug 4423.
svn path=/trunk/; revision=31735
2010-01-29 21:57:32 +00:00
Bill Meier
e8e8c37a5f A few updates:
- Remove not needed #includes: stdio, stdlib, string & prefs;
- Fix a few typos in text strings;
- use 'tvb_reported_length() > 0' rather than '... != 0' in several cases;
   (tvb_reported_length can return -1);
- if (!initialized) {...} not required in proto_reg_handoff..;
- col_clear(...) before col_add_fstr(...) not req'd;
- Add a comment about whether tvb_length() rather than tvb_reported_length
  should be used in one case.

svn path=/trunk/; revision=31734
2010-01-29 21:53:58 +00:00
Jaap Keuter
864c4d5521 From Laurent Boulard:
Follow SSL Stream for TLS_RSA_WITH_NULL_SHA and TLS_RSA_WITH_NULL_MD5.

svn path=/trunk/; revision=31733
2010-01-29 21:14:23 +00:00
Stig Bjørlykke
bda752f68b From Jan Gerbecks via bug 4440:
Added support for PNRP.

From me:
Fixed printing of Classifier (unicode).
Put some space in comments.

svn path=/trunk/; revision=31732
2010-01-29 20:55:52 +00:00
Anders Broman
f04641440d Add 3GPP2 OUI.
svn path=/trunk/; revision=31726
2010-01-29 07:44:39 +00:00
Jeff Morriss
aa5feea5b3 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4368 :
Don't use add_item() to add FT_ABSOLUTE_TIMEs. Instead either:
	- fetch the seconds (and maybe milliseconds) and use add_time()
	- (or) change the field to FT_BYTES and give the raw data to
	  ntp_fmt_ts() for presentation 

Also change BASE_NONE to ABSOLUTE_TIME_LOCAL for the remaining time fields.

svn path=/trunk/; revision=31725
2010-01-29 04:05:49 +00:00
Anders Broman
8a39d11aa1 Activate dedicated EPS bearer context accept may have no IE's.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4432

svn path=/trunk/; revision=31718
2010-01-28 17:01:54 +00:00
Bill Meier
b3b101e606 Fix gcc -Wshadow warning.
svn path=/trunk/; revision=31715
2010-01-28 15:03:47 +00:00
Bill Meier
3a9c03abd6 Fix gcc -Wshadow warnings
svn path=/trunk/; revision=31714
2010-01-28 14:43:01 +00:00
Bill Meier
91a6e46a61 Fix gcc -Wshadow warnings
svn path=/trunk/; revision=31713
2010-01-28 14:35:49 +00:00
Bill Meier
9ae817b032 (minor) packet-rtnet is a regular dissector (not an ASN1 dissector).
svn path=/trunk/; revision=31712
2010-01-28 14:31:02 +00:00
Gerasimos Dimitriadis
85fb36759b Update IS-801 Request Pseudorange Measurement; Rename
'spare bits' to 'reserved bits'

svn path=/trunk/; revision=31707
2010-01-27 22:36:29 +00:00
Martin Mathieson
1146a40844 From Pascal Quantin: show decoding of the Power Headroom Level field as specified in 3GPP 36.133 table 9.1.8.4-1.
svn path=/trunk/; revision=31705
2010-01-27 18:42:40 +00:00
Anders Broman
02030d02a1 From shivesh83@gmail.com:
Enhancement to dissect EAP/AKA'
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4426
I also updated some PPP and EAP numbers.

svn path=/trunk/; revision=31704
2010-01-27 18:16:07 +00:00
Bill Meier
37e5c1aab5 Remove a check_col() in asn1 template file (SVN #31519 did only the generated file).
svn path=/trunk/; revision=31701
2010-01-27 15:35:59 +00:00
Bill Meier
d7df6a2cf0 Use generated file from latest asn1 ...
svn path=/trunk/; revision=31700
2010-01-27 15:18:47 +00:00
Bill Meier
681dc58dce Use generated file from latest asn1 ...
svn path=/trunk/; revision=31699
2010-01-27 15:16:22 +00:00
Bill Meier
6b6c827c66 Use generated file from latest asn1 (missed in SVN #31544).
svn path=/trunk/; revision=31698
2010-01-27 15:12:47 +00:00
Bill Meier
723533dbe4 Remove a check_col() in asn1 template file (SVN #31519 did only the generated file).
svn path=/trunk/; revision=31697
2010-01-27 14:54:48 +00:00
Stephen Fisher
c8ea785b2a Make the good/bad checksum values as generated even when the UDP checksum is 0.
svn path=/trunk/; revision=31694
2010-01-27 05:17:09 +00:00
Bill Meier
97d3a8bb10 Remove two unused global variables (one of which was causing a gcc -Wshadow warning).
svn path=/trunk/; revision=31690
2010-01-26 23:43:48 +00:00
Gerasimos Dimitriadis
c08fa6f3cf Move underscore escaping/unscaping function to strutil.c;
Update decoding of IS-801 Request GPS Acquisition Assistance

svn path=/trunk/; revision=31685
2010-01-26 18:21:17 +00:00
Bill Meier
293ea61af2 Fix a gcc -Wshadow warning
svn path=/trunk/; revision=31684
2010-01-26 17:45:58 +00:00
Anders Broman
4ec5097068 Remove redundant code
(the local variable 'opcode' seems to be set but is never used.)

svn path=/trunk/; revision=31683
2010-01-26 16:52:19 +00:00
Bill Meier
db64f656c4 Fix gcc -Wshadow warning
(and possibly cause more efficient code to be generated).

svn path=/trunk/; revision=31682
2010-01-26 15:54:12 +00:00
Martin Mathieson
61c6c08861 Undo previous change to avoid crashing.
The test for NULL was to see whether struct had ever been allocated,
not for detecting a failed allocation...

svn path=/trunk/; revision=31681
2010-01-26 14:55:26 +00:00
Anders Broman
672dcfb52f remove check_col
svn path=/trunk/; revision=31679
2010-01-26 12:25:52 +00:00
Anders Broman
2c41750861 Bug on bssmap SAI not decoded.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4415

svn path=/trunk/; revision=31678
2010-01-26 12:22:03 +00:00
Bill Meier
066ba23f0b Fix some gcc -Wshadow warnings
svn path=/trunk/; revision=31673
2010-01-26 01:00:15 +00:00
Anders Broman
eb6bf9e56b From Mike Morrin:
Empty GPRS LLC S frames cause truncated data exception.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4417

svn path=/trunk/; revision=31667
2010-01-25 20:14:34 +00:00
Stig Bjørlykke
fa8d45f2a3 From Didier Gautheron via bug 4420:
Call p_add_proto_data only once.

svn path=/trunk/; revision=31664
2010-01-25 18:24:14 +00:00
Stig Bjørlykke
9ea266105e From Didier Gautheron via bug 4420:
Use se_alloc rather than g_malloc for proto_data.
Call conversation_add_proto_data only once.

svn path=/trunk/; revision=31663
2010-01-25 18:22:56 +00:00
Martin Mathieson
f1f528deeb From Pascal Quantin: fid some LTE MAC and PDCP typos
svn path=/trunk/; revision=31661
2010-01-25 16:45:46 +00:00
Stig Bjørlykke
637274ebbc Change back from tvb_child_uncompress() to tvb_uncompress() when
parent is NULL, because this will lead to a DISSECTOR_ASSERT in 
tvb_set_child_real_data_tvbuff().

This bug was introduced in revision 31499.

svn path=/trunk/; revision=31659
2010-01-25 13:58:07 +00:00
Stig Bjørlykke
9092486f58 Changed from using own defined GNUC_FORMAT_CHECK to G_GNUC_PRINTF
defined in GLib.  Removed epan/gnuc_format_check.h.

svn path=/trunk/; revision=31657
2010-01-25 13:20:53 +00:00
Stig Bjørlykke
c198fc6546 From Didier Gautheron via bug 4419:
se_alloc and ep_alloc never return NULL and se_alloc0 already initialized
data with 0.

svn path=/trunk/; revision=31654
2010-01-25 11:47:39 +00:00
Ronnie Sahlberg
cbd20099ef Add nice dissection of the names of the sign/seal algorithms
in the schannel verifier


svn path=/trunk/; revision=31652
2010-01-25 05:58:26 +00:00
Ronnie Sahlberg
acc4d6bd0a Add proper dissection of NL_AUTH_MESSAGE for schannel as described in
MS-NRPC 2.2.1.3.1


svn path=/trunk/; revision=31651
2010-01-25 05:43:12 +00:00
Ronnie Sahlberg
cb37c28c37 Export the dissect_mscldap_string() that is used to dissect
compressed dns strings.



svn path=/trunk/; revision=31650
2010-01-25 05:38:22 +00:00
Jaap Keuter
a1a0bf1dbb From Hadar Shoham:
Add Packet Cable 2.0 bootp option 60 support:
sub-option 01 new type value 2 for packet cable 2.0
sub-option 1a new sun-option "Certificate Bootstrapping Support" length 01,
value 1 for support and 0 for not supported.

svn path=/trunk/; revision=31647
2010-01-24 22:06:29 +00:00
Stig Bjørlykke
3c0d51b707 Removed trailing TAB.
svn path=/trunk/; revision=31646
2010-01-24 21:18:50 +00:00
Stig Bjørlykke
702d4c367e From Alexis La Goutte via bug 4418:
Aruba Wireless Controller support a Remote Monitoring of Access Point
The code is based en HP ERM/Cisco ERSPAN dissectors

svn path=/trunk/; revision=31645
2010-01-24 20:52:50 +00:00
Gerasimos Dimitriadis
372ff060cc Rewrite IS-801 decoding of Provide GPS Satellite Health
Information; function ansi_801_tvb_get_bits no longer
needed

svn path=/trunk/; revision=31639
2010-01-23 23:11:49 +00:00
Gerasimos Dimitriadis
24f4322584 Whitespace edits; registration of the ansi_801 dissector
svn path=/trunk/; revision=31638
2010-01-23 21:42:01 +00:00