Commit Graph

8127 Commits

Author SHA1 Message Date
Guy Harris 6fa81431b9 From Tomas Kukosa: export the PER dissection routines, and some
H.225/H.245 routines, to plugins on platforms where they have to go
through the function call table.

svn path=/trunk/; revision=8220
2003-08-23 08:23:24 +00:00
Guy Harris 99c609e333 From Tomas Kukosa: export the PER dissection routines, and some
H.225/H.245 routines, to plugins on platforms where they have to go
through the function call table.

svn path=/trunk/; revision=8219
2003-08-23 07:35:50 +00:00
Guy Harris e045533feb The Python 1.5.2 I have installed didn't seem to like "+=", so use "x =
x + y" instead.

svn path=/trunk/; revision=8218
2003-08-23 07:34:31 +00:00
Guy Harris 51282e83df _U_ is for definitions, not declarations; putting it there caused a
compiler problem when rebuilding the X* files for the plugin API.

svn path=/trunk/; revision=8217
2003-08-23 07:31:02 +00:00
Guy Harris f4902f4ade From Tomas Kukosa: export the PER dissection routines, and some
H.225/H.245 routines, to plugins on platforms where they have to go
through the function call table.

svn path=/trunk/; revision=8216
2003-08-23 07:23:21 +00:00
Guy Harris 555652a37f Add a dissector table for RTP payload types, and have dissectors
register themselves in that table rather than exporting their dissectors
by name and having the RTP dissector know about particular dissectors
for particular payload types.

svn path=/trunk/; revision=8215
2003-08-23 06:36:46 +00:00
Guy Harris 22b60d9812 The FreeTDS TDS document says that the first string in an RPC packet is
a procedure name.

svn path=/trunk/; revision=8214
2003-08-23 05:59:54 +00:00
Guy Harris c84fbf8359 If a Netlib message has "Not last buffer" set, flag it as such in the
Info column, to distinguish it from the message with the last buffer in
it.

svn path=/trunk/; revision=8213
2003-08-23 05:19:01 +00:00
Ronnie Sahlberg dac2eecaff From Niklas Ogren
the H263 dissector

svn path=/trunk/; revision=8212
2003-08-23 04:19:22 +00:00
Ronnie Sahlberg a3d8f21810 From Niklas Ogren
New Protocol: H.263   called and used by the RTP dissector

svn path=/trunk/; revision=8211
2003-08-23 04:18:18 +00:00
Guy Harris 8085ae57b1 Add the packet type name for the "Remote Procedure Call Packet" (which I
suspect refers to stored SQL procedures on the server, not to RPCs in
the traditional sense), and the beginnings of a routine to dissect those
packets (at least as seen in one capture).

Don't use "get_unicode_or_ascii_string()", as it really expects to be
used inside an SMB dissector, and wants arguments like the "bc"
argument.  Just use "tvb_fake_unicode()" and "tvb_get_string()",
instead.

If we're doing reassembly, and the PDU is split across segment
boundaries, return after setting the desegmentation offset and length,
don't just drive on and dissect the partial PDU.

svn path=/trunk/; revision=8210
2003-08-23 02:34:09 +00:00
Ronnie Sahlberg 47bd7df2a4 From Biot Oliver
Support in SMPP for GSM SMS and GSM CBS.
Reassembly of SMPP has also been fixed so that it now works.

svn path=/trunk/; revision=8209
2003-08-23 02:15:53 +00:00
Guy Harris 995285fd9c Rename "wiretap/file.c" to "wiretap/file_io.c", as some tools, such as
the MS Visual Studio debugger, get confused by two files with the same
name being in a program's source, even though they're in different
directories.

svn path=/trunk/; revision=8208
2003-08-22 19:07:45 +00:00
Guy Harris 8b22117e4c Sometimes Ethernet captures include an FCS at the end of the packet.
An Ethernet trailer is only needed to pad the packet to 60 bytes of
Ethernet header plus payload; if the packet has what appears to be a
trailer, and it's 4 or more bytes (i.e., long enough to include an FCS),
and the Ethernet frame was claimed to have 64 or more bytes (i.e., it
has at least an FCS worth of data more than the minimum 60 bytes),
assume that the last 4 bytes of the frame were an FCS.

svn path=/trunk/; revision=8207
2003-08-21 21:05:30 +00:00
Guy Harris f695468fa2 From Tomas Kukosa: allow subdissectors to be registered for
NonStandardParameter data in the H.245 dissector.

svn path=/trunk/; revision=8206
2003-08-21 18:00:22 +00:00
Guy Harris 1208c206f7 From Lars Roland:
A scrollable GtkCList is used now for both GTK1 and GTK2.

	Removed "overall" line from statistics table. It is not useful.

	"Response Time Delay" was renamed into "Service Response Time".

	Menu Item moved to "Service Response Time" folder.

	As Ronnie suggested, the active display filter is now used as
	default statistics filter.

svn path=/trunk/; revision=8205
2003-08-21 17:48:04 +00:00
Guy Harris 8e63c3ba66 Label the Count field in a Write AndX response as such, rather than as
"Data Length".

Fix some low-16-bits-of fields to have "_low", rather than "_high", at
the ends of their names.

svn path=/trunk/; revision=8204
2003-08-21 08:18:09 +00:00
Guy Harris 1ee1b5a582 Align the --with-pcap help message with other help messages.
svn path=/trunk/; revision=8203
2003-08-21 07:25:22 +00:00
Guy Harris a27ef6ace9 Fix up --with messages that include square brackets.
Put --with-plugins on the left margin, as the rest of the messages are.

svn path=/trunk/; revision=8202
2003-08-21 07:20:56 +00:00
Guy Harris 8ee80cf603 Note that the "=DIR" argument to "--with-adns" is optional.
svn path=/trunk/; revision=8201
2003-08-21 07:17:09 +00:00
Guy Harris cd017c62ab Note that the "=DIR" argument to "--with-ssl" and "--with-adns" is
optional.

svn path=/trunk/; revision=8200
2003-08-21 07:13:54 +00:00
Guy Harris 0d12a3aec7 Fix up --with messages that include square brackets.
Put --with-plugins on the left margin, as the rest of the messages are.

Fix up the description of --with-net-snmp.

svn path=/trunk/; revision=8199
2003-08-21 07:06:48 +00:00
Guy Harris d4c0daceee The MaxCountHigh field in a READ_ANDX is given as a ULONG, i.e. 32 bits,
in the SNIA CIFS spec, although it's probably a 16-bit MaxCountHigh and
a 16-bit reserved field (it's a 32-bit timeout field in an earlier SMB
spec).

Call the MaxCount and MaxCountHigh fields in a READ_ANDX "Max Count Low"
and "Max Count High", rather than "Data Length Low" and "Data Length
High".

svn path=/trunk/; revision=8198
2003-08-21 05:42:47 +00:00
Guy Harris ea62b178d2 Don't do a check inside an AC_MSG_CHECKING/AC_MSG_RESULT pair - the
output looks bad if you do.  Split the check for "should I check for an
SNMP library?" into "should I check for NET-SNMP?" and "should I check
for UCD SNMP?" (which makes sense because they're controlled by
different configure script options).

svn path=/trunk/; revision=8197
2003-08-20 22:05:08 +00:00
Ronnie Sahlberg 09179e8820 The length and offset for large file support for LockingAndX was broken.
We treated this as just a normal 64bit integer in LittleEndian format.
However, this is actually 2   32 bit integers, each in LittleEndian format
but the two 32 bit fields are stored in BigEndian format relative to each other.

Since we dont do 64 bit aritmetic I had to convert the field to FT_STRING as well
so sorry, no creative len>xxx    filters anymore.   but at least we present
the data in the correct way in the tree pane.

We didnt see this one earlier since most locking_andx requests are probably for offset : 0   and length: -

Funnily enough it seems that certain popular commercial products have the same bug as ethereal had up until 5 minutes ago.

svn path=/trunk/; revision=8196
2003-08-20 10:32:23 +00:00
Richard Sharpe 68d7f5d47f packet-dcerpc-lsa had some idea that EnumDomainsEx had a funny NDR rep for
the array of domain info stuff returned. Removing the offending bit
fixed the dissection, at least of a capture we have.

svn path=/trunk/; revision=8195
2003-08-20 00:09:36 +00:00
Guy Harris 23f105da58 Construct the About box ourselves, so it has the title "About Ethereal"
and doesn't have a message-box-type icon.

This might want to be tweaked further, to more closely resemble various
desktop environments' About boxes (although what's appropriate might
depend on the environment).

svn path=/trunk/; revision=8194
2003-08-19 20:35:33 +00:00
Guy Harris ce24750abc Void functions don't return values, even though GCC likes to pretend
that they do.

svn path=/trunk/; revision=8193
2003-08-19 18:30:44 +00:00
Ronnie Sahlberg 4ea90cdabc Update to the Response Time Statistics taps.
SMB/FC/ONC-RPC/DCE-RPC now all use the default tap filter string as the
same filter string as is used in the main window instead of using a default
NULL filter string.

The idea is that if you have applied a certain filter to your main window, it
is likely that if you want to invoke the response time statistics feature you
probably want to do the response time statistics over the same set of packets, i.e. the ones you see in the main window.

svn path=/trunk/; revision=8192
2003-08-19 10:09:20 +00:00
Ronnie Sahlberg 4ee16a83eb Update to the SMB dissector so that the HighLen 16 bit integer is decoded
instead of as being represented as RESERVED.
This updates the ReadAndX and WriteAndX calls and replies.

This should really try to keep track of the negotiation of the conversation to make sure we only do it for those sessions where LARGE file io has been negotiated.  Currently it does it for all Read/Write AndX calls.
It is probably safe to do so since for those clients where this is not supported these bytes are RESERVED and MBZ anyway.

svn path=/trunk/; revision=8191
2003-08-19 09:58:54 +00:00
Guy Harris 6f4508de8c Define GCC_GLIB_CFLAGS as a GCC equivalent of GLIB_CFLAGS, and use it
instead of -I$(GLIB_DIR) when running GCC to generate the xyzzy file, so
that the right -I flags are used.

svn path=/trunk/; revision=8190
2003-08-19 02:16:26 +00:00
Guy Harris b24a5b39af Get plugins/README.interface into the source tarball.
svn path=/trunk/; revision=8189
2003-08-18 21:43:21 +00:00
Ronnie Sahlberg 710f08b09f From Richard Urwin a great enhancement to the color filter dialogue to
make it possible to import/export color filters

svn path=/trunk/; revision=8188
2003-08-18 21:27:11 +00:00
Guy Harris 7e212dd179 Check in Xass-list, so the CVS tree can be built on Windows without
having GCC.

Check in updated versions of the other X* files.

svn path=/trunk/; revision=8187
2003-08-18 20:21:19 +00:00
Guy Harris e7c8d1f5a0 From Matthijs Melchior:
move the initialization of the addresses in the plugin interface
	structure from run-time to link time;

	don't attempt to rebuild the X* files automatically, just warn
	that they're out of date and show the command used to rebuild
	them (not everybody has GCC installed, but it's required in
	order to rebuild them).

Get rid of the checked-in Xepan_plugins.c, as it's no longer generated
or used.

Fix Makefile.am now that Xepan_plugins.c has been replaced by Xass-list.

Give plugin_gen.py an RCS ID.

svn path=/trunk/; revision=8186
2003-08-18 20:17:55 +00:00
Guy Harris 8649fcf232 From Gisle Vanem: MingW declares "rint()" in <math.h> and defines it in
a library, and declares "mode_t" in <sys/types.h>.

svn path=/trunk/; revision=8185
2003-08-18 18:41:25 +00:00
Guy Harris 718b853b53 From Gisle Vanem: <ws2tcpip.h> is needed for INET6 code in epan/resolv.c
(at least with MingW + gcc 3.3.1).

svn path=/trunk/; revision=8184
2003-08-18 18:40:10 +00:00
Guy Harris c927dec391 Add checks for read errors in "read_prefs()".
svn path=/trunk/; revision=8183
2003-08-18 18:35:21 +00:00
Guy Harris 908dcdf491 From Tony Lindstrom: updates of DHCPV6 dissector to
draft-ietf-dhc-dhcpv6-28,
draft-ietf-dhc-dhcpv6-opt-prefix-delegation-04, and
draft-ietf-dhc-dhcpv6-opt-dnsconfig-03, and addition of NIS and time
configuration option drafts draft-ietf-dhc-dhcpv6-opt-nisconfig-02 and
draft-ietf-dhc-dhcpv6-opt-timeconfig-02.

svn path=/trunk/; revision=8182
2003-08-18 18:20:11 +00:00
Guy Harris 3098690bfc From Greg Morris: SRVLOC-over-TCP support.
svn path=/trunk/; revision=8181
2003-08-18 18:06:06 +00:00
Gerald Combs 1a749a84c5 Change a NULL to an empty string in order to appease "[t]ethereal -G fields".
svn path=/trunk/; revision=8180
2003-08-18 01:40:16 +00:00
Ronnie Sahlberg f7a26c1bed Prettifying the RPC and NFS (v3) layer.
Add more text to the COL_INFO line as well as the protocol trees for NFS and RPC

svn path=/trunk/; revision=8179
2003-08-17 21:34:22 +00:00
Ronnie Sahlberg a6d080537b Update to SMB
Change the AndX command fields  to only place a filterable field in the tree when smb.cmd is NOT 0xff
If smb.cmd is 0xFF just place a text entry in the field instead.

This makes it more intuitive for users that try to use filters such as
smb.cmd!=0xXY   since the filter will no longer behave "unexpectedly" and fail to filter out any of the AndX commands.

Yes,   they should really use !smb.cmd==0xXY instead but one cant explain this to every single user.

I dont think anyone would ever want to filter for smb.cmd==0xFF anyway

svn path=/trunk/; revision=8178
2003-08-17 21:21:50 +00:00
Ronnie Sahlberg efaebc3ded Update authors with the author of h225 h245 and the per support
svn path=/trunk/; revision=8177
2003-08-17 21:16:06 +00:00
Guy Harris 36aabc7c1d From Erwin Rol:
Update e-mail address.

	Register the ARP dissector, as the RT-Net dissector tries to
	find it.

svn path=/trunk/; revision=8176
2003-08-17 01:05:21 +00:00
Guy Harris add318fc93 From Shiang-Ming Huang: STUN (RFC 3489) support.
svn path=/trunk/; revision=8175
2003-08-17 00:54:25 +00:00
Guy Harris e956aac299 Sigh. I think I once tried making the last argument to "col_set_str()"
be a "const gchar *", and it ended up being like pulling a thread out of
a sweater - more things had to change, which meant still more things had
to change, and I might've even run into something that didn't change
very well at all.  (Or perhaps that was constifying something else.)

For now, we just cast away the constness in calls to "col_set_str()";
the column code won't actually overwrite the string.

svn path=/trunk/; revision=8174
2003-08-17 00:52:03 +00:00
Guy Harris bf258889fb From Joakim Wiberg: various fixes and cleanups, including fixes to
malformed packets caused by unconnected send and support for connected
class 3 data.

svn path=/trunk/; revision=8173
2003-08-16 01:53:41 +00:00
Guy Harris 45208cd1d5 From Ronnie Sahlberg: patch to set up conversations to use RTP and RTCP
based on H.245 information.

svn path=/trunk/; revision=8172
2003-08-16 00:51:04 +00:00
Guy Harris 1c66a793f3 There's no such function as "delete_giop_user_module()", so don't put it
in the list of exported functions.

svn path=/trunk/; revision=8171
2003-08-16 00:38:28 +00:00