1999-09-09 03:45:57 +00:00
|
|
|
# Makefile.am
|
|
|
|
# Automake file for Ethereal
|
|
|
|
#
|
1999-09-24 03:43:09 +00:00
|
|
|
# $Id: Makefile.am,v 1.75 1999/09/24 03:43:03 gram 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.
|
|
|
|
|
1999-09-17 04:38:23 +00:00
|
|
|
bin_PROGRAMS = ethereal
|
1998-09-16 02:39:15 +00:00
|
|
|
|
|
|
|
man_MANS = ethereal.1
|
|
|
|
|
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
|
|
|
|
1998-09-16 02:39:15 +00:00
|
|
|
ethereal_SOURCES = \
|
1999-05-12 05:56:42 +00:00
|
|
|
alignment.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
capture.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
capture.h \
|
1999-08-24 16:27:23 +00:00
|
|
|
colors.c \
|
|
|
|
colors.h \
|
1998-11-17 04:29:13 +00:00
|
|
|
column.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
column.h \
|
1999-08-14 06:42:36 +00:00
|
|
|
dfilter-int.h \
|
1999-07-07 22:52:57 +00:00
|
|
|
dfilter-grammar.y \
|
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.l \
|
1999-07-07 22:52:57 +00:00
|
|
|
dfilter.c \
|
|
|
|
dfilter.h \
|
1999-06-19 01:14:51 +00:00
|
|
|
display.c \
|
|
|
|
display.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
ethertype.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
etypes.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
file.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
file.h \
|
1998-09-17 03:12:28 +00:00
|
|
|
follow.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
follow.h \
|
1999-09-01 03:04:24 +00:00
|
|
|
globals.h \
|
1998-10-16 01:18:35 +00:00
|
|
|
packet-aarp.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-arp.c \
|
1999-09-11 04:50:44 +00:00
|
|
|
packet-ascend.c\
|
1998-10-16 01:18:35 +00:00
|
|
|
packet-atalk.c \
|
1999-08-20 06:55:20 +00:00
|
|
|
packet-atm.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-bootp.c \
|
1998-12-19 00:12:23 +00:00
|
|
|
packet-cdp.c \
|
1999-07-28 23:16:42 +00:00
|
|
|
packet-clip.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-data.c \
|
|
|
|
packet-dns.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-dns.h \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-eth.c \
|
1998-10-10 03:32:20 +00:00
|
|
|
packet-fddi.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ftp.c \
|
1998-11-18 03:01:44 +00:00
|
|
|
packet-giop.c \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-gre.c \
|
1999-02-12 09:03:42 +00:00
|
|
|
packet-http.c \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-icmpv6.c\
|
1999-09-14 08:06:47 +00:00
|
|
|
packet-icp.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 \
|
1999-03-28 18:32:03 +00:00
|
|
|
packet-ipsec.c \
|
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-06-11 15:30:55 +00:00
|
|
|
packet-isakmp.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 \
|
1999-03-28 18:32:03 +00:00
|
|
|
packet-llc.c \
|
|
|
|
packet-lpd.c \
|
1998-10-14 04:09:15 +00:00
|
|
|
packet-nbipx.c \
|
|
|
|
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-04-06 02:02:12 +00:00
|
|
|
packet-nntp.c \
|
1998-09-25 23:24:07 +00:00
|
|
|
packet-null.c \
|
1998-09-17 02:01:50 +00:00
|
|
|
packet-osi.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-ospf.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-ospf.h \
|
1999-04-05 21:54:41 +00:00
|
|
|
packet-pop.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-ppp.c \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-pppoe.c \
|
|
|
|
packet-pptp.c \
|
1999-07-08 04:23:28 +00:00
|
|
|
packet-radius.c\
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-raw.c \
|
|
|
|
packet-rip.c \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet-rip.h \
|
1999-06-11 16:45:02 +00:00
|
|
|
packet-rsvp.c \
|
|
|
|
packet-rsvp.h \
|
1999-07-07 00:34:58 +00:00
|
|
|
packet-rtsp.c \
|
|
|
|
packet-sdp.c \
|
1999-05-09 04:16:36 +00:00
|
|
|
packet-smb.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-tcp.c \
|
1999-06-11 15:30:55 +00:00
|
|
|
packet-telnet.c\
|
1999-02-15 06:36:57 +00:00
|
|
|
packet-tftp.c \
|
1998-09-16 02:39:15 +00:00
|
|
|
packet-tr.c \
|
|
|
|
packet-trmac.c \
|
|
|
|
packet-udp.c \
|
1998-09-17 02:37:47 +00:00
|
|
|
packet-vines.c \
|
|
|
|
packet-vines.h \
|
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 \
|
1999-05-12 05:56:42 +00:00
|
|
|
packet.c \
|
|
|
|
packet.h \
|
|
|
|
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-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-09-11 04:50:44 +00:00
|
|
|
summary.c \
|
|
|
|
summary.h \
|
1999-08-04 04:37:46 +00:00
|
|
|
timestamp.h \
|
|
|
|
util.c \
|
|
|
|
util.h \
|
|
|
|
xdlc.c \
|
|
|
|
xdlc.h
|
1998-09-16 02:39:15 +00:00
|
|
|
|
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
|
|
|
packet-snmp.c \
|
|
|
|
snprintf.c \
|
|
|
|
snprintf.h \
|
1999-06-14 21:46:36 +00:00
|
|
|
snprintf-imp.h \
|
|
|
|
strerror.c \
|
|
|
|
strerror.h
|
1998-10-12 01:40:57 +00:00
|
|
|
|
1999-08-27 22:27:18 +00:00
|
|
|
ethereal_DEPENDENCIES = @SNMP_O@ @SNPRINTF_O@ @STRERROR_O@ wiretap/libwiretap.a gtk/libui.a
|
|
|
|
ethereal_LDADD = @SNMP_O@ @SNPRINTF_O@ @STRERROR_O@ wiretap/libwiretap.a gtk/libui.a @SNMP_A@
|
1998-10-12 01:40:57 +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
|
1999-08-07 17:28:21 +00:00
|
|
|
$(CC) -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
|
|
|
|
$(CC) -DHAVE_CONFIG_H `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 = \
|
|
|
|
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 \
|
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 \
|
1999-07-15 15:33:52 +00:00
|
|
|
doc/ethereal.pod.template \
|
1999-08-24 17:19:45 +00:00
|
|
|
ethereal.spec.in \
|
1998-10-16 01:18:35 +00:00
|
|
|
image/icon-excl.xpm \
|
|
|
|
image/icon-ethereal.xpm \
|
1999-07-15 15:33:52 +00:00
|
|
|
Makefile.nmake \
|
1998-10-16 01:18:35 +00:00
|
|
|
manuf \
|
|
|
|
print.ps \
|
1999-08-31 06:09:25 +00:00
|
|
|
README.linux \
|
1999-05-01 05:19:25 +00:00
|
|
|
README.tru64 \
|
1999-07-15 15:33:52 +00:00
|
|
|
README.win32 \
|
1999-08-11 16:25:07 +00:00
|
|
|
rdps.c
|
1998-11-12 00:06:47 +00:00
|
|
|
|
1999-08-27 22:27:18 +00:00
|
|
|
SUBDIRS = wiretap gtk @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
|
|
|
|
|
|
|
dfilter-scanner.c : dfilter-scanner.l
|
1999-08-13 23:52:49 +00:00
|
|
|
$(LEX) -Pdfilter_ -t $(srcdir)/dfilter-scanner.l > dfilter-scanner.c
|