Commit Graph

8127 Commits

Author SHA1 Message Date
Ronnie Sahlberg d516f11660 Attempt to decode GeneralString.
RFC2833 is a bit "unclear" but I guess this type is encoded
as first a length-determinant followed by the actual ascii data.

I belive the length-determinant is byte aligned in aligned-per so the entire
field is so.

at best, this is pure guesswork  but it does decode the single capture i do have containing GeneralString types properly.

Anyone interested are welcome to purchase and provide
proper h323 standard docs from itu-t and snail-mail them to me.
A random asn file from www.packetyzer.com together with the X.691 pdf file is
"difficult".

svn path=/trunk/; revision=7969
2003-07-07 10:22:59 +00:00
Ronnie Sahlberg 70d5abe409 minor updates
add a gboolean which controls whether the internal PER fields are to be displayed or not in the tree pane.

svn path=/trunk/; revision=7968
2003-07-06 11:11:41 +00:00
Ronnie Sahlberg a8b3756214 Small updates.
Replace dissect_h245_TransportAddress()  which was the generic decoder for the TransportAddress sequence  with several semi-identical routines that matches the name of the field (instead of the type).
This makes the presentation easier to read.

e.g.  Present this ip address as mediaChannel  which is the field name instead of as TransportAddress

svn path=/trunk/; revision=7967
2003-07-06 10:29:14 +00:00
Guy Harris 511b5486df From Gregory Stark: fix up the check for packets not in a given
connection to check for addresses and ports at the same time, rather
then checking the source addresses, destination addresses, and ports
separately, as the latter doesn't handle A:X->B:Y and B:X->A:Y both
being active connections.

svn path=/trunk/; revision=7966
2003-07-06 00:30:40 +00:00
Guy Harris a99b2c3b2b From Nathan Jennings: "g_list_remove_link()" doesn't free the list item
itself, so we leaked memory when freeing the interface list; in
"free_interface_list()", use "g_list_foreach()", calling a list free
routine, to free the data items in the list, and then use
"g_list_free()" to free the list.

Use "free_interface_list()" in "get_interface_list()" to free the list
if we have an error, as it now does what the code that use to be there
did.

svn path=/trunk/; revision=7965
2003-07-06 00:07:59 +00:00
Guy Harris 33bdfd46d7 From Lars Roland: load WinPcap *before* constructing the information
about library versions.

svn path=/trunk/; revision=7964
2003-07-04 23:50:10 +00:00
Ronnie Sahlberg 34772e0b82 work copy of a h245 dissector and PER dissection helper routines.
read the comment at the top of the file for instructions on how to activate it and what needs to be done.

svn path=/trunk/; revision=7963
2003-07-04 09:24:00 +00:00
Gilbert Ramirez 803619a6dd Use FLT_DIG and DBL_DIG from float.h to create printf-style print format
for FT_FLOAT and FT_DOUBLE values.

svn path=/trunk/; revision=7962
2003-07-04 03:41:00 +00:00
Tim Potter 8a8ea353c8 The Windows 2000 global catalog is LDAP on TCP port 3268, as per IANA assigned
port numbers document.

svn path=/trunk/; revision=7961
2003-07-03 01:52:11 +00:00
Guy Harris 69a9858068 From Olivier Biot:
Short Message reassembly;

	Preference to allow automatic decoding of Short Message data as
	CL-WSP if a Port Number UDH is present.

Use "%u" rather than "%d" for unsigned quantities.

Use "tvb_get_ntohs()" to fetch big-endian 16-bit quantities rather than
calling "tvb_get_guint8()" twice and reassembling yourself.

svn path=/trunk/; revision=7960
2003-07-02 21:10:50 +00:00
Tim Potter 5a0b626674 Dissect LDAPv3 search result references (s4.5.3 in rfc 2251).
svn path=/trunk/; revision=7959
2003-07-02 04:03:27 +00:00
Guy Harris e0666c0dd8 BSD AF_ values are generally given in decimal, not hex, so display them
as such.

svn path=/trunk/; revision=7958
2003-07-02 00:08:17 +00:00
Guy Harris 176d16241b From Christoph Wiest: redo MEGACO dissector to more fully parse
text-format messages.

svn path=/trunk/; revision=7957
2003-07-01 08:00:06 +00:00
Guy Harris 71fefcc0c4 From Adam Sulmicki: report the message type for accounting status
messages and accounting messages.

svn path=/trunk/; revision=7956
2003-07-01 03:59:11 +00:00
Guy Harris 57d229babe Make "cb_str_postprocess()" work like "cb_wstr_postprocess()" by using
"tvb_get_string()" rather than "tvb_format_text()".  (This fixes a
problem wherein we freed the return value of "tvb_format_text()", which
we should not do as "tvb_format_text()" doesn't dynamically allocate the
buffer it returns, but means that we don't handle non-printable
characters - but that's a problem with "cb_wstr_postprocess()" as well,
as "tvb_fake_unicode()" also doesn't handle non-printable characters
specially; we should fix the problem in *both* routines.)

svn path=/trunk/; revision=7955
2003-07-01 00:59:43 +00:00
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