Commit Graph

37230 Commits

Author SHA1 Message Date
Guy Harris b117a8ba32 Use ENC_BIG_ENDIAN instead of FALSE in proto_tree_add_item() calls for
integral values.

For the Network Access Identifier, use ENC_UTF_8.

svn path=/trunk/; revision=39039
2011-09-19 09:52:37 +00:00
Anders Broman ea6df29d7f Move stuff inside if(tree)
svn path=/trunk/; revision=39038
2011-09-19 08:37:59 +00:00
Anders Broman b859833c05 From Martin Kaiser:
DVB-CI / CI+ Application MMI version 2

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

svn path=/trunk/; revision=39037
2011-09-19 08:37:10 +00:00
Anders Broman 5d82ea810d Make it possiblwe to creare a trime string from frame data.
svn path=/trunk/; revision=39036
2011-09-19 05:15:58 +00:00
Anders Broman a7a7d01191 Remove debug code.
svn path=/trunk/; revision=39035
2011-09-19 05:13:06 +00:00
Gerald Combs f2dd639bf1 [Automatic manuf, services and enterprise-numbers update for 2011-09-18]
svn path=/trunk/; revision=39032
2011-09-18 14:03:28 +00:00
Chris Maynard 994e1f698b Update sub-object types of XRO to match RFC 5521. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3778.
svn path=/trunk/; revision=39031
2011-09-17 03:58:41 +00:00
Bill Meier 3f3bb6b95a From Pierre-Marie de Rodat: PostgreSQL Startup message not properly supported by the PostgreSQL dissector.
"The PostgreSQL dissector do not fully support the frontend StartupMessage (see
"StartupMessage" in
http://developer.postgresql.org/pgdocs/postgres/protocol-message-formats.html).
The couples parameter name/parameter value in this kind of message are reported
as a block of text ("name: value") by the dissector whereas reporting them as
parameter name/parameter value would be more appropriate.

I've fixed it, so now the username and the database sent by the frontend can be
handled in, for instance, the CSV output of TShark.

I've also added a "val_count" field to contain the number of values (row
descriptions or row data) included in RowDescription/DataRow messages. This
information is useful when analyzing the CSV of TShark since in a CSV row, many
row descriptions or row data may be packed together."


Patch changes from me:
- No need to fetch ephemeral string anymore so just use tvb_strsize()
  to get string length;
- Change field-filtername from pgsql.val.count to pgsql.field.count

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


svn path=/trunk/; revision=39030
2011-09-16 20:08:46 +00:00
Chris Maynard afb6549467 Add dissection of router address(R) flag. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6350.
svn path=/trunk/; revision=39029
2011-09-16 19:23:26 +00:00
Michael Tüxen 207297d913 Fix a crash when analysing SCTP TSNs.
Provided by Irene Ruengeler.

svn path=/trunk/; revision=39028
2011-09-16 15:32:28 +00:00
Anders Broman bd87f77148 set_abs_time and friends always return 1.
svn path=/trunk/; revision=39027
2011-09-16 14:25:50 +00:00
Anders Broman 54dc8d1f54 From Sylvain Munaut:
proto: Use fill_label_xxx helpers in _proto_tree_add_bits_ret_val

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

svn path=/trunk/; revision=39026
2011-09-16 06:12:12 +00:00
Anders Broman 1bbb078af3 Change encoding type from TRUE/FALSE to ENC_LITTLE_ENDIAN/ ENC_BIG_ENDIAN
svn path=/trunk/; revision=39025
2011-09-16 05:36:48 +00:00
Anders Broman 94f97bb95f From Jouni Malinen:
If the GAS Query Request/Response Length field is incorrect, the
dissector function may return a value that is larger than the remaining
packet buffer. This results in a Tagged parameters item being added with
-1 byte length since tvb_reported_length_remaining() reports -1 once the
offset goes beyond the end of the packet. Clicking on that item results
in Wireshark dying on Gtk-ERROR. Note: this does not show up in tshark
and as such, cannot apparently be triggered with fuzz-test.sh.

Fix this by refusing to dissect GAS frames that have too large length
field value. In addition, verify that tvb_reported_length_remaining() is
returning a value larger than 0 instead of non-zero (which could be -1)
to make the IEEE 802.11 dissector more robust against this type of
issues.

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

svn path=/trunk/; revision=39024
2011-09-16 05:16:18 +00:00
Anders Broman 00363155e7 From Jouni Malinen:
- Dissect ANQP Network Authentication Type
- Dissect ANQP Domain Name List
- Dissect Interworking element
- Dissect Roaming Consortium element
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6339

svn path=/trunk/; revision=39023
2011-09-16 05:10:37 +00:00
Anders Broman e12440d3d0 From Liam Sharp:
In VoIP calls flow/graph display replace GR/GI etc with presentationTokenRequest/Response etc

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

svn path=/trunk/; revision=39022
2011-09-16 04:55:58 +00:00
Guy Harris 8526fa4086 wsdg_graphics/toolbar is a directory; fix the rules that weren't already
fixed to cope with that.

svn path=/trunk/; revision=39021
2011-09-16 00:21:21 +00:00
Guy Harris 657ee65b0f Well, that wasn't it. Put the dummy file back.
svn path=/trunk/; revision=39020
2011-09-16 00:13:08 +00:00
Guy Harris 8db80d317d Delete a dummy file to see if it makes building the docbook stuff with
nmake on Windows work again.

svn path=/trunk/; revision=39019
2011-09-15 23:32:44 +00:00
Anders Broman b1972828b8 From Pierre-Marie de Rodat:
MySQL’s response for a “prepare statement” command not supported by the MySQL dissector

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

svn path=/trunk/; revision=39018
2011-09-15 20:11:12 +00:00
Anders Broman f7b214378b From Pascal Quantin:
Incorrect decoding of BIT STRING type

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

svn path=/trunk/; revision=39017
2011-09-15 20:02:19 +00:00
Anders Broman 9f15951f5b From Jouni Malinen:
-Dissect ANQP Roaming Consortium list
-Dissect ANQP IP Address Type Availability
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6339

svn path=/trunk/; revision=39016
2011-09-15 19:54:02 +00:00
Anders Broman e6713b5664 From Jouni Malinen:
Dissect ANQP Capability List
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6339

svn path=/trunk/; revision=39015
2011-09-15 19:49:37 +00:00
Anders Broman 1099008a91 From Jouni Malinen:
Dissect ANQP Venue Name info
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6339

svn path=/trunk/; revision=39014
2011-09-15 19:46:24 +00:00
Anders Broman cb3e1f62ac From Jouni Malinen:
Dissect ANQP Query List
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6339

svn path=/trunk/; revision=39013
2011-09-15 19:44:08 +00:00
Anders Broman cf4b65c2a7 From Jouni Malinen:
Append ANQP information to COL_INFO
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6339

svn path=/trunk/; revision=39012
2011-09-15 19:41:53 +00:00
Anders Broman 2a43bc3fcc From Jouni Malinen:
Remove unnecessary Action subtree
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6339

svn path=/trunk/; revision=39011
2011-09-15 19:38:23 +00:00
Martin Mathieson a0f614494b Add a tap for showing all expert items.
svn path=/trunk/; revision=39010
2011-09-15 10:30:57 +00:00
Guy Harris ddb58e8eb0 Alphabetical order, please.
svn path=/trunk/; revision=39009
2011-09-15 06:56:57 +00:00
Anders Broman 8bae4703a9 From Jouni Malinen:
ieee80211: Support multiple ANQP info elements in response

ANQP Query Response may include multiple ANQP info elements. Parse each
one of these separately. In addition, clean up three ANQP subtrees to
avoid the unnecessary subtree at higher layer and instead, use a
separate subtree for each ANQP info elements.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6339

svn path=/trunk/; revision=39008
2011-09-15 06:53:42 +00:00
Anders Broman ddc3393312 From Jouni Malinen:
ieee80211: Show ANQP adv proto on subtree title line

This makes it easier to get the most significant information from the
Advertisement Protocol element in GAS messages without having to expand
subtrees.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6339

svn path=/trunk/; revision=39007
2011-09-15 06:50:26 +00:00
Anders Broman da4ffffd0a From Jouni Malinen:
ieee80211: Do not add duplicate tag number/len for adv proto

dissect_advertisement_protocol() is used both for ANQP and for parsing
IEs. The tag number/length fields need to be added only for ANQP to
avoid adding duplicate entries in the proto tree.

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

svn path=/trunk/; revision=39006
2011-09-15 06:46:57 +00:00
Anders Broman 22dcd86ff4 From Jouni Malinen:
ieee80211: Verify ANQP info header

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

svn path=/trunk/; revision=39005
2011-09-15 06:44:20 +00:00
Anders Broman 0331d338b3 From Jouni Malinen:
preparation for adding new dissectors for various ANQP info

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

svn path=/trunk/; revision=39004
2011-09-15 06:41:19 +00:00
Anders Broman a3e3b5735c From Jouni Malinen:
ieee80211: Update ANQP info ID per P802.11-REVmb/D10.0

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

svn path=/trunk/; revision=39003
2011-09-15 06:34:25 +00:00
Anders Broman f2d9c53edb From Jouni Malinen:
IEEE 802.11u: Add Element IDs

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

svn path=/trunk/; revision=39002
2011-09-15 06:31:48 +00:00
Anders Broman 1e9510fc52 From Jouni Malinen:
IEEE 802.11u: Add new Extended Capabilities

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

svn path=/trunk/; revision=39001
2011-09-15 06:26:51 +00:00
Anders Broman fecd446136 From Jouni Malinen:
improvements for IEEE Std 802.11u-2011 dissection.

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

svn path=/trunk/; revision=39000
2011-09-15 06:23:49 +00:00
Anders Broman 09b08a4f37 Store frame_data_t instead of nstime_t, now it should be possible
to implement using the same time format as chosen in the packetlist.

svn path=/trunk/; revision=38999
2011-09-15 05:59:09 +00:00
Jörg Mayer b2ae3d3b16 Trivial fix that would create one of the three GDK_DEPRECATED errors.
Use the #define instead of "font"

svn path=/trunk/; revision=38998
2011-09-14 21:36:29 +00:00
Bill Meier dbae8e445c Update based upon latest names "packet-type-codes" list from the IANA:
- Change some type-code names to match IANA list;
- Handle additional type-codes as given in the IANA list;
- Don't consider certain "attribute types" to be valid packet-type codes
  See Bug 6335: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6335
- Minor code cleanup.

svn path=/trunk/; revision=38997
2011-09-14 18:45:06 +00:00
Gerald Combs fae571b3f8 Make the network_usb.svg image public domain.
svn path=/trunk/; revision=38996
2011-09-14 17:39:19 +00:00
Stig Bjørlykke cb5f6d0d75 Add #define guard.
This fixes bug 6341.

svn path=/trunk/; revision=38995
2011-09-14 14:53:49 +00:00
Martin Mathieson 958df0d82a Show total ACKs/UE in UE table.
svn path=/trunk/; revision=38994
2011-09-14 13:32:42 +00:00
Jörg Mayer 2564fecfb3 Add a dummy file so building the docbook stuff with cmake actually works.
svn path=/trunk/; revision=38993
2011-09-14 13:23:10 +00:00
Guy Harris 998cbd5ed3 Close up space between ENC_BIG_ENDIAN) and ;.
svn path=/trunk/; revision=38992
2011-09-14 07:16:26 +00:00
Anders Broman f72e423c33 From Aaron Schrab:
AMQP dissector support for Exchange Bind method.
- From me simplify writing to column.
- remove deprecated check_col
- Use ENC_BIG_ENDIAN.

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

svn path=/trunk/; revision=38991
2011-09-14 07:04:45 +00:00
Guy Harris 5fe4eb3c33 Always pass the FCS length to dissect_802_3() and ethertype(), so it
will process the FCS if it's known to be present and will attempt to
guess whether it's present if it's not known not to be present.

svn path=/trunk/; revision=38990
2011-09-13 21:17:45 +00:00
Stig Bjørlykke 70c3a7d727 Don't include files from epan in wsutil.
svn path=/trunk/; revision=38989
2011-09-13 18:36:46 +00:00
Gerald Combs 9e7dae04ad Fix a typo in a comment.
svn path=/trunk/; revision=38988
2011-09-13 17:10:12 +00:00