Commit Graph

18000 Commits

Author SHA1 Message Date
pascal 0c1b9e9007 Fix typo error
svn path=/trunk/; revision=42428
2012-05-04 21:20:22 +00:00
Jakub Zawadzki 6dbc3ab0ed Websocket masked tvb was never freed, set it as child of original tvb.
Also change data memory allocator from ep_ to glib one.

svn path=/trunk/; revision=42426
2012-05-04 19:50:44 +00:00
pascal 860f1f2e3b FALSE -> ENC_BIG_ENDIAN conversion
Enhance dissesction of SoundingRS-UL-ConfigDedicated/setup/duration parameter

svn path=/trunk/; revision=42425
2012-05-04 17:56:28 +00:00
pascal f65cb5f27b FALSE -> ENC_BIG_ENDIAN conversion
svn path=/trunk/; revision=42422
2012-05-04 16:35:59 +00:00
Anders Broman 90bdc67fca Set up conversations for the FP data flow.
svn path=/trunk/; revision=42421
2012-05-04 15:10:31 +00:00
Jakub Zawadzki 77dc38ec5a value_string_ext: Reorder entries in value_string arrays to get Binary Search instead of Linear Search.
svn path=/trunk/; revision=42418
2012-05-04 07:34:06 +00:00
Jakub Zawadzki 5728240af1 Fix conflicting entries in CIP vendor list.
344 is registered to KEBA.
(Ref: http://www.odva.org/Home/CIPSUPPLIERDIRECTORY/LicensedVendorList/tabid/86/lng/en-US/Default.aspx)


svn path=/trunk/; revision=42417
2012-05-04 07:27:41 +00:00
Anders Broman ced09423a6 Dissect transport layer address NSAP
svn path=/trunk/; revision=42416
2012-05-04 06:31:31 +00:00
Anders Broman 0cea399fda From Jakub Zawadzki: Use custom model in Filter Expression dialog.
svn path=/trunk/; revision=42411
2012-05-04 04:44:23 +00:00
Jeff Morriss 652349d0a5 Partial fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7221
(emem alignment problems on SPARC) :

Add the room for the pointer to the next (from r31577) *before* calculating
the canary+pad: that way the complete allocation
(allocation+canary_ptr+canary+pad) will end on an 8-byte boundary (as was the
case before r31577).

This only solves the alignment problem when using canaries (i.e., not, by
default, se_ allocations).

(And, yes, this is ignoring the 16-byte alignment requirements of long
doubles.)

svn path=/trunk/; revision=42407
2012-05-04 01:33:58 +00:00
Bill Meier a151b7c3e3 Don't use spaces before (and after) packet-waveagent.c entry
svn path=/trunk/; revision=42406
2012-05-03 21:35:54 +00:00
Bill Meier 7dcd2e2a6b General cleanup including:
- remove unneeded #includes;
- remove "boilerplate" coments;
- reformat long lines;
- whitespace changes.

svn path=/trunk/; revision=42405
2012-05-03 21:01:22 +00:00
Bill Meier 777e3b4fea More whitespace cleanup;
svn path=/trunk/; revision=42404
2012-05-03 20:35:44 +00:00
Bill Meier 44b2b50bc2 General cleanup:
- use gboolean instead of gint8 for a TRUE/FALSE flag;
- remove unneeded #includes;
- remove "boilerplate" comments;
- reformat hf[] entries;
- whitespace fixes.

svn path=/trunk/; revision=42403
2012-05-03 20:15:53 +00:00
Bill Meier 580a655675 General cleanup to include:
- remove unneeded includes;
- remove "boilerplate" comments;
- reformat hf[] entries;
- reformat long lines;
- unneeded use of check_col();
- whitespace fixes.

svn path=/trunk/; revision=42402
2012-05-03 19:31:03 +00:00
Anders Broman 41cbf49820 Fix a typo.
svn path=/trunk/; revision=42401
2012-05-03 15:31:45 +00:00
Anders Broman babb1e59f6 Fix a typo.
svn path=/trunk/; revision=42400
2012-05-03 15:31:01 +00:00
Chris Maynard d1c1455efc Fix Coverity CID 280809 (formerly CID 809): Uninitialized scalar variable.
svn path=/trunk/; revision=42399
2012-05-03 14:51:36 +00:00
Chris Maynard b242dda95d Delete extraneous return statement, which effectively made the entire dissect_ieee_802_3_tlv() function dead code. Fixes Coverity CID 281470 (formerly CID 1470). [I guess the new Coverity version does cross-reference the CID's after all.]
svn path=/trunk/; revision=42398
2012-05-03 14:35:55 +00:00
Chris Maynard 639362d340 Regenerated the file.
svn path=/trunk/; revision=42397
2012-05-03 14:24:17 +00:00
Chris Maynard f41fefdfe0 Add back the missing line of code to increment the offset.
svn path=/trunk/; revision=42396
2012-05-03 14:22:43 +00:00
Chris Maynard 76f582c58d Fix logic bug. I'm sure this was something Coverity found and I fixed but forgot to commit it. Unfortunately Coverity has upgraded to Scan 5.5 and things are different now so I can't cross reference which CID this was anymore.
svn path=/trunk/; revision=42395
2012-05-03 14:00:56 +00:00
Chris Maynard 2eeb504807 From Klaus Heckelmann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7221: Avoid wireshark crash on platforms where an 8 byte alignment is required by changing the resp_time field in the icmp_transaction_t from a double to an nstime_t.
svn path=/trunk/; revision=42393
2012-05-03 01:48:59 +00:00
pascal 8f557d0874 Attempt to fix clang warnings (dead assignment, dereference of null pointer, branch condition evaluates to a garbage value)
svn path=/trunk/; revision=42392
2012-05-02 21:55:59 +00:00
pascal 736627bb97 Attempt to fix clang warnings (dead assignment and dereference of null pointer)
svn path=/trunk/; revision=42389
2012-05-02 20:40:49 +00:00
Chris Maynard 1aaa8207f4 Properly decrypt user-password according to http://tools.ietf.org/html/rfc2865#section-5.2
This fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6779
#BACKPORT

svn path=/trunk/; revision=42388
2012-05-02 20:37:59 +00:00
pascal 47d57de0b1 Remove most blurbs (they do not have any added value) and fix a few typo errors
svn path=/trunk/; revision=42387
2012-05-02 15:29:50 +00:00
Anders Broman d974535a07 Add missing updated file from previous commit.
svn path=/trunk/; revision=42386
2012-05-02 14:56:51 +00:00
Anders Broman e01d3b549e From "oss.2nerds":
IEEE P802.1aq/D3.6 and the corresponding IETF draft
(http://tools.ietf.org/html/draft-ietf-isis-ieee-aq-05) defines a series of new
ISIS TLVs for the shortest-path-bridging protocol.

The attached patch file contains a simple dissector for one such TLV (the
MT-Port-Cap TLV) and several corresponding sub-TLVs (mcid, aux_mcid, digest,
and b-vid).  The digest sub-TLV dissector has not been exercised because no
suitable capture files are available (the digest sub-TLV seems not to be widely
implemented at this point in time).

Note that the codepoints mentioned in the IETF draft have changed.  The
IANA-assigned codepoints are further described in these pages:

http://www.ietf.org/mail-archive/web/spb-isis/current/msg00007.html
http://www.iana.org/assignments/isis-tlv-codepoints/isis-tlv-codepoints.xml#tlv-143

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

svn path=/trunk/; revision=42385
2012-05-02 14:23:35 +00:00
Anders Broman 203fa68972 From Jim Wright:
Add decoding of ACS to packet-dtn.c
- Changed to use proto_tree_add_item();

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

svn path=/trunk/; revision=42384
2012-05-02 12:47:59 +00:00
Anders Broman feab4f6bab From Evan Huus:
Given the problems with the original attempt, and the fact that there's a new
version of the protocol spec out (v1.1), I took a crack at writing a new
dissector from scratch. It doesn't decode the fields within the message
parameters (there are far too many to bother with for an initial draft), but it
decodes everything else.

Even though it's not complete, I feel it's worth checking in as an intermediate
step (assuming it passes review), since it's still far better than nothing, and
adding full parameter-field decoding is going to take a lot of time simply for
transcribing all the different fields.

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

svn path=/trunk/; revision=42383
2012-05-02 11:05:35 +00:00
Anders Broman fbecf576d1 From David Wei:
Change GTP and GTPv2 dissectors for pre-Rel7 UEs that do not support bitrates higher than 16 Mbps.

svn path=/trunk/; revision=42381
2012-05-02 07:23:32 +00:00
Guy Harris ec69aa8d27 Rename the NetMon 802.11 radio header and radiotap 802.11 radio header
dissector source files to match the "packet-ieee80211-XXX" pattern used
for other 802.11 radio header dissectors.

svn path=/trunk/; revision=42380
2012-05-02 04:03:49 +00:00
Guy Harris 0275247b97 Use WTAP_ENCAP_IEEE_802_11_xxx for all the "802.11 plus radio header"
encapsulations.

For pre-V9 AiroPeek captures, leave the radio information in the packet
data, just as we do with the Prism, AVS, radiotap, and NetMon headers. 
Add a dissector for it.

svn path=/trunk/; revision=42379
2012-05-02 03:11:00 +00:00
Guy Harris 8be799ecaf Reflect the rename of packet-airopeek.c to packet-peekremote.c.
svn path=/trunk/; revision=42378
2012-05-02 02:30:56 +00:00
Guy Harris 202e50f991 Rename packet-airopeek.c to packet-peekremote.c, and rename the protocol
as well, as it may also be used by OmniPeek.  Add some comments about
it.

svn path=/trunk/; revision=42377
2012-05-02 01:44:40 +00:00
Bill Meier 3523b34d65 Add new HTTP Status Codes from RFC 6585;
Also: Add codes 226 & 426 as specified in the IANA HTTP Status Code Registry

svn path=/trunk/; revision=42372
2012-05-01 02:42:51 +00:00
Guy Harris 29d7ec110e Indicate why the flags have a field width of 6.
Add the RFC numbers for the BFD RFCs, and a URL for the last I-D that
discussed version 0.

svn path=/trunk/; revision=42371
2012-05-01 01:04:24 +00:00
Chris Maynard 7e1603af9b Forgot to commit this change with r42341 which initializes 'type' to 0 to avoid a clang warning.
svn path=/trunk/; revision=42370
2012-05-01 01:00:28 +00:00
Guy Harris 619e455299 No C++-style comments, please; some C compilers reject them.
svn path=/trunk/; revision=42368
2012-04-30 23:08:26 +00:00
Guy Harris 3b6b521c28 Add some initializations to squelch (bogus) warnings (either the version
is 0 or it isn't, so the variables are not, in fact, used uninitialized).

svn path=/trunk/; revision=42366
2012-04-30 22:05:33 +00:00
Alexis La Goutte 566b6e021b Try to fix some Logic error (Function call argument is an uninitialized value ) Warning found by Clang
svn path=/trunk/; revision=42365
2012-04-30 21:54:45 +00:00
Bill Meier aff0e40393 Rework code slightly:
- use proto_tree_add_item() istead of tvb_get...()/proto_tree_add_uint() in a few cases;
 - misc ...
Also: Whitespace cleanup and reformatting of hf[] entries.

svn path=/trunk/; revision=42364
2012-04-30 21:50:21 +00:00
Alexis La Goutte 1f0cbf3baa Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=42362
2012-04-30 21:15:17 +00:00
Bill Meier 26566d7cb7 Parenthesize an expression to prevent a possible overflow resulting an incorrect result.
svn path=/trunk/; revision=42361
2012-04-30 20:49:19 +00:00
Chris Maynard fd1174b5a5 Remove unused variable not found by MSVC2010EE but found by OSX buildbot.
svn path=/trunk/; revision=42360
2012-04-30 20:38:13 +00:00
Chris Maynard bda12a5882 Add Selective Directed Broadcast (RFC 1770) IP option dissection support.
svn path=/trunk/; revision=42359
2012-04-30 20:24:33 +00:00
Bill Meier 2fef9f460f Don't use tabs in string constants;
svn path=/trunk/; revision=42357
2012-04-30 19:55:24 +00:00
Bill Meier 8bfe44619f Revert 3 conversions of spaces --> tabs (in text strings) done in SVN #42354.
svn path=/trunk/; revision=42356
2012-04-30 19:20:59 +00:00
pascal 95eb2e7288 From Martin Kaiser:
Fix some 'intermediate pointers must be const qualified' warnings
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7215

svn path=/trunk/; revision=42355
2012-04-30 19:14:14 +00:00