Commit Graph

35389 Commits

Author SHA1 Message Date
Chris Maynard 025f9ee4db From Olivier Crete via bug 5761: Compute the FCI size correctly for RTCP RTPFB.
svn path=/trunk/; revision=37052
2011-05-10 18:52:37 +00:00
Bill Meier 7050847bc9 Add missing line of code: Fixes Coverity 1042 (UNUSED);
Remove unneeded lines of code: Coverity 1043 (UNUSED).

svn path=/trunk/; revision=37051
2011-05-10 18:43:40 +00:00
Bill Meier adfbe89aaa Remove some unneeded lines of code: Coverity 1063;
Also: remonve someunneeded #includes.

svn path=/trunk/; revision=37050
2011-05-10 17:44:36 +00:00
Chris Maynard e5adfc8e18 Add support for USB CDC Ethernet. Resolves bug 4819.
svn path=/trunk/; revision=37049
2011-05-10 17:40:29 +00:00
Bill Meier 4edfe4961f Don't assign to unused variable: Coverity 1068 & 1069.
Remove some related no longer needed code and variables;
Also: Fix a typo and reword a comment.

svn path=/trunk/; revision=37048
2011-05-10 17:28:46 +00:00
Michael Tüxen 6898a1f0ad Remove unused variable to avoid a warning which breaks the build.
svn path=/trunk/; revision=37047
2011-05-10 17:25:45 +00:00
Chris Maynard 79940000f2 Add subversion Id and Wireshark copyright.
svn path=/trunk/; revision=37046
2011-05-10 17:06:20 +00:00
Chris Maynard df79077cdd Add USB/AT dissector, submitted by Tyson Key via bug 5868 with some
modifications by me as described/documented in the bug report.

svn path=/trunk/; revision=37045
2011-05-10 17:04:05 +00:00
Gerald Combs a79777beaf Make sure we set a variable.
svn path=/trunk/; revision=37044
2011-05-10 16:05:14 +00:00
Chris Maynard 71643693c4 Fix two cases of dead code reported by Coverity as CID 376.
svn path=/trunk/; revision=37043
2011-05-10 16:02:54 +00:00
Chris Maynard 24644ea58a Fix two cases of comparisons begin made against incorrect values following a
mask operation.  Also, initialize g_rohc_info if pinfo->packet_data is !NULL.
Fixes Coverity ID's 1187, 1188 and 1190.

svn path=/trunk/; revision=37042
2011-05-10 15:37:06 +00:00
Anders Broman d88c7ff3f9 On behalf of Ericsson update the A11 dissector.
svn path=/trunk/; revision=37041
2011-05-10 15:20:09 +00:00
Jakub Zawadzki 73d94fa620 When closing capture file, set number of frames to 0. It fix bug #5903.
svn path=/trunk/; revision=37040
2011-05-10 15:13:46 +00:00
Chris Maynard 261875b924 Allow both PPP and ISO/IEC 13818-1 over USB to be dissected using heuristics.
Resolves bug 4814.

svn path=/trunk/; revision=37039
2011-05-10 14:22:17 +00:00
Anders Broman d33f1c24cc From Sijin N K:
Missing hf declaration for cn_id.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5901

svn path=/trunk/; revision=37038
2011-05-10 07:58:33 +00:00
Anders Broman b179df9201 Fix a typo.
svn path=/trunk/; revision=37037
2011-05-10 07:23:00 +00:00
Anders Broman 94aaa689ea Forgot to comment out UI_MANAGER
svn path=/trunk/; revision=37036
2011-05-10 06:03:56 +00:00
Anders Broman 8aa3a7b0ac More GUIManager stuff.
svn path=/trunk/; revision=37035
2011-05-10 05:31:45 +00:00
Gerald Combs 40baaf4dbe We probably shouldn't call pcap-ng "experimental" any more.
svn path=/trunk/; revision=37033
2011-05-09 19:29:40 +00:00
Guy Harris f4a752873f Note that compressed Windows Sniffer files might have a CRC, just not
one computed the right way (as specified by RFC 1952).

svn path=/trunk/; revision=37032
2011-05-09 17:53:45 +00:00
Jakub Zawadzki 5a4598a1c4 Add sl_ API to libwireshark.def
svn path=/trunk/; revision=37031
2011-05-09 12:59:57 +00:00
Jakub Zawadzki 17f6352c2e Convert SLAB_-s, to sl_-API.
svn path=/trunk/; revision=37030
2011-05-09 12:52:55 +00:00
Jakub Zawadzki 0edf3eafa9 Comment out dead code.
svn path=/trunk/; revision=37029
2011-05-09 12:49:39 +00:00
Anders Broman dc9ec066f7 Skipp tango.xml for now...as not having it causes a warning.
svn path=/trunk/; revision=37028
2011-05-09 09:05:35 +00:00
Jakub Zawadzki 99351cb0e3 Initial commit of slab allocator (sl_* API)
svn path=/trunk/; revision=37027
2011-05-09 08:55:35 +00:00
Guy Harris 3de2b1be74 Get rid of the fd member of a wth structure; the FILE_T's in that
structure include a file descriptor.  Add a wtap_fstat() for the file
readers that use file times to generate time stamps (we really need a
way to say "this file has no time stamps" or "this file has only
relative time stamps).

svn path=/trunk/; revision=37026
2011-05-09 08:12:26 +00:00
Guy Harris 88a1ed85e3 From Jakub Zawadzki: for file read progress bars, use the raw offset in
the file, rather than the offset in the uncompressed data stream.  That
way we don't get the "hey, we're more than 100% into the file, better
refigure this" surprise.

svn path=/trunk/; revision=37025
2011-05-09 05:30:59 +00:00
Guy Harris 42ba70cf9c If a gzipped file's name ends in .caz, don't check the CRC - it's
probably a compressed file from the Windows Sniffer, and they don't
bother setting the CRC.

svn path=/trunk/; revision=37024
2011-05-09 03:48:41 +00:00
Guy Harris 37adc5c880 Support SMB_FIND_FILE_UNIX_INFO2.
Don't use "link destination" for file names in SMB_FIND_FILE_UNIX.

Link to the page for Microsoft's public protocol specifications and to
the Samba Wiki page for the UNIX extensions.

Fix a typo in a variable name.

svn path=/trunk/; revision=37023
2011-05-09 02:55:31 +00:00
Guy Harris f5b20ecc33 Count padding bytes against the transaction data byte count.
svn path=/trunk/; revision=37022
2011-05-09 02:42:58 +00:00
Balint Reczey 8664251be1 Note that README.Debian contains the procedure of setting up capture
rights for regular users on Debian systems.

svn path=/trunk/; revision=37021
2011-05-08 21:55:11 +00:00
Guy Harris 7d6d129231 There is no guarantee that, just because there's a UAT item for a given
LINKTYPE_USERn encapsulation with a protocol name - even if the protocol
name was valid at the time the entry was made, it might not be valid now
(e.g., if you no longer have a plugin), *and* the protocol lookup done
in the UI is case-insensitive but the lookup done later is
case-sensitive (this needs to be cleaned up somehow).

For now, just handle the case where encap->payload_proto is NULL.

svn path=/trunk/; revision=37020
2011-05-08 20:22:18 +00:00
Gerald Combs e87f6a74fa [Automatic manuf, services and enterprise-numbers update for 2011-05-08]
svn path=/trunk/; revision=37017
2011-05-08 15:03:55 +00:00
Balint Reczey 72b5d04c1a If no interface is found for capturing show this information
and direct user to Capture Help instead of showing the empty list of
interfaces and capture options.

svn path=/trunk/; revision=37016
2011-05-08 10:56:23 +00:00
Alexis La Goutte 7d317e553b Add FT_EUI64 Field Type
* Remove proto_tree_add_eui64 function from 802.15.4 Dissector 
* Replace print_eui64/print_eui64 by eui64_to_str/get_eui64_name
* Update Documentation (README.dev)
* Add new function in libwireshark.def
* Support of encoding for tvb_eui64_to_str
* Use FT_EUI64 for ICMPv6, CAPWAP, Zbee ... dissector

svn path=/trunk/; revision=37015
2011-05-08 10:23:53 +00:00
Jaap Keuter 8428b08b1a From Jens Osterkamp:
The following patch adds some code to decode the EVB TLV being standardized in
the upcoming IEEE 802.1Qbg draft 0.

svn path=/trunk/; revision=37014
2011-05-07 14:50:36 +00:00
Jakub Zawadzki fa82fe17a9 Move fpinf dereference after NULL check.
svn path=/trunk/; revision=37012
2011-05-06 20:45:34 +00:00
Gerald Combs 8908485246 Huzaifa Sidhpurwala of Red Hat Security Response Team discovered that we
could dereferene a NULL pointer if we had a corrupted Diameter
dictionary.

Additionally, it was possible to push an invalid input buffer onto the
include stack.

svn path=/trunk/; revision=37011
2011-05-06 19:39:47 +00:00
Anders Broman 451e59c852 From Tamás Regõs:
Make it possible to load Tango AVP:s if you have them.

svn path=/trunk/; revision=37010
2011-05-06 15:05:51 +00:00
Anders Broman 2ad1c8df66 VALS(& -> VALS(
svn path=/trunk/; revision=37009
2011-05-06 12:28:11 +00:00
Jakub Zawadzki 4194ee7f89 Add note about ::/96 being deprecated.
svn path=/trunk/; revision=37008
2011-05-06 11:39:11 +00:00
Guy Harris 02d50e354b Use strtoul() rather than sscanf to parse octal and hex numbers in
escape sequences; sscanf is a bit heavyweight, and using strtoul() also
squelches some "return value ignored" warnings.

svn path=/trunk/; revision=37007
2011-05-06 03:59:44 +00:00
Jeff Morriss bb9f347294 Prefix the message class names with RELOAD_ to prevent collisions.
svn path=/trunk/; revision=37006
2011-05-06 01:54:07 +00:00
Jeff Morriss a80a391b0e From Ed Day via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5890 :
ASN.1 files in trunk/asn1/qsig contain syntax errors that prevent them from
being compiled by a standard ASN.1 compiler.  A patch of modified files is
attached along with General-Error-List.asn which was missing completely.

From me: add the new asn file to the list of source files.  Add SVN Id tag to
the new file.

svn path=/trunk/; revision=37005
2011-05-06 01:47:16 +00:00
Jeff Morriss 0b1629a058 From Peter Paluch via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5893 :
Add support for VTP Join messages.

From me: rather than add the first and last VLANs with separate hf_ variables
and the masked ones with proto_tree_add_text(), use one hf_ variable for all the
VLAN IDs.

svn path=/trunk/; revision=37004
2011-05-06 01:27:54 +00:00
Jeff Morriss c666536162 From Marc Petit-Huguenin via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5894 :
- Use "RELOAD" everywhere.
- Fix invalid variable name "reload_framing.probe_information.type".
- Fix various names to match the spec.
- Dissect the X.509 certificate embedded in RELOAD messages.
- Use tls_signature_algorithm and tls_hash_algorithm tables in
  packet-ssl-utils.

From me: take out the tabs.  Keep the long dissector name when registering the
protocols.

svn path=/trunk/; revision=37003
2011-05-06 01:09:04 +00:00
Jeff Morriss c3f165c779 Forgot to remove my editor's tabs before committing...
svn path=/trunk/; revision=37002
2011-05-05 21:41:51 +00:00
Jakub Zawadzki d079e29cac Fix false positive compiler warnings:
address_to_str.c:157: warning: 'cur.len' may be used uninitialized in this function
	address_to_str.c:157: warning: 'best.len' may be used uninitialized in this function


svn path=/trunk/; revision=37001
2011-05-05 21:15:33 +00:00
Jakub Zawadzki 453d0a8568 Introduce ip6_to_str_buf_len (little cleaner version of inet_ntop6 from wsutil/inet_ntop.c)
and use it instead of inet_ntop(AF_INET6, ...)

- Add MAX_IP6_STR_LEN define.
- use MAX_IP6_STR_LEN as a buffer size when ip6_to_str_buf() is used.

svn path=/trunk/; revision=37000
2011-05-05 20:48:21 +00:00
Jeff Morriss 1792f8e3a6 Apply rev 14059 to non-Windows: update the display with new packets every 500
msec (instead of every 1000msec).

svn path=/trunk/; revision=36999
2011-05-05 20:46:02 +00:00