Commit graph

22450 commits

Author SHA1 Message Date
Ulf Lamping
2a8f9b4c99 check version of each block and don't try to dissect a block if the version is not as expected (to avoid "miss-dissections")
svn path=/trunk/; revision=23064
2007-10-03 18:02:27 +00:00
Ulf Lamping
474bdf9687 fix some comments and sort functions by functionality
svn path=/trunk/; revision=23063
2007-10-03 17:59:33 +00:00
Ulf Lamping
0e400cafb4 update to changes in the source files
svn path=/trunk/; revision=23062
2007-10-03 17:57:57 +00:00
Sake Blok
a4decea55b Fixes reassembly of chunked http-responses spanning multiple tcp segments
(bugs 1581,1851 and 1868)


svn path=/trunk/; revision=23061
2007-10-03 17:07:19 +00:00
Stig Bjørlykke
f95de28c72 Updated scsi_verdesc_val from appendix D in spc-3.
Dump Inquiry Vendor Specific and Reserved fields as bytes.
(still missing dumping of Clocking/QAS/IUS bits)

svn path=/trunk/; revision=23060
2007-10-03 16:22:50 +00:00
Stig Bjørlykke
05043ca65d Use correct offset for sccs, bque and reladdr flags.
svn path=/trunk/; revision=23059
2007-10-03 15:00:58 +00:00
Sake Blok
a592e6412c This patch adds two new column types:
- COL_REL_CONV_TIME which is used to display the time relative to the first frame that was seen in the conversation
- COL_DELTA_CONV_TIME which is used to display the delta time from the previous frame of the conversation

It also adds the function "col_set_time()" to "epan/column-utils.[ch]" which can be called from within a dissector to set either of these two columns to the appropiate time.

Last but not least, it lets the tcp-dissector make use of these two columns.


svn path=/trunk/; revision=23058
2007-10-03 14:02:08 +00:00
Ronnie Sahlberg
022aaeb39d make the sbus dissector nwe-style and make it check that the packet does
indeed look like sbus before taking it.


this fixes bug 1871


svn path=/trunk/; revision=23057
2007-10-02 22:04:07 +00:00
Ronnie Sahlberg
170e4f4945 bug 1872
from chris maynard  fix some filter names for ansi_a


svn path=/trunk/; revision=23056
2007-10-02 21:26:22 +00:00
Ronnie Sahlberg
6ae363197c ifdef out a function that is not yet used
svn path=/trunk/; revision=23055
2007-10-02 21:21:55 +00:00
Anders Broman
3b092feb84 Fix comments
svn path=/trunk/; revision=23054
2007-10-02 20:28:11 +00:00
Anders Broman
9c15d7eca9 Dissect more IE's
svn path=/trunk/; revision=23053
2007-10-02 20:09:15 +00:00
Stig Bjørlykke
253eb0efb3 Check return value from ptvcursor_add in an attempt to fix bug 1886.
svn path=/trunk/; revision=23052
2007-10-02 19:02:58 +00:00
Stig Bjørlykke
37dc09ec79 Use given length when decoding fhandles as unknown.
svn path=/trunk/; revision=23051
2007-10-02 16:46:49 +00:00
Stig Bjørlykke
675b312626 Added a missing break - fixing bug 1890.
svn path=/trunk/; revision=23050
2007-10-02 16:27:52 +00:00
Stig Bjørlykke
727d42fa9b Do not indicate bogus length if inside an icmp.
svn path=/trunk/; revision=23049
2007-10-02 15:46:17 +00:00
Jeff Morriss
46d3565179 Make the CPFI dissector new style: return 0 in several cases (including if we don't have MAC addresses for the packet) to give other dissectors a chance to dissect the packet. I rearranged the code quite a bit here and don't have a sample capture to test against: hopefully I didn't break anything.
svn path=/trunk/; revision=23048
2007-10-02 14:45:20 +00:00
Tomas Kukosa
bf538397a9 review and update list of TLS cipher suites
svn path=/trunk/; revision=23047
2007-10-02 09:26:28 +00:00
Ronnie Sahlberg
3c17f41224 coverity 263 check if variable is null before dereferencing it
svn path=/trunk/; revision=23046
2007-10-02 08:33:38 +00:00
Ronnie Sahlberg
880bab108c remove a test for null that we dont need since the variable can not be
null at this point


svn path=/trunk/; revision=23045
2007-10-02 08:27:39 +00:00
Ronnie Sahlberg
cca87411fa get rid of a check for null we dont need
coverity 257


svn path=/trunk/; revision=23044
2007-10-02 08:21:25 +00:00
Tomas Kukosa
0f31c30b4b support of 'ANY DEFINED BY' from X.208 which is obsolete but still used in some RFCs
svn path=/trunk/; revision=23043
2007-10-02 06:52:11 +00:00
Ulf Lamping
a8b2f589e9 be a bit more verbose, if the name given to register_dissector_table() is not unique (e.g. because of a buggy/duplicated plugin)
svn path=/trunk/; revision=23042
2007-10-02 05:07:13 +00:00
Ulf Lamping
c3131594a8 update to latest IEC draft
svn path=/trunk/; revision=23041
2007-10-02 05:04:35 +00:00
Bill Meier
adce7d882d Add 'C' as a valid -N option in error message.
svn path=/trunk/; revision=23040
2007-10-01 00:22:39 +00:00
Ronnie Sahlberg
b8d35143d8 change dissect_radius() to become a new-style dissector that can reject
packets that doesnt look like valid radius.

verify that a packet is radius by checking that the command code is 
known and also that the length is between 20 and 4096 bytes

move the tap data to be ep_allocated instead of a static global variable

dont use tvb_memcpy() to read a structure off the wiredata
use tvb_get_...    to unmarshall the fields explicitely



this fixes bug 1634

svn path=/trunk/; revision=23039
2007-09-30 23:14:18 +00:00
Ronnie Sahlberg
927bf43d09 update filter fields for bug 1803
svn path=/trunk/; revision=23038
2007-09-30 22:34:19 +00:00
Guy Harris
61e8c424b3 "get_compiled_version_info()" appends to the string text starting with
"with", so we shouldn't put our own "with" in there.

svn path=/trunk/; revision=23037
2007-09-30 22:34:15 +00:00
Guy Harris
58585ac5c5 Clean up indentation.
"time_t" is not guaranteed to be an "unsigned long"; when printing it
with %lu, cast it to "unsigned long".

The "secs" field of a wtap_nstime, however, *is* defined to be a time_t;
there's no need to cast it to time_t.

svn path=/trunk/; revision=23036
2007-09-30 22:13:38 +00:00
Stig Bjørlykke
4245058b58 Try xdg-open before htmlview.
svn path=/trunk/; revision=23035
2007-09-30 10:07:56 +00:00
Guy Harris
a3b70ff0da From Stéphane Loeuillet: patches to fix problems with the .desktop files
found by desktop-file-validate:

  wireshark.desktop: warning: value "" for key "Path" in group "Desktop Entry"
  does not look like an absolute path
  wireshark.desktop: warning: value "GNOME;Application;Network;" for key
  "Categories" in group "Desktop Entry" contains a deprecated value
  "Application"

  wireshark-root.desktop: warning: key "Encoding" in group "Desktop Entry" is
  deprecated
  wireshark-root.desktop: warning: value "" for key "Path" in group "Desktop
  Entry" does not look like an absolute path
  wireshark-root.desktop: warning: value "GNOME;Application;Network;" for key
  "Categories" in group "Desktop Entry" contains a deprecated value
  "Application"

svn path=/trunk/; revision=23034
2007-09-30 00:18:44 +00:00
Guy Harris
1c5db4d638 Wireshark builds with 10.4's X11 as well.
svn path=/trunk/; revision=23033
2007-09-30 00:03:38 +00:00
Guy Harris
115c3de229 Include DragonFly BSD in the list of BSDs to which this applies.
Add information on how to set the mode, owner, and/or group of the BPF
devices in FreeBSD with devfs.

svn path=/trunk/; revision=23032
2007-09-29 23:42:45 +00:00
Sake Blok
a2778dcb27 When reading NetScreen snoop output, only use WTAP_ENCAP_PER_PACKET
if there are packets with different encapsulationtype in the file.
Otherwise use the encapsulationtype of the packets in the file. 

This makes it possible to save the imported data as libpcap file
(or any other format that does not support per-packet encapsulation).

svn path=/trunk/; revision=23031
2007-09-29 07:55:25 +00:00
Guy Harris
53e74d7931 Get rid of a forward declaration of a routine that no longer exists.
svn path=/trunk/; revision=23030
2007-09-29 02:27:04 +00:00
Guy Harris
8e87bd423f "pinfo->match_string" is a "const char *"; save it into a variable of
the same type - that makes compilers much happier.

svn path=/trunk/; revision=23029
2007-09-29 02:20:17 +00:00
Guy Harris
30e64a2528 Update to reflect that we're using libsmi, not Net-SNMP.
svn path=/trunk/; revision=23028
2007-09-29 02:10:25 +00:00
Guy Harris
5f9d1e28e6 Fix typo.
svn path=/trunk/; revision=23027
2007-09-29 02:05:31 +00:00
Guy Harris
81db68f38f Clean up indentation a bit.
Count packets even if we're not dissecting them.

svn path=/trunk/; revision=23026
2007-09-29 02:05:09 +00:00
Guy Harris
322d44d416 Make the "-Z" argument to dumpcap take an argument that's the file
descriptor to use as the sync pipe.  For now, always pass 1, so the sync
pipe is the standard output of dumpcap.

svn path=/trunk/; revision=23025
2007-09-29 01:36:03 +00:00
Guy Harris
6d065e2eb2 Don't hardcode the notion that the sync pipe is the standard output into
sync_pipe_errmsg_to_parent(); have it take the FD for the sync pipe as
an argument.

svn path=/trunk/; revision=23024
2007-09-29 01:15:11 +00:00
Guy Harris
343fa12c82 The fork_child argument to sync_interface_stats_close is unused on UN*X.
svn path=/trunk/; revision=23023
2007-09-29 01:14:16 +00:00
Guy Harris
72eed77ed7 We don't use NetSNMP any more.
svn path=/trunk/; revision=23022
2007-09-29 01:01:02 +00:00
Guy Harris
ea22a35acd We don't use NetSNMP any more.
svn path=/trunk/; revision=23021
2007-09-29 00:58:20 +00:00
Gerald Combs
9c7e0b2e25 Support Solaris along with Windows.
svn path=/trunk/; revision=23020
2007-09-28 23:40:51 +00:00
Mike Duigou
fc975182fe Improves dissection of JXTA traffic from http connections.
Improved address display in packet summary panes.

more options for jxta pdu filtering by addresses.

svn path=/trunk/; revision=23019
2007-09-28 20:53:56 +00:00
Jaap Keuter
f2bc8dd002 Why do I have to enable the Bytes View to see the (start of) data of the Data dissector?
Adding the data as a subtree to the Data dissector.

svn path=/trunk/; revision=23018
2007-09-28 19:16:05 +00:00
Mike Duigou
2697adeda4 Special casing is no longer necessary for formatting of AT_STRINGZ in col_set_addr() as
address_to_str_buf() does now take COL_MAX_LEN as a parameter.

Add support for AT_URI to col_expr for addresses in col_set_addr(). The field names are "uri.src" and "uri.dst".


svn path=/trunk/; revision=23017
2007-09-28 19:00:45 +00:00
Mike Duigou
6aeb75c3f0 Changes get_addr_name_buf() to use the more common convention where the provided buffer size is the entire size of the buffer including the space for the terminating \0
svn path=/trunk/; revision=23016
2007-09-28 18:23:59 +00:00
Bill Meier
f4e9824c46 Add error checking for fwrites; replacement for the 2nd of the patches provided in bug #1864
svn path=/trunk/; revision=23015
2007-09-28 17:22:03 +00:00