Commit Graph

8097 Commits

Author SHA1 Message Date
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
Guy Harris cf51d8d4c6 As suggested by Georg von Zezschwitz, check whether all the bytes of the
URI are present before processing it, to catch bogus length values.

svn path=/trunk/; revision=8099
2003-07-29 21:30:32 +00:00
Guy Harris 98450e967d Use GLib's macros for converting from host byte order to little-endian.
svn path=/trunk/; revision=8098
2003-07-29 20:50:39 +00:00
Guy Harris 98909d9045 Clean up argument names.
svn path=/trunk/; revision=8097
2003-07-29 20:49:32 +00:00
Guy Harris 2a679c88f8 Use GLib's macros for converting from host byte order to little-endian.
svn path=/trunk/; revision=8096
2003-07-29 20:41:19 +00:00
Guy Harris 27022f52e4 Don't free "wdh->dump.opaque" in the close routine - "wtap_dump_close()"
does it for you.

"wdh->dump.opaque" should never be null, so unconditionally call
"lanalyzer_dump_header()".

svn path=/trunk/; revision=8095
2003-07-29 20:30:00 +00:00
Guy Harris cbd5c2a47d Use "guint16" and "guint32" for items in data records, rather than
"unsigned short", "unsigned int" (or "int", as the items appear to be
unsigned), or "unsigned long".

Convert data to and from the appropriate byte order.

Don't free the private data structure in the dumper's close routine -
"wtap_dump_close()" does that for you.

svn path=/trunk/; revision=8094
2003-07-29 20:26:34 +00:00
Guy Harris 2240c0668d From Thierry Martin: support for reading files from Accellent 5Views LAN
agents.

svn path=/trunk/; revision=8093
2003-07-29 19:42:01 +00:00
Ronnie Sahlberg 27edcee365 fix minor bugs in h245 decoding
svn path=/trunk/; revision=8092
2003-07-29 08:59:14 +00:00
Ronnie Sahlberg 691221f2f7 Update PER so that the bit that indicates whether an extension is encoded or not
is displayed in the tree for CHOICE constructs when internal PER fields are displayed.

svn path=/trunk/; revision=8091
2003-07-29 07:57:22 +00:00