1999-09-09 03:45:57 +00:00
|
|
|
# Makefile.am
|
|
|
|
# Automake file for Ethereal
|
|
|
|
#
|
2000-04-21 01:45:58 +00:00
|
|
|
# $Id: Makefile.am,v 1.192 2000/04/21 01:45:57 guy Exp $
|
1999-09-09 03:45:57 +00:00
|
|
|
#
|
|
|
|
# Ethereal - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@zing.org>
|
|
|
|
# Copyright 1998 Gerald Combs
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
2000-01-30 16:57:20 +00:00
|
|
|
EXTRA_PROGRAMS = ethereal_static
|
2000-01-14 06:46:00 +00:00
|
|
|
bin_PROGRAMS = ethereal editcap tethereal
|
1998-09-16 02:39:15 +00:00
|
|
|
|
2000-01-14 06:46:00 +00:00
|
|
|
man_MANS = ethereal.1 editcap.1 tethereal.1
|
1998-09-16 02:39:15 +00:00
|
|
|
|
1998-09-25 23:24:07 +00:00
|
|
|
sysconf_DATA = manuf
|
|
|
|
|
1999-08-14 06:24:27 +00:00
|
|
|
# Any POSIX-compatible YACC should honor the -p flag
|
|
|
|
YFLAGS=-d -p dfilter_
|
1999-07-07 22:52:57 +00:00
|
|
|
|
1999-10-20 06:28:29 +00:00
|
|
|
DISSECTOR_SOURCES = \
|
1998-10-16 01:18:35 +00:00
|
|
|
packet-aarp.c \
|
1999-10-20 16:41:20 +00:00
|
|
|
packet-afs.c \
|
|
|
|
packet-afs.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-arp.c \
|
1999-11-27 04:48:14 +00:00
|
|
|
packet-arp.h \
|
1999-09-11 04:50:44 +00:00
|
|
|
packet-ascend.c\
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-ascend.h\
|
1998-10-16 01:18:35 +00:00
|
|
|
packet-atalk.c \
|
1999-10-22 08:57:24 +00:00
|
|
|
packet-atalk.h \
|
1999-08-20 06:55:20 +00:00
|
|
|
packet-atm.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-atm.h \
|
1999-11-23 17:09:58 +00:00
|
|
|
packet-auto_rp.c \
|
1999-10-15 17:00:47 +00:00
|
|
|
packet-bgp.c \
|
1999-11-17 23:31:22 +00:00
|
|
|
packet-bgp.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-bootp.c \
|
1999-11-10 17:23:55 +00:00
|
|
|
packet-bootparams.c \
|
|
|
|
packet-bootparams.h \
|
1999-10-08 20:50:39 +00:00
|
|
|
packet-bpdu.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-bpdu.h \
|
1998-12-19 00:12:23 +00:00
|
|
|
packet-cdp.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-cdp.h \
|
2000-02-05 05:54:17 +00:00
|
|
|
packet-cgmp.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-cgmp.h \
|
1999-07-28 23:16:42 +00:00
|
|
|
packet-clip.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-clip.h \
|
2000-04-15 22:11:26 +00:00
|
|
|
packet-clnp.c \
|
|
|
|
packet-clnp.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-data.c \
|
2000-04-13 21:08:16 +00:00
|
|
|
packet-ddtp.c \
|
|
|
|
packet-ddtp.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-dns.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-dns.h \
|
2000-04-15 22:11:26 +00:00
|
|
|
packet-esis.h \
|
|
|
|
packet-esis.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-eth.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-eth.h \
|
Change the sub-dissector handoff registration routines so that the
sub-dissector table is not stored in the header_field_info struct, but
in a separate namespace. Dissector tables are now registered by name
and not by field ID. For example:
udp_dissector_table = register_dissector_table("udp.port");
Because of this different namespace, dissector tables can have names
that are not field names. This is useful for ethertype, since multiple
fields are "ethertypes".
packet-ethertype.c replaces ethertype.c (the name was changed so that it
would be named in the same fashion as all the filenames passed to make-reg-dotc)
Although it registers no protocol or field, it registers one dissector table:
ethertype_dissector_table = register_dissector_table("ethertype");
All protocols that can be called because of an ethertype field now register
that fact with dissector_add() calls.
In this way, one dissector_table services all ethertype fields
(hf_eth_type, hf_llc_type, hf_null_etype, hf_vlan_etype)
Furthermore, the code allows for names of protocols to exist in the
etype_vals, yet a dissector for that protocol doesn't exist. The name
of the dissector is printed in COL_INFO. You're welcome, Richard. :-)
svn path=/trunk/; revision=1848
2000-04-13 18:18:56 +00:00
|
|
|
packet-ethertype.c \
|
1998-10-10 03:32:20 +00:00
|
|
|
packet-fddi.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-fddi.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ftp.c \
|
1998-11-18 03:01:44 +00:00
|
|
|
packet-giop.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-giop.h \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-gre.c \
|
2000-03-02 07:27:05 +00:00
|
|
|
packet-h1.c \
|
2000-03-02 07:27:56 +00:00
|
|
|
packet-h1.h \
|
1999-11-21 20:02:32 +00:00
|
|
|
packet-hsrp.c \
|
1999-02-12 09:03:42 +00:00
|
|
|
packet-http.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-http.h \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-icmpv6.c\
|
1999-09-14 08:06:47 +00:00
|
|
|
packet-icp.c \
|
1999-10-27 01:46:14 +00:00
|
|
|
packet-icq.c \
|
1999-11-10 14:44:58 +00:00
|
|
|
packet-imap.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ip.c \
|
|
|
|
packet-ip.h \
|
1999-09-17 05:56:58 +00:00
|
|
|
packet-ipp.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-ipp.h \
|
1999-03-28 18:32:03 +00:00
|
|
|
packet-ipsec.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-ipsec.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-ipv6.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ipv6.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-ipx.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ipx.h \
|
1999-12-06 23:57:51 +00:00
|
|
|
packet-irc.c \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-isakmp.c\
|
1999-12-15 04:34:44 +00:00
|
|
|
packet-isis.h \
|
|
|
|
packet-isis.c \
|
|
|
|
packet-isis-clv.h \
|
|
|
|
packet-isis-clv.c \
|
|
|
|
packet-isis-hello.h \
|
|
|
|
packet-isis-hello.c \
|
|
|
|
packet-isis-lsp.h \
|
|
|
|
packet-isis-lsp.c \
|
|
|
|
packet-isis-snp.h \
|
|
|
|
packet-isis-snp.c \
|
2000-01-24 18:46:45 +00:00
|
|
|
packet-isl.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-isl.h \
|
2000-01-07 09:10:22 +00:00
|
|
|
packet-l2tp.c \
|
Check in Olivier Abad's patch to add dissectors for LAP-B and X.25, and
wiretap support for RADCOM Ltd.'s WAN/LAN analyzers (see
http://www.radcom-inc.com/
). Note: as I remember, IEEE 802.2/ISO 8022 LLC has somewhat of an SDLC
flavor to it, just as I think LAP, LAPB, LAPD, and so on do, so we may
be able to combine some of the LLC dissection and the LAPB dissection
into common code that could, conceivably be used for other SDLC-flavored
protocols.
Make "S" a mnemonic for "Summary" in the "Tools" menu.
Move the routine, used for the "Tools/Summary" display, that turns a
wiretap file type into a descriptive string for it into the wiretap
library itself, expand on some of its descriptions, and add an entry for
files from a RADCOM analyzer.
Have "Tools/Summary" display the snapshot length for the capture.
svn path=/trunk/; revision=416
1999-08-02 02:04:38 +00:00
|
|
|
packet-lapb.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-lapb.h \
|
1999-11-11 05:36:16 +00:00
|
|
|
packet-lapd.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-lapd.h \
|
1999-12-09 04:06:54 +00:00
|
|
|
packet-ldap.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-ldap.h \
|
1999-03-28 18:32:03 +00:00
|
|
|
packet-llc.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-llc.h \
|
1999-03-28 18:32:03 +00:00
|
|
|
packet-lpd.c \
|
1999-11-11 23:13:43 +00:00
|
|
|
packet-mapi.c \
|
1999-11-11 21:22:00 +00:00
|
|
|
packet-mount.c \
|
|
|
|
packet-mount.h \
|
2000-03-09 18:31:51 +00:00
|
|
|
packet-mpls.c \
|
2000-04-20 02:18:53 +00:00
|
|
|
packet-msproxy.c \
|
1998-10-14 04:09:15 +00:00
|
|
|
packet-nbipx.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-nbipx.h \
|
1998-10-14 04:09:15 +00:00
|
|
|
packet-nbns.c \
|
1998-09-23 05:25:12 +00:00
|
|
|
packet-ncp.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ncp.h \
|
1999-08-10 20:06:39 +00:00
|
|
|
packet-netbios.c \
|
Have the IPX code set "pi.len" and "pi.captured_len" based on the length
in the IPX header, and have the dissectors it calls use it rather than
being passed the length as an argument.
Treat both packet type 20 ("WAN Broadcast") and 4 ("IPX", although 3 is
also "IPX", according to Network Monitor) as potentially being NetBIOS
packets.
The packet types for the IPX NetBIOS socket (0x0455) and the NWLink
sockets (0x0551 and 0x0553) are different (perhaps because there's one
socket for the 0x0455 NBIPX, so you have to do name service and datagram
service and have the packet types distinguish them, but NWLink has
separate sockets for name service and datagram service).
The packet type for name service and for datagram service are at
*different locations* in the packet, which is unfortunate if you want to
use the packet type to distinguish name service and datagram service
packets. Use the packet length, for now, to distinguish them, with
socket 0x0455.
Dissect datagram packets differently from name service packets.
Export "packet-netbios.c"'s "netbios_add_name()" routine, and use it
when dissecting NBIPX packets as well.
Label NBIPX packets as "NBIPX" rather than "NetBIOS".
svn path=/trunk/; revision=627
1999-09-02 23:17:58 +00:00
|
|
|
packet-netbios.h \
|
1999-10-29 01:04:44 +00:00
|
|
|
packet-nfs.c \
|
|
|
|
packet-nfs.h \
|
1999-11-15 14:17:20 +00:00
|
|
|
packet-nlm.c \
|
|
|
|
packet-nlm.h \
|
1999-04-06 02:02:12 +00:00
|
|
|
packet-nntp.c \
|
1999-10-14 05:10:33 +00:00
|
|
|
packet-ntp.c \
|
|
|
|
packet-ntp.h \
|
1998-09-25 23:24:07 +00:00
|
|
|
packet-null.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-null.h \
|
1998-09-17 02:01:50 +00:00
|
|
|
packet-osi.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-osi.h \
|
2000-04-15 22:11:26 +00:00
|
|
|
packet-osi-options.c \
|
|
|
|
packet-osi-options.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-ospf.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ospf.h \
|
1999-10-13 06:47:49 +00:00
|
|
|
packet-pim.c \
|
1999-04-05 21:54:41 +00:00
|
|
|
packet-pop.c \
|
1999-11-10 17:23:55 +00:00
|
|
|
packet-portmap.c \
|
|
|
|
packet-portmap.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-ppp.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-ppp.h \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-pppoe.c \
|
|
|
|
packet-pptp.c \
|
1999-11-19 09:55:38 +00:00
|
|
|
packet-q2931.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-q2931.h \
|
1999-11-19 09:55:38 +00:00
|
|
|
packet-q931.c \
|
1999-11-25 10:01:18 +00:00
|
|
|
packet-q931.h \
|
1999-07-08 04:23:28 +00:00
|
|
|
packet-radius.c\
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-raw.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-raw.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-rip.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-rip.h \
|
1999-10-12 23:12:06 +00:00
|
|
|
packet-ripng.c \
|
|
|
|
packet-ripng.h \
|
2000-04-08 03:32:10 +00:00
|
|
|
packet-rlogin.c \
|
1999-11-23 17:09:58 +00:00
|
|
|
packet-rpc.c \
|
|
|
|
packet-rpc.h \
|
1999-06-11 16:45:02 +00:00
|
|
|
packet-rsvp.c \
|
2000-04-21 01:45:58 +00:00
|
|
|
packet-rtcp.c \
|
|
|
|
packet-rtcp.h \
|
|
|
|
packet-rtp.c \
|
|
|
|
packet-rtp.h \
|
1999-07-07 00:34:58 +00:00
|
|
|
packet-rtsp.c \
|
1999-10-20 16:41:20 +00:00
|
|
|
packet-rx.c \
|
|
|
|
packet-rx.h \
|
1999-11-17 02:17:29 +00:00
|
|
|
packet-sap.c \
|
1999-07-07 00:34:58 +00:00
|
|
|
packet-sdp.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-sdp.h \
|
1999-05-09 04:16:36 +00:00
|
|
|
packet-smb.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-smb.h \
|
2000-02-14 04:02:21 +00:00
|
|
|
packet-smb-browse.c \
|
|
|
|
packet-smb-common.c \
|
|
|
|
packet-smb-common.h \
|
|
|
|
packet-smb-logon.c \
|
|
|
|
packet-smb-mailslot.c \
|
|
|
|
packet-smb-pipe.c \
|
1999-10-12 06:21:15 +00:00
|
|
|
packet-sna.c \
|
1999-10-22 08:57:24 +00:00
|
|
|
packet-sna.h \
|
1999-12-05 02:33:52 +00:00
|
|
|
packet-snmp.c \
|
|
|
|
packet-snmp.h \
|
2000-04-12 22:53:16 +00:00
|
|
|
packet-socks.c \
|
1999-12-07 06:13:19 +00:00
|
|
|
packet-srvloc.c \
|
1999-11-19 07:28:16 +00:00
|
|
|
packet-sscop.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-sscop.h \
|
1999-11-11 21:22:00 +00:00
|
|
|
packet-stat.c \
|
|
|
|
packet-stat.h \
|
1999-12-03 21:50:31 +00:00
|
|
|
packet-tacacs.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-tcp.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-tcp.h \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-telnet.c\
|
1999-02-15 06:36:57 +00:00
|
|
|
packet-tftp.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-tftp.h \
|
2000-02-09 17:15:59 +00:00
|
|
|
packet-time.c \
|
1999-11-29 19:43:26 +00:00
|
|
|
packet-tns.c \
|
|
|
|
packet-tns.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-tr.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-tr.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-trmac.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-trmac.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-udp.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-udp.h \
|
1999-12-12 22:40:10 +00:00
|
|
|
packet-v120.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-v120.h \
|
1998-09-17 02:37:47 +00:00
|
|
|
packet-vines.c \
|
|
|
|
packet-vines.h \
|
1999-10-20 22:41:12 +00:00
|
|
|
packet-vlan.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-vlan.h \
|
1999-11-21 14:43:53 +00:00
|
|
|
packet-vrrp.c \
|
2000-02-05 09:19:06 +00:00
|
|
|
packet-vtp.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-vtp.h \
|
2000-04-08 07:07:42 +00:00
|
|
|
packet-wccp.c \
|
|
|
|
packet-who.c \
|
Check in Olivier Abad's patch to add dissectors for LAP-B and X.25, and
wiretap support for RADCOM Ltd.'s WAN/LAN analyzers (see
http://www.radcom-inc.com/
). Note: as I remember, IEEE 802.2/ISO 8022 LLC has somewhat of an SDLC
flavor to it, just as I think LAP, LAPB, LAPD, and so on do, so we may
be able to combine some of the LLC dissection and the LAPB dissection
into common code that could, conceivably be used for other SDLC-flavored
protocols.
Make "S" a mnemonic for "Summary" in the "Tools" menu.
Move the routine, used for the "Tools/Summary" display, that turns a
wiretap file type into a descriptive string for it into the wiretap
library itself, expand on some of its descriptions, and add an entry for
files from a RADCOM analyzer.
Have "Tools/Summary" display the snapshot length for the capture.
svn path=/trunk/; revision=416
1999-08-02 02:04:38 +00:00
|
|
|
packet-x25.c \
|
2000-02-15 21:06:58 +00:00
|
|
|
packet-x25.h \
|
1999-10-14 01:29:07 +00:00
|
|
|
packet-yhoo.c \
|
1999-11-10 17:23:55 +00:00
|
|
|
packet-yhoo.h \
|
|
|
|
packet-ypbind.c \
|
|
|
|
packet-ypbind.h \
|
|
|
|
packet-ypserv.c \
|
|
|
|
packet-ypserv.h \
|
|
|
|
packet-ypxfr.c \
|
|
|
|
packet-ypxfr.h
|
1999-10-20 06:28:29 +00:00
|
|
|
|
2000-01-14 06:46:00 +00:00
|
|
|
ETHEREAL_COMMON_SOURCES = \
|
1999-10-20 06:28:29 +00:00
|
|
|
alignment.h \
|
1999-12-05 07:50:01 +00:00
|
|
|
asn1.c \
|
|
|
|
asn1.h \
|
1999-10-20 06:28:29 +00:00
|
|
|
column.c \
|
|
|
|
column.h \
|
Generalize the "ip_src" and "ip_dst" members of the "packet_info"
structure to "dl_src"/"dl_dst", "net_src"/"net_dst", and "src"/"dst"
addresses, where an address is an address type, an address length in
bytes, and a pointer to that many bytes.
"dl_{src,dst}" are the link-layer source/destination; "net_{src,dst}"
are the network-layer source/destination; "{src,dst}" are the
source/destination from the highest of those two layers that we have in
the packet.
Add a port type to "packet_info" as well, specifying whether it's a TCP
or UDP port.
Don't set the address and port columns in the dissector functions; just
set the address and port members of the "packet_info" structure. Set
the columns in "fill_in_columns()"; this means that if we're showing
COL_{DEF,RES,UNRES}_SRC" or "COL_{DEF,RES,UNRES}_DST", we only generate
the string from "src" or "dst", we don't generate a string for the
link-layer address and then overwrite it with a string for the
network-layer address (generating those strings costs CPU).
Add support for "conversations", where a "conversation" is (at present)
a source and destination address and a source and destination port. (In
the future, we may support "conversations" above the transport layer,
e.g. a TFTP conversation, where the first packet goes from the client to
the TFTP server port, but the reply comes back from a different port,
and all subsequent packets go between the client address/port and the
server address/new port, or an NFS conversation, which might include
lock manager, status monitor, and mount packets, as well as NFS
packets.)
Currently, all we support is a call that takes the source and
destination address/port pairs, looks them up in a hash table, and:
if nothing is found, creates a new entry in the hash table, and
assigns it a unique 32-bit conversation ID, and returns that
conversation ID;
if an entry is found, returns its conversation ID.
Use that in the SMB and AFS code to keep track of individual SMB or AFS
conversations. We need to match up requests and replies, as, for
certain replies, the operation code for the request to which it's a
reply doesn't show up in the reply - you have to find the request with a
matching transaction ID. Transaction IDs are per-conversation, so the
hash table for requests should include a conversation ID and transaction
ID as the key.
This allows SMB and AFS decoders to handle IPv4 or IPv6 addresses
transparently (and should allow the SMB decoder to handle NetBIOS atop
other protocols as well, if the source and destination address and port
values in the "packet_info" structure are set appropriately).
In the "Follow TCP Connection" code, check to make sure that the
addresses are IPv4 addressses; ultimately, that code should be changed
to use the conversation code instead, which will let it handle IPv6
transparently.
svn path=/trunk/; revision=909
1999-10-22 07:18:23 +00:00
|
|
|
conversation.c \
|
|
|
|
conversation.h \
|
1999-10-20 06:28:29 +00:00
|
|
|
dfilter-int.h \
|
|
|
|
dfilter-grammar.y \
|
|
|
|
dfilter-scanner.l \
|
|
|
|
dfilter.c \
|
|
|
|
dfilter.h \
|
|
|
|
etypes.h \
|
|
|
|
follow.c \
|
|
|
|
follow.h \
|
|
|
|
inet_v6defs.h \
|
|
|
|
ipproto.c \
|
1999-11-15 06:32:38 +00:00
|
|
|
ipv4.c \
|
|
|
|
ipv4.h \
|
2000-04-17 00:32:43 +00:00
|
|
|
llcsaps.h \
|
2000-01-13 00:41:11 +00:00
|
|
|
nlpid.h \
|
1999-12-29 05:20:00 +00:00
|
|
|
oui.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet.c \
|
|
|
|
packet.h \
|
1999-12-09 20:43:38 +00:00
|
|
|
plugins.c \
|
|
|
|
plugins.h \
|
2000-04-16 21:37:07 +00:00
|
|
|
ppptypes.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
prefs.c \
|
1998-09-25 23:24:07 +00:00
|
|
|
prefs.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
print.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
print.h \
|
1999-07-07 22:52:57 +00:00
|
|
|
proto.c \
|
|
|
|
proto.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
ps.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
ps.h \
|
1999-10-20 06:28:29 +00:00
|
|
|
register.c \
|
|
|
|
register.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
resolv.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
resolv.h \
|
1999-05-12 05:56:42 +00:00
|
|
|
smb.h \
|
1999-08-04 04:37:46 +00:00
|
|
|
timestamp.h \
|
|
|
|
util.c \
|
|
|
|
util.h \
|
|
|
|
xdlc.c \
|
2000-01-14 06:46:00 +00:00
|
|
|
xdlc.h
|
|
|
|
|
|
|
|
ethereal_SOURCES = \
|
|
|
|
$(DISSECTOR_SOURCES) \
|
|
|
|
$(ETHEREAL_COMMON_SOURCES) \
|
|
|
|
capture.c \
|
|
|
|
capture.h \
|
|
|
|
file.c \
|
|
|
|
file.h \
|
|
|
|
globals.h \
|
|
|
|
menu.h \
|
|
|
|
simple_dialog.h \
|
|
|
|
summary.c \
|
|
|
|
summary.h \
|
|
|
|
ui_util.h
|
1998-09-16 02:39:15 +00:00
|
|
|
|
2000-01-30 16:57:20 +00:00
|
|
|
ethereal_static_SOURCES = \
|
|
|
|
$(ethereal_SOURCES)
|
|
|
|
|
1998-10-12 01:40:57 +00:00
|
|
|
EXTRA_ethereal_SOURCES = \
|
1999-07-08 04:23:28 +00:00
|
|
|
dfilter-grammar.c \
|
|
|
|
dfilter-grammar.h \
|
Changed the display filter scanner from GLIB's GScanner to lex. The code
as it standed depends on your lex being flex, but that only matters if you're
a developer. The distribution will include the dfilter-scanner.c file, so
that if the user doesn't modify dfilter-scanner.l, he won't need flex to
re-create the *.c file.
The new lex scanner gives me better syntax checking for ether addresses. I
thought I could get by using GScanner, but it simply wasn't powerful enough.
All operands have English-like abbreviations and C-like syntax:
and, && ; or, || ; eq, == ; ne, != ; , etc.
I removed the ETHER_VENDOR type in favor of letting the user use the [x:y]
notation: ether.src[0:3] == 0:6:29 instead of ether.srcvendor == 00:06:29
I implemented the IPXNET field type; it had been there before, but was
not implemented. I chose to make it use integer values rather than byte
ranges, since an IPX Network is 4 bytes. So a display filter looks like this:
ipx.srcnet == 0xc0a82c00
rather than this:
ipx.srcnet == c0:a8:2c:00
I can supposrt the byte-range type IPXNET in the future, very trivially.
I still have more work to do on the parser though. It needs to check ranges
when extracting byte ranges ([x:y]) from packets. And I need to get rid
of those reduce/reduce errors from yacc!
svn path=/trunk/; revision=414
1999-08-01 04:28:20 +00:00
|
|
|
dfilter-scanner.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
snprintf.c \
|
|
|
|
snprintf.h \
|
1999-06-14 21:46:36 +00:00
|
|
|
snprintf-imp.h \
|
|
|
|
strerror.c \
|
1999-10-01 21:41:38 +00:00
|
|
|
strerror.h \
|
|
|
|
strncasecmp.c \
|
1999-10-11 07:38:21 +00:00
|
|
|
mkstemp.c \
|
2000-01-15 00:23:13 +00:00
|
|
|
mkstemp.h \
|
1999-10-14 05:41:33 +00:00
|
|
|
inet_aton.c \
|
|
|
|
inet_pton.c \
|
|
|
|
inet_ntop.c
|
1998-10-12 01:40:57 +00:00
|
|
|
|
2000-01-08 19:37:11 +00:00
|
|
|
# Optional objects that I know how to build. These will be
|
|
|
|
# linked into the ethereal executable.
|
2000-01-15 08:08:20 +00:00
|
|
|
# They will also be linked into the tethereal executable; if this
|
|
|
|
# list ever grows to include something that can't be linked with
|
|
|
|
# tethereal, or if tethereal needs something that ethereal doesn't,
|
|
|
|
# we should probably split this into stuff needed both
|
|
|
|
# by ethereal and tethereal and stuff needed only by one or the
|
|
|
|
# other.
|
2000-01-30 16:57:20 +00:00
|
|
|
ethereal_optional_objects = @SNPRINTF_O@ @STRERROR_O@ \
|
|
|
|
@STRNCASECMP_O@ @MKSTEMP_O@ \
|
2000-01-08 19:37:11 +00:00
|
|
|
@INET_ATON_O@ @INET_PTON_O@ @INET_NTOP_O@
|
|
|
|
|
|
|
|
# Additional libs that I know how to build. These will be
|
|
|
|
# linked into the ethereal executable.
|
|
|
|
ethereal_additional_libs = wiretap/libwiretap.a gtk/libui.a
|
|
|
|
|
|
|
|
# This is the automake dependency variable for the executable
|
|
|
|
ethereal_DEPENDENCIES = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(ethereal_additional_libs) \
|
1999-12-26 22:38:07 +00:00
|
|
|
plugins/gryphon/gryphon.la
|
2000-01-08 19:37:11 +00:00
|
|
|
|
2000-01-30 16:57:20 +00:00
|
|
|
ethereal_static_DEPENDENCIES = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(ethereal_additional_libs)
|
|
|
|
|
2000-01-15 08:08:20 +00:00
|
|
|
# This automake variable adds to the link-line for the executable.
|
|
|
|
#
|
|
|
|
# Note that Ethereal doesn't have to be linked with @GLIB_LIBS@, as
|
|
|
|
# they are included in @GTK_LIBS@, and doesn't have to be linked with
|
|
|
|
# @SOCKET_LIBS@ or @NSL_LIBS@, as those should also be included in
|
|
|
|
# @GTK_LIBS@ (as those are also needed for X applications, and GTK+
|
|
|
|
# applications are X applications).
|
2000-01-08 19:37:11 +00:00
|
|
|
ethereal_LDADD = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(ethereal_additional_libs) \
|
2000-01-15 09:46:28 +00:00
|
|
|
@SNMP_LIBS@ \
|
2000-01-15 13:25:22 +00:00
|
|
|
"-dlopen" self \
|
2000-01-15 09:46:28 +00:00
|
|
|
"-dlopen" plugins/gryphon/gryphon.la @PCAP_LIBS@ @GTK_LIBS@
|
2000-01-08 19:37:11 +00:00
|
|
|
|
2000-01-30 16:57:20 +00:00
|
|
|
ethereal_static_LDADD = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(ethereal_additional_libs) \
|
|
|
|
@SNMP_LIBS@ \
|
|
|
|
@PCAP_LIBS@ @GTK_LIBS@
|
|
|
|
|
1999-12-26 22:38:07 +00:00
|
|
|
ethereal_LDFLAGS = -export-dynamic
|
2000-01-30 16:57:20 +00:00
|
|
|
ethereal_static_LDFLAGS = -Wl,-static
|
1999-12-26 22:38:07 +00:00
|
|
|
|
2000-01-14 06:46:00 +00:00
|
|
|
tethereal_SOURCES = \
|
|
|
|
$(DISSECTOR_SOURCES) \
|
|
|
|
$(ETHEREAL_COMMON_SOURCES) \
|
|
|
|
tethereal.c
|
2000-01-15 08:08:20 +00:00
|
|
|
|
|
|
|
# Additional libs that I know how to build. These will be
|
|
|
|
# linked into the tethereal executable.
|
|
|
|
tethereal_additional_libs = wiretap/libwiretap.a
|
|
|
|
|
|
|
|
# This is the automake dependency variable for the executable
|
|
|
|
tethereal_DEPENDENCIES = \
|
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(tethereal_additional_libs) \
|
|
|
|
plugins/gryphon/gryphon.la
|
|
|
|
|
|
|
|
# This automake variable adds to the link-line for the executable
|
2000-01-14 06:46:00 +00:00
|
|
|
tethereal_LDADD = wiretap/libwiretap.a \
|
2000-01-15 08:08:20 +00:00
|
|
|
$(ethereal_optional_objects) \
|
|
|
|
$(tethereal_additional_libs) \
|
2000-01-15 09:46:28 +00:00
|
|
|
@SNMP_LIBS@ \
|
2000-01-15 13:25:22 +00:00
|
|
|
"-dlopen" self \
|
2000-01-15 08:08:20 +00:00
|
|
|
"-dlopen" plugins/gryphon/gryphon.la @GLIB_LIBS@ -lm \
|
2000-01-15 09:46:28 +00:00
|
|
|
@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@
|
2000-01-15 08:08:20 +00:00
|
|
|
|
|
|
|
tethereal_LDFLAGS = -export-dynamic
|
2000-01-14 06:46:00 +00:00
|
|
|
|
2000-01-09 20:05:37 +00:00
|
|
|
editcap_SOURCES = editcap.c
|
2000-01-15 08:08:20 +00:00
|
|
|
|
|
|
|
# This is the automake dependency variable for the executable
|
2000-01-09 20:05:37 +00:00
|
|
|
editcap_DEPENDENCIES = wiretap/libwiretap.a
|
2000-01-15 08:08:20 +00:00
|
|
|
|
|
|
|
# This automake variable adds to the link-line for the executable
|
2000-01-09 20:05:37 +00:00
|
|
|
editcap_LDADD = wiretap/libwiretap.a @GLIB_LIBS@
|
1998-10-12 01:40:57 +00:00
|
|
|
|
1999-10-20 06:28:29 +00:00
|
|
|
#
|
|
|
|
# Build "register.c", which contains a function "register_all_protocols()"
|
|
|
|
# that calls the register routines for all protocols.
|
|
|
|
#
|
|
|
|
# We do this by grepping through sources. If that turns out to be too slow,
|
|
|
|
# maybe we could just require every .o file to have an register routine
|
|
|
|
# of a given name (packet-aarp.o -> proto_register_aarp, etc.).
|
|
|
|
#
|
|
|
|
# Formatting conventions: The name of the proto_register_* routines must
|
|
|
|
# start in column zero, or must be preceded only by "void " starting in
|
|
|
|
# column zero, and must not be inside #if.
|
|
|
|
#
|
|
|
|
# We assume that all dissector routines are in "packet-XXX.c" files,
|
|
|
|
# or in "packet.c".
|
|
|
|
#
|
1999-10-27 01:46:14 +00:00
|
|
|
# For some unknown reason, having a big "for" loop in the Makefile
|
|
|
|
# to scan all the "packet-XXX.c" files doesn't work with some "make"s;
|
|
|
|
# they seem to pass only the first few names in the list to the shell,
|
|
|
|
# for some reason.
|
|
|
|
#
|
|
|
|
# Therefore, we have a script to generate the "register.c" file.
|
|
|
|
#
|
|
|
|
# The first argument is the directory in which the source files live.
|
|
|
|
# All subsequent arguments are the files to scan.
|
|
|
|
#
|
2000-04-04 06:10:44 +00:00
|
|
|
register.c: packet.c $(DISSECTOR_SOURCES) $(srcdir)/make-reg-dotc
|
1999-10-20 06:28:29 +00:00
|
|
|
@echo Making register.c
|
1999-12-05 02:33:52 +00:00
|
|
|
@$(srcdir)/make-reg-dotc $(srcdir) packet.c $(DISSECTOR_SOURCES)
|
1999-10-20 06:28:29 +00:00
|
|
|
|
1998-09-16 02:39:15 +00:00
|
|
|
ps.c: print.ps rdps
|
1999-08-07 17:28:21 +00:00
|
|
|
./rdps $(srcdir)/print.ps ps.c
|
1998-09-16 02:39:15 +00:00
|
|
|
|
|
|
|
rdps: rdps.c
|
2000-01-18 20:35:40 +00:00
|
|
|
$(CC) $(CFLAGS) -o rdps $(srcdir)/rdps.c
|
1998-09-16 02:39:15 +00:00
|
|
|
|
1999-09-17 04:38:23 +00:00
|
|
|
randpkt.o: randpkt.c
|
1999-09-24 04:59:52 +00:00
|
|
|
$(CC) -DHAVE_CONFIG_H -I. `glib-config --cflags` -c $(srcdir)/randpkt.c
|
1999-09-10 05:15:17 +00:00
|
|
|
|
1999-09-17 04:38:23 +00:00
|
|
|
randpkt: randpkt.o wiretap/libwiretap.a
|
1999-09-24 03:43:09 +00:00
|
|
|
$(LINK) -o randpkt randpkt.o wiretap/libwiretap.a `glib-config --libs` -lz
|
1999-09-10 05:15:17 +00:00
|
|
|
|
1999-05-12 05:56:42 +00:00
|
|
|
DISTCLEANFILES = \
|
1999-10-20 06:28:29 +00:00
|
|
|
register.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
rdps \
|
|
|
|
ps.c \
|
1999-03-28 18:32:03 +00:00
|
|
|
*~
|
1998-09-16 02:39:15 +00:00
|
|
|
|
1999-07-15 15:33:52 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
config.h.win32 \
|
2000-03-03 12:01:22 +00:00
|
|
|
config.nmake \
|
2000-01-26 07:00:26 +00:00
|
|
|
debian/README.debian \
|
|
|
|
debian/changelog \
|
|
|
|
debian/control \
|
|
|
|
debian/copyright \
|
|
|
|
debian/dirs \
|
|
|
|
debian/docs \
|
|
|
|
debian/menu \
|
|
|
|
debian/postinst \
|
|
|
|
debian/prerm \
|
|
|
|
debian/rules \
|
2000-03-01 07:48:03 +00:00
|
|
|
doc/README.developer \
|
1999-08-11 16:42:51 +00:00
|
|
|
doc/Makefile.in \
|
1999-08-31 06:26:12 +00:00
|
|
|
doc/Makefile.am \
|
1999-07-20 08:28:15 +00:00
|
|
|
doc/dfilter2pod.in \
|
2000-01-14 07:51:14 +00:00
|
|
|
doc/editcap.pod \
|
1999-07-15 15:33:52 +00:00
|
|
|
doc/ethereal.pod.template \
|
1999-11-29 20:08:04 +00:00
|
|
|
doc/proto_tree \
|
1999-09-24 04:59:52 +00:00
|
|
|
doc/randpkt.txt \
|
2000-01-14 07:51:14 +00:00
|
|
|
doc/tethereal.pod.template \
|
1999-12-22 20:10:49 +00:00
|
|
|
editcap.c \
|
1999-08-24 17:19:45 +00:00
|
|
|
ethereal.spec.in \
|
2000-04-05 11:04:46 +00:00
|
|
|
getopt.c \
|
|
|
|
getopt.h \
|
|
|
|
ieee-float.h \
|
2000-04-15 04:10:50 +00:00
|
|
|
image/editcap.rc \
|
1999-12-17 05:42:27 +00:00
|
|
|
image/ethereal48x48-trans.png \
|
|
|
|
image/ethereal48x48.png \
|
2000-04-15 04:10:50 +00:00
|
|
|
image/ethereal.ico \
|
|
|
|
image/ethereal.rc \
|
1998-10-16 01:18:35 +00:00
|
|
|
image/icon-excl.xpm \
|
|
|
|
image/icon-ethereal.xpm \
|
2000-04-15 04:10:50 +00:00
|
|
|
image/tethereal.rc \
|
1999-11-29 20:08:04 +00:00
|
|
|
INSTALL.configure \
|
1999-07-15 15:33:52 +00:00
|
|
|
Makefile.nmake \
|
1999-10-27 02:41:11 +00:00
|
|
|
make-reg-dotc \
|
1998-10-16 01:18:35 +00:00
|
|
|
manuf \
|
|
|
|
print.ps \
|
1999-11-29 20:08:04 +00:00
|
|
|
README.aix \
|
2000-02-19 21:54:07 +00:00
|
|
|
README.bsd \
|
1999-11-29 23:19:09 +00:00
|
|
|
README.hpux \
|
1999-09-24 04:59:52 +00:00
|
|
|
README.irix \
|
1999-08-31 06:09:25 +00:00
|
|
|
README.linux \
|
1999-05-01 05:19:25 +00:00
|
|
|
README.tru64 \
|
2000-01-06 19:51:26 +00:00
|
|
|
README.vmware \
|
1999-07-15 15:33:52 +00:00
|
|
|
README.win32 \
|
1999-09-24 04:59:52 +00:00
|
|
|
randpkt.c \
|
1999-12-01 20:58:49 +00:00
|
|
|
rdps.c \
|
|
|
|
TODO
|
1998-11-12 00:06:47 +00:00
|
|
|
|
2000-02-11 03:17:58 +00:00
|
|
|
if SETUID_INSTALL
|
|
|
|
install-exec-hook:
|
|
|
|
-chmod +s $(DESTDIR)$(bindir)/ethereal
|
|
|
|
-chmod +s $(DESTDIR)$(bindir)/tethereal
|
|
|
|
-chmod +s $(DESTDIR)$(bindir)/ethereal_static
|
2000-02-15 21:17:57 +00:00
|
|
|
else
|
|
|
|
install-exec-hook:
|
2000-02-11 03:17:58 +00:00
|
|
|
endif
|
|
|
|
|
2000-01-15 13:45:06 +00:00
|
|
|
#
|
|
|
|
# Currently register.c can be included in the distribution because
|
|
|
|
# we always build all protocol dissectors. We used to have to check
|
|
|
|
# whether or not to build the snmp dissector. If we again need to
|
|
|
|
# variably build something, making register.c non-portable, uncomment
|
|
|
|
# the dist-hook line below.
|
1999-10-20 06:28:29 +00:00
|
|
|
#
|
|
|
|
# Oh, yuk. We don't want to include "register.c" in the distribution, as
|
|
|
|
# its contents depend on the configuration, and therefore we want it
|
|
|
|
# to be built when the first "make" is done; however, Automake insists
|
|
|
|
# on putting *all* source into the distribution.
|
|
|
|
#
|
1999-12-22 20:12:38 +00:00
|
|
|
# We work around this by having a "dist-hook" rule that deletes
|
1999-10-20 06:28:29 +00:00
|
|
|
# "register.c", so that "dist" won't pick it up.
|
|
|
|
#
|
2000-01-15 13:45:06 +00:00
|
|
|
#dist-hook:
|
|
|
|
# @rm -f $(distdir)/register.c
|
1999-10-20 06:28:29 +00:00
|
|
|
|
2000-01-15 13:25:22 +00:00
|
|
|
SUBDIRS = wiretap gtk plugins @ethereal_SUBDIRS@
|
1999-05-16 04:27:08 +00:00
|
|
|
|
1999-08-11 16:05:19 +00:00
|
|
|
ethereal.1: ethereal doc/ethereal.pod.template
|
1999-05-16 04:27:08 +00:00
|
|
|
(cd doc ; \
|
1999-09-01 22:59:48 +00:00
|
|
|
$(MAKE) ../ethereal.1 )
|
1999-08-11 16:25:07 +00:00
|
|
|
|
2000-01-14 06:46:00 +00:00
|
|
|
tethereal.1: tethereal doc/tethereal.pod.template
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../tethereal.1 )
|
|
|
|
|
2000-01-09 20:28:26 +00:00
|
|
|
editcap.1: doc/editcap.pod
|
|
|
|
(cd doc ; \
|
|
|
|
$(MAKE) ../editcap.1 )
|
|
|
|
|
1999-08-11 16:25:07 +00:00
|
|
|
dfilter-scanner.c : dfilter-scanner.l
|
2000-03-29 19:55:51 +00:00
|
|
|
$(LEX) -Pdfilter_ -odfilter-scanner.c $(srcdir)/dfilter-scanner.l
|
1999-12-26 22:38:07 +00:00
|
|
|
|
|
|
|
libtool: $(LIBTOOL_DEPS)
|
|
|
|
$(SHELL) ./config.status --recheck
|