Commit graph

13850 commits

Author SHA1 Message Date
Alexis La Goutte
2561aad178 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41465
2012-03-10 17:48:17 +00:00
Alexis La Goutte
bdbe07fe0a Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41464
2012-03-10 17:47:28 +00:00
Alexis La Goutte
6ee4ab9692 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41463
2012-03-10 17:47:07 +00:00
Alexis La Goutte
5634cf10fd Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41462
2012-03-10 17:46:18 +00:00
Anders Broman
edbdf1b6de Don't register the payload type unless it's in the dynamic range
svn path=/trunk/; revision=41460
2012-03-10 17:00:30 +00:00
Anders Broman
970272235d From martijn: subdissectors for URB_INTERRUPT. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6929
svn path=/trunk/; revision=41459
2012-03-10 16:16:07 +00:00
Anders Broman
f030f799bd From Steve Magnani: USB: centralize some common dissection code for class reuse. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6930
svn path=/trunk/; revision=41458
2012-03-10 16:09:28 +00:00
Anders Broman
183289786d From Sylvain Munaut:
packet-gmr1_dtap: Add dissector for GMR1 DTAP messages (Step 4(4)).
Added to Cmalelists.txt and #if 0 zero lenght hf array which windows 
build did not like.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6921

svn path=/trunk/; revision=41450
2012-03-09 12:45:19 +00:00
Anders Broman
2bc1d9f874 From Sylvain Munaut:
packet-gsmtap: Call the GMR-1 CCCH dissector when appropriate  (Step 3).

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

svn path=/trunk/; revision=41449
2012-03-09 12:33:16 +00:00
Anders Broman
017351556b From Sylvain Munaut:
packet-gmr1_rr: Add dissector for GMR-1 RR elements and CCCH messages (Step 2).

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

svn path=/trunk/; revision=41448
2012-03-09 12:15:08 +00:00
Anders Broman
a908ffac57 From Sylvain Munaut:
GMR-1: Add dissections for various GMR 04.08 elements (Step1).

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

svn path=/trunk/; revision=41446
2012-03-09 09:38:21 +00:00
Anders Broman
d50dcb37e9 From Sylvain Munaut: gsm_a_common: ELEM_MAND_VV_SHORT doesn't support IEs of different types. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6924
svn path=/trunk/; revision=41445
2012-03-09 05:08:30 +00:00
Bill Meier
404f940db5 Remove duplicate copy of contents appended to the end of the file;
Fix $Id so it works: '$ID: $' ==> '$ID$';
Convert '4-space' tabs to spaces.

svn path=/trunk/; revision=41438
2012-03-08 17:48:46 +00:00
Martin Mathieson
60a22a4072 Want to write RRC info column info always. Also save and restore writable
flag.

svn path=/trunk/; revision=41435
2012-03-08 16:30:39 +00:00
Martin Mathieson
3a7cc2b725 Change the way the count of subheaders is displayed in the header.
svn path=/trunk/; revision=41434
2012-03-08 13:20:33 +00:00
Martin Mathieson
16c443956d Add a preference to show in the info column RLC, PDCP or traffic
details.

svn path=/trunk/; revision=41433
2012-03-08 13:19:41 +00:00
Anders Broman
e512e8b691 From Sylvain Munaut: gsm_a_common: elem_v_short doesn't create subtree for the IE https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6923
svn path=/trunk/; revision=41432
2012-03-08 11:09:39 +00:00
Martin Mathieson
e06cb4430c Put UM and AM extension headers inside the header tree.
svn path=/trunk/; revision=41431
2012-03-08 11:08:17 +00:00
Martin Mathieson
2f6990550b Write UEID to info column using left-justified, fixed width.
svn path=/trunk/; revision=41430
2012-03-08 10:59:49 +00:00
Anders Broman
7bfeada4bf Fix dissecton of speech codec list
svn path=/trunk/; revision=41429
2012-03-08 10:23:04 +00:00
Michael Tüxen
9765ee1bea From Robin Seggelmann: Add support for the New Session Ticket
message according to RFC 5077.

svn path=/trunk/; revision=41427
2012-03-08 09:25:13 +00:00
Martin Mathieson
c516211eb9 Include direction in some malformed expert info strings.
svn path=/trunk/; revision=41418
2012-03-08 04:49:59 +00:00
Jeff Morriss
3d98787379 From Weston Andros Adamson via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6919 :
Both deviceid4 and sessionid4 are currently decoded as rpc_opaque_data - this
means their values are never displayed in the "Packet Detail" section and to
see them you have to select the name in the "Packet Detail" section and look at
the byte range in the "Packet Bytes" section.

The attached patch (against today's SVN) adds dissectors for both so these
values are displayed in the "Packet Detail" section.

svn path=/trunk/; revision=41417
2012-03-08 03:57:48 +00:00
Anders Broman
8bcc324c83 From Sylvain Munaut: Call the new dissector from the GSMTap dissector for GMR-1 channels using LAPSat
svn path=/trunk/; revision=41405
2012-03-07 20:09:48 +00:00
Anders Broman
85f62ed29e From Sylvain Munaut: Add support LAPSat : GMR-1 Datalink layer https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6918
svn path=/trunk/; revision=41404
2012-03-07 19:53:03 +00:00
Anders Broman
2a143bd29a IEEE1588 PTPv2 over IPv6 -> Padding issue. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6836
svn path=/trunk/; revision=41403
2012-03-07 18:17:07 +00:00
Bill Meier
21e470ebba Fix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
(Use a valid 'parent field width' in the hf[] 'display' field.

svn path=/trunk/; revision=41401
2012-03-07 16:54:12 +00:00
Bill Meier
66bb2deb3f Fix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
(Use a valid 'parent field width' in the hf[] 'display' field.

svn path=/trunk/; revision=41398
2012-03-07 16:02:48 +00:00
Bill Meier
e630561c2c Add editor modelines; Fix some indentation.
svn path=/trunk/; revision=41397
2012-03-07 16:01:31 +00:00
Bill Meier
86f7bff724 Fix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
(Use a valid 'parent field width' in the hf[] 'display' field.

svn path=/trunk/; revision=41396
2012-03-07 15:39:39 +00:00
Anders Broman
9ad4f76a7d ISO SSAP: ActivityStart: Invalid decoding the activity parameter as a BER Integer - decode as bytes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2873
svn path=/trunk/; revision=41395
2012-03-07 15:18:22 +00:00
Anders Broman
93d9658e93 From Yegor Yefremov: Add dissector for CANopen protocol https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6651 with some modifications
svn path=/trunk/; revision=41394
2012-03-07 14:28:29 +00:00
Anders Broman
95a7a04557 Location Number not decoded as per Q.763 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6781
svn path=/trunk/; revision=41393
2012-03-07 12:06:16 +00:00
Anders Broman
9581065b3f USB: unknown GET DESCRIPTOR response triggers assert failure https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6826
svn path=/trunk/; revision=41388
2012-03-07 09:35:44 +00:00
Bill Meier
a768f90aa7 Whitespace cleanup.
svn path=/trunk/; revision=41386
2012-03-06 22:29:42 +00:00
Bill Meier
4f8e416fdc Fix benign issue: For FT_BOOLEAN fields with a zero bitmask, use BASE_NONE for 'display'
svn path=/trunk/; revision=41385
2012-03-06 22:12:42 +00:00
Bill Meier
bd4c0f0691 Reformat long lines...
svn path=/trunk/; revision=41384
2012-03-06 22:00:59 +00:00
Bill Meier
57599011da Fix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.
Also: reformat a few lines.

svn path=/trunk/; revision=41383
2012-03-06 21:12:43 +00:00
Bill Meier
be89c3824b Fix incorrect packet-details display of a 1 bit FT_BOOLEAN field.
svn path=/trunk/; revision=41378
2012-03-06 20:11:43 +00:00
Bill Meier
4712178e83 Use tvb_new_subset_remaining(...) rather than tvb_new_subset(...,-1,-1);
Fix up a number of the comments;
Use #if 0/#endif rather than /* */ to comment out code;
Do some minor reformatting.

svn path=/trunk/; revision=41377
2012-03-06 17:33:35 +00:00
Bill Meier
b672c45b72 Use tvb_new_subset_remaining(...) rather than tvb_new_subset(...,-1,-1).
svn path=/trunk/; revision=41376
2012-03-06 17:24:21 +00:00
Bill Meier
1ffd9e60bc Use tvb_new-subset_remaining(...) rather than tvb_new_subset(...,-1,-1);
Add an additional note about duplicate filter names in the hf[] array;
Convert "4 space tabs" to 4 spaces.

svn path=/trunk/; revision=41375
2012-03-06 17:11:01 +00:00
Bill Meier
87cf82e056 Use tvb_new_subset_remaining() rather than tvb_new_subset();
#include <styring.h> not req'd (in a few cases);
Minor reformating & whitespace cleanup.

svn path=/trunk/; revision=41374
2012-03-06 16:58:09 +00:00
Martin Mathieson
9cfb5a1ea8 Call X2AP dissector.
svn path=/trunk/; revision=41373
2012-03-06 13:56:02 +00:00
Anders Broman
064276f53b From Steve Magnani: USB: incorrect decoding of Endpoint-targeted class-specific SETUP https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6910
svn path=/trunk/; revision=41371
2012-03-06 09:25:53 +00:00
Bill Meier
d3cfffd72a Use tvb_new_subset_remaining() rather than tvb_new_subset();
Do minir whitespace cleanup.

svn path=/trunk/; revision=41366
2012-03-06 03:20:17 +00:00
Bill Meier
594b358011 Use tvb_new_subset_remaining() instead of tvb_new_subset();
Reformat some long lines.

svn path=/trunk/; revision=41365
2012-03-06 02:28:04 +00:00
Jeff Morriss
5ca357f245 Don't use FT_BOOLEAN with value_strings: the code to generate
representations of former is expecting true_false_strings--which are quite
different than the latter.

svn path=/trunk/; revision=41363
2012-03-06 02:19:23 +00:00
Jeff Morriss
406861ebf4 Don't use FT_*INT with true_false strings: the code to generate
representations of former is expecting value_strings--which are quite
different than the latter.

svn path=/trunk/; revision=41362
2012-03-06 02:04:10 +00:00
Jeff Morriss
033ad2a5ee Don't use FT_*INT with true_false strings: the code to generate
representations of former is expecting value_strings--which are quite
different than the latter.

svn path=/trunk/; revision=41361
2012-03-06 01:55:21 +00:00
Jeff Morriss
45c4657d97 Fix the infinite-loop fuzz failure reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6907 :
Don't try to display tone entries if there are none (but there is length for
them).  Could/should be an expert_info.

svn path=/trunk/; revision=41359
2012-03-05 21:59:52 +00:00
Bill Meier
69ef1478d4 Fix filter name: "iee17221.channels" --> "ieee17221.channels"
svn path=/trunk/; revision=41358
2012-03-05 20:50:25 +00:00
Bill Meier
25beeec73b Various changes:
- Use proper proto_tree_add_item() 'encoding' arg (instead of TRUE/FALSE);
- Call col_append_fstr() even when 'tree==NULL';
- Use value_string_ext to access the larger value_string tables;
- Handle tvb_reported_length() can return -1;
- Remove 'set but never used' variable and associated line of code;
- Remove unneeded #include <prefs.h>;
- Remove empty proto_reg_handoff();
- Do minor whitespace cleanup.

svn path=/trunk/; revision=41357
2012-03-05 18:57:18 +00:00
Alexis La Goutte
85ae30c42b Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41354
2012-03-05 09:50:42 +00:00
Alexis La Goutte
098af85595 From Ryan Doyle via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6874
New dissector: performance co-pilot protocol

Attached patch implements dissection of the Performance Co-Pilot (PCP) protocol.

From me :
* Add Wireshark Modelines
* Fix encoding args
* Fix Clang Warning

svn path=/trunk/; revision=41353
2012-03-05 09:49:37 +00:00
Bill Meier
cc0e72d15e Trust but verify that there's no g_snprintf() buffer overflow.
svn path=/trunk/; revision=41346
2012-03-05 00:46:31 +00:00
Bill Meier
1155e25c89 Cleanup:
- packet-erf.h not used elsewhere; move to packet-erf.c;
- reformat long lines;
- minor code re-arrangement;
- whitespace cleanup.

svn path=/trunk/; revision=41345
2012-03-05 00:01:28 +00:00
Bill Meier
bba57bcfae Fix bugs in buffer overflow checking used with calls to g_snprintf();
svn path=/trunk/; revision=41344
2012-03-04 23:34:58 +00:00
Anders Broman
d75c3d384e From Martin Kaiser: DVB-CI authentication resource https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6905
svn path=/trunk/; revision=41338
2012-03-04 16:16:03 +00:00
Anders Broman
b55cd3e8a9 "From Jan Šafránek: Add support for AES in Microsoft Network Logon Negotiation options https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6895"
svn path=/trunk/; revision=41337
2012-03-04 16:07:24 +00:00
Bill Meier
2e729fbb96 Change all hf[] FT_UINT? fields referencing 'avp_bool_vals' to be FT_BOOLEAN fields.
#include <stdio.h> not req'd;
Add editor modelines for "3 space" indentation.

svn path=/trunk/; revision=41331
2012-03-03 21:58:38 +00:00
Jeff Morriss
4289f6d7be Don't add an FT_BYTES with proto_tree_add_uint().
svn path=/trunk/; revision=41325
2012-03-02 22:24:12 +00:00
Jeff Morriss
9bd0312661 Fix a few bugs found by Clang analysis:
packet-ieee17221.c:3123:10: warning: Value stored to 'mr_offset' is never read
	- Put the offset increment inside the loop

packet-ieee17221.c:2888:10: warning: Value stored to 'mr_subtree' is never read
	 - Use the newly-created subtree (instead of the parent tree)

packet-ieee17221.c:2692:13: warning: Value stored to 'next_tvb' is never read
	- Use next_tvb (instead of the main tvb which doesn't start at the
	  correct offset)

svn path=/trunk/; revision=41324
2012-03-02 20:17:36 +00:00
Anders Broman
ff47bdf96c Use the expert system to show packet comments.
The packet comment widget should be replaced by a ListView with two columns,  packet no and Comment.

svn path=/trunk/; revision=41322
2012-03-02 13:31:16 +00:00
Anders Broman
6b3c0cd4f8 Remove now unused variables.
svn path=/trunk/; revision=41319
2012-03-02 11:25:17 +00:00
Alexis La Goutte
a270eef82c Fix typo and add Modelines information
svn path=/trunk/; revision=41318
2012-03-02 11:11:59 +00:00
Alexis La Goutte
cc7151b1b9 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41317
2012-03-02 11:10:08 +00:00
Alexis La Goutte
f1723b8c1d Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41316
2012-03-02 11:09:47 +00:00
Alexis La Goutte
aa4a11af37 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41315
2012-03-02 11:09:34 +00:00
Alexis La Goutte
8179474093 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41314
2012-03-02 11:09:15 +00:00
Alexis La Goutte
ba4c8fdbc3 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41313
2012-03-02 11:08:49 +00:00
Alexis La Goutte
92896f46b8 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41312
2012-03-02 11:07:50 +00:00
Alexis La Goutte
168c540f65 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41311
2012-03-02 11:07:36 +00:00
Alexis La Goutte
c6fc195c47 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41310
2012-03-02 11:06:52 +00:00
Alexis La Goutte
2e79d142c7 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41309
2012-03-02 11:06:37 +00:00
Alexis La Goutte
056fa6a57a Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41308
2012-03-02 11:06:17 +00:00
Alexis La Goutte
af2910972a Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41307
2012-03-02 11:05:50 +00:00
Alexis La Goutte
eebaffcc5c Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41306
2012-03-02 11:05:23 +00:00
Alexis La Goutte
77afe2d93d Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41305
2012-03-02 11:05:08 +00:00
Alexis La Goutte
49d2d91818 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41304
2012-03-02 11:04:51 +00:00
Alexis La Goutte
08006ac943 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41303
2012-03-02 11:04:31 +00:00
Alexis La Goutte
3063f260ce Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41302
2012-03-02 11:04:09 +00:00
Alexis La Goutte
65edc0dc95 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41301
2012-03-02 11:03:46 +00:00
Alexis La Goutte
62de88285d Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41300
2012-03-02 11:02:46 +00:00
Alexis La Goutte
7857dc50fb Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41299
2012-03-02 11:02:02 +00:00
Alexis La Goutte
8e968adb2c Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41298
2012-03-02 11:00:24 +00:00
Alexis La Goutte
8cc44ff4f0 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41297
2012-03-02 10:58:29 +00:00
Alexis La Goutte
c1ff84a632 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41296
2012-03-02 10:57:48 +00:00
Alexis La Goutte
a66252358c From Francesco Fondelli
Fix indent (use 80 columns) in MPLS PM dissector

svn path=/trunk/; revision=41295
2012-03-02 10:56:31 +00:00
Bill Meier
c58bbe0ad7 Fix proto_tree_add_item() 'encoding' args.
svn path=/trunk/; revision=41285
2012-03-02 05:10:02 +00:00
Jeff Morriss
bb9b8880af From Michael Mann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6893 :
The attached patches fix the following issues:

1. CIP-Motion shouldn't be a heuristic dissector.  CIP-Motion packets are
determined by specific fields in a CIP ForwardOpen.  I ran into situations
where CIP-Motion's "vague" heuristics incorrectly dissected packets meant for
CIP-Safety.  Of course this requires the ForwardOpen to be in the trace, but it
is the most deterministic way to have CIP-Motion packets.

2. Minor bugfix to the CIP-Safety dissector.  A couple of fields were
"missing", causing errant malformed packets.

svn path=/trunk/; revision=41283
2012-03-02 03:39:16 +00:00
Jeff Morriss
1ff7c5d916 From Tom Bottom and Chris Pane via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6887 :
A new dissector for IEEE 1722.1.

From me: some code cleanup, including:
 - Get rid of some unnecessary local variable initializations.
 - Put all of 1722.1 under one subtree.
 - Just put if(tree)s in the top-level function rather than scattered throughout.
 - Remove a couple "set but not used" warnings (a couple are #if'd out).
 - Don't use deprecated functions.

svn path=/trunk/; revision=41282
2012-03-02 03:30:30 +00:00
Bill Meier
7e85674577 Various Changes:
- Use proper 'encoding' arg (iso TRUE/FALSE) for proto_tree_add_item();
- Use correct value for tvb_new_subset() 'reported_length' arg;
- For proto_tree_add_protocol_format(): Use a length no greater than
    that actually available in the tvb. This allows dissection to attempt to
    proceed even if the length as obtained from the packet is too large.
- Remove 'set not not used' variable;
- Do minor reformatting and whitespace changes.

svn path=/trunk/; revision=41279
2012-03-01 21:04:04 +00:00
Anders Broman
94d95e3629 From Michael.
svn path=/trunk/; revision=41276
2012-03-01 17:19:57 +00:00
Anders Broman
e473e6eb9f See if this solves:
> packet-noe.c: In function 'decode_utf8':
> packet-noe.c:805: warning: integer constant is too large for 'long' 
> type
> packet-noe.c:808: warning: integer constant is too large for 'long' 
> type
> packet-noe.c:814: warning: integer constant is too large for 'long' 
> type
> packet-noe.c:817: warning: integer constant is too large for 'long' 
> type
> packet-noe.c:818: warning: integer constant is too large for 'long' 
> type

svn path=/trunk/; revision=41271
2012-03-01 16:32:24 +00:00
Jeff Morriss
b1fcbfa429 Add packet-uaudp.h to list of header files (and thus to the source distribution)
svn path=/trunk/; revision=41270
2012-03-01 16:09:12 +00:00
Michael Tüxen
a7e2d55198 Fix CID 473 and 474.
svn path=/trunk/; revision=41267
2012-03-01 15:50:43 +00:00
Anders Broman
d8d9450a4f From Lars Ruoff:
Dissector for Alcatel-Lucent Enterprise Universal Alcatel- and NOE protocol, take II.
families.
Meant as a replacement for existing UA-dissector in trunk because of better
feature set:
- latest protocol specifiaction
- more detailed dissection and filtering possibilities on subprotocols
- RTP stream setup
- NOE over SIP

Lars Ruoff
On behalf of Alcatel-Lucent Enterprise

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

svn path=/trunk/; revision=41266
2012-03-01 15:23:05 +00:00
Anders Broman
a388fdb40d packet-mpls-pm.c(616) : error C2220: warning treated as error - no 'object' file generated
packet-mpls-pm.c(616) : warning C4098: 'dissect_mpls_pm_dlm' : 'void' function returning a value
packet-mpls-pm.c(623) : warning C4098: 'dissect_mpls_pm_ilm' : 'void' function returning a value

svn path=/trunk/; revision=41262
2012-03-01 14:25:03 +00:00
Alexis La Goutte
98639900ed Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41261
2012-03-01 13:41:02 +00:00
Alexis La Goutte
b5efd24a00 From Francesco Fondelli via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6881
Support for MPLS Packet Loss and Delay Measurement, RFC 6374

Support for MPLS Packet Loss and Delay Measurement, RFC 6374.
Any packetformat is supported: DLM, ILM, DM, DLM+DM and ILM+DM.

From me :
* Prefer proto_tree_add_item when it is possible
* add Modelines information

svn path=/trunk/; revision=41260
2012-03-01 13:36:18 +00:00
Alexis La Goutte
ddcb796878 From Don Westman via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6889
CIP Motion parsing of set axis attribute list request is messing up attr data

parsing a CIP Motion 'Set Axis Attribute List' Request returns correct data for attribute ID, dimension and element size but 'attribute data' field retrieves the same data for each attribute in the list rather than the real data sent in the request.

From me :
Fix the typo error (use the wrong offset variable, need to use local_offset variable)



svn path=/trunk/; revision=41257
2012-03-01 09:11:08 +00:00
Anders Broman
23ec82fae9 From Reinhard Speyerer: Adding support for LINKTYPE_PPP_ETHER/DLT_PPP_ETHER
svn path=/trunk/; revision=41256
2012-03-01 07:39:54 +00:00
Anders Broman
b28516dc00 From Mike Morrin: A small patch to correct the name of the function proto_tree_add_split_bits_item_ret_val()
svn path=/trunk/; revision=41255
2012-03-01 07:01:15 +00:00
Jeff Morriss
7c55e4513a From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6890 :
The attached patch for the DVB-CI dissector creates a circuit for each DVB-CI
session, using the session number as circuit id.

The DVB-CI session commands are:

- open_session_request(resource_id)
- session_opened(resource_id, newly assigned session number)
- payload transfer(session_number, payload data)
- close session(session_number)

For now, the circuit will store the resource id and make it available (as a
generated item) to subsequent packets that contain only the session number.
Doing this, the resource id (which is like a tcp/udp port) can be used for
filtering.

svn path=/trunk/; revision=41253
2012-03-01 02:50:16 +00:00
Anders Broman
872c2094c4 From Mike Morrin:
The attached patches add the uses
proto_tree_add_split_bits_ret_val()
proto_tree_add_split_bits_crumb()

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

svn path=/trunk/; revision=41249
2012-02-29 20:38:39 +00:00
Anders Broman
501216eb8a From Pascal Quantin:
[NAS EPS] Fix description of EPS Attach information element.

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

svn path=/trunk/; revision=41245
2012-02-29 17:01:57 +00:00
Alexis La Goutte
cb90bc1f6b Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41244
2012-02-29 16:55:08 +00:00
Martin Mathieson
d5f0b50647 Show number of extensions in header root.
svn path=/trunk/; revision=41229
2012-02-28 19:01:24 +00:00
Anders Broman
c503c241c0 Removed one variable to much.
svn path=/trunk/; revision=41222
2012-02-28 08:45:03 +00:00
Anders Broman
2cddd1f72e From Mijo Safradin:
Add ECP VDP TLV dissector.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6849

Fixed encoding arguments, removed unused variables checkapi errors
etc.

svn path=/trunk/; revision=41221
2012-02-28 08:04:24 +00:00
Anders Broman
f7deada32b From Sean Bright:
IAX2 trunk packets display misleading call information.

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

svn path=/trunk/; revision=41220
2012-02-28 07:32:19 +00:00
Anders Broman
9aa9246324 From Josip Medved: EAP-SIM and EAP-AKA are missing some attributes. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6877
svn path=/trunk/; revision=41217
2012-02-28 06:04:02 +00:00
Jeff Morriss
89cfdc3559 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3315 -
make Save-As/Displayed/All-Packets save not only the displayed packets but
also any other packets needed (e.g., for reassembly) to fully dissect the
displayed packets.

This works only for the "All packets" case; choosing only the Selected packet,
the Marked packets, or a range of packets would require actually storing which
packets depend on which (too much memory) or going through the packet list many
times (too slow).  Also, this behavior is always the case: you can't save the
displayed packets without their dependencies (I don't see why this would be
desirable).

So far this is done for SCTP and things using the reassembly routines (TCP has
been tested).

The Win32 dialog was modified but hasn't been tested yet.

One confusing aspect of the UI is that the Displayed count in the Save-As
dialog does not match the number of displayed packets.  (I tried renaming the
button "Displayed + Dependencies" but it looked too big.)  The tooltip tries
to explain this and the fact that this works only in the All-Packets case;
suggestions for improvement are welcome.


Implementation details:

Dissectors (or the reassembly code) can list frames which were needed to
build the current frame's tree.  If the current frame passes the display
filter then each listed frame is marked as "depended upon" (this takes up the
last free frame_data flag).

When performing a Save-As/Displayed/All-Packets then choose packets which
passed the dfilter _or_ are depended upon.

svn path=/trunk/; revision=41216
2012-02-28 03:19:49 +00:00
Guy Harris
577e286d82 And more details.
svn path=/trunk/; revision=41214
2012-02-27 21:34:59 +00:00
Guy Harris
a53d24b480 Give more details in comments.
svn path=/trunk/; revision=41213
2012-02-27 21:33:53 +00:00
Alexis La Goutte
95cc98f92c Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41211
2012-02-27 16:50:27 +00:00
Alexis La Goutte
28f4c55b5b From Steve Magnani via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6873
USB: SETUP information can be added to incorrect tree

svn path=/trunk/; revision=41210
2012-02-27 16:48:29 +00:00
Alexis La Goutte
d97f729ae3 From Alex Rodikov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6871
TPNCP (proprietary Audiocodes) protocol dessector - wrong guint8 value presentation

The presentation of unsigned 8-bit integer is wrong. The (signed) gint8 is used which is displayed as unsigned integer (by proto_tree_add_uint) afterwards.
That causes wrong presentation of valus which bigger than 127.
Solution: New guint8 is introduced to present unsigned 8 bit integer value.

svn path=/trunk/; revision=41209
2012-02-27 16:43:18 +00:00
Anders Broman
210331411a More Warning fixes.
svn path=/trunk/; revision=41207
2012-02-27 12:48:08 +00:00
Anders Broman
8ad3109708 More warning fixes.
svn path=/trunk/; revision=41206
2012-02-27 12:13:06 +00:00
Anders Broman
6734e90b9c Try to fix warning: comparison between signed and unsigned.
svn path=/trunk/; revision=41205
2012-02-27 11:48:38 +00:00
Anders Broman
cb46002a19 Fix some unused parameter warnings etc.
svn path=/trunk/; revision=41204
2012-02-27 11:44:19 +00:00
Anders Broman
4811ac8227 Error: Found deprecated APIs in packet-ssl-utils.c: dissector_add
svn path=/trunk/; revision=41203
2012-02-27 10:05:22 +00:00
Anders Broman
d272635904 packet-applemidi.c:296:33: error: unused variable ‘p_conv_data’
svn path=/trunk/; revision=41202
2012-02-27 09:49:20 +00:00
Anders Broman
6b2b82d213 From Michael Mann:
a dissector for the ODVA protocol: CIP Safety. More information
about the protocol can be found here: 

http://www.odva.org/Home/ODVATECHNOLOGIES/CIP/CIPTechnologyOverview/CIPSafety/CIPSafetyOverview/tabid/131/lng/en-US/Default.aspx

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

svn path=/trunk/; revision=41201
2012-02-27 09:30:26 +00:00
Anders Broman
06cee2dfe3 From Tobias Erichsen:
RTP-MIDI - dissector for transmission of MIDI-commands via RTP (RFC 4695).

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

svn path=/trunk/; revision=41200
2012-02-27 09:18:53 +00:00
Michael Tüxen
f71f3decb6 Dissect SSH over SCTP when using the IANA assigned SCTP port 22.
svn path=/trunk/; revision=41197
2012-02-26 17:54:32 +00:00
Jörg Mayer
1e61547b45 Harald Welte <laforge@gnumonks.org>
via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6792

This is a new dissector for the non-standard Ericsson OM2000 protocol, as it is
used for the OML on A-bis of Ericsson RBS 2xxx BTSs.

It also includes a dissector for a shim-layer protocol that Ericsson uses for
IP-based A-bis like the RBS 2409.  As the protocol is not publicly documented,
I have invented the name "EHDLC" (Ericsson HLDC) for it.


svn path=/trunk/; revision=41195
2012-02-26 17:30:38 +00:00
Anders Broman
f97ad44031 Add entry for TPDU in the tree
svn path=/trunk/; revision=41194
2012-02-26 17:10:40 +00:00
Michael Tüxen
e929fdfdee From Robin Seggelmann: Add support for RFC 6520.
From me: Some cleanup
Initial work was done by Denis Jaeger and
Lukas Scharlau, but the code got rewritten by Robin.

svn path=/trunk/; revision=41189
2012-02-26 13:50:52 +00:00
Guy Harris
b6ff142f60 Add a presence flag field to the packet information structure filled in
by Wiretap, to indicate whether certain fields in that structure
actually have data in them.

Use the "time stamp present" flag to omit showing time stamp information
for packets (and "packets") that don't have time stamps; don't bother
working very hard to "fake" a time stamp for data files.

Use the "interface ID present" flag to omit the interface ID for packets
that don't have an interface ID.

We don't use the "captured length, separate from packet length, present"
flag to omit the captured length; that flag might be present but equal
to the packet length, and if you want to know if a packet was cut short
by a snapshot length, comparing the values would be the way to do that.

More work is needed to have wiretap/pcapng.c properly report the flags,
e.g. reporting no time stamp being present for a Simple Packet Block.

svn path=/trunk/; revision=41185
2012-02-25 23:24:34 +00:00
Bill Meier
605dea0486 CVARSDLL hasn't been used (is undefined) for a while....
svn path=/trunk/; revision=41180
2012-02-24 16:23:38 +00:00
Anders Broman
2b815454e7 From Martin Kaiser:
Get rid of an unused variable.

svn path=/trunk/; revision=41177
2012-02-24 14:40:31 +00:00
Alexis La Goutte
c45a941597 From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6838
Support HDCP version 1 over I2c

the attached patch adds support for HDCP version 1. This is the authentication that runs between your DVD/Bluray player and your TV when they're connected via an HDMI cable.

svn path=/trunk/; revision=41173
2012-02-24 08:18:30 +00:00
Alexis La Goutte
fc88f5558a From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6838
Support HDCP version 1 over I2c

the attached patch adds support for HDCP version 1. This is the authentication that runs between your DVD/Bluray player and your TV when they're connected via an HDMI cable.

svn path=/trunk/; revision=41172
2012-02-24 07:57:48 +00:00
Anders Broman
1b6a35348b From Robert Shade: Mobile IP NVSE (RFC3115) Decoding https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6868
svn path=/trunk/; revision=41171
2012-02-24 05:50:47 +00:00
Anders Broman
a062fb34bd From Pascal Quantin [NAS EPS] Update Configuration Protocol description in PCO IE https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6865
svn path=/trunk/; revision=41166
2012-02-23 20:24:40 +00:00
Anders Broman
59ce037134 Fix a 3GPP specification error.
svn path=/trunk/; revision=41161
2012-02-23 13:10:59 +00:00
Anders Broman
416117f63a From Steve Magnani:
USB: Add dissection for Interface Association descriptor.

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

svn path=/trunk/; revision=41157
2012-02-23 11:20:52 +00:00
Anders Broman
9d545467ef From Tyson Key:
Clean up redundant Data handlers in the CCID dissector.

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

svn path=/trunk/; revision=41156
2012-02-23 11:14:57 +00:00
Martin Mathieson
51c31cd7bd Move 'static' qualifier before 'const' in a couple of places. I didn't
know it mattered, but gcc warns.

svn path=/trunk/; revision=41155
2012-02-23 11:03:30 +00:00
Martin Mathieson
774be29de0 Mark some unused parameters. Still getting other warnings...
svn path=/trunk/; revision=41154
2012-02-23 10:55:57 +00:00
Anders Broman
1a42f455a5 From Tyson Key:
Support for switching USB CCID PC_to_RDR_XfrBlock payload dissectors

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

svn path=/trunk/; revision=41151
2012-02-23 09:12:30 +00:00
Anders Broman
f77e059a2e From Yaniv Kaul:
Enhance the Spice dissector - small additional dissections.

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

svn path=/trunk/; revision=41150
2012-02-23 09:06:33 +00:00
Anders Broman
dea5452b95 From Lei Chen:
a patch to support decode FDD_CELL_INFORMATION of "UTRAN FDD Description" in packet-gsm_rlcmac.c

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

svn path=/trunk/; revision=41149
2012-02-23 08:57:40 +00:00
Anders Broman
2a35f59066 From Jeff Morriss:
H223: Buildbot crash output: fuzz-2012-01-25-22599.pcap

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

svn path=/trunk/; revision=41148
2012-02-23 08:40:23 +00:00
Bill Meier
81d3b58f02 Whitespace cleanup: Convert 4 space tabs to spaces ...
svn path=/trunk/; revision=41139
2012-02-22 15:47:30 +00:00
Bill Meier
397d29e83b Rename some enumeration constants; Do some minor code simplification & reformatting.
svn path=/trunk/; revision=41138
2012-02-22 15:42:50 +00:00
Alexis La Goutte
d9a4d939b3 Reverse Revision 41134 (Need to fix error/warning before...)
svn path=/trunk/; revision=41135
2012-02-22 09:18:30 +00:00