Commit Graph

31684 Commits

Author SHA1 Message Date
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
Bill Meier e1420c0799 Fix a few usages of "" in the hfp] array 'blurb' field.
svn path=/trunk/; revision=32811
2010-05-14 18:56:28 +00:00
Guy Harris a41f89c8f5 Fix the tooltip for the "monitor mode" checkbox.
Speak of network adapters rather than network cards (most personal
computers these days have no network cards - the network adapters are on
the motherboard).

svn path=/trunk/; revision=32810
2010-05-14 17:36:17 +00:00
Jeff Morriss a21b548200 Set SVN properties
svn path=/trunk/; revision=32809
2010-05-14 17:05:50 +00:00
Jaap Keuter eb6efdc4a4 Synchronize Makefiles even more.
svn path=/trunk/; revision=32808
2010-05-14 16:48:17 +00:00
Jeff Morriss 54082c6ed0 Add Cmake stuff to the source distribution so more people can try it out.
svn path=/trunk/; revision=32807
2010-05-14 16:27:03 +00:00
Anders Broman 4a2302cf6c From Tamas Regos:
diameter dictionary.xml update

AVP 1003:
- typo: Flow-Informatio <-> Flow-Information
- added: Monitoring-Key and AF-Signalling-Protocol
- whitespace corrections

AVP 1006:
- added code: 24-28 and 100
- whitespace correction

AVP 1001, 1007, 1013-1020: whitespace corrections
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4765

svn path=/trunk/; revision=32806
2010-05-14 07:57:32 +00:00
Guy Harris 0ad496957f Fix compilation when we don't have pcap_create().
svn path=/trunk/; revision=32805
2010-05-14 07:48:50 +00:00
Guy Harris 6aac80597f Support monitor mode from the GUI.
svn path=/trunk/; revision=32804
2010-05-14 05:15:40 +00:00
Guy Harris e36628d2aa If something is only supposed to be included if we have libpcap, don't
put #ifdef HAVE_LIBPCAP in it.

Add multiple-inclusion protection to capture_errs.h.

svn path=/trunk/; revision=32803
2010-05-14 02:47:13 +00:00
Guy Harris 8d56103f48 Don't include capture-related headers if we don't support capturing
network traffic.

svn path=/trunk/; revision=32802
2010-05-14 01:39:02 +00:00
Guy Harris 9307251bb8 Um, no, the problem with the Leopard x86 build is that we first do a
build without libpcap, to make sure that works, and then do a build with
libpcap, to put into a binary release.  It's the former that's failing;
I'll back out the previous change and then work on that.

svn path=/trunk/; revision=32801
2010-05-14 00:49:28 +00:00
Guy Harris 68ee036bd2 We already have a link to the IBM version of the 3270 manual; just refer
to that.

svn path=/trunk/; revision=32800
2010-05-14 00:16:59 +00:00
Guy Harris 0e54136213 See whether the Leopard x86 buildbot is upset because of the name
if_capabilities_t - it doesn't fail on Snow Leopard, even if I undefine
HAVE_PCAP_CREATE, and doesn't fail on the Leopard PPC buildbot, either.

svn path=/trunk/; revision=32799
2010-05-14 00:10:15 +00:00
Guy Harris dcf49bf092 Handle the Set Buffer Address command differently; this gets rid of the
macro with the "give credit" license, so back that out of COPYING.

svn path=/trunk/; revision=32798
2010-05-13 23:56:31 +00:00