Commit graph

8256 commits

Author SHA1 Message Date
Guy Harris
1f6c9444a0 From Ronnie Sahlberg: use conversations for messages with port numbers
and IP addresses specifying the addresses and ports for future RTP/RTCP
traffic.

svn path=/trunk/; revision=8149
2003-08-07 21:31:39 +00:00
Guy Harris
3098e57cec From Brad Hards: supply the full list of IP protocol numbers from IANA.
svn path=/trunk/; revision=8148
2003-08-07 21:08:07 +00:00
Guy Harris
3a9d1edd45 From Lo�c Minier: allow packets with no payload to participate in
reassembly, as the last packet of a fragmented WTP message can have a
payload length of 0.

svn path=/trunk/; revision=8147
2003-08-07 18:28:33 +00:00
Guy Harris
9a555293e9 Fix up the handling of end-of-line comments if there's white space
between a protocol name and a comment.

svn path=/trunk/; revision=8146
2003-08-07 01:05:06 +00:00
Guy Harris
8d6301800f Document the disabled_protos file and the fact that you can save the
list of disabled protocols.

svn path=/trunk/; revision=8145
2003-08-07 00:56:30 +00:00
Guy Harris
ddf6a8acf2 From Michael Lum: add the ability to have a preferences file containing
a list of disabled protocols, and to save that list from the Edit >
Protocols dialog box.

Add checks for read errors in "read_prefs()".

Clean up white space.

svn path=/trunk/; revision=8144
2003-08-07 00:41:28 +00:00
Guy Harris
b6aa3275fd As per Bernd Becker's suggestion, add "register_giop_user_module()" and
"delete_giop_user_module()" to the list of exported functions on
platforms where a run-time loaded module can't directly access functions
from the main program.

svn path=/trunk/; revision=8143
2003-08-06 18:16:21 +00:00
Guy Harris
cae5898ad4 Don't trust the payload length in SCTP DATA chunks to be bigger than the
data chunk header length.

Clean up white space.

svn path=/trunk/; revision=8142
2003-08-06 07:17:58 +00:00
Gerald Combs
d4fd7c6e93 Remove the reference to the nonexistent packet-lwres.h; it was tripping up
distcheck.

svn path=/trunk/; revision=8141
2003-08-06 03:04:24 +00:00
Guy Harris
e2bc6bed4d From Solomon Peachy: signal strength is signed, not unsigned.
svn path=/trunk/; revision=8140
2003-08-05 19:09:27 +00:00
Guy Harris
ea836cdc6a Fix up white space.
svn path=/trunk/; revision=8139
2003-08-05 17:45:52 +00:00
Guy Harris
1e59d59b62 From Tomas Kukosa:
use the codeset value;

	allow subdissectors for user-specific IEs, and for codesets, to
	be registered.

svn path=/trunk/; revision=8138
2003-08-05 17:39:23 +00:00
Guy Harris
e1c0d7eae4 From Lars Roland: get rid of "ip_to_str()", as it's just a copy of the
standard one in the Ethereal core, so that the plugin compiles on
Windows.

svn path=/trunk/; revision=8137
2003-08-05 17:12:07 +00:00
Guy Harris
11cf00c0ad From Lars Roland: make Makefile.nmake for lwres resemble the newer
Makefile.nmakes for other plugins, to make it build on Windows.

svn path=/trunk/; revision=8136
2003-08-05 17:09:54 +00:00
Guy Harris
2e5aa10e16 The source and destination networks are FT_IPXNET, not an integral type,
so use "proto_tree_add_ipxnet" routines, not "proto_tree_add_uint"
routines.

svn path=/trunk/; revision=8135
2003-08-05 05:45:04 +00:00
Guy Harris
38936362a6 Add the usual .cvsignore file.
svn path=/trunk/; revision=8134
2003-08-05 05:11:44 +00:00
Guy Harris
ff9a155db3 LWRES support, from Oleg Terletsky.
svn path=/trunk/; revision=8133
2003-08-05 05:09:37 +00:00
Guy Harris
d2e2149ff9 From Greg Morris: add support for case-insensitive full-text searches.
svn path=/trunk/; revision=8132
2003-08-05 00:01:27 +00:00
Guy Harris
a6e6a7a364 From Greg Morris, with some changes: add "ipx.net", "ipx.node", and
"ipx.socket" hidden fields, which appear both for the source and
destination addresses and socket numbers.

svn path=/trunk/; revision=8131
2003-08-04 23:55:39 +00:00
Guy Harris
f9ded39a63 From Lo�c Minier: if the field name for "x-wap.tod" is shown as a text
string, decode the value as a text string, as per 1.0, section 8.4.1.2
("Field Values"):

	If the field name is encoded in text format, textual values MUST
	be used.

svn path=/trunk/; revision=8130
2003-08-04 23:36:13 +00:00
Guy Harris
3d16d6a0c0 Register as a heuristic subdissector of SCTP.
Doing so obviates the need to register the dissector by name (that was
done to let the SCTP dissector explicitly call the SIP dissector), so
don't bother doing so.

svn path=/trunk/; revision=8129
2003-08-04 23:13:39 +00:00
Richard Sharpe
edd22d3cff Dissect some more set attr calls ...
svn path=/trunk/; revision=8128
2003-08-04 22:28:57 +00:00
Guy Harris
a1fec03a31 Allow hyphens in preference module names, as the WAP protocols have IANA
names, which include hyphens.

svn path=/trunk/; revision=8127
2003-08-04 17:32:46 +00:00
Gerald Combs
ddd408ad2f Build with Glib 2.0 and GTK+ 1.3 by default. Don't build with zlib 1.13.
Add minor updates to README.win32.

svn path=/trunk/; revision=8126
2003-08-04 14:34:17 +00:00
Guy Harris
0f9b1a0458 From Lars Roland: add support for GTK+ 1.3 with GLib 2.0 (the latest
GTK+ 1.3[.x]-for-Win32, which fixes several GTK+ problems, requires GLib
2.0, not GLib 1.3).

svn path=/trunk/; revision=8125
2003-08-04 08:10:33 +00:00
Guy Harris
29e5ea2e2a UCD SNMP sometimes puts newlines into the printable form of an SNMP
value; turn those newlines into spaces, as the text for a protocol tree
item shouldn't contain newlines (or tabs, or any other non-printable
characters).

svn path=/trunk/; revision=8124
2003-08-04 07:38:15 +00:00
Tim Potter
4ccbfa3edc Guy suggested that the dcerpc opnum value_string code could be simplified
somewhat.  Now the dynamic initialisation of the value_string is contained
in the value_string_from_subdissectors() function instead of being
distributed amongst the dcerpc dissectors.

svn path=/trunk/; revision=8123
2003-08-04 02:49:04 +00:00
Gerald Combs
77f0aa0103 Add packet-h245.h to the distribution.
svn path=/trunk/; revision=8122
2003-08-04 00:17:55 +00:00
Guy Harris
8fc984155e Add a heuristic dissector list for SCTP.
svn path=/trunk/; revision=8121
2003-08-02 01:00:06 +00:00
Ronnie Sahlberg
1777e3dd3a make h225 register detected h245 tcp ports so that h245 dissector is called.
it is currently done in a way too crude way,
when a h245 endpoint is found,  it calls dissector_add("tcp.port",...) and
thus registers it globally for this port for ALL ip addresses.

if someone knows how to change it to only register it for
<ipaddress><tcpport> instead, that would be much better.

svn path=/trunk/; revision=8120
2003-08-01 10:11:54 +00:00
Ronnie Sahlberg
618fff963a Fix bug on how the H.225 CS routines were registered so that H225 CS over Q931 now works
Still something wrong with NonStandardParameter,   I cant find why ethereal is
wrong but it misses misses one bit in the decoding causing malformed frames.
I cant see what is wrong when looking at the packets.   need furhter investigations.

Make h225 compile in as default

svn path=/trunk/; revision=8119
2003-08-01 09:16:47 +00:00
Guy Harris
90bf936ffa From Chris Heath: fix up the check for printable ASCII done on Windows
not to include DEL as printable ASCII.

Also change the check in strutil.c to do it by redefining "isprint()",
as is done in "gtk/gtkglobals.h", rather than by #ifdeffing the point at
which the test is done.

svn path=/trunk/; revision=8118
2003-08-01 01:39:01 +00:00
Guy Harris
14ffcc74bf From Tomas Kukosa: set FD_DEGRAGMENTED even if there's only one
fragment.

svn path=/trunk/; revision=8117
2003-07-31 21:55:22 +00:00
Guy Harris
c9abf6ddec From Tomas Kukosa: add "find_dissector_table()",
"dissector_get_port_handle()", "dissector_handle_get_short_name()",
"dissector_handle_get_protocol_index()", "new_register_dissector()", and
"new_create_dissector_handle()" to the list of APIs available to
plugins on platforms where plugins have to call core Ethereal routines
through pointers.

"extern"alize the remaining routines in "epan/packet.h".

svn path=/trunk/; revision=8116
2003-07-31 18:34:52 +00:00
Guy Harris
2808683c78 From Ruud Linders:
"UPDATE" is now a valid sip method;

	register the SIP decoder so it can be called from other
	protocols (i.e. SCTP).

svn path=/trunk/; revision=8115
2003-07-31 18:14:02 +00:00
Guy Harris
275c1a3a7e From Bernd Leibing: catch another place where we weren't checking
whether the domain name was null before putting it into the Info column.

svn path=/trunk/; revision=8114
2003-07-31 18:09:08 +00:00
Ronnie Sahlberg
e898c6c6a5 initial test h225 dissector.
not enabled yet by default.

to test it you have to edit the makefiles and recompile.
still buggy and incomplete but feel free to test it

svn path=/trunk/; revision=8113
2003-07-31 10:35:07 +00:00
Ronnie Sahlberg
66b0082777 Updated some restricted character set alphabets so that the characters are in the correct order.
svn path=/trunk/; revision=8112
2003-07-31 10:28:12 +00:00
Ronnie Sahlberg
3329a9d49f Updates to OCTET STRING so that it can handle FT_STRING and not just FT_BYTES
Added decoding of unicode strings in BMPString dissector helper

svn path=/trunk/; revision=8111
2003-07-31 10:26:36 +00:00
Guy Harris
5b04b9a4ff Give FT_IPv4 val_repr_len and val_to_repr methods, and use them for
generating display filters from FT_IPv4 fields.

svn path=/trunk/; revision=8110
2003-07-31 04:18:01 +00:00
Guy Harris
adf711d5fb Add val_repr_len and val_to_repr methods for FT_FLOAT and FT_DOUBLE, and
use them when generating display filters to match field values.  Use
"%{FLT_DIG}g" rather than "%{FLT_DIG}f" for FT_FLOAT.

svn path=/trunk/; revision=8109
2003-07-31 03:52:43 +00:00
Guy Harris
25adf89ed4 Fix a typo.
Wrap text to 80 columns.

Add myself to the authors list (e.g. for the portability section).

svn path=/trunk/; revision=8108
2003-07-30 23:18:55 +00:00
Guy Harris
b37514b435 Give FT_ABSOLUTE_TIME and FT_RELATIVE_TIME val_repr_len and val_to_repr
methods, and use them when constructing display filters.

svn path=/trunk/; revision=8107
2003-07-30 22:50:39 +00:00
Guy Harris
325203fb17 Escape double-quotes, while you're at it.
svn path=/trunk/; revision=8106
2003-07-30 22:25:35 +00:00
Guy Harris
bf3727b099 Escape backslashes in strings when generating the dfilter representation
of the string.

svn path=/trunk/; revision=8105
2003-07-30 22:20:04 +00:00
Guy Harris
2262452f35 Fix a typo.
Note that, inside double quotes, you must escape backslashes with
backslashes.

svn path=/trunk/; revision=8104
2003-07-30 22:08:45 +00:00
Guy Harris
657700ca0d "read_string()" can return a null pointer for the string, so check for
that.

svn path=/trunk/; revision=8103
2003-07-30 08:08:52 +00:00
Guy Harris
f5ecf9a22f Crude workaround for a deficiency in the MEGACO parser - it assumes that
all packets have an "=" in them, which TransactionResponseAcks do not.
Check some of the "tvb_find_guint8()" replies and give up if they return
-1.

svn path=/trunk/; revision=8102
2003-07-30 06:28:55 +00:00
Guy Harris
091a2ca7d9 Put "WTP" into the Info column for segmented invoke/result PDUs on which
we don't try to do reassembly, just as it's put in for other PDUs.

svn path=/trunk/; revision=8101
2003-07-29 22:10:18 +00:00
Guy Harris
8ba1ff5e28 From Georg von Zezschwitz: don't pass segments other than the first
segment of a segmented invoke or result to subdissectors.

Show the payload of fragments other than the one that finishes
reassembly.

svn path=/trunk/; revision=8100
2003-07-29 22:02:38 +00:00