Commit graph

7955 commits

Author SHA1 Message Date
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
Ronnie Sahlberg
76a6027bf6 Update ONC-RPC response time tap to use the new helper function
that displays the data using a CList.

Renamed RTT to SRT (Service Response Time)

svn path=/trunk/; revision=7904
2003-06-21 03:24:06 +00:00
Ronnie Sahlberg
dea1a0a6e4 Break out the code for the ahndling of the Service Response Time (formerly known as RoundTripTime) table and change the table into a scrollable
CList.

As a first conversion to use the helper routines, convert DCERPC SRT statistics to use the new interface.
This prevents some interfaces (SAMR/LSA) that contains a huge number of procedures from creating a huge table that does not fir on the screen.

Later changes to the helpers may be to make the different columns sortable
or to hide those procedures that has not been seen in the capture.

svn path=/trunk/; revision=7903
2003-06-21 01:42:46 +00:00
Ronnie Sahlberg
8d241c2d68 make snmp request id a filterable field instead of just a text entry
svn path=/trunk/; revision=7902
2003-06-19 10:25:10 +00:00
Guy Harris
30a40860d4 Squelch a compiler warning (for something that's potentially a real
problem).

svn path=/trunk/; revision=7901
2003-06-19 10:01:49 +00:00
Gerald Combs
0d7e581a03 From Markus Friedl: Add support for draft-ietf-ipsec-udp-encaps-06.txt.
svn path=/trunk/; revision=7900
2003-06-19 01:41:14 +00:00
Gerald Combs
e0cc9121ab Initialize di.hf_index in dissect_dcerpc_cn_rqst(). Alan Hood sent me a
fuzz-generated packet that made it all the way to proto_registrar_get_name()
without hf_index being initialized.

svn path=/trunk/; revision=7899
2003-06-19 01:22:03 +00:00
Guy Harris
9400764837 Handle Mac OS X calling libtool "glibtool" and calling libtoolize "glibtoolize".
svn path=/trunk/; revision=7898
2003-06-19 00:28:14 +00:00