Commit Graph

31643 Commits

Author SHA1 Message Date
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
Bill Meier 9d44f7c950 (Trivial) A little more whitespace cleanup.
svn path=/trunk/; revision=32797
2010-05-13 22:16:28 +00:00
Bill Meier 44b53b4a50 From Torrey Atcitty: [Dissector Enhancement] Added new functionality to existing 1588v2 dissector to also support IEEE802.1AS.
svn path=/trunk/; revision=32796
2010-05-13 21:47:38 +00:00
Jeff Morriss e00323a55f Fix up some indentation
svn path=/trunk/; revision=32795
2010-05-13 20:39:56 +00:00
Jeff Morriss 99aa11c6ed Reindent a bit
svn path=/trunk/; revision=32794
2010-05-13 20:31:53 +00:00
Jeff Morriss fb65ce46b3 Use find_or_create_conversation() in the example
svn path=/trunk/; revision=32793
2010-05-13 18:59:35 +00:00
Jeff Morriss 37abd28d34 Document find_or_create_conversation()
svn path=/trunk/; revision=32792
2010-05-13 18:57:41 +00:00
Jeff Morriss 81da8e0b6b Use find_or_create_conversation() in some ASN.1 dissectors
svn path=/trunk/; revision=32791
2010-05-13 18:55:31 +00:00
Jeff Morriss 729de1a635 As suggested in http://www.wireshark.org/lists/wireshark-dev/200809/msg00075.html
(as referenced in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2907 ) and
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3411 :

Write a new convenience routine for finding a conversation and, if it is not
found, create it.  The frame number and addresses are taken from pinfo (as is
the common case).

Use this function in a bunch of dissectors.

svn path=/trunk/; revision=32790
2010-05-13 18:28:34 +00:00
Guy Harris 1c18115bd3 Fetch an indication of whether the interface supports capturing in
monitor mode at the same time that we fetch its list of link-layer
types.  Support fetching that list in monitor mode, as the list may be
different in regular and monitor mode.  If the interface supports
monitor mode, when printing the list of link-layer types, indicate
whether they're fetched in monitor mode or not, as tcpdump 4.1.x does.

svn path=/trunk/; revision=32789
2010-05-13 17:37:39 +00:00
Jaap Keuter 951485bf35 From Hadar Shohami:
Add support to option 17 sub option 2171 for Packet Cable 2.0 according to
CL-SP-CANN-DHCP-Reg-I03-090811.doc

svn path=/trunk/; revision=32788
2010-05-13 17:22:53 +00:00
Jeff Morriss fca38cb2f2 Add Robert Hogan. Also update my entry.
svn path=/trunk/; revision=32787
2010-05-13 16:28:32 +00:00
Jeff Morriss e5372ffb44 Remove some unused hf_ entries
svn path=/trunk/; revision=32786
2010-05-13 15:22:55 +00:00
Jeff Morriss acc410ae87 From Robert Hogan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4257 :
Correctly decode and display the buffer address in SBA orders.


Note: This includes a macro with a new license which is added to COPYING.

svn path=/trunk/; revision=32785
2010-05-13 15:19:40 +00:00
Anders Broman 2fcc6996c9 Update to V9.2.1 (2010-04)
svn path=/trunk/; revision=32784
2010-05-13 13:29:31 +00:00
Jeff Morriss d201b3d873 From Tamas Regos via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4760 :
Harmless typo bug in diam_dict.l

applictation_start <-> application_start

svn path=/trunk/; revision=32783
2010-05-13 13:29:13 +00:00
Tomas Kukosa 0611ae90a0 Support of AUTOMATIC tagging environment
(necessary for generating e.g. H.248 from original ASN.1 source)

svn path=/trunk/; revision=32782
2010-05-13 13:16:26 +00:00
Tomas Kukosa e32b9b9062 ASN.1 compiler accepts version brackets in SEQUENCE and CHOICE extensions
svn path=/trunk/; revision=32781
2010-05-13 10:00:37 +00:00
Anders Broman 8a74657b14 Update to V9.2.0 (2010-03)
svn path=/trunk/; revision=32780
2010-05-13 08:03:04 +00:00
Anders Broman d693d37904 Update to V9.1.0 (2010-03)
svn path=/trunk/; revision=32779
2010-05-13 07:41:35 +00:00
Anders Broman 30ebf4af24 Update to V9.1.0 (2010-03)
svn path=/trunk/; revision=32778
2010-05-13 07:40:31 +00:00
Guy Harris 998677339e Create a new REP_NA value for fields where there are no representations
from which to choose; use that for protocol fields in some protocols
(modify the CORBA generator to use it, and manually update the generated
CORBA dissectors accordingly).

svn path=/trunk/; revision=32777
2010-05-13 00:20:40 +00:00
Guy Harris 308bb550da Instead of using private #defines for the last argument to
proto_tree_add_item(), use the new REP_BIG_ENDIAN and REP_LITTLE_ENDIAN
values.

Use those #defines in variables that represent the byte order, as well.

svn path=/trunk/; revision=32776
2010-05-12 23:45:16 +00:00
Guy Harris 4ff4ebe3c5 Add REP_{BIG,LITTLE}_ENDIAN #defines, for possible future use in
proto_tree_add_item() and field definitions, and for current use if
somebody finds it more self-documenting (some dissectors already have
their own #defines for that purpose).

svn path=/trunk/; revision=32775
2010-05-12 22:35:56 +00:00
Guy Harris 74b7ca5802 Don't set the sensitivity of the Open button based on whether we can
open the currently-selected file; that button is also used to select the
file or directory typed in the location bar.  This should fix bug 1791.

svn path=/trunk/; revision=32774
2010-05-12 19:44:23 +00:00
Bill Meier 8f7aa8dfd8 (Trivial) Use consistent indentation.
svn path=/trunk/; revision=32773
2010-05-12 17:34:11 +00:00
Jeff Morriss c8cecb9133 From Dirk via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4758 :
The HTTP dissector uses strtoll() to convert the Content-Length string into a
64bit variable. But that string can contain a number larger (or less) than
64bit, which lets the strtoll() return INT_MAX (or INT_MIN). strtoll() then
indicates this with errno==ERANGE.

The attachted patch checks if errno is set this way and then treats that HTTP
Content-Length as unspecified, since we don't know the real size.

I haven't checked other occurences of strtoll() in the HTTP dissector if they
could benefit from the errno check, or if other dissectors could use it.

svn path=/trunk/; revision=32772
2010-05-12 13:24:42 +00:00
Anders Broman 96e9317c66 From Tamas Regos:
WSLUA improvement.

The existing ProtoField.bool looks like the following:
ProtoField.bool(abbr, [name], [desc])

But checking any protocol dissector with bool protofield, it can be seen that
in C code we have more options than thru the WSLUA interface.

E.g.: {&hf_gtp_qos_sig_ind,{"Signalling Indication", "gtp.sig_ind", FT_BOOLEAN,
8, TFS(&gtp_sig_ind), GTP_EXT_QOS_SIG_IND_MASK, NULL, HFILL}},

So I've extended ProtoField.bool to have more options like this:
ProtoField.bool(abbr, [name], [bitfield], [true_false_string], [mask], [desc])

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

svn path=/trunk/; revision=32771
2010-05-12 10:31:41 +00:00
Anders Broman 0107015266 From Tamas Regos:
Whitspace changes

svn path=/trunk/; revision=32770
2010-05-12 08:08:01 +00:00
Anders Broman 0798092b03 Update to V9.2.0 (2010-03)
svn path=/trunk/; revision=32769
2010-05-12 05:51:54 +00:00
Gerald Combs eb92458522 From Chris Maynard via bug 4722:
When I submitted the USB and PPP changes, I had not previously tested with a
full insertion of a particular USB device.  Now that I have, I've found that
what used to be reported as an unknown interface class is now reported as a
vendor specific interface class.  Thus, in order for PPP/USB dissection to
work, the ppp dissector must register for that class as well.  The attached
trivial patch does just that.

svn path=/trunk/; revision=32768
2010-05-12 04:03:07 +00:00
Gerasimos Dimitriadis 35efe5e36f Initialize the GValues without triggering any warnings
svn path=/trunk/; revision=32767
2010-05-11 21:50:54 +00:00
Jaap Keuter eda8f731d8 Update display filter scripts with new field types.
svn path=/trunk/; revision=32766
2010-05-11 21:49:30 +00:00
Jaap Keuter 23b4509d1b Straighten out field type names.
svn path=/trunk/; revision=32765
2010-05-11 21:46:17 +00:00
Gerasimos Dimitriadis 6aca16986c Grinding through the Operational Bulletins:
SANC and ISPC lists updated up to OB No 949

svn path=/trunk/; revision=32764
2010-05-11 21:40:33 +00:00
Gerald Combs 7ee55e62ee Make sure pcap_open_live points to something.
svn path=/trunk/; revision=32763
2010-05-11 21:09:21 +00:00
Jaap Keuter 58843eaf03 Make the changes compile on Linux also.
svn path=/trunk/; revision=32762
2010-05-11 20:57:15 +00:00
Guy Harris 5be9fa156f If we have pcap_open(), and we're *not* opening an rpcap URL, open the
device, don't just execute whatever comes after the open code as an else
clause.

svn path=/trunk/; revision=32761
2010-05-11 20:19:35 +00:00
Bill Meier d03f69e2df From Yaniv Kaul: Fix errors found by clang static code analyzer and add some consts.
svn path=/trunk/; revision=32760
2010-05-11 20:14:37 +00:00
Anders Broman 55572b41b3 Start to replace deprecated gtk_combo_new() with
gtk_combo_box_entry_new_text().

(I'll try to get back to this tomorrow)

svn path=/trunk/; revision=32759
2010-05-11 19:52:40 +00:00
Bill Meier 6321e07f8e From Paul J. Metzger: Add support for decoding DIS Electromagnetic Emission packets.
svn path=/trunk/; revision=32758
2010-05-11 19:03:33 +00:00
Jaap Keuter ee66e776f8 Allow for heuristic dissection of Unicode XML.
svn path=/trunk/; revision=32757
2010-05-11 19:01:56 +00:00