⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 perrotcp.8.in

📁 记录IP/TCP/UDP/ICMP网络包日志
💻 IN
字号:
.TH PERROTCP 8 "@releasedate@" "Release @version@" "PERROTCP".SH NAMEperrotcp \- TCP packet logger..SH SYNOPSIS.B perrotcp[\-q] [\-lwr] [-f flagmask] [-i hostname[/mask]].SH DESCRIPTION.B perrotcpis a daemon that logs all TCP packets that your host receives..SS OPTIONS.TP.I "\-q"Quiet mode. Do not send output to stdout. Only error messagesare printed..TP.I "\-l"Make a simple human readeable log..TP.I "\-w"Log raw data, exactly as it was read from the socket, prefixing to eachpacket, sizeof( time_t) bytes containing the date when the packet arrived.You can later interpret this data, obtaining a detailed report of thepacket data using the program.IR ipretperro ..TP.I "\-r"Resolve domain names. By default the program won't resolveIP addresses to domain names because of the slow down it produces..TP.I "\-f flagmask"Only log packets that matches.IR flagmask .The TCP header flags are six, each, one bit long. They are.IR URG ,.IR ACK ,.IR PUSH ,.IR RST ,.IR SYNand.IR FIN .They are arranged in the TCP header in that order. To logpackets that have set any of them, you must use a number witha 1 at the flag position. If you want to log packets with twoor more flags set, you must use a logic.B ORwith the numbers of each flag. So, to log TCP packetswith only the.B SYNflag on, and all others off, you must use a.B flagmaskof.IR 2 .To detect.B FINscannings set it to.IR 1 .To detect both.B SYNand.B FINyou must use a.IR 3 .If it is confusing see the file.B TCP.flags.txtin the documentation of Perro..TP.I "\-i hostname[/mask]"Ignore packets..Bhostnamecan be a hostname, a network name, or an IP address.The.Bmaskcan be a network mask or a number that specify the number of onesat the left side of the network mask. So, a mask of.B 16is the same that.IR 255.255.0.0 .You can also use this option more than once, to ignore loggingpackets from hosts that belong to different networks..SH FILES@logdir@/tcp.log      TCP simple human readeable log.PP@logdir@/tcp.raw      time + TCP raw data (header + data).SH SEE ALSO.BR ipretperro (8),.BR perroicmp (8),.BR perroudp (8)..SH BUGSNone for now, if you find one, email it to me <diego@grigna.com>.SH VERSIONPerro is now at version @version@..PPThe latest version of Perro could be found at:    http://www.grigna.com/diego/linux/perro/.SH AUTHOR.PP    Diego Javier Grigna <diego@grigna.com>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -