Commit Graph

12904 Commits

Author SHA1 Message Date
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 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 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
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 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
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
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
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
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
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
Jaap Keuter 9b6960b21f Show version as generated field.
svn path=/trunk/; revision=32756
2010-05-11 18:04:03 +00:00
Bill Meier 0fc9115705 Use consistent indentation; Whitesapce & formatting cleanup.
svn path=/trunk/; revision=32755
2010-05-11 16:54:55 +00:00
Bill Meier 1a474d8264 Use consistent indentation; Whitespace & formatting cleanup.
svn path=/trunk/; revision=32754
2010-05-11 15:34:57 +00:00
Bill Meier 2af17da2c1 Fix handling of pa-data-type KRB5_PA_PAC_REQUEST (& KRB5_PA_S4U2SELF).
-Define pa-data-type KRB5_PA_PAC_REQUEST properly so that it is recognized.
  Fixes bug #4752 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4752)
-Also revert definition of  KRB5_PA_S4U2SELF (to be a positive number).
(All of the above reverts part of SVN #31400).

-Display pa-data-type as FT_INT32.
-Display the value for pa-data-type KRB5_PA_PAC_REQUEST as Boolean (not Int).

svn path=/trunk/; revision=32752
2010-05-11 14:34:16 +00:00
Jeff Morriss a0c858efcd Add a little more code to avoid not-very-useful blurbs:
- Change spaces in the name to underscores before comparing it to the blurb.
  - Check if the type simply as T_ prepended to the name.
  - Don't put in a blurb of "NULL".

and regenerate the dissectors.

svn path=/trunk/; revision=32748
2010-05-11 03:53:31 +00:00
Jeff Morriss bbebafd9b4 Regenerate a few more of the ASN.1 dissectors
svn path=/trunk/; revision=32747
2010-05-11 02:58:27 +00:00
Jeff Morriss 08026e8bcc Regenerate a few more of the ASN.1 dissectors
svn path=/trunk/; revision=32746
2010-05-11 02:51:39 +00:00
Jeff Morriss e47ad9a37f Regenerate a few more of the ASN.1 dissectors
svn path=/trunk/; revision=32745
2010-05-11 02:37:46 +00:00
Jeff Morriss 996a6b3817 Regenerate a few more of the ASN.1 dissectors
svn path=/trunk/; revision=32744
2010-05-11 02:33:30 +00:00
Jeff Morriss 8f210cf4e0 Regenerate a few of the ASN.1 dissectors
svn path=/trunk/; revision=32742
2010-05-11 02:13:26 +00:00
Jaap Keuter a423e20a80 Fix for bug 4720:
Assume all fields, except ProducerID, being LE, i.s.o. BE (network order).

svn path=/trunk/; revision=32739
2010-05-10 21:31:12 +00:00
Gerasimos Dimitriadis aa2159437b Update the ISPC lists up to ITU Operational Bulletin 940
svn path=/trunk/; revision=32738
2010-05-10 21:04:08 +00:00
Bill Meier 10ffd14b8f Indentation & whitespace cleanup (including: "4 space tabs" ==> spaces)
svn path=/trunk/; revision=32735
2010-05-10 15:54:57 +00:00
Jaap Keuter c1b3cace53 Allow for proto_tree_add_item() with FT_ABSOLUTE_TIME and FT_RELATIVE_TIME.
svn path=/trunk/; revision=32731
2010-05-10 06:32:31 +00:00
Gerald Combs d6482e47fc [Automatic manuf and enterprise-numbers update for 2010-05-09]
svn path=/trunk/; revision=32728
2010-05-09 15:03:37 +00:00
Bill Meier b905bae3d8 (Trivial) Fix some indentation.
svn path=/trunk/; revision=32725
2010-05-08 16:33:59 +00:00
Bill Meier 7130d39b06 (Trivial) Fix a typo & some indentation
svn path=/trunk/; revision=32724
2010-05-08 16:12:29 +00:00
Sake Blok 0618e53168 Enable "Decode As..." for ethertype 0x0000 (fix for bug 4721)
svn path=/trunk/; revision=32723
2010-05-08 07:55:12 +00:00
Anders Broman f5aa11cf3e Register a dissector table for dissecting Ericsson AVP:s.
svn path=/trunk/; revision=32712
2010-05-07 11:08:56 +00:00
Gerald Combs a3048aed2d From Jouni Malinen via bug 4713:
The 0x80 bit in the Action Category field indicates that the
transmitter is reporting an unrecognized category (or somehow
incorrect frame). Rest of the frame body is identical to the original
Action frame, so we should handle dissecting of these just like with
the category without the 0x80 bit.

svn path=/trunk/; revision=32699
2010-05-07 00:13:33 +00:00
Gerald Combs 51d79ab620 From Hadar Shoham via bug 4750:
1. add docsis3.0 support in bootp option 60
2. change to text option 123 (Cable lab)
3. change to text option 43 sub option 8 (OUI)

svn path=/trunk/; revision=32696
2010-05-06 23:34:56 +00:00