Commit Graph

139 Commits

Author SHA1 Message Date
Laurent Deniel 5a326952de Implements the "Properties" menu item which displays the preferences window
at the correct notebook page when a particular protocol (which has registered
some preferences) is selected in the tree view.

- add set_menus_for_selected_tree_row() in menu.[ch]

- add prefs_is_registered_protocol() and
      prefs_get_title_by_name() in prefs.[ch]

svn path=/trunk/; revision=2275
2000-08-15 20:46:17 +00:00
Laurent Deniel cc36f0b931 Add the "Edit:Protocols..." feature which currently only implements
the following:

It is now possible to enable/disable a particular protocol decoding
(i.e. the protocol dissector is void or not). When a protocol
is disabled, it is displayed as Data and of course, all linked
sub-protocols are disabled as well.

Disabling a protocol could be interesting:

- in case of buggy dissectors
- in case of wrong heuristics
- for performance reasons
- to decode the data as another protocol (TODO)

Currently (if I am not wrong), all dissectors but NFS can be disabled
(and dissectors that do not register protocols :-)

I do not like the way the RPC sub-dissectors are disabled (in the
sub-dissectors) since this could be done in the RPC dissector itself,
knowing the sub-protocol hfinfo entry (this is why, I've not modified
the NFS one yet).

Two functions are added in proto.c :

gboolean proto_is_protocol_enabled(int n);
void proto_set_decoding(int n, gboolean enabled);

and two MACROs which can be used in dissectors:

OLD_CHECK_DISPLAY_AS_DATA(index, pd, offset, fd, tree)
CHECK_DISPLAY_AS_DATA(index, tvb, pinfo, tree)

See also the XXX in proto_dlg.c and proto.c around the new functions.

svn path=/trunk/; revision=2267
2000-08-13 14:09:15 +00:00
Guy Harris ce2d5b1ac3 RSH dissector, from Robert Tsai.
svn path=/trunk/; revision=2261
2000-08-12 05:41:10 +00:00
Laurent Deniel eb587ac5f1 Remove my unmaintained http address and add some stuff
in order to know who to complain :-)

svn path=/trunk/; revision=2259
2000-08-11 22:33:43 +00:00
Guy Harris fa7f38180a Kerberos 5 dissector, from Wes Hardaker.
svn path=/trunk/; revision=2250
2000-08-11 03:32:53 +00:00
Guy Harris 5e751be764 Phil Techau's fix to BOOTP when client address not supplied.
Give Phil credit for the other stuff he added as well.

svn path=/trunk/; revision=2236
2000-08-09 06:15:14 +00:00
Guy Harris 9dee6d52ed ICQ improvements from Peter Kjellerstedt.
svn path=/trunk/; revision=2208
2000-08-04 23:12:21 +00:00
Guy Harris ffc1f0a6a2 Fix to the SRVLOC dissector to correctly handle the error field of the
Service Reply (i.e., treat it as the 16-bit field that it is), from
Peter Kjellerstedt.

svn path=/trunk/; revision=2207
2000-08-04 22:56:27 +00:00
Olivier Abad 9348644164 Support for capturing packet data from a pipe (a FIFO, or standard input).
capture.c :
- modified capture() to try to open an interface as a pipe if pcap_open_live()
  failed, and then read data in libpcap format from this pipe ;
- add new functions used by capture() : pipe_open_live() and pipe_dispatch()
  which are equivalents to the pcap_ functions.

libpcap.[ch] :
- moved the MAGIC and headers definitions from libpcap.c to libpcap.h
  because capture() now needs it.

svn path=/trunk/; revision=2181
2000-07-30 16:54:12 +00:00
Guy Harris 888b5a1cdb David Frascone's DIAMETER dissector.
svn path=/trunk/; revision=2176
2000-07-30 07:16:11 +00:00
Guy Harris 0d959bbec0 A pile of DHCP option names, supplied by Jose Pedro Oliveira.
svn path=/trunk/; revision=2159
2000-07-25 21:26:08 +00:00
Guy Harris 9a1e130403 Improved "autogen.sh" script from Bruce Korb.
svn path=/trunk/; revision=2154
2000-07-22 20:00:29 +00:00
Gilbert Ramirez 9edd4638fc Add SCTP dissector from Tuexen Michael <Michael.Tuexen@icn.siemens.de>
svn path=/trunk/; revision=2148
2000-07-21 12:57:09 +00:00
Guy Harris 18a5059d67 Support for dissecting RPCSEC_GSS credentials in ONC RPC, from Dug Song.
svn path=/trunk/; revision=2141
2000-07-17 20:34:00 +00:00
Guy Harris 9b652d0958 Enhancements/fixed to OSPF from Michael Rozhavsky:
1) DD flags in Database Description packets were translated
	   incorrectly;

	2) Summary-LSA metric was not displayed.

svn path=/trunk/; revision=2136
2000-07-14 03:23:50 +00:00
Guy Harris f3eddb46cc Changes from Graham Bloice to support "Update list of packets in real
time" during captures on Win32.

svn path=/trunk/; revision=2074
2000-06-15 08:02:43 +00:00
Guy Harris 7250d49c49 Mark Clayton's patch to add support for capturing on ATM interfaces on
Linux (call the until-now-unused "capture_clip()" routine for each
packet).

svn path=/trunk/; revision=2070
2000-06-15 04:23:06 +00:00
Guy Harris 515f6811c0 Christophe Tronche's X11 dissector.
svn path=/trunk/; revision=2057
2000-06-12 02:30:35 +00:00
Gilbert Ramirez 80fd4c2250 Mention Heikki as the COPS author.
svn path=/trunk/; revision=2045
2000-06-07 22:58:20 +00:00
Guy Harris 019c5d9c3e Graham Bloice's Win32 Makefile changes to build in batch mode (gets rid
of multiple compile lines in the output of the build, speeds the build
up).

svn path=/trunk/; revision=2025
2000-05-29 20:42:55 +00:00
Olivier Abad b977b382b3 Changed my mail address to oabad@cybercable.fr (dhis.net is too
unreliable).

svn path=/trunk/; revision=2019
2000-05-28 17:04:47 +00:00
Gilbert Ramirez ed1863187c Mention Stefan Raab as author of Mobile IP dissector.
svn path=/trunk/; revision=2015
2000-05-27 15:21:31 +00:00
Guy Harris 41f7100539 Support for SCTP in the capture dialog, from Michael Tuexen.
svn path=/trunk/; revision=2012
2000-05-26 22:08:16 +00:00
Guy Harris 8efa4b8551 Initial SCTP support (showing it by name from "ipprotostr()") from
Michael Tuexen.

svn path=/trunk/; revision=2011
2000-05-26 21:54:59 +00:00
Guy Harris f90bbf2a5a Assorted enhancements from Mark Burton.
svn path=/trunk/; revision=2000
2000-05-25 08:38:54 +00:00
Guy Harris f937a5d86f Assorted padding fixes from Mark Burton.
svn path=/trunk/; revision=1999
2000-05-25 08:32:13 +00:00
Guy Harris b23955a89b EIGRP over Appletalk and EIGRP over IPX support, from Paul Ionescu.
svn path=/trunk/; revision=1994
2000-05-22 18:09:36 +00:00
Guy Harris b5a6696946 Support for ISAKMP XAUTH authentication, from Yaniv Kaul.
svn path=/trunk/; revision=1993
2000-05-22 17:59:53 +00:00
Guy Harris 7db4db24be Parsing attributes in Config mode, and support for a Hybrid mode
authentication draft, from Yaniv Kaul.

svn path=/trunk/; revision=1991
2000-05-21 19:59:02 +00:00
Guy Harris e7ea221d9c Paul Ionescu's patch to add support for IPX over GRE.
svn path=/trunk/; revision=1974
2000-05-18 08:41:22 +00:00
Gilbert Ramirez 9f45a0b0f5 Convert Ethernet and Lucent/Ascend dissectors to use tvbuff.
Note in AUTHORS file that we use the exception module from kazlib.

svn path=/trunk/; revision=1966
2000-05-16 06:21:33 +00:00
Guy Harris 0d12107436 SMUX and SNMP V3 support from Jochen Friedrich.
svn path=/trunk/; revision=1960
2000-05-15 03:15:12 +00:00
Guy Harris bc897cf7d3 Yaniv Kaul's patch to add support for the ISAKMP Configuration Method
(draft-ietf-ipsec-isakmp-mode-cfg-04.txt).

svn path=/trunk/; revision=1941
2000-05-11 18:55:40 +00:00
Guy Harris 33f9afee30 Graham Bloice's changes to make clicking on a column header cause the
display to be sorted by the value in that column (and to reverse the sort
order the next time you click on that column).

Use "F<>" rather than "B<>" for file names in the Ethereal man page.

svn path=/trunk/; revision=1931
2000-05-10 06:00:22 +00:00
Guy Harris cd59d75124 Support for RTCP and RTP, from Jason Lango.
svn path=/trunk/; revision=1885
2000-04-21 01:45:58 +00:00
Guy Harris c2a68f6b86 Microsoft Proxy protocol dissector from Jeff Foster.
svn path=/trunk/; revision=1881
2000-04-20 02:18:53 +00:00
Guy Harris c9d4dd080d Ralf Schneider's changes to enhance to OSI CLNP, CLTP, and ISIS support
and to add OSI ESIS support.

svn path=/trunk/; revision=1865
2000-04-15 22:11:26 +00:00
Guy Harris 0131109a72 Graham Bloice's Win32 icon for Ethereal and Win32 resource-compiler
files to add version/copyright/etc.  information to Win32 executables.

svn path=/trunk/; revision=1859
2000-04-15 04:10:50 +00:00
Guy Harris cf31cb477d Jeff Foster's SOCKS dissector, support for associating dissectors
with conversations and having TCP and UDP check whether a packet is part
of a conversation with a dissector and, if so, using that dissector on
the conversation, and "ethertype()"-style support for allowing a
dissector to call a sub-dissector via the same path that the TCP and UDP
dissectors use, based on port numbers supplied by that dissector.

svn path=/trunk/; revision=1837
2000-04-12 22:53:16 +00:00
Guy Harris 8e465e6e48 Mark Muhlestein's code to support CIFS-atop-TCP (without the NetBIOS
Session Service).

svn path=/trunk/; revision=1832
2000-04-12 20:43:53 +00:00
Gilbert Ramirez ef73f1757e Change my e-mail address from @tivoli.com to @xiexie.org
svn path=/trunk/; revision=1831
2000-04-12 20:24:43 +00:00
Guy Harris 160928a318 Jeff Foster's rlogin dissector, and changes to the TCP dissector to
export the urgent pointer (as the rlogin dissector needs it).

svn path=/trunk/; revision=1822
2000-04-08 03:32:10 +00:00
Guy Harris e386451345 Patches from Andreas Sikkema:
On Win32, always save a temporary capture file by copying -
	Win32 systems don't allow you to rename a file that is open, and
	we have the temporary file open.

	When saving by copying the raw bytes of a capture file, create
	the target file with "open()", using the O_BINARY flag, rather
	than with "creat()"; on Win32 systems, "creat()" apparently
	opens the file as a text file rather than a binary file.

svn path=/trunk/; revision=1757
2000-03-28 08:11:52 +00:00
Guy Harris 67d2ea7af0 Doug Nazar's LDAP dissector.
svn path=/trunk/; revision=1756
2000-03-28 07:12:36 +00:00
Guy Harris fbaa212634 Florian Lohoff's fixes to L2TP result and error code dissection.
svn path=/trunk/; revision=1743
2000-03-22 23:49:20 +00:00
Guy Harris 8d47efa6f9 Some cleanup of the RADIUS AVP output (Tunnel Tagging Tag), and a bit of
Vendor-specific decoding (shows at least the Vendor), from Florian
Lohoff.

svn path=/trunk/; revision=1739
2000-03-21 19:20:41 +00:00
Guy Harris f6b5d7b8b5 Paul Welchinski's changes to, on Win32 systems:
properly handle ASCII vs. Unicode in the list of interfaces;

	initialize Winsock before starting a capture, so that the code
	in the Win32 libpcap to get the IP address and netmask by
	translating the host name to an IP address works.

svn path=/trunk/; revision=1737
2000-03-21 06:52:13 +00:00
Guy Harris 8fdc3df252 Jochen Friedrich's fix to IPv6 fragment handling.
svn path=/trunk/; revision=1734
2000-03-21 04:15:14 +00:00
Guy Harris 41b76f7209 Florian Lohoff's changes for RADIUS tunnel attributes and for the
Internet Draft for RADIUS tunnel attribute tagging.

svn path=/trunk/; revision=1729
2000-03-20 18:30:59 +00:00
Guy Harris 777335fcc3 Dietmar Petras' fix to the handling of SNMPv2 TRAP PDUs.
Fix a comment.

svn path=/trunk/; revision=1720
2000-03-15 07:05:10 +00:00