diff options
-rw-r--r-- | Makefile.am | 7 | ||||
-rw-r--r-- | Makefile.in | 358 | ||||
-rw-r--r-- | ethereal.1 | 551 |
3 files changed, 215 insertions, 701 deletions
diff --git a/Makefile.am b/Makefile.am index 16fd7007fc..5ce361bcde 100644 --- a/Makefile.am +++ b/Makefile.am @@ -119,3 +119,10 @@ EXTRA_DIST = \ ylwrap SUBDIRS = @SUBDIRS@ + +ethereal.1: doc/ethereal.pod VERSION + (cd doc ; \ + pod2man ethereal.pod \ + --center="The Ethereal Network Analyzer" \ + --release=`cat ../VERSION` \ + > ../ethereal.1 ) diff --git a/Makefile.in b/Makefile.in index 64dbc1eca6..7442608c75 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,6 +1,6 @@ -# Makefile.in generated automatically by automake 1.4 from Makefile.am +# Makefile.in generated automatically by automake 1.3 from Makefile.am -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,7 +11,7 @@ # PARTICULAR PURPOSE. -SHELL = @SHELL@ +SHELL = /bin/sh srcdir = @srcdir@ top_srcdir = @top_srcdir@ @@ -32,7 +32,7 @@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include -DESTDIR = +DISTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -46,7 +46,7 @@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ @@ -80,20 +80,113 @@ man_MANS = ethereal.1 sysconf_DATA = manuf -ethereal_SOURCES = alignment.h capture.c capture.h column.c column.h config.h ethereal.c ethereal.h ethertype.c etypes.h file.c file.h filter.c filter.h follow.c follow.h gtkpacket.c gtkpacket.h menu.c menu.h packet-aarp.c packet-arp.c packet-atalk.c packet-bootp.c packet-cdp.c packet-data.c packet-dns.c packet-dns.h packet-eth.c packet-fddi.c packet-ftp.c packet-giop.c packet-http.c packet-icmpv6.c packet-ip.c packet-ip.h packet-ipsec.c packet-ipv6.c packet-ipv6.h packet-ipx.c packet-ipx.h packet-llc.c packet-lpd.c packet-nbipx.c packet-nbns.c packet-ncp.c packet-ncp.h packet-nntp.c packet-null.c packet-osi.c packet-ospf.c packet-ospf.h packet-pop.c packet-ppp.c packet-raw.c packet-rip.c packet-rip.h packet-smb.c packet-tcp.c packet-telnet.c packet-tftp.c packet-tr.c packet-trmac.c packet-udp.c packet-vines.c packet-vines.h packet.c packet.h prefs.c prefs.h print.c print.h ps.c ps.h resolv.c resolv.h smb.h util.c util.h - - -EXTRA_ethereal_SOURCES = packet-snmp.c snprintf.c snprintf.h snprintf-imp.h - +ethereal_SOURCES = \ + alignment.h \ + capture.c \ + capture.h \ + column.c \ + column.h \ + config.h \ + ethereal.c \ + ethereal.h \ + ethertype.c \ + etypes.h \ + file.c \ + file.h \ + filter.c \ + filter.h \ + follow.c \ + follow.h \ + gtkpacket.c \ + gtkpacket.h \ + menu.c \ + menu.h \ + packet-aarp.c \ + packet-arp.c \ + packet-atalk.c \ + packet-bootp.c \ + packet-cdp.c \ + packet-data.c \ + packet-dns.c \ + packet-dns.h \ + packet-eth.c \ + packet-fddi.c \ + packet-ftp.c \ + packet-giop.c \ + packet-http.c \ + packet-icmpv6.c \ + packet-ip.c \ + packet-ip.h \ + packet-ipsec.c \ + packet-ipv6.c \ + packet-ipv6.h \ + packet-ipx.c \ + packet-ipx.h \ + packet-llc.c \ + packet-lpd.c \ + packet-nbipx.c \ + packet-nbns.c \ + packet-ncp.c \ + packet-ncp.h \ + packet-nntp.c \ + packet-null.c \ + packet-osi.c \ + packet-ospf.c \ + packet-ospf.h \ + packet-pop.c \ + packet-ppp.c \ + packet-raw.c \ + packet-rip.c \ + packet-rip.h \ + packet-smb.c \ + packet-tcp.c \ + packet-telnet.c \ + packet-tftp.c \ + packet-tr.c \ + packet-trmac.c \ + packet-udp.c \ + packet-vines.c \ + packet-vines.h \ + packet.c \ + packet.h \ + prefs.c \ + prefs.h \ + print.c \ + print.h \ + ps.c \ + ps.h \ + resolv.c \ + resolv.h \ + smb.h \ + util.c \ + util.h + +EXTRA_ethereal_SOURCES = \ + packet-snmp.c \ + snprintf.c \ + snprintf.h \ + snprintf-imp.h ethereal_DEPENDENCIES = @SNMP_O@ @SNPRINTF_O@ @LIBWIRETAP_A@ ethereal_LDADD = @SNMP_O@ @SNPRINTF_O@ @LIBWIRETAP_A@ @SNMP_A@ -DISTCLEANFILES = rdps ps.c *~ - - -EXTRA_DIST = doc/Makefile doc/ethereal.pod ethereal.1 ethereal.spec image/icon-excl.xpm image/icon-ethereal.xpm manuf print.ps README.tru64 rdps.c ylwrap - +DISTCLEANFILES = \ + rdps \ + ps.c \ + *~ + +EXTRA_DIST = \ + doc/Makefile \ + doc/ethereal.pod \ + ethereal.1 \ + ethereal.spec \ + image/icon-excl.xpm \ + image/icon-ethereal.xpm \ + manuf \ + print.ps \ + README.tru64 \ + rdps.c \ + ylwrap SUBDIRS = @SUBDIRS@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 @@ -119,25 +212,24 @@ packet-telnet.o packet-tftp.o packet-tr.o packet-trmac.o packet-udp.o \ packet-vines.o packet.o prefs.o print.o ps.o resolv.o util.o ethereal_LDFLAGS = CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) +LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ man1dir = $(mandir)/man1 MANS = $(man_MANS) NROFF = nroff DATA = $(sysconf_DATA) -DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ -Makefile.am Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 \ -config.guess config.h.in config.sub configure configure.in install-sh \ -missing mkinstalldirs ylwrap +DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ +Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 config.guess \ +config.h.in config.sub configure configure.in install-sh missing \ +mkinstalldirs stamp-h.in ylwrap DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar -GZIP_ENV = --best +GZIP = --best DEP_FILES = .deps/capture.P .deps/column.P .deps/ethereal.P \ .deps/ethertype.P .deps/file.P .deps/filter.P .deps/follow.P \ .deps/gtkpacket.P .deps/menu.P .deps/packet-aarp.P .deps/packet-arp.P \ @@ -158,10 +250,11 @@ DEP_FILES = .deps/capture.P .deps/column.P .deps/ethereal.P \ SOURCES = $(ethereal_SOURCES) $(EXTRA_ethereal_SOURCES) OBJECTS = $(ethereal_OBJECTS) -all: all-redirect +all: all-recursive-am all-am + .SUFFIXES: .SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) @@ -171,29 +264,22 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) $(ACLOCAL_M4): configure.in acinclude.m4 cd $(srcdir) && $(ACLOCAL) -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) +config.status: $(srcdir)/configure $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) config.h: stamp-h - @if test ! -f $@; then \ - rm -f stamp-h; \ - $(MAKE) stamp-h; \ - else :; fi + @: stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ $(SHELL) ./config.status - @echo timestamp > stamp-h 2> /dev/null + @echo timestamp > stamp-h $(srcdir)/config.h.in: $(srcdir)/stamp-h.in - @if test ! -f $@; then \ - rm -f $(srcdir)/stamp-h.in; \ - $(MAKE) $(srcdir)/stamp-h.in; \ - else :; fi $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h cd $(top_srcdir) && $(AUTOHEADER) - @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null + @echo timestamp > $(srcdir)/stamp-h.in mostlyclean-hdr: @@ -218,15 +304,15 @@ install-binPROGRAMS: $(bin_PROGRAMS) $(mkinstalldirs) $(DESTDIR)$(bindir) @list='$(bin_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \ + $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) list='$(bin_PROGRAMS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ done .s.o: @@ -283,10 +369,10 @@ uninstall-man1: done install-man: $(MANS) @$(NORMAL_INSTALL) - $(MAKE) $(AM_MAKEFLAGS) install-man1 + $(MAKE) install-man1 uninstall-man: @$(NORMAL_UNINSTALL) - $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 + $(MAKE) uninstall-man1 install-sysconfDATA: $(sysconf_DATA) @$(NORMAL_INSTALL) @@ -320,65 +406,41 @@ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ + target=`echo $@ | sed s/-recursive//`; \ echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + (cd $$subdir && $(MAKE) $$target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" + done && test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ - target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ + target=`echo $@ | sed s/-recursive//`; \ echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + (cd $$subdir && $(MAKE) $$target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + (cd $$subdir && $(MAKE) tags); \ done tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) + && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP) TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ done; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ @@ -404,31 +466,29 @@ top_distdir = $(distdir) # tarfile. distcheck: dist -rm -rf $(distdir) - GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) dist + && $(MAKE) \ + && $(MAKE) dvi \ + && $(MAKE) check \ + && $(MAKE) install \ + && $(MAKE) installcheck \ + && $(MAKE) dist -rm -rf $(distdir) - @banner="$(distdir).tar.gz is ready for distribution"; \ - dashes=`echo "$$banner" | sed s/./=/g`; \ - echo "$$dashes"; \ - echo "$$banner"; \ - echo "$$dashes" + @echo "========================"; \ + echo "$(distdir).tar.gz is ready for distribution"; \ + echo "========================" dist: distdir -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) dist-all: distdir -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) distdir: $(DISTFILES) -rm -rf $(distdir) @@ -442,23 +502,17 @@ distdir: $(DISTFILES) $(mkinstalldirs) $(distdir)/doc $(distdir)/image @for file in $(DISTFILES); do \ d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file; \ done for subdir in $(SUBDIRS); do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) @@ -470,96 +524,94 @@ mostlyclean-depend: clean-depend: distclean-depend: - -rm -rf .deps maintainer-clean-depend: + -rm -rf .deps %.o: %.c @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp + $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $< %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $< + @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \ + < .deps/$(*F).p > .deps/$(*F).P + @-rm -f .deps/$(*F).p info: info-recursive -dvi-am: dvi: dvi-recursive -check-am: all-am -check: check-recursive -installcheck-am: +check: all-am + $(MAKE) check-recursive installcheck: installcheck-recursive all-recursive-am: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive + $(MAKE) all-recursive + +all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) config.h install-exec-am: install-binPROGRAMS install-sysconfDATA -install-exec: install-exec-recursive install-data-am: install-man -install-data: install-data-recursive -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall-sysconfDATA -uninstall: uninstall-recursive -all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) config.h -all-redirect: all-recursive-am + +install-exec: install-exec-recursive install-exec-am + @$(NORMAL_INSTALL) + +install-data: install-data-recursive install-data-am + @$(NORMAL_INSTALL) + +install: install-recursive install-exec-am install-data-am + @: + +uninstall: uninstall-recursive uninstall-am + install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install + $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install installdirs: installdirs-recursive -installdirs-am: - $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \ - $(DESTDIR)$(sysconfdir) + $(mkinstalldirs) $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1 \ + $(DATADIR)$(sysconfdir) mostlyclean-generic: + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f Makefile $(DISTCLEANFILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \ mostlyclean-compile mostlyclean-tags mostlyclean-depend \ mostlyclean-generic -mostlyclean: mostlyclean-recursive - clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \ clean-depend clean-generic mostlyclean-am -clean: clean-recursive - distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \ distclean-tags distclean-depend distclean-generic \ clean-am -distclean: distclean-recursive - -rm -f config.status - maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am + +mostlyclean: mostlyclean-recursive mostlyclean-am + +clean: clean-recursive clean-am + +distclean: distclean-recursive distclean-am + -rm -f config.status + +maintainer-clean: maintainer-clean-recursive maintainer-clean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive -rm -f config.status .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ @@ -575,12 +627,11 @@ dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir \ mostlyclean-depend distclean-depend clean-depend \ -maintainer-clean-depend info-am info dvi-am dvi check check-am \ -installcheck-am installcheck all-recursive-am install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs-am \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +maintainer-clean-depend info dvi installcheck all-recursive-am all-am \ +install-exec-am install-data-am uninstall-am install-exec install-data \ +install uninstall all installdirs mostlyclean-generic distclean-generic \ +clean-generic maintainer-clean-generic clean mostlyclean distclean \ +maintainer-clean ps.c: print.ps rdps @@ -589,6 +640,13 @@ ps.c: print.ps rdps rdps: rdps.c $(CC) -o rdps rdps.c +ethereal.1: doc/ethereal.pod VERSION + (cd doc ; \ + pod2man ethereal.pod \ + --center="The Ethereal Network Analyzer" \ + --release=`cat ../VERSION` \ + > ../ethereal.1 ) + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/ethereal.1 b/ethereal.1 deleted file mode 100644 index bb76a97e55..0000000000 --- a/ethereal.1 +++ /dev/null @@ -1,551 +0,0 @@ -.rn '' }` -''' $RCSfile: ethereal.1,v $$Revision: 1.7 $$Date: 1999/05/12 06:04:46 $ -''' -''' $Log: ethereal.1,v $ -''' Revision 1.7 1999/05/12 06:04:46 gram -''' Credited John McDermott <jjm@jkintl.com> for his pseudo-real-time -''' capture patch. -''' -''' -.de Sh -.br -.if t .Sp -.ne 5 -.PP -\fB\\$1\fR -.PP -.. -.de Sp -.if t .sp .5v -.if n .sp -.. -.de Ip -.br -.ie \\n(.$>=3 .ne \\$3 -.el .ne 3 -.IP "\\$1" \\$2 -.. -.de Vb -.ft CW -.nf -.ne \\$1 -.. -.de Ve -.ft R - -.fi -.. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' -.tr \(*W-|\(bv\*(Tr -.ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' -'br\} -.el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p -'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F -.\} -.TH ETHEREAL 1 "0.6.1" "12/May/99" "The Ethereal Network Analyzer" -.UC -.if n .hy 0 -.if n .na -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions -.bd B 3 -. \" fudge factors for nroff and troff -.if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP -.\} -.if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& -.\} -. \" simple accents for nroff and troff -.if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q -.\} -.if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' -.\} -. \" troff and (daisy-wheel) nroff accents -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' -.ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] -.ds ae a\h'-(\w'a'u*4/10)'e -.ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) -.if \n(.H>23 .if \n(.V>19 \ -\{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE -.\} -.rm #[ #] #H #V #F C -.SH "NAME" -Ethereal \- Interactively browse network traffic -.SH "SYNOPSYS" -\fBethereal\fR -[\ \fB\-B\fR\ byte\ view\ height\ ] -[\ \fB\-b\fR\ bold\ font\ ] -[\ \fB\-c\fR\ count\ ] -[\ \fB\-F\fR\ ] -[\ \fB\-f\fR\ filter\ expression\ ] -[\ \fB\-h\fR\ ] -[\ \fB\-i\fR\ interface\ ] -[\ \fB\-k\fR\ ] -[\ \fB\-m\fR\ font\ ] -[\ \fB\-n\fR\ ] -[\ \fB\-P\fR\ packet\ list\ height\ ] -[\ \fB\-Q\fR\ ] -[\ \fB\-r\fR\ infile\ ] -[\ \fB\-S\fR\ ] -[\ \fB\-s\fR\ snaplen\ ] -[\ \fB\-T\fR\ tree\ view\ height\ ] -[\ \fB\-t\fR\ time\ stamp\ format\ ] -[\ \fB\-v\fR\ ] -[\ \fB\-w\fR\ savefile] -.SH "DESCRIPTION" -\fBEthereal\fR is a network protocol analyzer based on the \fBGTK+\fR GUI toolkit. It lets -you interactively browse packet data from a live network or from a \fBpcap\fR -/ \fBtcpdump()\fR formatted capture file. -.SH "OPTIONS" -.Ip "-B" 4 -Sets the initial height of the byte view (bottom) pane -.Ip "-b" 4 -The bold font name used for packet fied display. -.Ip "-c" 4 -The default number of packets to read when capturing live data. -.Ip "-F" 4 -Specifies that the live packet capture will be performed in a separate -process. It is then possible to open/reload the file to display the -packets actually captured. -.Ip "-f" 4 -Sets a filter expression. -.Ip "-h" 4 -Prints the version and options and exits. -.Ip "-i" 4 -The name of the interface to use for live packet capture. It should match -one of the names listed in \*(L"\fBnetstat \-i\fR\*(R" or \*(L"\fBifconfig \-a\fR\*(R". -.Ip "-k" 4 -Start the capture session immediately, this option requires -the \fB\-i\fR and \fB\-w\fR parameters. -.Ip "-m" 4 -The font name used by \fBEthereal\fR. -.Ip "-n" 4 -Disable network object name resolution (such as hostname, \s-1TCP\s0 and \s-1UDP\s0 port -names). -.Ip "-P" 4 -Sets the initial height of the packet list (top) pane -.Ip "-Q" 4 -Exit after the end of capture session (useful in batch mode with \fB\-c\fR -option for instance), this option requires the \fB\-i\fR and \fB\-w\fR -parameters. -.Ip "-r" 4 -Read packet data from \fIfile\fR. Currently, \fBEthereal\fR only understands -\fBpcap\fR / \fBtcpdump\fR formatted files. -.Ip "-S" 4 -Specifies that the live packet capture will be performed in a separate -process (same as option \fB\-F\fR) and that the packet displaying should be -synchronized with the capture session without human operation -(i.e. without load/reload). This is an experimental feature. -.Ip "-s" 4 -The default snapshot length to use when capturing live data. No more than -\fIsnaplen\fR bytes of each network packet will be read into memory, or saved -to disk. -.Ip "-T" 4 -Sets the initial height of the tree view (top) pane -.Ip "-t" 4 -Sets the format of the packet timestamp displayed in the packet list -window. The format can be one of \*(L'r\*(R' (relative), \*(L'a\*(R' (absolute), or \*(L'd\*(R' -(delta). The relative time is the time elapsed between the first packet -and the current packet. The absolute time is the actual date and time the -packet was captured. The delta time is the time since the previous packet -was captured. The default is relative. -.Ip "-v" 4 -Prints the version and exits. -.Ip "-w" 4 -Sets the default capture file name. -.SH "INTERFACE" -.Sh "\s-1MENU\s0 \s-1ITEMS\s0" -.Ip "File:Open, File:Close, File:Reload" 4 -Open, close, or reload a capture file. -.Ip "File:Print Packet" 4 -Print a description of each protocol header found in the packet, followed -by the packet data itself. Printing options can be set with the -\fIEdit:Preferences\fR menu item. -.Ip "File:Quit" 4 -Exits the application. -.Ip "Edit:Preferences" 4 -Sets the packet printing and filter options (see the section on \fIPreferences\fR below). -.Ip "Tools:Capture" 4 -Initiates a live packet capture (see the section on \fICapture Preferences\fR below). -A temporary file will be created to hold the capture. The location of the -file can be chosen by setting your \s-1TMPDIR\s0 environment variable before -starting ethereal. Otherwise, the default \s-1TMPDIR\s0 location is system-dependent, -but is likely either /var/tmp or /tmp. -.Ip "Tools:Follow \s-1TCP\s0 Stream" 4 -If you have a \s-1TCP\s0 packet selected, it will display the contents of the \s-1TCP\s0 -data stream in a separate window. -.Sh "\s-1WINDOWS\s0" -.Ip "Main Window" 4 -The main window is split into three panes. You can resize each pane using -a \*(L"thumb\*(R" at the right end of each divider line. Below the panes is a -strip that shows the file load progress, current filter, and informational -text. -.Sp -The top pane contains the list of network packets that you can scroll -through and select. The packet number, packet timestamp, source and -destination addresses, protocol, and description are printed for each -packet. An effort is made to display information as high up the protocol -stack as possible, e.g. \s-1IP\s0 addresses are displayed for \s-1IP\s0 packets, but the -\s-1MAC\s0 layer address is displayed for unknown packet types. -.Sp -The middle pane contains a \fIprotocol tree\fR for the currently-selected -packet. The tree displays each field and its value in each protocol header -in the stack. -.Sp -The lowest pane contains a hex dump of the actual packet data. -Selecting a field in the \fIprotocol tree\fR highlights the corresponding -bytes in this section. -.Sp -A display filter can be entered into the strip at the bottom. It must -have the same format as \fBtcpdump\fR filter strings, since both programs use -the same underlying library. A filter for \s-1HTTP\s0, \s-1HTTPS\s0, and \s-1DNS\s0 traffic -might look like this: -.Sp -.Vb 1 -\& tcp port 80 or tcp port 443 or port 53 -.Ve -Selecting the \fIFilter:\fR button lets you choose from a list of named -filters that you can optionally save. -.Ip "Preferences" 4 -The \fIPreferences\fR dialog lets you select the output format of packets -printed using the \fIFile:Print Packet\fR menu item and configure -commonly-used filters. -.Ip "Printing Preferences" 10 -The radio buttons at the top of the \fIPrinting\fR page allow you choose -between printing the packets as text or PostScript, and sending the -output directly to a command or saving it to a file. The \fICommand:\fR text -entry box is the command to send files to (usually \fBlpr\fR), and the -\fIFile:\fR entry box lets you enter the name of the file you wish to save -to. Additinally, you can select the \fIFile:\fR button to browse the file -system for a particular save file. -.Ip "Filter Preferences" 10 -The \fIFilters\fR page lets you create and modify filters, and set the -default filter to use when capturing data or opening a capture file. -.Sp -The \fIFilter name\fR entry specifies a descriptive name for a filter, e.g. -\fBWeb and \s-1DNS\s0 traffic\fR. The \fIFilter string\fR entry is the text that -actually describes the filtering action to take, as described above.The -dialog buttons perform the following actions: -.Ip "New" 16 -If there is text in the two entry boxes, it creates a new associated list -item. -.Ip "Change" 16 -Modifies the currently selected list item to match what's in the entry -boxes. -.Ip "Copy" 16 -Makes a copy of the currently selected list item. -.Ip "Delete" 16 -Deletes the currently selected list item. -.Ip "\s-1OK\s0" 16 -Sets the currently selected list item as the active filter. If nothing -is selected, turns filtering off. -.Ip "Save" 16 -Saves the current filter list in \fI$\s-1HOME\s0/.ethereal/filters\fR. -.Ip "Cancel" 16 -Closes the dialog without making any changes. -.Ip "Column Preferences" 10 -The \fIColumns\fR page lets you specify the number, title, and format -of each column in the packet list. -.Sp -The \fIColumn title\fR entry is used to specify the title of the column -displayed at the top of the packet list. The type of data that the column -displays can be specified using the \fIColumn format\fR option menu. The row -of buttons on the left perform the following actions: -.Ip "New" 16 -Adds a new column to the list. -.Ip "Change" 16 -Modifies the currently selected list item. -.Ip "Delete" 16 -Deletes the currently selected list item. -.Ip "Up / Down" 16 -Moves the selected list item up or down one position. -.Ip "\s-1OK\s0" 16 -Currently has no effect. -.Ip "Save" 16 -Saves the current column format as the default. -.Ip "Cancel" 16 -Closes the dialog without making any changes. -.Ip "Capture Preferences" 4 -The \fICapture Preferences\fR dialog lets you specify various parameters for -capturing live packet data. -.Sp -The \fIInterface:\fR entry box lets you specify the interface from which to -capture packet data. The \fICount:\fR entry specifies the number of packets -to capture. Entering 0 will capture packets indefinitely. The \fIFilter:\fR -entry lets you specify the capture filter using a tcpdump-style filter -string as described above. The \fIFile:\fR entry specifies the file to save -to, as in the \fIPrinter Options\fR dialog above. You can choose to open the -file after capture, and you can also specify the maximum number of bytes -to capture per packet with the \fICapture length\fR entry. -.SH "SEE ALSO" -the \fItcpdump(1)\fR manpage, the \fIpcap(3)\fR manpage -.SH "NOTES" -The latest version of \fBethereal\fR can be found at -\fBhttp://ethereal.zing.org\fR. -.SH "AUTHORS" -.PP -.Vb 3 -\& Original Author -\& -------- ------ -\& Gerald Combs <gerald@zing.org> -.Ve -.Vb 16 -\& Contributors -\& ------------ -\& Gilbert Ramirez <gramirez@tivoli.com> -\& Hannes R. Boehm <hannes@boehm.org> -\& Mike Hall <mlh@io.com> -\& Bobo Rajec <bobo@bsp-consulting.sk> -\& Laurent Deniel <deniel@worldnet.fr> -\& Don Lafontaine <lafont02@cn.ca> -\& Guy Harris <guy@netapp.com> -\& Simon Wilkinson <sxw@dcs.ed.ac.uk> -\& Joerg Mayer <jmayer@telemation.de> -\& Martin Maciaszek <fastjack@i-s-o.net> -\& Didier Jorand <Didier.Jorand@alcatel.fr> -\& Jun-ichiro itojun Hagino <itojun@iijlab.net> -\& Richard Sharpe <sharpe@ns.aus.com> -\& John McDermott <jjm@jkintl.com> -.Ve -Alain Magloire <alainm@rcsm.ece.mcgill.ca> was kind enough to give his -permission to use his version of snprintf.c. -.PP -Dan Lasley <dlasley@promus.com> gave permission for his \fIdumpit()\fR hex-dump -routine to be used. - -.rn }` '' -.IX Title "ETHEREAL 1" -.IX Name "Ethereal - Interactively browse network traffic" - -.IX Header "NAME" - -.IX Header "SYNOPSYS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "-B" - -.IX Item "-b" - -.IX Item "-c" - -.IX Item "-F" - -.IX Item "-f" - -.IX Item "-h" - -.IX Item "-i" - -.IX Item "-k" - -.IX Item "-m" - -.IX Item "-n" - -.IX Item "-P" - -.IX Item "-Q" - -.IX Item "-r" - -.IX Item "-S" - -.IX Item "-s" - -.IX Item "-T" - -.IX Item "-t" - -.IX Item "-v" - -.IX Item "-w" - -.IX Header "INTERFACE" - -.IX Subsection "\s-1MENU\s0 \s-1ITEMS\s0" - -.IX Item "File:Open, File:Close, File:Reload" - -.IX Item "File:Print Packet" - -.IX Item "File:Quit" - -.IX Item "Edit:Preferences" - -.IX Item "Tools:Capture" - -.IX Item "Tools:Follow \s-1TCP\s0 Stream" - -.IX Subsection "\s-1WINDOWS\s0" - -.IX Item "Main Window" - -.IX Item "Preferences" - -.IX Item "Printing Preferences" - -.IX Item "Filter Preferences" - -.IX Item "New" - -.IX Item "Change" - -.IX Item "Copy" - -.IX Item "Delete" - -.IX Item "\s-1OK\s0" - -.IX Item "Save" - -.IX Item "Cancel" - -.IX Item "Column Preferences" - -.IX Item "New" - -.IX Item "Change" - -.IX Item "Delete" - -.IX Item "Up / Down" - -.IX Item "\s-1OK\s0" - -.IX Item "Save" - -.IX Item "Cancel" - -.IX Item "Capture Preferences" - -.IX Header "SEE ALSO" - -.IX Header "NOTES" - -.IX Header "AUTHORS" - |