Commit Graph

31748 Commits

Author SHA1 Message Date
Kovarththanan Rajaratnam 6476632fda Include (local) packet-btl2cap.h properly
svn path=/trunk/; revision=32863
2010-05-18 07:35:31 +00:00
Kovarththanan Rajaratnam 9d568f7f9c From Allan M. Madsen:
Initial implementation of Bluetooth OBEX dissector. Work in progress.

svn path=/trunk/; revision=32862
2010-05-18 07:32:04 +00:00
Jaap Keuter 427acccd3f Prepare the docbooks for the 1.4 branch.
svn path=/trunk/; revision=32861
2010-05-18 06:16:03 +00:00
Kovarththanan Rajaratnam 0c8a3cbb4f Extract ogf from the opcode
svn path=/trunk/; revision=32860
2010-05-18 06:09:52 +00:00
Jaap Keuter 876187e1db Add CPackConfig.txt to the tarball.
svn path=/trunk/; revision=32859
2010-05-18 06:03:05 +00:00
Kovarththanan Rajaratnam 60fca26f05 Dissect Synchronous Connection correctly
svn path=/trunk/; revision=32858
2010-05-18 05:46:44 +00:00
Guy Harris 414399b572 Fix some errors. Use FormatMessageA(), as we need the string in ASCII.
svn path=/trunk/; revision=32857
2010-05-18 05:32:29 +00:00
Guy Harris ece9788353 Squelch an unused-variable warning.
svn path=/trunk/; revision=32856
2010-05-18 03:35:20 +00:00
Guy Harris 964383bf1c Add a routine to convert Win32 error statuses into strings, and use it
when generating error messages.

The error code from CreatePipe() is gotten by calling GetLastError();
it's not in errno.

Clean up indentation a bit.

svn path=/trunk/; revision=32855
2010-05-18 03:29:45 +00:00
Guy Harris 0910d319cd Move some routines around, fix and shuffle comments.
svn path=/trunk/; revision=32854
2010-05-18 02:48:51 +00:00
Guy Harris 1bf60839c9 Move get_pcap_linktype() into dumpcap - it's not used elsewhere.
svn path=/trunk/; revision=32853
2010-05-18 02:36:02 +00:00
Guy Harris c58680fd40 Only negative return values from pcap_activate() are errors; positive
return values are success-with-a-warning.

Report those errors with a string.

svn path=/trunk/; revision=32852
2010-05-18 01:48:46 +00:00
Guy Harris e3038273ca Don't write the SP_SUCCESS messages unless -Z was specified.
Add support for a machine-readable "-v" output, which prints only the
pcap version string.

Give a little more information about the machine-readable format, but
note that it's primarily intended for consumption by Wireshark and
TShark and is subject to change.

Properly hyphenate "pcap-ng".

svn path=/trunk/; revision=32851
2010-05-18 00:20:30 +00:00
Guy Harris 14c40a21aa Make -Z always generate machine-readable output, and don't bother
supplying -M along with -Z.  (We keep -M around for debugging use; it's
documented, unlike -Z.)

svn path=/trunk/; revision=32850
2010-05-17 23:56:00 +00:00
Guy Harris 859c6e4d3e If dumpcap is run with -D, don't select a default interface; it's not
necessary.

If it's run with -D and -M, and we found no interfaces, don't treat that
as an error; let the code that reads our output just indicate it as "no
interfaces available", so *its* caller can decide whether to report an
error or not (in some cases in Wireshark, it's obvious that there are no
interfaces, e.g. there aren't any listed on the welcome screen, so
popping up a dialog is pointless).

svn path=/trunk/; revision=32849
2010-05-17 23:13:24 +00:00
Jeff Morriss d1573b53c0 Don't pass a NULL pointer to what is supposed to be (according to the format) a string: some implementations of vsnprintf() will core on that. (Unfortunately it seems that g_vsnprintf() doesn't protect us from this...)
svn path=/trunk/; revision=32848
2010-05-17 21:49:09 +00:00
Jeff Morriss 734fb0725f Add a bunch of tools to the source distribution
svn path=/trunk/; revision=32847
2010-05-17 20:38:46 +00:00
Stig Bjørlykke f62ae563dc Added some new features.
svn path=/trunk/; revision=32846
2010-05-17 20:24:28 +00:00
Jaap Keuter 5140e8f44e From Lars Ruoff:
Add some more robustness to Alcatel-Lucent vendor specific 
DHCP options and add some new option values.

It now supports all currently implemented option values, i.e.:
{Option Opcode Length (bytes) Content}
AVA 58 (0x3A) 2 Vlanid
IP Touch TFTP1 64 (0x40) 4 IPv4 address
IP Touch TFTP2 65 (0x41) 4 IPv4 address
APPLICATION_TYPE 66 (0x42) 1 0 (noe) / 1 (sip)
SIP URL 67 (0x43) x bytes url string

svn path=/trunk/; revision=32845
2010-05-17 18:48:44 +00:00
Guy Harris 03d408abcb Update a comment.
svn path=/trunk/; revision=32844
2010-05-17 18:41:48 +00:00
Guy Harris 991c5e9898 When dumpcap is run to get an interface list, interface capabilities, or
interface statistics, have its error messages come out as sync-pipe
errors, have it send a sync-pipe "success" message on success, and have
the callers get that message and display it.

svn path=/trunk/; revision=32843
2010-05-17 18:40:23 +00:00
Jeff Morriss 01c752e5ef Update Robert Hogan's entry to include TN5250
svn path=/trunk/; revision=32842
2010-05-17 15:07:08 +00:00
Bill Meier 1f1a38f961 From Torrey Atcitty: IEEE 1722(AVB Transport Protocol) Dissector
See Bug #4764 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4764)

svn path=/trunk/; revision=32841
2010-05-17 04:08:08 +00:00
Jeff Morriss 4749e0f19f Move most of the contents of the header file into the .c file.
svn path=/trunk/; revision=32840
2010-05-17 03:01:03 +00:00
Jeff Morriss 8225d821da Remove trailing white space
svn path=/trunk/; revision=32839
2010-05-17 03:00:37 +00:00
Jeff Morriss a229509b85 From Robert Hogan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3922 :
Add support for the IBM TN5250 data stream protocol.

http://wiki.wireshark.org/TN5250

From me:

Move most of the contents of the header file to the .c file.

Replace blurbs that match the hf name with NULL.
Replace empty-string blurbs with NULL.
Fix some abbreviations (hf_tn5220_xxx -> tn5220.xxx).
Make some functions static.
Cast some offset increments to unsigned to make sure we don't go backwards
(which could create a loop).  This includes making most of the subdissection
functions return an unsigned number.

Use find_or_create_conversation().

svn path=/trunk/; revision=32838
2010-05-17 02:55:51 +00:00
Jeff Morriss 63142aa9e1 Add CMakeOptions.txt to the source distribution
svn path=/trunk/; revision=32837
2010-05-17 02:43:15 +00:00
Jaap Keuter 1f34c8d7a1 Some cleanup and adding one more new feature.
svn path=/trunk/; revision=32836
2010-05-16 16:58:04 +00:00
Stig Bjørlykke 2bb480e70d Ensure we update default link-layer list when toggeling monitor mode.
svn path=/trunk/; revision=32835
2010-05-16 15:44:43 +00:00
Gerald Combs 667fae7498 [Automatic manuf and enterprise-numbers update for 2010-05-16]
svn path=/trunk/; revision=32832
2010-05-16 15:04:06 +00:00
Jaap Keuter 55528cacba From Chidambaram Arunachalam:
Currently, H.264 dissector in Wireshark allows only one value for the "H264 
dynamic payload type" preference value.
This patch allows users to specify a value range for this parameter (96-127) 
so that both streams can be decoded for a video call with asymmetric rtp 
payload types.

svn path=/trunk/; revision=32831
2010-05-16 10:58:50 +00:00
Jaap Keuter 39e687a79f From Robert Lickenbrock:
Wireshark does not extract the vendor identifier (i.e. the 7th and 8th bytes)
from the header of YMSG packets. The current implementations skips over these
bytes during dissection, presumably because they were believed to be padding.

svn path=/trunk/; revision=32830
2010-05-16 10:28:14 +00:00
Guy Harris 342d436705 If we don't know whether a device supports monitor mode, turn off
monitor mode in the checkbox before making the checkbox insensitive.

svn path=/trunk/; revision=32829
2010-05-16 08:14:29 +00:00
Guy Harris 149ccb3b68 Attempt to handle isochronous descriptors between the 64-byte header and
the payload.  Should fix bug 4401.

svn path=/trunk/; revision=32828
2010-05-16 03:19:40 +00:00
Stig Bjørlykke 01a135ef05 Also set sensitive on monitor and linktype label, as it's not clear that
the monitor mode is disabled when only the check box is disabled.

svn path=/trunk/; revision=32827
2010-05-15 23:25:53 +00:00
Stig Bjørlykke 5f58400065 Set the correct "monitor mode" button state.
svn path=/trunk/; revision=32826
2010-05-15 22:54:44 +00:00
Jörg Mayer 3da0724510 text2pcap_scanner.l does not compile without warnings
on my system - add it to the non-clean file list.

svn path=/trunk/; revision=32825
2010-05-15 21:40:25 +00:00
Jörg Mayer e309a6ad5a Bruno Matos <bruno.matos@gmail.com>
In version_info.c file, if we put the Python include in first place we
remove the warning/error "_POSIX_C_SOURCE redefined", as in this article:
http://bytes.com/topic/python/answers/30009-warning-_posix_c_source-redefined
.

I had problems with CMake build.


svn path=/trunk/; revision=32824
2010-05-15 21:38:36 +00:00
Jörg Mayer e4eecc5215 - Move cmake options into their own file, making it easier to
use a locally modified version of the stuff
- Some (still preliminary) CPack changes
- Add -fexcess-precision=fast (configure.in and CmakeLists.txt)
  to the compileflags (new gcc-4.5 feature to maintain backward
  compatibility with gcc-4.4 and IMO we don't need the slower but
  more exact implementation gcc 4.5 offers.

svn path=/trunk/; revision=32823
2010-05-15 20:41:53 +00:00
Gerasimos Dimitriadis 682b962e72 Use binary search when scanning the SANC and ISPC lists; correct a couple of
double entries in the ISPC lists.

svn path=/trunk/; revision=32822
2010-05-15 20:14:52 +00:00
Guy Harris ac1b50ba2c Export prefs_capture_device_monitor_mode().
svn path=/trunk/; revision=32821
2010-05-15 20:00:09 +00:00
Guy Harris e1e576c11b Support monitor mode in the capture preferences.
Use prefs_is_capture_device_hidden() to find out whether a device should
be hidden - don't scan the list of hidden devices ourselves.

svn path=/trunk/; revision=32820
2010-05-15 19:38:13 +00:00
Anders Broman 2de348060c Update to V9.2.0 (2010-03)
svn path=/trunk/; revision=32819
2010-05-15 10:27:45 +00:00
Anders Broman ef9129b5e6 Update to V9.1.0 (2010-03).
svn path=/trunk/; revision=32818
2010-05-15 09:04:28 +00:00
Anders Broman 874a518ed6 Update to V9.2.0 (2010-03).
svn path=/trunk/; revision=32817
2010-05-15 08:49:39 +00:00
Bill Meier 7a0a969036 From Torrey Atcitty: IEEE 802.1Qat (Multiple Stream Reservation Protocol) dissector
See: Bug #4757: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4757

svn path=/trunk/; revision=32816
2010-05-14 22:55:55 +00:00
Jeff Morriss a8ca1bb630 From David Aggeler via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4762 :
- Fixed HF to separate signed & unsigned values and to have BASE_DEC all signed 
- Fixed private sequences with undefined length in ILE
- Fixed some spellings in comments

svn path=/trunk/; revision=32815
2010-05-14 21:54:48 +00:00
Anders Broman f270451b3c Update to V9.2.3 (2010-03)
svn path=/trunk/; revision=32814
2010-05-14 21:50:23 +00:00
Gerasimos Dimitriadis 728f1c516c MNC, SANC and ISPC lists updated up to the latest OB, No 955
svn path=/trunk/; revision=32813
2010-05-14 21:12:48 +00:00
Jeff Morriss e62b60be7c Rework SMS reassembly:
- Take out the if(tree) because for reassembly to work we need to do the
  reassembly on the first pass.
- Remove the (confusing) "try_dissect_message_fragment" preference (which
  caused us to dissect the message fragments) and replace it with a "reassembly"
  preference.  Dissect the message fragments regardless of whether reassembly is
  enabled or not (it's just SMS).  This solves the user confusion reported in
  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4232 .
- Add the text of the SMS using proto_tree_add_string*() so that we an filter on
  the text.

svn path=/trunk/; revision=32812
2010-05-14 19:27:11 +00:00