Commit Graph

33462 Commits

Author SHA1 Message Date
Anders Broman da383952df "Fill" value_strings.
svn path=/trunk/; revision=34935
2010-11-17 21:58:35 +00:00
Anders Broman 5d50093134 Fix bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5411
Acct-Session-Id -> OctetString.
Also fix assorted Enums.

svn path=/trunk/; revision=34934
2010-11-17 21:58:06 +00:00
Bill Meier 311cac0568 Use value-string_ext fcns to access value_string array;
Sort value_string_array in ascending order by value;
Reformat display of tag info to be more readable;
Rework TLV processing;
Remove unneeded variable;
Minor whitespace cleanup.

svn path=/trunk/; revision=34933
2010-11-17 21:40:21 +00:00
Anders Broman 3c998dadc2 value_string_ext fixes.
svn path=/trunk/; revision=34932
2010-11-17 16:56:51 +00:00
Jeff Morriss ea23d55aa5 Remove unneeded stuff from the Copyright notice. Use ENC_BIG_ENDIAN and ENC_NA.
svn path=/trunk/; revision=34931
2010-11-17 16:52:20 +00:00
Jeff Morriss 805d04fd15 From Toralf Foerster via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5376 :
A dissector for the SAMETIME protocol.

From me: no need to include gmodule.h, use only ASCII in the author's name.

svn path=/trunk/; revision=34930
2010-11-17 16:47:03 +00:00
Anders Broman b4098dfae9 - Update to 3GPP TS 25.413 V9.4.0 (2010-09).
- Fill the value_strings.

svn path=/trunk/; revision=34929
2010-11-17 16:23:10 +00:00
Anders Broman 3ffa66319e - Update to 3GPP TS 25.413 V9.4.0 (2010-09).
- Fill the value_strings.

svn path=/trunk/; revision=34928
2010-11-17 15:36:53 +00:00
Bill Meier e65f69766a User value_string_ext fcns to access several value_string arrays;
Minor reformatting and whitespace cleanup.

svn path=/trunk/; revision=34927
2010-11-17 14:59:08 +00:00
Chris Maynard 0d73807cbf Allow <interval> to be successfully sscanf'd no matter the locale for the
decimal symbol.  Fixes bug 2880.

svn path=/trunk/; revision=34926
2010-11-17 14:26:38 +00:00
Anders Broman 263db68ab6 - Update to 3GPP TS 25.413 V9.4.0 (2010-09).
- Fill the value_strings.

svn path=/trunk/; revision=34925
2010-11-17 11:48:17 +00:00
Anders Broman 1913b3dd3e - Use SABP:s SCTP ppid.
- Use value_string_ext.

svn path=/trunk/; revision=34924
2010-11-17 08:18:30 +00:00
Jaap Keuter 62067368a0 Separate out/update comment block.
Update IANA assignments.
Use available checksum routines.
Some cleanup and use of convenience macros.

svn path=/trunk/; revision=34922
2010-11-17 07:42:32 +00:00
Jaap Keuter b310bbf4d0 Small clarification.
svn path=/trunk/; revision=34921
2010-11-17 07:29:40 +00:00
Chris Maynard 1e2ae5a88a Quote all fields when exporting to CSV. Fixes bug 2811.
svn path=/trunk/; revision=34920
2010-11-17 03:29:12 +00:00
Jeff Morriss 9aeb1dac17 From David Katz via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5166 :
Add a configuration parameter of the NWG version for WiMAX ASN CP dissector.
The format and meaning of TLVs, as well as function types  and messages changed
between the different NWG versions.
Added support for the version number of TLVs in the dictionary xml, its parser,
and of course in the packet itself.
Added support for the version number of function-types and message-types by
extending the value_string structure to contain also a "since" version number.

Successfully tested with a live capture and capture file, containing WiMAX ASN
packets (full Network entry).
Also fuzzed 500 passes successfully.

The XML doesn't contain all existing NWG versions, only selected ones. This is
a little tedious work to go over all TLVs of each version, so I'll add some
newer versions later on. can add a short how-to of adding a new version, for
others to use, if needed.


svn path=/trunk/; revision=34919
2010-11-17 03:16:30 +00:00
Jeff Morriss 37d4ccff56 From Slava via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5335 :
This patch adds to Wireshark the ability to dissect Infiniband SDP (Socket
Direct Protocol) and CM MADs traffic.

It also contains various other bug-fixes and enhancements. SDP traffic can be
identified automatically (analyzing SDP CM MADs) or manually.

SDP, or Sockets Direct Protocol, is a protocol developed by the Infiniband
Trade Association which enables existing socket-based applications to
transparently utilize the Infiniband capabilities. 

This patch is submitted on behalf of Mellanox Technologies Ltd.

svn path=/trunk/; revision=34918
2010-11-17 02:57:22 +00:00
Chris Maynard 3595bb0293 If pcap_geterr() returns "read error: PacketReceivePacket failed", report that
the "network adapter on which the capture was being done is no longer running".
Fixes bug 2623 reported by Anthony Coulter.

svn path=/trunk/; revision=34915
2010-11-16 21:08:08 +00:00
Anders Broman 2bb0b3fa19 The IPv6 "element" in PDN address information element is a 8 byte
IPv6 interface identifier.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5408

svn path=/trunk/; revision=34914
2010-11-16 20:46:21 +00:00
Sake Blok 9cf1d89732 Make editcap -B work like expected: output no packets after the stop time.
Old behavior was to include a packet with a timestamp of 12:00:00.934 if -B "YYYY-MM-DD 12:00:00" was used.


svn path=/trunk/; revision=34913
2010-11-16 20:22:20 +00:00
Jeff Morriss d63f2559da Split libui into libui and libui_dirty. The latter contains (only)
text_import_scanner.c (which is generated and not by us so we can't guarantee
that it's clean).

svn path=/trunk/; revision=34912
2010-11-16 20:13:26 +00:00
Anders Broman 6488fe601d Add a cast to fix:
tempfile.c(202) : warning C4267: '=' : conversion from 'size_t' to 'unsigned long'

svn path=/trunk/; revision=34911
2010-11-16 20:08:31 +00:00
Anders Broman 26db1c8a73 Accounting-Session-Id should be an UTF8String.
svn path=/trunk/; revision=34910
2010-11-16 17:52:57 +00:00
Anders Broman 838a24aaa0 value_string_ext fixes.
svn path=/trunk/; revision=34908
2010-11-16 17:31:29 +00:00
Jeff Morriss 3c7ac06886 From Gerhard Gappmeier via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5410 :
This patch adds support for displaying OPC UA ExtensionObjects.

An ExtensionObject is a mechanism to transport user defined structures as
serialized blobs. Some types of ExtensionObjects are already defined by the OPC
Foundation's OPC UA Specifications.
These types can be implemented by this dissector, because they are well-known.

Real user-defined or vendor-defined types are unlikely to be implemented by a
passive dissector, because this would require browsing of the UA server's
address space to retrieve the type information.

Currently only the following types are supported:

 * DataChangeNotification
 * EventNotification

Others OPC defined types will follow.


From me: fix warnings: "format not a string literal and no format arguments"

svn path=/trunk/; revision=34906
2010-11-16 17:00:50 +00:00
Jeff Morriss b7b98d4315 From Gerhard Gappmeier via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5409 :
This patch fixes displaying OPCUA Strings and ByteStrings.

From me: fix warnings: "format not a string literal and no format arguments"

svn path=/trunk/; revision=34905
2010-11-16 16:45:22 +00:00
Chris Maynard cb82b48208 Fix warning.
svn path=/trunk/; revision=34904
2010-11-16 16:40:16 +00:00
Chris Maynard bfc0ad6824 Update the description of the temporary file name.
svn path=/trunk/; revision=34903
2010-11-16 16:15:04 +00:00
Chris Maynard b60572a009 Use more meaningful temp file name. Fixes bug 1882.
Template chosen is: wireshark_<iface>_YYYYmmddHHMMSS_XXXXXX ... where
    <iface> is the interface name (or UUID part of the interface if applicable)
    YYYYmmddHHMMSS are as described in "man strftime".
    XXXXXX is a template filled in with random characters.  See "man mkstemp".

svn path=/trunk/; revision=34902
2010-11-16 15:37:37 +00:00
Bill Meier 0db7ad2404 Modify 'compare_files' target: ignore #line changes; compare from epan\dissectors to asn1\...
svn path=/trunk/; revision=34901
2010-11-16 15:24:51 +00:00
Bill Meier 491f05b16e Use value_string_ext fcns to access several value_string arrays;
Minor whitespace cleanup.

svn path=/trunk/; revision=34900
2010-11-16 15:20:33 +00:00
Jeff Morriss 58d018e21a From Yaniv Kaul via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5400 :
The attached patch adds many more DAAP codes to be parsed properly by the DAAP
dissector.
In addition, it fixes some prints.

svn path=/trunk/; revision=34899
2010-11-16 15:01:43 +00:00
Anders Broman 4323fa647d Try to clean up the makefile a bit.
svn path=/trunk/; revision=34898
2010-11-16 09:15:15 +00:00
Jaap Keuter 8921865a93 Accomodate older flex versions.
Make scanner compilation more environment agnostic.

svn path=/trunk/; revision=34897
2010-11-16 06:46:12 +00:00
Jörg Mayer 0fda991f45 First try to install docbook stuff as well - not yet working
svn path=/trunk/; revision=34896
2010-11-16 00:20:31 +00:00
Jörg Mayer 3f62247f78 Another unused function with MAIN_MENU_USE_UIMANAGER
svn path=/trunk/; revision=34895
2010-11-16 00:18:54 +00:00
Bill Meier c52500588e Use value_string_ext fcns to access several value_string arrays.
svn path=/trunk/; revision=34894
2010-11-15 23:53:25 +00:00
Martin Mathieson 43bfcfc32a Assert was firing while working out sequence length for user plane frames.
Treat signalling plane case separately.

svn path=/trunk/; revision=34893
2010-11-15 23:32:34 +00:00
Bill Meier 3c98cf2ebc Use value_string_ext fcns to access several value_string arrays.
svn path=/trunk/; revision=34891
2010-11-15 22:37:35 +00:00
Bill Meier 37742d97d8 Use value_string_ext fcns to access several value_string arrays.
svn path=/trunk/; revision=34890
2010-11-15 22:00:33 +00:00
Anders Broman e1b1ef192c "Fill" value_strings.
svn path=/trunk/; revision=34888
2010-11-15 21:32:27 +00:00
Anders Broman 4aef1cc2ed Use value_string ext for address family.
svn path=/trunk/; revision=34887
2010-11-15 21:05:03 +00:00
Jeff Morriss 313785c513 From Fred Fierling via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5395 :
The ZigBee security dissector was not recording the short to long address
mappings in Security Headers, preventing the decryption of some payloads. This
patch eliminates the Undecoded warnings in packets 1 and 19 in this test
capture: https://bugs.wireshark.org/bugzilla/attachment.cgi?id=5457

The keys to decrypt these packets are listed in the bug.

svn path=/trunk/; revision=34886
2010-11-15 20:52:41 +00:00
Jörg Mayer a7f7ada049 cmake stuff:
- Fix fallout from gtk/text_import_scanner.l patch: Wireshark will
  build with cmake again.
- Update README.cmake a bit
- Running "cmake -DUI_MANAGER=ON" will give you the new ui-manager.


svn path=/trunk/; revision=34885
2010-11-15 20:25:28 +00:00
Bill Meier 8548e16613 Use value_string_ext fcns to access a value_string array.
svn path=/trunk/; revision=34884
2010-11-15 19:46:07 +00:00
Bill Meier 0f286bbb89 Use value_string_ext fcns to access a value_string array.
svn path=/trunk/; revision=34883
2010-11-15 19:15:34 +00:00
Bill Meier b1554fc198 Use value_string_ext fcns to access certain value_string arrays;
Whitespace cleanup.

svn path=/trunk/; revision=34882
2010-11-15 19:08:12 +00:00
Bill Meier ed7105e21b Update package_name_vals[] value_string array:
- Add new entries based on: http://www.iana.org/assignments/megaco-h248 last updated 2010-10-01;
- Fix a typo (incorrect value for an entry);
- Switch values between two entries to match the IANA list;
- Switch two entries so list is in ascending order by value.

svn path=/trunk/; revision=34881
2010-11-15 19:00:16 +00:00
Jeff Morriss 987e35df39 From Gerhard Gappmeier via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5406 :
I attached a patch which fixes some problems in the array handling of OPC UA 
data when the array length is zero or -1 which is a Null-Array.

svn path=/trunk/; revision=34880
2010-11-15 18:52:41 +00:00
Jaap Keuter 1009be2c17 Skip reserved word in ANCP OAM-Loopback-Test-Parameters TLV.
svn path=/trunk/; revision=34879
2010-11-15 18:28:36 +00:00