Commit Graph

747 Commits

Author SHA1 Message Date
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 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
Gilbert Ramirez 086774b71f Add to the fundamental types passed between the scanner and the parser.
Besides "STRING", there is now "UNPARSED_STRING", where the distinction
is that "STRING" was a double-quoted string and "UNPARSED_STRING" is just
a sequence of characters that the scanner didn't know how to scan/parse,
so it's up to the Ftype to parse it.

This gives us more flexibility and prepares the dfilter parsing engine
for the upcoming addition of the "contains" operator.

In the process of doing this, I also re-did the double-quoted string
support in the scanner, so that instead of the naively-simple support we
used to have, double-quoted strings now can have embedded dobule-quotes,
embedded octal sequences, and embedded hexadecimal sequences:
    "\""    embedded double-quote
    "\110"  embedded octal
    "\x48"  embedded hex

Enhance the dfilter unit test script to be able to run a single collection
of tests instead of having to run all of them all the time.

svn path=/trunk/; revision=8083
2003-07-25 03:44:05 +00:00
Gerald Combs d98ee5ef39 Add two preferences to control ADNS, one to enable/disable it and one to
set its concurrency level.  Fix an ADNS queueing bug.

svn path=/trunk/; revision=8063
2003-07-22 03:14:31 +00:00
Guy Harris e8b54ff082 From Xuan Zhang: eDonkey support.
svn path=/trunk/; revision=8035
2003-07-16 21:13:49 +00:00
Guy Harris d4e29bafd6 From Michael Kopp: add some entries for Cisco VSA for SSG Communication
via Radius Packets.

svn path=/trunk/; revision=8023
2003-07-15 22:16:52 +00:00
Guy Harris 48b1ab757e From smhuang [AT] pcs.csie.nctu.edu.tw: fix a "g_string_append()" call.
svn path=/trunk/; revision=8014
2003-07-11 06:46:00 +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 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 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
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
Laurent Deniel 0afce7ca81 Ringbuffer rework.
Almost completely rewritten in order to:

- be able to use a unlimited number of ringbuffer files

  0 specified with -b argument or in the GUI, means that the number of file
  is unlimited.

  else the maximum number of ring buffer files is arbitrarily set to 1024.

- close the current file and open (truncating it) the next file at switch

- set the final file name once open (or reopen)

- avoid the deletion of files that could not be truncated (can't arise now)
  and do not erase empty files

The idea behind that is to remove the limitation of the maximum # of
ringbuffer files being less than the maximum # of open fd per process
and to be able to reduce the amount of virtual memory usage (having only
one file open at most) or the amount of file system usage (by truncating
the files at switch and not the capture stop, and by closing them which
makes possible their move or deletion after a switch).

svn path=/trunk/; revision=7912
2003-06-22 16:09:04 +00:00
Ronnie Sahlberg b04d1323fc Update SMB statistics tap to use the new CList helper routines.
svn path=/trunk/; revision=7907
2003-06-21 06:40:48 +00:00
Ronnie Sahlberg 76a6027bf6 Update ONC-RPC response time tap to use the new helper function
that displays the data using a CList.

Renamed RTT to SRT (Service Response Time)

svn path=/trunk/; revision=7904
2003-06-21 03:24:06 +00:00
Ronnie Sahlberg dea1a0a6e4 Break out the code for the ahndling of the Service Response Time (formerly known as RoundTripTime) table and change the table into a scrollable
CList.

As a first conversion to use the helper routines, convert DCERPC SRT statistics to use the new interface.
This prevents some interfaces (SAMR/LSA) that contains a huge number of procedures from creating a huge table that does not fir on the screen.

Later changes to the helpers may be to make the different columns sortable
or to hide those procedures that has not been seen in the capture.

svn path=/trunk/; revision=7903
2003-06-21 01:42:46 +00:00
Guy Harris abfc0e5cd8 Update Laurent Meyer's e-mail address.
svn path=/trunk/; revision=7882
2003-06-13 22:56:28 +00:00
Guy Harris 3c6327720b From Jeff Rizzo: sFlow support.
svn path=/trunk/; revision=7879
2003-06-13 22:31:11 +00:00
Guy Harris a67a96191b Fix some typoes.
svn path=/trunk/; revision=7872
2003-06-13 07:07:51 +00:00
Guy Harris 48aa4ea7ac Clarify the comment about not doing dissection work if "tree" is NULL,
to indicate what you should avoid doing *and* to indicate what you still
have to do (i.e., call subdissectors).

svn path=/trunk/; revision=7864
2003-06-12 10:15:25 +00:00
Guy Harris f70cc6b9f1 From Joakim Wiberg: support for Common Industrial Protocol over IP.
svn path=/trunk/; revision=7838
2003-06-11 09:02:19 +00:00
Guy Harris bedcff1a07 Fix some places where "Ethereal" wasn't capitalized and boldfaced.
Fix a typo.

svn path=/trunk/; revision=7831
2003-06-10 17:34:01 +00:00
Guy Harris 68a66d01b3 Use B<> for sample command-line options.
Show the name of the program in boldface and capitalize it.

svn path=/trunk/; revision=7818
2003-06-09 18:27:19 +00:00
Ronnie Sahlberg 1630411d40 SID name mappings can now be presented in a table by tethereal
using the -z smb,sids  command argument.

svn path=/trunk/; revision=7816
2003-06-09 10:08:05 +00:00
Guy Harris f2233623ea From Lionel Ains: "-d" flag for decode-as support in Tethereal.
Add a new routine to iterate through all dissector tables, calling a
routine for each table, to support having the "-d" code list all
dissector tables.

Get rid of "dissector_handle_get_dissector_name()"; it was put in there
for "-d", but turns out not to be necessary for that.

Clean up the usage message a bit (using the convention, adhered to by at
least some UNIX utilities, of listing all the flags with no arguments in
a single lump, and then listing the ones with arguments individually,
and also putting "-v" and "-h" in a separate lump, as Ethereal does).

svn path=/trunk/; revision=7788
2003-06-05 04:47:58 +00:00
Guy Harris 1c5696f297 Give Niels Koot credit.
svn path=/trunk/; revision=7776
2003-06-04 00:14:47 +00:00
Gerald Combs 035e8c1cd2 From Jeff Liu: Add support for WPA (Wi-Fi Protected Access) key in EAPOL
frames and WPA IE in 802.11 beacon and probe response frames.

svn path=/trunk/; revision=7770
2003-06-03 01:20:14 +00:00
Guy Harris c48ce9b402 From tz: decode the base-64 string for HTTP Basic authorization.
svn path=/trunk/; revision=7764
2003-05-30 03:11:45 +00:00
Guy Harris eb9ef15711 From Steven Lass: if there is no whitespace after the colon in a header,
don't try to eat the non-existent whitespace.

svn path=/trunk/; revision=7763
2003-05-29 18:29:36 +00:00
Gerald Combs 5ec3a96afa Update Anand Narwani's email address.
svn path=/trunk/; revision=7755
2003-05-28 14:52:53 +00:00
Guy Harris e2ceb7ce64 Put in some missing contributor addresses.
svn path=/trunk/; revision=7716
2003-05-22 20:33:04 +00:00
Guy Harris 50766c96ad Lump TCPIPtrace and UCX$TRACE together and add TCPtrace to the mix.
svn path=/trunk/; revision=7700
2003-05-20 20:26:05 +00:00
Guy Harris f921aee54d From Martin Warnes: support for VMS UCX$TRACE output in wiretap.
svn path=/trunk/; revision=7692
2003-05-19 20:58:18 +00:00
Gerald Combs a53a260f3c Note that the output format list is displayed by the "-h" flag.
svn path=/trunk/; revision=7687
2003-05-17 17:05:12 +00:00
Gerald Combs 11b8e719f5 Add the list of output file format specs to Tethereal's man page.
At some point we should probably add the list automatically, like we do
the filter fields.

svn path=/trunk/; revision=7686
2003-05-17 17:02:02 +00:00
Guy Harris 4b57d88ab4 Change address for Tony Schene, at his request.
svn path=/trunk/; revision=7679
2003-05-15 22:11:15 +00:00
Laurent Deniel 3070b797d5 Implement a ring buffer switch duration:
when the new "Rotate capture file every n second(s)" checkbox or the
-b <# of file>[:<duration>] argument are used, [t]ethereal will skip to the
next ring buffer file if the specified duration has elapsed (even if the
specified capture size is not reached). This is useful when you want to have
separate capture files per hour or day for instance.

I let the autostop filesize parameter mandatory (i.e. the "rotate capture
file after n kilobytes") but this could be no longer strictly necessary when
that new feature is used ...

Another point: it might be interesting to really truncate the file at the
switch and not the closure ... According to user comments and my own real
case tests, I might plan to enhance this point and others (still ring buffer
related) in the future.

svn path=/trunk/; revision=7678
2003-05-15 13:40:20 +00:00
Guy Harris 86f3c38c4a From Can Erkin Acar: OpenBSD is now using tcpdump.org-assigned DLT_
value for DLT_PFLOG, and that goes along with a change to the link-layer
header for DLT_PFLOG - support both the old and new values and format.

svn path=/trunk/; revision=7676
2003-05-15 07:14:46 +00:00
Guy Harris fe42cc9dd8 From Mark C. Brown:
Following fixes for nettl (HP-UX):

	1) Fixed 11.X timestamp issue
	      there is no difference in 10.X/11.X timestamps, so no
	      need to shift 11.X timestamps
	2) Fixed NS_LS_DRIVER trace record handling
	      now works rather than throwing "...network type that
	      Ethereal doesn't support" error
	3) Fixed handling of traces with sliced packets (nettl -m xx)
	      now uses correct packet and capture lengths
	4) Additional ethernet card support
	      now handles btlan[1,3-6],gelan,igelan,intl100 driver
	      trace records

svn path=/trunk/; revision=7642
2003-05-05 01:01:36 +00:00
Guy Harris 9c57931c5d From Kaloian Stoilov: add a subtree for the MSTI flags.
svn path=/trunk/; revision=7610
2003-04-30 18:55:32 +00:00
Guy Harris b79fee5760 iSNS support, from Garth Bushell.
svn path=/trunk/; revision=7597
2003-04-29 02:55:14 +00:00
Guy Harris 6c5fa1820b From Lars Roland: document the "mgcp,rtd" tap for Ethereal, and improve
the documentation for that tap for Tethereal.

svn path=/trunk/; revision=7587
2003-04-27 21:52:24 +00:00
Guy Harris 3e857b5789 Clean up the example for the "-m" flag.
svn path=/trunk/; revision=7573
2003-04-27 00:50:06 +00:00
Guy Harris 6df423d0be From Matthijs Melchior:
-  added option -m to set maximum packet length
-  added option -T to generate TCP headers
-  UDP headers now have a correct checksum
-  default capture timestamp is current time, usec field counts packets
-  UDP and TCP headers are mutually exclusive
-  changed etherenet addresses, now sends from 1 -> 2 ....

svn path=/trunk/; revision=7571
2003-04-27 00:41:52 +00:00
Guy Harris be87d6c418 Put the new "-z" examples in boldface. (pod2man warns you about that.)
Wrap some paragraphs to 80 columns.

svn path=/trunk/; revision=7569
2003-04-26 05:38:07 +00:00
Guy Harris bef46400df From Tony Schene: initial stub Kerberos kadmin support.
svn path=/trunk/; revision=7562
2003-04-25 21:09:37 +00:00
Guy Harris 090a5aa24b From Matthijs Melchior: add the ASN.1 routines to the table of routines
exported to dissectors.

svn path=/trunk/; revision=7552
2003-04-24 21:15:13 +00:00
Ronnie Sahlberg c8e3705196 Update to io-stat for tethereal.
Make it able to calculate COUNT() SUM() MIN() MAX() and AVG() for integers and
relative time fields.

See tethereal manpage for examples.

svn path=/trunk/; revision=7550
2003-04-24 12:25:33 +00:00
Guy Harris 78217ecd6a Support for filterable fields in UPDATE messages, based on changes from
Marcio Franco.

Add a bunch of error checking and cleanups in the process of adding the
filterable fields support.

svn path=/trunk/; revision=7548
2003-04-24 09:06:25 +00:00
Guy Harris 733b96657b From Duncan Laurie: IPMI-over-LAN support.
svn path=/trunk/; revision=7538
2003-04-23 00:24:38 +00:00
Guy Harris ba95445cd1 Get rid of C++ comments.
Fix up some comments, and eliminate a compiler warning.

Make the "iac_found" variable Boolean, and get rid of a redundant
initialization.

Give David Yon credit for the recent Telnet updates.

svn path=/trunk/; revision=7535
2003-04-22 20:35:49 +00:00
Ronnie Sahlberg 729e433e37 Update to the io,stat tethereal tap.
Make it possible to use subsecond granularity for the measurement intervals.

io,stat is updated to accept the interval to be specified with ms resolution.

Example

-z io,stat,0.001,smb

to generate 1ms statistics for all SMB traffic.

svn path=/trunk/; revision=7527
2003-04-22 09:02:54 +00:00
Guy Harris bbb746f9b1 From Erwin Rol: ArtNET support.
svn path=/trunk/; revision=7518
2003-04-21 21:28:39 +00:00
Guy Harris f17519118c From Stephen Shelley: full payload dissection of compliance levels 0, 1
and 2 function codes for Modbus/TCP, plus some bug fixes.

Use value_string tables to map function codes and exception codes to
strings.

svn path=/trunk/; revision=7468
2003-04-16 06:57:38 +00:00
Guy Harris d9cc10f2f5 From emre: add a "Filter out this stream" button to the "Follow TCP
Stream" window, which adds "and !(<filter for the stream>)" to the
display filter in effect before the stream was followed, removing that
stream from the display.

svn path=/trunk/; revision=7408
2003-04-06 22:41:34 +00:00
Guy Harris 48ca17c7c5 From Eric Perie: update to the name for EAP type 15, and some additional
EAP types.

svn path=/trunk/; revision=7393
2003-04-01 19:17:55 +00:00
Gerald Combs 588b90738a From Todd Montgomery: Bring PGM up to date with RFC 3208:
- checksum checks for all packets (like UDP, IP, TCP, etc.)
                - this includes adding an option to turn off checking
                  it in the preferences menu (like TCP does).
        - POLL packets
        - POLR packets
        - added PGM options:
                - OPT_FRAGMENT
                - OPT_REDIRECT
                - OPT_NAK_BO_IVL
                - OPT_NAK_BO_RNG
        - fixed a minor offset error in SPMs

svn path=/trunk/; revision=7349
2003-03-12 04:04:15 +00:00
Gerald Combs b01ee2624c Obscure more email addresses.
svn path=/trunk/; revision=7334
2003-03-10 04:29:13 +00:00
Gerald Combs 30385ffeaf Fix some perldoc warnings and obscure email addresses.
svn path=/trunk/; revision=7333
2003-03-10 04:27:01 +00:00
Laurent Deniel dc01cb646b - conversation_get_protocol_data -> conversation_get_proto_data
- miscellaneous typos corrected

svn path=/trunk/; revision=7329
2003-03-09 22:00:26 +00:00
Guy Harris 55e1519797 Add some missing entries, and put the entries in the same order as the
AUTHORS file.

svn path=/trunk/; revision=7319
2003-03-08 05:37:32 +00:00
Guy Harris c73d1525b6 Documentation for the MGCP tap,f rom Lars Roland.
svn path=/trunk/; revision=7317
2003-03-08 05:34:51 +00:00
Guy Harris 5bf33b9ca9 Note that you need <io.h> on Windows if you want to use "open()",
"close()", "read()", "write()", etc..

svn path=/trunk/; revision=7314
2003-03-07 21:50:34 +00:00
Gerald Combs 0b94d9a228 From Markus Friedl:
Add support for the OpenBSD enc(4) encapsulating interface.  Add
  support for Ethernet over IP (RFC 3378).

Fold Markus' .h files into their respective .c files, add a define to
ipproto.h and use it.

svn path=/trunk/; revision=7310
2003-03-07 16:52:46 +00:00
Guy Harris e431a83cde Throw in some additional portability notes about:
not using "%l[doux]" with guint32;

	not including <unistd.h> without #ifdef HAVE_UNISTD_H;

	not fopening binary files with "r", "w", etc., and not opening
	them with "open()" without using O_BINARY.

svn path=/trunk/; revision=7302
2003-03-06 22:41:39 +00:00
Ronnie Sahlberg b1a9c6e00f Update and added text to README.tapping based on comments in the
contributed RTP tap for voice.

Explained when a tap listener is called and somethings to keep in
mind when adding taps to protocols that may appear multiple times inside the
same packet.

svn path=/trunk/; revision=7293
2003-03-06 07:54:24 +00:00
Guy Harris a0ff4bd8fa From Laurent Meyer: reassemble fragmented X.25 packets, and fix up a
test.

svn path=/trunk/; revision=7276
2003-03-04 19:50:23 +00:00
Ronnie Sahlberg 917f568b66 Added tap functionality to UDP
Added top talkers calculation for UDP socketpairs

try -z io,users,udpip

svn path=/trunk/; revision=7266
2003-03-03 23:46:50 +00:00
Ronnie Sahlberg 192d29fa4d Update for tethereal -z io,users, top talkers :
"tcpip" added.

-z io,users,tcpip will create a top talkers list of individual tcpip connections

svn path=/trunk/; revision=7264
2003-03-03 23:20:59 +00:00
Guy Harris e59e9b9bab Yahoo Messenger YMSG protocol support, from Wayne Parrott.
Pull "packet-yhoo.h" into "packet-yhoo.c".

svn path=/trunk/; revision=7226
2003-03-01 00:09:03 +00:00
Guy Harris 1697aac429 From Jason Copenhaver: put the address fields in the Ethernet header in
the right order.

svn path=/trunk/; revision=7208
2003-02-27 02:31:00 +00:00
Guy Harris 55195b959e From Brad Hards: don't have "make distclean" delete "register.c",
"register-static.c", or "ps.c", as we distribute them in the tarball.

Add Georgi Guninski to the credits list in the man page.

svn path=/trunk/; revision=7206
2003-02-27 02:07:57 +00:00
Guy Harris 99e1970ea5 Ethereal.desktop is in the top-level directory, not the "doc" directory,
and it's already in the EXTRA_DIST list in the top-level directory.

svn path=/trunk/; revision=7204
2003-02-27 00:09:53 +00:00
Guy Harris 92ab400add From Laurent Meyer: NLPID for Subnetwork Dependent Convergence Function.
svn path=/trunk/; revision=7191
2003-02-24 19:49:04 +00:00
Guy Harris bedd818b3f From Pavel Roskin: in the GTK+ 2 code, associate the "Print Detail"
button with the correct group.

svn path=/trunk/; revision=7183
2003-02-21 21:06:27 +00:00
Guy Harris 23ed899373 From Martijn Schipper: fix the tag for the 802.11g ERP Information field
to match draft 6.1 of the 802.11g spec.

svn path=/trunk/; revision=7168
2003-02-18 21:29:53 +00:00
Guy Harris acf70fe535 Make doc/Makefile.nmake work in POSIXLY_CORRECT environment, as per
Santeri Paavolainen's changes to make doc/Makefile.am work in such an
environment.

Move the idl2eth rules above the mergecap rules, to match the way
doc/Makefile.am works.

svn path=/trunk/; revision=7140
2003-02-13 22:35:10 +00:00
Guy Harris 4f59075d6a From Craig Rodrigues: decode the priority value put into the service
context field by Real-time CORBA.

Update his e-mail address while we're at it.

svn path=/trunk/; revision=7132
2003-02-13 01:23:37 +00:00
Guy Harris 1b8debaf37 From Santeri Paavolainen: make doc/Makefile.am work in POSIXLY_CORRECT
environment.

svn path=/trunk/; revision=7128
2003-02-12 08:55:19 +00:00
Guy Harris eb9a181518 WBXML updates, and e-mail address update, from Olivier Biot.
svn path=/trunk/; revision=7126
2003-02-12 01:17:07 +00:00
Guy Harris 59c18d6bd4 Note that one shouldn't put a comma after the last element of an enum.
svn path=/trunk/; revision=7115
2003-02-10 19:21:25 +00:00
Guy Harris 625d0088d4 From Teemu Rinta-aho: draft 20 MIPv6 support (now in a file of its own).
svn path=/trunk/; revision=7071
2003-02-04 20:17:01 +00:00
Guy Harris 608e8c31f5 From Pasi Kovanen: display flow label IE in GTP v0 in hex.
svn path=/trunk/; revision=7066
2003-01-31 18:45:06 +00:00
Guy Harris ab552d3746 Get rid of BASE_BIN - it's just the same as BASE_DEC, but people seemed
to be using it for stuff that should be hex, and for stuff that should
be Boolean.  Use BASE_DEC if it should be decimal, BASE_HEX if it should
be hex, and make it Boolean if it should be Boolean.

svn path=/trunk/; revision=7053
2003-01-31 03:17:56 +00:00
Guy Harris 3b6d2f5df9 More completely explain the "name" argument to the
"prefs_register_XXX_preference" routines, to note that it should *NOT*
include the protocol name - the protocol name is automatically prepended
to it, with a "." separator, as the preference is registered in a module
whose name is that of the protocol.

svn path=/trunk/; revision=7031
2003-01-29 00:39:02 +00:00
Guy Harris d798b5065d From Akira Endoh: BGP support for draft-ietf-idr-as4bytes-06.txt and
draft-ietf-idr-dynamic-cap-03.txt.

Fix his AUTHORS entry to put the (presumed) given name first and family
name last.

svn path=/trunk/; revision=7014
2003-01-28 05:25:18 +00:00
Laurent Deniel 1a66f9aec9 Update my email address in various places since my old one no longer works
svn path=/trunk/; revision=7003
2003-01-26 19:35:31 +00:00
Ronnie Sahlberg 96a18fb8cf TopTalkers feature for Ethernet/IP/TokenRing
IO-Users is a feature for tethereal that will print statistics on io usage
similar to top talkers in other tools.

It needs to be ported to ethereal with a nice graph sometime later.

try:
-z io,users,ip

see man-page

svn path=/trunk/; revision=6972
2003-01-22 01:24:06 +00:00
Ronnie Sahlberg 48d3d8eb26 SMB RTT statistics for tethereal and ethereal.
SMB RTT statistics are similar to the RTT statistics already supported by ONC-RPC and DCE-RPC.
It will present a table with all seen SMB commands and present the Min/Max and Avg response time in ms.

Transaction2 and NT-Transaction commands are broken out and presented in its own subtables.

tethereal feature is activated with -z smb,rtt    switch
and in ethereal it is activated either through -0z smb,rtt switch or through the Menu.

svn path=/trunk/; revision=6966
2003-01-22 00:40:36 +00:00
Jörg Mayer 106bedb847 cjs 2895: Fix configure check to compile with IBM Visual Age C compiler
- remove nested functions
- use char *pcap_version instead of char pcap_version[]

Changed the fix for the nested functions to use the mechanisms provided
by autoconf.

svn path=/trunk/; revision=6963
2003-01-21 21:47:36 +00:00
Guy Harris 96b2d60763 From Huagang Xie: dissector for MySQL protocol.
svn path=/trunk/; revision=6939
2003-01-19 21:29:10 +00:00
Guy Harris eeb05c3b1c From Marc Milgram: e-mail address update.
svn path=/trunk/; revision=6936
2003-01-17 23:54:19 +00:00
Guy Harris a002a0fec4 From Christian Falckenberg: beginnings of a MEGACO dissector.
Move SCTP payload protocol IDs to a header file, and get the PPIDs from
that header file rather than defining them in dissectors running atop
SCTP.  Use both the old(?) and official PPID for ASAP.

svn path=/trunk/; revision=6926
2003-01-14 23:53:40 +00:00
Guy Harris e3fe8c0d34 From Anders Broman: some additional SCTP payload protocol IDs.
svn path=/trunk/; revision=6925
2003-01-14 22:54:20 +00:00
Guy Harris 1e6c1a0ac0 From rmkml: support for capturing from a pipe in Tethereal.
Fix up the documentation of the "-i" flag in the Ethereal man page to
note only that "netstat -i" and "ifconfig -a" *might* work, to
specifically note that not all UNIXes support the "-a" flag to
"ifconfig", and to note that pipe data must be in *standard* libpcap
format.

Document the support for pipes in the "-i" flag in Tethereal.

svn path=/trunk/; revision=6822
2002-12-29 22:40:10 +00:00
Guy Harris 58d1820542 Document FT_FRAMENUM.
svn path=/trunk/; revision=6805
2002-12-19 05:28:40 +00:00
Guy Harris 90880001b7 Document "Tools->Go To Corresponding Frame".
svn path=/trunk/; revision=6804
2002-12-19 05:26:42 +00:00
Guy Harris a97b83a7f4 Add a new field type FT_FRAMENUM; an FT_FRAMENUM is a 32-bit unsigned
frame number, which is always decimal.  If you select an FT_FRAMENUM
field, there are menu items that let you go to the frame whose frame
number appears in that field.

Add FT_FRAMENUM fields for the ONC RPC "matching request is in this
frame" and "matching reply is in this frame" protocol tree items.

svn path=/trunk/; revision=6802
2002-12-19 02:58:53 +00:00
Gerald Combs 9c0d1cbfb7 From James Harris: Decrypt RADIUS user passwords.
The MD5 is copyrighted by L. Peter Deutsch, and released under the same
license as zlib.  It is GPL-compatible, and should NOT have the GPL
applied to it.

svn path=/trunk/; revision=6790
2002-12-17 04:05:25 +00:00
Gerald Combs d44e27b17c Fix a typo.
svn path=/trunk/; revision=6769
2002-12-09 03:09:35 +00:00
Guy Harris b2dc84a384 Update Michael Tuexen's e-mail address.
svn path=/trunk/; revision=6721
2002-12-02 20:08:45 +00:00
Gerald Combs d59c4bd399 Allow keyboard-only navigation of the Protocols dialog. Protocols can
be enabled or disabled using the space bar.  Update the documentation
accordingly.

svn path=/trunk/; revision=6711
2002-12-02 02:28:54 +00:00
Gerald Combs a10da42709 Enable/disable protocols with a single click. Fix the behavior of
cancelling the Protocols dialog, which my previous checkin broke.

svn path=/trunk/; revision=6710
2002-12-01 22:51:56 +00:00
Gerald Combs 07e0a47740 Update some text in the help dialog.
Replace the large matrix of protocol togglebuttons with a GtkCList. The
CList displays three columns: the enabled/disabled state, the protocol's
abbreviated name and the protocol's full name.  Protocols can be enabled
or disabled by double-clicking on them.  The enable all, disable all, and
invert buttons were left intact.

I made a half-assed attempt at Gtk2 support by copying code from
plugins_dlg.c.  It's incomplete, and probably won't compile.

Using check boxes in the first column instead of the word "Disabled" would
have been nice.  GtkCLists don't let you embed anything besides text and
pixmaps unfortunately.

Update the man page accordingly.

We still need a way to save a list of disabled protocols.

svn path=/trunk/; revision=6707
2002-12-01 19:11:54 +00:00
Ronnie Sahlberg d5f5ebd79e Updte for io-stat to make it more powerful.
There is not a third option Advanced... in addition to frames/tick and bytes/tick.


See ethereal man page for description and how one can use this to graph how NFS response time MAX/MIN/AVG changes over time.

svn path=/trunk/; revision=6703
2002-11-29 11:37:33 +00:00
Guy Harris 191be83c54 From Marco Molteni: fix a typo and a function name, and give it an RCS
ID.

svn path=/trunk/; revision=6697
2002-11-28 20:29:46 +00:00
Guy Harris b964b41f06 From Marco Molteni: fix a comment to reflect reality.
svn path=/trunk/; revision=6696
2002-11-28 20:28:30 +00:00
Guy Harris a1c648718a From Jason Greene:
This patch fixes decoding of the newSuperior attribute of an
	LDAPv3 modrdn request.  The current implementation attempts to
	decode the attribute as an LDAPDN (Octext String, 0x4), when its
	definition is actually Context 0 (0x80).

svn path=/trunk/; revision=6672
2002-11-25 19:20:44 +00:00
Guy Harris 751eaa43d9 Update Tomas Kukosa's e-mail address.
svn path=/trunk/; revision=6671
2002-11-25 19:07:53 +00:00
Guy Harris 93dcf69ba5 Update Mike Hall's e-mail address.
svn path=/trunk/; revision=6666
2002-11-23 03:25:06 +00:00
Uwe Girlich 7ce73d7ca8 add Martin Regner as author
svn path=/trunk/; revision=6657
2002-11-18 15:49:07 +00:00
Guy Harris 6af38451a2 From Dave Richards: support BACNET over 802.2.
svn path=/trunk/; revision=6644
2002-11-16 08:55:13 +00:00
Ronnie Sahlberg a361b76756 Gtk1 version of io-stat
svn path=/trunk/; revision=6636
2002-11-15 10:55:19 +00:00
Guy Harris 809e8cc5b5 From Brian Ginsbach: add a new "dissect_rpc_bytes()" routine to allow
fixed-length opaque data to be dissected, and add support for SGI's
variant of the ONC RPC mount protocol.

svn path=/trunk/; revision=6620
2002-11-13 21:45:59 +00:00
Guy Harris 99a0902ae1 From Ronald Henderson: in LDAP dissector, handle Sequence Of header
being split across TCP segments.

svn path=/trunk/; revision=6618
2002-11-12 21:37:35 +00:00
Guy Harris 753ef1fb73 Put in a note about "ntoh[ls]()" and "hton[ls]()" vs. the GLib versions
of same.

svn path=/trunk/; revision=6594
2002-11-09 08:37:00 +00:00
Guy Harris b9f754f891 Add support for SIGINFO on systems that have it.
svn path=/trunk/; revision=6590
2002-11-09 00:08:44 +00:00
Guy Harris eab13a03f3 From Andreas Trauer:
Replace the handling of PPP packets over GTPv1 and also
	establish the handling of PPP packet over GTPv0.  Additionally
	IPv6 packets are handled in GTPv0 and GTPv1.

	Explanation:

	- old solution: examining the known PPP protocols is a tough
	  task, because there might be more in the future -> the list
	  must be extended more and more (the octet 0x00 has already
	  been added for PPP network layer protocols, but for protocol
	  field compression a lot of protocols must be inserted for
	  IPv4(0x21), IPv6(0x57), maybe IPX (0x2b) or AppleTalk (0x29),
	  ...)

	- new solution: It is easier the other way: the most significant
	  nibble of the first octet must be 4 for IPv4 and 6 for IPv6.
	  All other values are assumed to be PPP packets, including
	  packets beginning with values 0x40-0x44 (header too short for
	  IPv4 packet) and value 0x4f (PPP protocol type (IPv6 header
	  compression protocol) taking precedence over IPv4 packets with
	  header length of 60 octets).

svn path=/trunk/; revision=6568
2002-11-06 22:59:23 +00:00
Ronnie Sahlberg 7775a0bec5 New tap extension to tethereal: ProtoColInfo
Using this command line option you canb now place any arbitrary display-filter fields on the COL_INFO line.

Assume you want NFS dissector in tethereal to put ALL filehandle hashes (nfs.fh.hash) on COL_INFO.
No worries, just add

-z proto,colinfo,nfs.fh.hash,nfs.fh.hash

as a parameter to tethereal.

Never again do you need to hack tethereal and recompile just because you want some extra info on the COL_INFO line.

svn path=/trunk/; revision=6560
2002-11-04 12:11:01 +00:00
Guy Harris 85eafc7e25 From Jean-Baptiste Marchand: fix a typo in README.developer.
Also, put him into the list of authors in the man page.

svn path=/trunk/; revision=6554
2002-11-03 20:24:12 +00:00
Gerald Combs ae2198ea4e Add references to 'tethereal -D' in the '-i' section.
svn path=/trunk/; revision=6551
2002-11-03 17:38:27 +00:00
Guy Harris 749d00f331 Put in a portability note telling people to use "strchr()" and
"strrchr()", not "index()" and "rindex()"; MSVC++ doesn't declare
"index()" or "rindex()" if you include <string.h>, and they're
non-standard routines (the ANSI C names for those functions are
"strchr()" and "strrchr()").

Add a bit more to the other portability note on the topic of
non-standard vs. ANSI standard functions.

svn path=/trunk/; revision=6539
2002-11-01 09:41:36 +00:00
Guy Harris 1522cd2994 From Fritz Budiyanto: the command in the Packet Transfer Command IE is
one byte, so fetch it with "tvb_get_guint8()", not "tvb_get_ntohl()".

Put in the location in the GPRS standard where that's defined, while
we're at it.

svn path=/trunk/; revision=6533
2002-11-01 05:30:48 +00:00
Ronnie Sahlberg cdb4e6929c New tap extension for tethereal : ProtocolHierarchyStatistics.
Similar to what is available on ethereal:/Tools/ProtocolHierarchyStatistics
but this one can handle ALL protocols that tethereal has dissectors for.

Maybe a gtk/gtk2 version of this should replace the existing one in ethereal?


Try -z io,phs   or -z io,phs,<filter>  to test it.

svn path=/trunk/; revision=6532
2002-11-01 05:29:36 +00:00
Ronnie Sahlberg dcc95e010f New tap for tethereal: io statistics that provides frames/bytes counts for frames matching user specified filters.
Try it with
-z io,stat,1,nfs,smb,arp
on a capture containing both nfs, cifs and arp traffic.

svn path=/trunk/; revision=6531
2002-11-01 01:49:40 +00:00
Guy Harris 1e7af41606 From Ronnie Sahlberg: update the tap documentation to reflect recent
changes.

svn path=/trunk/; revision=6501
2002-10-25 01:11:03 +00:00
Guy Harris 35c1970720 From Ronnie Sahlberg: Ethereal support for DCERPCSTAT.
svn path=/trunk/; revision=6499
2002-10-25 01:08:49 +00:00
Guy Harris a71d1d910e From Ronnie Sahlberg: add a tap for statistics for DCERPC interfaces.
svn path=/trunk/; revision=6479
2002-10-23 03:49:13 +00:00
Guy Harris 27df774d0b From Peter Fales: ARCNET support.
Sort the lists of dissectors in the DISSECTOR_SRC macros in
"Makefile.am" and "Makefile.nmake".

svn path=/trunk/; revision=6450
2002-10-18 21:00:01 +00:00
Guy Harris 9ce0f18987 Put in a note telling people not to use "long" for 32-bit quantities.
svn path=/trunk/; revision=6446
2002-10-17 20:05:04 +00:00
Guy Harris d54e50d6a2 From Jason House: include <winsock2.h> early in "wtap-int.h" on Win32
builds with zlib - "zlib.h", alas, includes <winsock.h>, and you can't
include <winsock.h> before including <winsock2.h> (at least you can
include <winsock2.h> before including <winsock.h>; thank heaven for
small favors).

svn path=/trunk/; revision=6427
2002-10-15 05:38:01 +00:00
Guy Harris c7d181b565 From Senthil Kumar Nagappan: fix a "proto_tree_add_uint()" call that was
supposed to be a "proto_tree_add_item()" call.

svn path=/trunk/; revision=6382
2002-10-08 19:35:10 +00:00
Guy Harris 49c1aa93cf From Lutz Jaenicke: use "g_htonl()" rather than "htonl()".
svn path=/trunk/; revision=6381
2002-10-08 19:26:37 +00:00
Guy Harris 9934126755 From cjs 2895: get rid of C++ comments, so IBM's Visual Age C compiler
can compile the code.

Note that Bill Fumerola rewrote the Cisco NetFlow dissector.

Update a bunch of addresses in the Ethereal man page, and put some
missing addresses in.

svn path=/trunk/; revision=6380
2002-10-08 19:19:00 +00:00
Jörg Mayer 57ade583b7 Merge duplicate entries
svn path=/trunk/; revision=6373
2002-10-07 23:16:34 +00:00
Jörg Mayer e96b5aac15 Credit Didier Gautheron for automake fix
svn path=/trunk/; revision=6371
2002-10-06 18:14:28 +00:00
Gerald Combs 33608d4763 Makefile.am fixes to pass "make distcheck" tests
svn path=/trunk/; revision=6357
2002-09-29 19:10:07 +00:00
Ronnie Sahlberg c0b84c028f Update tethereal to put the filter string in the statistics table for RPC_STAT.
Update gtk and gtk2 versions of RPC_STAT to allow a filter string to be specified on both the command line as well as the GUI.

Update the documentation for ethereal to reflect this.

svn path=/trunk/; revision=6343
2002-09-27 11:07:16 +00:00
Ronnie Sahlberg c7b512c343 Updated RPCSTAT for tethereal. The command now takes a filter string as an optional extra parameter.
This makes it possible to generate any types of stats based on user defined subsets of the capture.

Try -z rpc,rtt,100003,3,nfs.fh.hash==0x12345678

NFS rtt statistics for a specific file.

svn path=/trunk/; revision=6337
2002-09-26 01:13:04 +00:00
Jörg Mayer 0fa2d294c6 Add Clive A. Stubbings
svn path=/trunk/; revision=6334
2002-09-25 00:52:18 +00:00
Jörg Mayer 365a9e0224 New dissector for the FIX protocol by PC Drew
svn path=/trunk/; revision=6298
2002-09-16 17:49:20 +00:00
Richard Sharpe 83e4aac7dd Fixing dfilter2sgml so it is only in one place
svn path=/trunk/; revision=6256
2002-09-10 15:37:35 +00:00
Guy Harris dbdb12e91e Allow the "manuf" file to contain well-known MAC addresses and address
ranges specified with a mask, as well as manufacturer OUIs.  Match the
address range values, as well as MAC addresses and manufacturer OUIs,
when translating MAC addresses to names.

Have "make-manuf" read a file containing the well-known addresses and
append it to the list of OUIs.

svn path=/trunk/; revision=6234
2002-09-09 19:53:38 +00:00
Ronnie Sahlberg 5b2510fb8e Tap system supprot for Gtk1 and both rpc_stat and rpc_progs
Gtk1 is still single threaded so if the tap extensions need to do something
time consuming or cpu intensive, then the main application will suffer.

It is better than nothing.

svn path=/trunk/; revision=6215
2002-09-07 10:02:36 +00:00
Ronnie Sahlberg 207cca1ce5 Forgot to point to tap.c for more documentation.
svn path=/trunk/; revision=6198
2002-09-06 14:05:59 +00:00
Ronnie Sahlberg 19433dcc4b A better than nothing doc for tapping.
svn path=/trunk/; revision=6197
2002-09-06 14:04:25 +00:00
Ronnie Sahlberg 6ccf93089e Gtk2 port of RPCPROGS statistics
svn path=/trunk/; revision=6194
2002-09-06 10:13:17 +00:00
Ronnie Sahlberg e20ea63dd4 New type of onc-rpc statistics.
try: -z rpc,programs

svn path=/trunk/; revision=6190
2002-09-05 09:27:56 +00:00
Ronnie Sahlberg a26f9d5107 Added a mutex to protect a critical region in Gtk2 where the list can be
modified while the draw thread is walking it.

Changed the cmdline switch to -z so the same one can be used both for
ethereal and tethereal.

Updated man pages to reflect the RPCSTAT feature.

(Try this with Tools/Statistics/ONC-RPC/RTT and load a capture containing
onc-rpc. )

svn path=/trunk/; revision=6189
2002-09-05 06:46:38 +00:00