Commit Graph

7889 Commits

Author SHA1 Message Date
Tim Potter 05330d4ac9 Fix some unused parameter and function warnings.
svn path=/trunk/; revision=7981
2003-07-08 04:06:26 +00:00
Guy Harris e3f7c2bb89 %yynowrap forces "yywrap()" to be a macro that returns 1, so there's no
need to define "ascendwrap()" to return 1 - "ascendwrap()" is no longer
used.

svn path=/trunk/; revision=7980
2003-07-08 02:11:09 +00:00
Gilbert Ramirez ffb5f848c7 ntp.precision is a signed 8-bit integer, according to the code and to
RFC 2030. Make it an FT_INT8 field instead of FT_UINT8.

svn path=/trunk/; revision=7979
2003-07-08 01:52:19 +00:00
Guy Harris 64f3f56c6b From Aamer Akhter: PWE updates.
svn path=/trunk/; revision=7978
2003-07-08 00:46:26 +00:00
Guy Harris c664749b18 Typo fix, from Brad Hards.
svn path=/trunk/; revision=7977
2003-07-07 22:59:54 +00:00
Guy Harris 40a25a5519 From Darren Steele: fetch the delivery time from the correct offset.
svn path=/trunk/; revision=7976
2003-07-07 22:55:55 +00:00
Guy Harris 19e0e3dc85 From Brad Hards: Jabber client-to-server protocol support.
svn path=/trunk/; revision=7975
2003-07-07 22:48:55 +00:00
Guy Harris ecb79f8973 From Olivier Biot: use "fragment_add_seq_check()" so that we don't have
a problem with message IDs getting reused.

svn path=/trunk/; revision=7974
2003-07-07 22:42:11 +00:00
Guy Harris 924136d7d7 A couple of captures have been seen with the first (low-order) byte of
the network type being 1 and the byte after it being 2; we assume, for
now, that the network type is 1 byte, and that if the byte after it is
0, the network type is an NDIS type - 1, and if it's 2, it's an NDIS type.

svn path=/trunk/; revision=7973
2003-07-07 21:08:49 +00:00
Guy Harris 2bb321d981 Mark the "plugin_dir" argument to "proto_init()" as unused if we don't
have plugin support.  (Don't do so if we *do* have it, because if
"proto_init()" ever changes so that it doesn't use the argument even if
we have plugin support, we want a warning so we know that we should get
rid of that argument.)

svn path=/trunk/; revision=7972
2003-07-07 20:29:45 +00:00
Michael Tüxen d06dd8a3e9 Fixed a bug in the handling of DATA 1 and DATA 2 parameter handling
reported by Michael Lum.

svn path=/trunk/; revision=7971
2003-07-07 12:51:38 +00:00
Ronnie Sahlberg 634693b1f5 If we dont want the internal per stuff to be displayed,
dont put the object identifier length field in the tree.

svn path=/trunk/; revision=7970
2003-07-07 10:30:36 +00:00
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