Commit Graph

7862 Commits

Author SHA1 Message Date
Guy Harris 299f79c4f7 From Olivier Biot:
UDH dissection in SMPP message
	WTP and WSP dissection over SMPP (no reassembly)
	WSP status code rendering in Info column

svn path=/trunk/; revision=7954
2003-06-30 23:24:39 +00:00
Guy Harris dd544457db Get rid of a value_string table that's not used.
svn path=/trunk/; revision=7953
2003-06-30 21:58:41 +00:00
Guy Harris 862a1f0e4c Move definitions of value_string tables out of header files and into
source files, so that they're not defined in every file that includes
the header file, regardless of whether the file uses the table (in which
case it should be defined in one file, and externally referenced in
other files) or not (in which case it should't be defined in that file
at all).

Get rid of a boilerplate comment paragraph that doesn't apply.

svn path=/trunk/; revision=7952
2003-06-30 21:50:18 +00:00
Guy Harris 3fd9b8f6f4 Some versions of GDB create a ".gdb_history" file; ignore it in CVS.
svn path=/trunk/; revision=7951
2003-06-30 21:31:41 +00:00
Guy Harris bb71a25dd1 Fix a cut-and-pasteo.
svn path=/trunk/; revision=7950
2003-06-30 21:30:54 +00:00
Guy Harris 4cdfa9c59e From Lionel Ains:
don't assume that a dissector handle has a protocol associated
	with it (there's none for the "OSI network layer" dissector, for
	example, as that dissector hands off to one of several protocols
	based on the NLPID);

	rename a few functions to have names that better explain what
	they do;

	have separate functions to show all the layer types (dissector
	tables) and to show all the protocols supported for a layer
	type, and have both of them take, as an argument, the standard
	I/O stream to which they should write;

	improve the parser for the "-d" option to give more information
	on errors;

	fix up some comments.

svn path=/trunk/; revision=7949
2003-06-30 00:58:18 +00:00
Guy Harris 98e7c94dc1 Use the "rx_frm_len" field from the trace packet data record header,
rathe than the record length minus the record header length, as the
number of available (captured) bytes in the packet.  Check to make sure
that value isn't bigger than the record length minus the header length.

Only subtract the 4-byte FCS length from the purported length of the
packet on the wire if that would leave the on-the-wire length >= the
number of captured bytes, so that we can better handle capture files
from programs that produce LANalyzer-format captures where the
on-the-wire length *doesn't* include the FCS.

svn path=/trunk/; revision=7948
2003-06-30 00:41:33 +00:00
Ronnie Sahlberg e7e3fd7682 From Ian Schorr, limit the size of the (INFO) columns to prevent it from becoming
thousands of pixels wide.

Temporary fix until someone perhaps gets rid of the autoresize of columns completely.

svn path=/trunk/; revision=7947
2003-06-28 21:46:08 +00:00
Guy Harris 19568c0901 From Biot Olivier: get rid of unused value_string table, and allow WBXML
1.0 dissection.

svn path=/trunk/; revision=7946
2003-06-26 18:28:12 +00:00
Guy Harris 4343e18280 From Didier Gautheron: fix the rule to make "register.c" to work when
Python is used and the build is done outside the source tree.

svn path=/trunk/; revision=7945
2003-06-26 18:21:29 +00:00
Guy Harris 9aa02253c3 From Didier Gautheron: get rid of unused value_string table.
svn path=/trunk/; revision=7944
2003-06-26 18:18:21 +00:00
Ronnie Sahlberg 65f8689f97 Decoding of Messenger SendMessage function
svn path=/trunk/; revision=7943
2003-06-26 10:31:18 +00:00
Guy Harris 3dc8543628 From Tom Uijldert: fix some fields to use the appropriate value_string
tables.

svn path=/trunk/; revision=7942
2003-06-26 09:05:49 +00:00
Guy Harris 57e6b9d751 From Tom Uijldert: fix some fields to use the appropriate value_string
tables.

svn path=/trunk/; revision=7941
2003-06-26 08:55:27 +00:00
Guy Harris 8fdb55e9e6 Make the definition of "fc32_to_str()" match its prototype.
Make it have the usual collection of 3 static buffers, just in case
somebody decides to call it more than once in the same
printf-like-routine call.

svn path=/trunk/; revision=7940
2003-06-26 08:47:31 +00:00
Guy Harris a9af7329b8 Well, you need more than just an escaped # to handle the undef, so go
back to defining it as nothing.

svn path=/trunk/; revision=7939
2003-06-26 08:41:33 +00:00
Guy Harris 6189e0e871 From Anders Broman: don't use a bitmask for the CIC filter, the value
has already had the bits extracted.

svn path=/trunk/; revision=7938
2003-06-26 08:39:46 +00:00
Guy Harris f83233224a From Jeff Morriss: use various value_string tables for various ISNI
parameter fields.

svn path=/trunk/; revision=7937
2003-06-26 06:28:47 +00:00
Tim Potter 623f5b865d Dynamically create DCERPC opnum value_strings from the subdissector
list rather than duplicating this information in the dissector.  Some
of the opnum strings were starting to get out of date as developers
forgot to update the information in both places.

svn path=/trunk/; revision=7936
2003-06-26 04:30:31 +00:00
Guy Harris 599a7bfd39 In an SA Advertisement, fetch the scope list length before using it.
svn path=/trunk/; revision=7935
2003-06-25 23:27:56 +00:00
Guy Harris 9fa514388c GCC 3.3 noticed that checking whether the length of the slice is > 65535
is pointless, as it's a 16-bit unsigned quantity.  Remove those checks -
but note in a comment that WTAP_MAX_PACKET_SIZE must be at least 65535
(as there might well be link-layer types with packets at least that
large).

svn path=/trunk/; revision=7934
2003-06-25 17:35:17 +00:00
Laurent Deniel 4d94e1746f Echo packet dissector.
svn path=/trunk/; revision=7933
2003-06-25 13:42:18 +00:00
Ronnie Sahlberg 2c95c28f0e Service Response Time measurements and statistics for Fibre Channel
svn path=/trunk/; revision=7932
2003-06-25 11:15:34 +00:00
Ronnie Sahlberg 59433c81b7 MS Messenger stub dissector
svn path=/trunk/; revision=7931
2003-06-25 10:33:10 +00:00
Ronnie Sahlberg 740376fb69 Add a tap to the fibre channel dissector
svn path=/trunk/; revision=7930
2003-06-25 10:21:44 +00:00
Ronnie Sahlberg 37a5bff0fd Added new stub dissector for MS Messenger Service.
Anyone that knows either where doc can be found or which API that can generate
such calls are welcome to email me.

svn path=/trunk/; revision=7929
2003-06-25 10:06:50 +00:00
Guy Harris 0045ede557 Latest "config.guess" and "config.sub" from
ftp://ftp.gnu.org/gnu/config/

svn path=/trunk/; revision=7928
2003-06-25 09:09:27 +00:00
Guy Harris f808651b9e OK, try bringing back the #undef, now that we know how to escape the #.
svn path=/trunk/; revision=7927
2003-06-25 06:49:59 +00:00
Guy Harris 33b0b260ab As per the previous checkin, 0x08 bit means a *non*-locking shift, not a
locking shift; rename the #define for the bit.

svn path=/trunk/; revision=7926
2003-06-25 06:12:13 +00:00
Guy Harris c34733fff3 From Anders Broman: dissect the "parameter compatibility" parameter.
svn path=/trunk/; revision=7925
2003-06-25 04:27:51 +00:00
Gerald Combs ad59ab2353 Properly escape the '#' character in the HAVE_GNU_ADNS definition.
svn path=/trunk/; revision=7924
2003-06-24 18:51:21 +00:00
Ronnie Sahlberg 728d0bab44 Updates to the fibre channel dissector
removed two hf fields that are now redundant since F_CTL is decoded

placed most interesting header fields in a struct

added request response matching and measurement of delta time between the first and the last frame of an exchange.

todo:
1, finish restructure of decoding of fc header so that
it will populate the tree as it reads more data fields from the tvb
so that we can get useful info in the tree even for short frames.
2, add TAP to fc and pass the header struct and the time delta struct to
tap listeners
3, add ServiceResponseTime tap listener for FC

svn path=/trunk/; revision=7923
2003-06-24 15:37:31 +00:00
Guy Harris 1867f2ff24 From Motonori Shindo:
parse the WEP keys every time they're changed, not just when we
	start up;

	make the description of the WEP keys in the preference more
	accurate.

svn path=/trunk/; revision=7922
2003-06-24 06:23:05 +00:00
Guy Harris 4906ff281b From Tomas Kukosa: doubling the size of the line buffer when printing
isn't sufficient if the line to be printed is more than twice the
current size of the line buffer.  Make it twice the size of the line to
be printed, instead.

svn path=/trunk/; revision=7921
2003-06-24 06:14:46 +00:00
Guy Harris 0caeb12499 From Matthijs Melchior: when setting "eoc" in "asn1_bits_decode()", get
the offset from before the byte with the number of unused bits is
fetched, so that we count that byte.

svn path=/trunk/; revision=7920
2003-06-24 06:05:47 +00:00
Guy Harris 008dec8f04 From Tomas Kukosa:
1) Swap locking/non-locking shift IEs. It was used in wrong way. "0"
	   indicates locking  and "1" indicates non-locking shift.
	2) Return back to last locked codeset instead of codeset 0 after
	   non-locking shift.
	3) Handling of unknown single-octet IEs.

svn path=/trunk/; revision=7919
2003-06-24 05:58:32 +00:00
Guy Harris 17437c4bf9 Squelch some compiler warnings.
svn path=/trunk/; revision=7918
2003-06-24 05:54:41 +00:00
Ronnie Sahlberg bfea60b476 Update F_CTL decoding and show each individual bit and bitfield
make display filter entries for all of them

svn path=/trunk/; revision=7917
2003-06-23 13:09:12 +00:00
Ronnie Sahlberg 9e18043830 Update to FC to store the source and destination id in a guint
to make it easier to add matching and response times later.

svn path=/trunk/; revision=7916
2003-06-23 09:15:08 +00:00
Ronnie Sahlberg 8830208060 Update to the FC dissector: add a hidden fc.id field that matches either
the source or destination address
so that "fc.id==01:02:03 && fc.id==01.02.04"    will pick up all packets
between ..03 and ..04 regardless of which direction they go.

svn path=/trunk/; revision=7915
2003-06-23 08:45:08 +00:00
Jörg Mayer e0d4c9a309 Don't print warnings about not finding glibtool
svn path=/trunk/; revision=7914
2003-06-22 22:50:40 +00:00
Jörg Mayer f8355dc7cb Cosmetic change
svn path=/trunk/; revision=7913
2003-06-22 22:23:33 +00:00
Laurent Deniel 0afce7ca81 Ringbuffer rework.
Almost completely rewritten in order to:

- be able to use a unlimited number of ringbuffer files

  0 specified with -b argument or in the GUI, means that the number of file
  is unlimited.

  else the maximum number of ring buffer files is arbitrarily set to 1024.

- close the current file and open (truncating it) the next file at switch

- set the final file name once open (or reopen)

- avoid the deletion of files that could not be truncated (can't arise now)
  and do not erase empty files

The idea behind that is to remove the limitation of the maximum # of
ringbuffer files being less than the maximum # of open fd per process
and to be able to reduce the amount of virtual memory usage (having only
one file open at most) or the amount of file system usage (by truncating
the files at switch and not the capture stop, and by closing them which
makes possible their move or deletion after a switch).

svn path=/trunk/; revision=7912
2003-06-22 16:09:04 +00:00
Gerald Combs c150ac467b From Lars Roland: Fix the service response time functions to work with GTK2.
svn path=/trunk/; revision=7911
2003-06-22 04:00:21 +00:00
Ronnie Sahlberg 57105d45c4 Rewritten the Command/DataIn/DataOut/Response matching in iSCSI
so that it is reliable.
Put FT_FRAMENUMs for request-in, datain-in, data-out-in, response-in and time-from-request in the tree pane
and make all the responses have "iscsi.time" which is the time from the command.

By later passing this data down to the scsi dissectors we should be able to create taps and generate scsi service response time statistics.

...
the iscsi dissector should be cleaned up and use switch()case and subroutines instead of one gigantic if()else if() ...

svn path=/trunk/; revision=7910
2003-06-21 10:16:18 +00:00
Guy Harris 7af67bda82 "gtk_window_set_default_size()" takes a GtkWindow *, not a GtkWidget *,
as its first argument.

svn path=/trunk/; revision=7909
2003-06-21 09:50:19 +00:00
Ronnie Sahlberg 8165fcdfe8 Cosmetic bug.
When creating a new CList to display SRT stats,  make the DECEND arrow for
the second column be displayed since this is how the table will be sorted
by default

svn path=/trunk/; revision=7908
2003-06-21 06:45:49 +00:00
Ronnie Sahlberg b04d1323fc Update SMB statistics tap to use the new CList helper routines.
svn path=/trunk/; revision=7907
2003-06-21 06:40:48 +00:00
Ronnie Sahlberg 99addd9f7a Make the default sorting for the list be column 2 in descending order so we
get the rocedures with the most number of calls at the top.

Fix a bug added in previous checkin.
When the table can be sorted in different ways than just the procedure number sorted in ascending order, the row for a specific procedure may change everytime we drawi/sort the table.
Add code to keep track of which row a procedure is currently positioned at in the list so that we statistics are added to the correct entry.

svn path=/trunk/; revision=7906
2003-06-21 05:57:34 +00:00
Ronnie Sahlberg f97314ba3d Update the ServiceResponseTime helper routines so that the columns
can be sorted.

"borrowed" lots of code for this from gtkclist.c

Columns 0,1  sort in ascending order by default
Columns 2-5 sort in ascending order by default

svn path=/trunk/; revision=7905
2003-06-21 05:39:45 +00:00