?? install
字號:
@(#) $Header: INSTALL,v 1.35 97/04/26 13:40:53 leres Exp $ (LBL)If you have not built libpcap, do so first. See the READMEfile in this directory for the ftp location.You will need an ANSI C compiler to build tcpdump. The configure scriptwill abort if your compiler is not ANSI compliant. If this happens, usethe GNU C compiler, available via anonymous ftp: ftp://prep.ai.mit.edu/pub/gnu/gcc.tar.gzAfter libpcap has been built (either install it with "make install" and"make install-incl" or make sure both the libpcap and tcpdump sourcetrees are in the same directory), edit the BINDEST and MANDEST paths inMakefile.in and run ./configure (a shell script). "configure" willdetermine your system attributes and generate an appropriate Makefilefrom Makefile.in. Now build tcpdump by running "make".If everything builds ok, su and type "make install" (and optionally"make install-man). This will install tcpdump and the manual entry. Bydefault, tcpdump is installed with group execute permissions. The groupused depends on your os. In addition, BPF packet access is controlledby permissions to /dev/bpf0. In any case, DO NOT give untrusted usersthe capability of running tcpdump. Tcpdump can capture any traffic onyour net, including passwords.Note that tcpdump is shipped with some systems, for example, DEC/OSFand BSD/386. Remember to remove or rename the installed binarywhen upgrading.If you use Linux, this version of libpcap is known to compile and rununder Red Hat 4.0 with the 2.0.25 kernel. It may work with earlier 2.Xversions but is guaranteed not to work with 1.X kernels.If you use OSF 4, note that that there appears to be some serious bugswith the stock C compiler. The configure code fragments that detect ifthe ether_header and ether_arp structs use the ether_addr structgenerates warnings instead of fatal errors (?!?!) This makes configurethink that the ether_arp struct is used when in fact it is not. To getaround this, delete: -DETHER_HEADER_HAS_EA=1 -DETHER_ARP_HAS_EA=1from the Makefile after running configure (and before attempting tocompile tcpdump.Another workaround is to use gcc.If your system is not one which we have tested tcpdump on, you may haveto modify the configure script and Makefile.in. Please send us patchesfor any modifications you need to make. However, we are not interestedin ascii packet printer patches. We believe adding this feature wouldmake it too easy for crackers who do not have the programming skillsneeded to write a password sniffer to grab clear text passwords.FILES-----CHANGES - description of differences between releasesFILES - list of files exported as part of the distributionINSTALL - this fileMakefile.in - compilation rules (input to the configure script)README - description of distributionVERSION - version of this releaseaclocal.m4 - autoconf macrosaddrtoname.c - address to hostname routinesaddrtoname.h - address to hostname definitionsappletalk.h - AppleTalk definitionsatime.awk - TCP ack awk scriptbootp.h - BOOTP definitionsbpf_dump.c - bpf instruction pretty-printer routineconfig.guess - autoconf supportconfig.sub - autoconf supportconfigure - configure script (run this first)configure.in - configure script sourcedecnet.h - DECnet definitionsethertype.h - ethernet definitionsextract.h - alignment definitionsfddi.h - Fiber Distributed Data Interface definitionsgmt2local.c - time conversion routinesgmt2local.h - time conversion prototypesigrp.h - Interior Gateway Routing Protocol definitionsinstall-sh - BSD style install scriptinterface.h - globals, prototypes and definitionsipx.h - IPX definitionslbl/gnuc.h - gcc macros and defineslbl/os-*.h - os dependent defines and prototypeslinux-include/* - network include files missing on Linuxllc.h - LLC definitionsmachdep.c - machine dependent routinesmachdep.h - machine dependent definitionsmakemib - mib to header scriptmib.h - mib definitionsmkdep - construct Makefile dependency listnetbios.h - NETBIOS definitionsnfsfh.h - Network File System file handle definitionsnfsv2.h - Network File System V2 definitionsntp.h - Network Time Protocol definitionsospf.h - Open Shortest Path First definitionspacketdat.awk - TCP chunk summary awk scriptparsenfsfh.c - Network File System file parser routinesppp.h - Point to Point Protocol definitionsprint-arp.c - Address Resolution Protocol printer routinesprint-atalk.c - AppleTalk printer routinesprint-atm.c - atm printer routinesprint-bootp.c - BOOTP printer routinesprint-decnet.c - DECnet printer routinesprint-domain.c - Domain Name System printer routinesprint-egp.c - External Gateway Protocol printer routinesprint-ether.c - ethernet printer routinesprint-fddi.c - Fiber Distributed Data Interface printer routinesprint-gre.c - Generic Routing Encapsulation printer routinesprint-icmp.c - Internet Control Message Protocol printer routinesprint-igrp.c - Interior Gateway Routing Protocol printer routinesprint-ip.c - ip printer routinesprint-ipx.c - IPX printer routinesprint-isoclns.c - isoclns printer routinesprint-krb.c - Kerberos printer routinesprint-llc.c - llc printer routinesprint-netbios.c - netbios printer routinesprint-nfs.c - Network File System printer routinesprint-ntp.c - Network Time Protocol printer routinesprint-null.c - null printer routinesprint-ospf.c - Open Shortest Path First printer routinesprint-pim.c - Protocol Independent Multicast printer routinesprint-ppp.c - Point to Point Protocol printer routinesprint-raw.c - raw printer routinesprint-rip.c - Routing Information Protocol printer routinesprint-sl.c - Compressed Serial Line Internet Protocol printer routinesprint-snmp.c - Simple Network Management Protocol printer routinesprint-sunrpc.c - Sun Remote Procedure Call printer routinesprint-tcp.c - TCP printer routinesprint-tftp.c - Trivial File Transfer Protocol printer routinesprint-udp.c - UDP printer routinesprint-wb.c - white board printer routinessavestr.c - savestr prototypessavestr.h - strdup() replacementsend-ack.awk - unidirectional tcp send/ack awk scriptsetsignal.c - os independent signal routinessetsignal.h - os independent signal prototypesstime.awk - TCP send awk scripttcpdump.1 - manual entrytcpdump.c - main programutil.c - utility routinesvfprintf.c - emulation routine
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -