Commit Graph

2552 Commits

Author SHA1 Message Date
Guy Harris 7271ed2894 Use "%u", not "%d", to print unsigned integral quantities.
The GIOP reply status is 4 bytes long, not 1 byte long.

Dissect the reply body for exceptions; the GIOP dissector used to do
that.

Add to the Info column the stuff that the GIOP dissector used to add
(request ID, etc.).

svn path=/trunk/; revision=2589
2000-11-09 10:50:59 +00:00
Gilbert Ramirez 2cb9d54620 Add MGCP dissector plugin from Ed Warnicke <hagbard@physics.rutgers.edu>.
svn path=/trunk/; revision=2588
2000-11-09 10:04:48 +00:00
Guy Harris f832ad5f8b If the packet doesn't have at least GIOP_HEADER_SIZE worth of data
available, don't try to create a tvbuff for the GIOP header - that'll
throw an exception before we even get to look at the packet to see if
it's a GIOP packet.  Instead, just return FALSE, as we don't have enough
data to determine whether it's a GIOP packet or not.

svn path=/trunk/; revision=2587
2000-11-09 09:15:40 +00:00
Guy Harris 718fe2b549 Move a "putchar('\n')" that caused an extra newline to be printed after
the protocol tree was printed.

svn path=/trunk/; revision=2586
2000-11-09 07:29:59 +00:00
Guy Harris 4b8ab0bb1a New EIGRP dissector, from Paul Ionescu.
svn path=/trunk/; revision=2585
2000-11-09 05:16:19 +00:00
Guy Harris 37ec8b1b32 Support for embedded newlines in SDP fields, from Robert Tsai.
svn path=/trunk/; revision=2584
2000-11-09 02:42:33 +00:00
Guy Harris b913b92354 Never hand a "char" or a "gchar" to any of the ctype.h macros; "char"
and "gchar" may be (and probably are) signed, meaning that if the
character has the 8th bit set (e.g., accented letters in ISO 8859/1),
they will get sign-extended when handed to an "is*" macro, and will thus
give bogus answers.

svn path=/trunk/; revision=2583
2000-11-08 22:18:04 +00:00
Guy Harris 5e31970900 Note that the current CVS version of libpcap from tcpdump.org doesn't
have, doesn't require, an "install-incl" Make target.

svn path=/trunk/; revision=2582
2000-11-08 21:33:33 +00:00
Guy Harris d5e479b3de Get rid of carriage returns; Windows compilers don't require them, and
some UNIX compilers don't like them.

svn path=/trunk/; revision=2581
2000-11-08 21:27:27 +00:00
Guy Harris 25a8575f8e Get rid of carriage returns; Windows compilers don't require them, and
some UNIX compilers don't like them.

svn path=/trunk/; revision=2580
2000-11-08 19:57:39 +00:00
Gerald Combs 3d8538d18e Fix type checking for the "i386" platform.
svn path=/trunk/; revision=2579
2000-11-08 03:54:12 +00:00
Gerald Combs d3422a91f5 Change zing.org addresses to ethereal.com.
svn path=/trunk/; revision=2578
2000-11-07 19:54:53 +00:00
Guy Harris f96d9f65fe GIOP 1.2 support and other GIOP enhancements, from Craig Rodrigues.
svn path=/trunk/; revision=2577
2000-11-07 07:46:22 +00:00
Nathan Neulinger 41281d38d5 forget to commit change w/ afs headers
svn path=/trunk/; revision=2576
2000-11-06 14:14:01 +00:00
Guy Harris 6d46509f9c Update to reflect the new style for plugin dissectors.
svn path=/trunk/; revision=2575
2000-11-06 09:56:10 +00:00
Guy Harris 96e6115530 Fix a typo.
svn path=/trunk/; revision=2574
2000-11-06 09:49:43 +00:00
Guy Harris 13a92d5410 In Tethereal, when printing summary lines, print the fields specified in
the preferences file, don't just print a wired-in list of fields.
Always print the time stamp.

svn path=/trunk/; revision=2573
2000-11-06 09:28:43 +00:00
Guy Harris 82917a0672 "plugin_reg_handoff()" is a symbol in the plugin that Ethereal has to
access, so it must be declared with DLLEXPORT so that it's exported on
Windows.

svn path=/trunk/; revision=2572
2000-11-06 08:44:05 +00:00
Guy Harris 7aad3fa543 AIM/OSCAR dissector, from Ralf Holzer.
svn path=/trunk/; revision=2571
2000-11-06 00:07:04 +00:00
Guy Harris 2d46c654d4 AIM/OSCAR dissector, from Ralf Holzer.
svn path=/trunk/; revision=2570
2000-11-05 23:45:59 +00:00
Olivier Abad 1fd4721d48 Allow a plugin to specify several underlying protocols (i.e. tcp and udp).
The protocol constant definition in the plugin must be :
DLLEXPORT const gchar protocol[] = "tcp udp";

svn path=/trunk/; revision=2569
2000-11-05 09:40:18 +00:00
Guy Harris 9bae9707d3 Make the RTCP, RTP, WSP, and WTP dissectors check whether their
protocols have been disabled.

Get rid of the "no tvbuff" dissectors for WSP and WTP - they're not used
(and shouldn't ever be used).

Make "dissect_wtp()" static, as it's not used outside "packet-wtp.c".

svn path=/trunk/; revision=2568
2000-11-05 09:30:11 +00:00
Olivier Abad 45fd4fec54 Allow a plugin to specify several underlying protocols (i.e. tcp and udp).
The protocol constant definition in the plugin must be :
DLLEXPORT const gchar protocol[] = "tcp udp";

svn path=/trunk/; revision=2567
2000-11-05 09:26:47 +00:00
Guy Harris 543ce8680a New-style plugins don't require a "desc" variable.
svn path=/trunk/; revision=2566
2000-11-05 09:09:29 +00:00
Guy Harris 1964cfddf6 Allow plugins to have, instead of "protocol" and "filter_string"
variables and a "dissector" routine, a "plugin_reg_handoff()" routine,
which will act just like the "reg_handoff()" routine of a non-plugin
dissector, registering the dissector with handoff tables.

This lets them plug into both TCP and UDP, or plug into protocols other
than TCP or UDP.

Those new-style plugin are enabled and disabled using the standard
"Edit->Protocols" mechanism (and thus should use
"OLD_CHECK_DISPLAY_AS_DATA()" or "CHECK_DISPLAY_AS_DATA()"); they don't
show up in the list of plugins, aren't enabled or disabled from that
list, and, as they don't have a filter, can't have the filter changed
from that list - instead, they should register preferences for port
numbers and the like if they should be configurable to use different
ports.

Make the Gryphon protocol a new-style plugin.

svn path=/trunk/; revision=2565
2000-11-05 09:05:00 +00:00
Guy Harris 3f4e41dc38 Patch from Craig Rodrigues to fix a call to "check_col()".
Fix a typo in a comment.

svn path=/trunk/; revision=2564
2000-11-05 07:14:40 +00:00
Richard Sharpe 8cda8a17c8 Fixing packet-ftp so we can search on ftp-data! To make it intuitive, the
protocol column lists the protocol as FTP-DATA.

svn path=/trunk/; revision=2563
2000-11-05 05:49:02 +00:00
Guy Harris f123a86b70 SIP dissector, from Heikki Vatiainen.
svn path=/trunk/; revision=2562
2000-11-04 07:50:47 +00:00
Guy Harris 76aa3d0a72 Fix the beginning comment to give the right file name.
svn path=/trunk/; revision=2561
2000-11-04 07:39:16 +00:00
Guy Harris bfdf5029f0 Microsoft Visual C++, unlike GCC, doesn't like it if you have no
statements whatsoever in a "case" or "default" clause; add a "break"
statement to keep it happy.  (Other compilers may also be less forgiving
than GCC.)

svn path=/trunk/; revision=2560
2000-11-04 07:38:19 +00:00
Guy Harris d23e1df0a7 One of the header files included by "packet-wsp.c", or one of the header
files one of those header files includes (compute transitive closure
here), appears to define DELETE, on Windows, in a fashion that causes
"packet-wsp.c" not to compile.  Undefine DELETE before using it as a
name for an enum value.

svn path=/trunk/; revision=2559
2000-11-04 07:35:17 +00:00
Guy Harris 8c6db228bf WAP support, from Neil Hunter.
svn path=/trunk/; revision=2558
2000-11-04 03:30:41 +00:00
Nathan Neulinger 50da6b7562 small fixes
svn path=/trunk/; revision=2557
2000-11-03 22:38:07 +00:00
Nathan Neulinger 019109a764 more decoding of afs bos traffic
svn path=/trunk/; revision=2556
2000-11-03 22:11:36 +00:00
Nathan Neulinger c63dddfcd3 finished up afs fs requests, more macros implemented
svn path=/trunk/; revision=2555
2000-11-03 19:27:11 +00:00
Nathan Neulinger 2cdf2ad90d finished up structure for fs replies, though macros still need implemented
svn path=/trunk/; revision=2554
2000-11-03 18:37:24 +00:00
Nathan Neulinger 83547932cf Split into a separate files. Started adding a bunch more decoding of
structures. Renamed decoding macros to get them more consistent and in
line with AFS data types wherever possible.

svn path=/trunk/; revision=2553
2000-11-03 17:32:51 +00:00
Nathan Neulinger e636484bf2 Corrected BASE_OCT support for display formats. Note - it probably isn't
correct to display ints.

svn path=/trunk/; revision=2552
2000-11-03 17:26:47 +00:00
Nathan Neulinger 273583bd0b added backup,rmtsys,update opcodes
svn path=/trunk/; revision=2551
2000-11-02 18:45:15 +00:00
Nathan Neulinger 7130cde9ad more cleanup of opcodes
svn path=/trunk/; revision=2550
2000-11-02 16:59:29 +00:00
Nathan Neulinger 8fb7675c59 added entry, fixed couple of typos
svn path=/trunk/; revision=2549
2000-11-02 16:15:53 +00:00
Gilbert Ramirez d1cfc6776b Updates from Jeff Foster.
svn path=/trunk/; revision=2548
2000-11-02 15:47:16 +00:00
Guy Harris 7d663fe7b0 Add a fourth choice of time format in the packet list display, which
shows the date (in YYYY-MM-DD format) as well as the time of day when
the packet arrived.

svn path=/trunk/; revision=2547
2000-11-01 08:31:36 +00:00
Guy Harris e023b751c0 Instead of failing if we can't find a netmask for the interface on which
we're capturing, just use a netmask of 0, and warn the user in Tethereal
(doing it in Ethereal would be more disruptive, and doing so only once
per interface in a session is a bit of work, as, in an "Update list of
packets in real time" capture the child process would have to tell the
parent that it couldn't get the netmask).

svn path=/trunk/; revision=2546
2000-11-01 07:38:54 +00:00
Guy Harris b2929352b6 Updates from Steve Limkemann.
svn path=/trunk/; revision=2545
2000-11-01 00:16:18 +00:00
Richard Sharpe 67a70df328 A small fix to display SAM Response User Unknown responses correctly.
The Cmd variable was being clamped below that value ...

svn path=/trunk/; revision=2544
2000-10-31 09:41:07 +00:00
Guy Harris 7d67803a8e Get rid of a statement that should've been deleted when we started using
"compute_timestamp_diff()" to compute the difference betwen time stamps
but that wasn't deleted, causing the time difference between a frame and
the previous frame to be computed incorrectly in Tethereal.

svn path=/trunk/; revision=2543
2000-10-31 08:15:26 +00:00
Gilbert Ramirez 73dde275c1 Move declaration of wsaData (for Win32) out of HAVE_LIBPCAP #ifdef block.
It's needed for both capture and non-capture variants of Win32 builds.

svn path=/trunk/; revision=2542
2000-10-27 17:19:23 +00:00
Gilbert Ramirez 2b8cd626f7 Move to 0.8.13
svn path=/trunk/; revision=2540
2000-10-27 02:24:08 +00:00
Gilbert Ramirez 4386002cc3 Move to version 0.8.13.
Mention IGRP dissector in NEWS.

svn path=/trunk/; revision=2539
2000-10-27 02:22:08 +00:00