系统相关
首页 > 系统相关> > Linux抓包工具--Tcpdump

Linux抓包工具--Tcpdump

作者:互联网

Linux抓包工具–Tcpdump

描述

Tcpdump – dump traffic on a network;
tcpdump是类Unix系统下用于网络分析的问题排查的工具;
tcpdump支持针对网络层、协议、主机、网络或端口的过滤,并提供and、or、not等逻辑语句进行详细匹配;

命令解释

tcpdump [ -AbdDefhHIJKlLnNOpqStuUvxX# ] [ -B buffer_size ]
			  [ -c count ]
			  [ -C file_size ] [ -G rotate_seconds ] [ -F file ]
			  [ -i interface ] [ -j tstamp_type ] [ -m module ] [ -M secret ]
			  [ --number ] [ -Q|-P in|out|inout ]
			  [ -r file ] [ -V file ] [ -s snaplen ] [ -T type ] [ -w file ]
			  [ -W filecount ]
			  [ -E spi@ipaddr algo:secret,...  ]
			  [ -y datalinktype ] [ -z postrotate-command ] [ -Z user ]
			  [ --time-stamp-precision=tstamp_precision ]
			  [ --immediate-mode ] [ --version ]
			  [ expression ]

使用方式

标签:centos,--,Tcpdump,packets,36,172.16,root,tcpdump,抓包
来源: https://blog.csdn.net/weixin_45876097/article/details/120378389