Commit Graph

35399 Commits

Author SHA1 Message Date
Bill Meier c7cb5bd325 Add packet-usb-at.c;
Also: put a few entries in alphabetical order.

svn path=/trunk/; revision=37062
2011-05-11 13:31:41 +00:00
Michael Tüxen eaead49183 Fix a wrong name in a debug print statement.
svn path=/trunk/; revision=37061
2011-05-11 12:51:01 +00:00
Martin Mathieson 9a4b6db704 Support multiple Scheduling Requests in one PDU.
svn path=/trunk/; revision=37060
2011-05-11 11:10:30 +00:00
Tomas Kukosa e3ef98c477 Export wtap_fstat()
svn path=/trunk/; revision=37059
2011-05-11 07:31:18 +00:00
Jeff Morriss 02835bc4c5 From Michael Chen via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5863 :
5. A guaranteed null pointer access violation is fixed in packet-ssl-utils.c
when DTLS succeeded in dissecting its payload.

svn path=/trunk/; revision=37058
2011-05-11 02:06:22 +00:00
Jeff Morriss 1c515d2af2 Use consistent casing in hf_ descriptions and expert infos.
svn path=/trunk/; revision=37057
2011-05-11 01:39:10 +00:00
Jeff Morriss eb0bbf105a From Peter Paluch via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5893 :
- Put back the hf_ variables removed from the last patch

- Change the verbose protocol name to the (now) official spelling "VLAN
Trunking Protocol" instead of "Virtual Trunk Protocol"

- Made the "Info" column more informative by placing the message type and
selected key information into it, instead of just the verbose protocol name

- Corrected an error in the handling of the Advert-Request message where the
Management Domain Name field was not parsed properly, resulting in wrong
parsing of the remainder of the entire Advert-Request message


svn path=/trunk/; revision=37056
2011-05-11 01:11:50 +00:00
Jeff Morriss 9d03ce44f4 Eliminate redundant blurbs
svn path=/trunk/; revision=37055
2011-05-11 01:06:37 +00:00
Guy Harris 0a4e212e4b file_read() can return -1; don't just blindly add it to a previous
file_read() return value.  Use wtap_file_read_expected_bytes() in a
number of places.

svn path=/trunk/; revision=37054
2011-05-10 21:53:10 +00:00
Guy Harris 2ca5312b64 file_read() can return -1; don't just blindly add it to a previous
file_read() return value.  Use wtap_file_read_expected_bytes() in a
number of places.

svn path=/trunk/; revision=37053
2011-05-10 20:17:31 +00:00
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