tcpdump -i eth0 -c 8 -s 0 -w /mnt/sdcard/dhcp.pcap 'udp and port 67 and port 68' &
- -i 选择网卡
- -c 数据包个数
- -s 数据包长度,0代表完整数据包
- -w 写入文件
DHCP使用67和68端口
&使进程后台运行
tcpdump -i eth0 -c 8 -s 0 -w /mnt/sdcard/dhcp.pcap 'udp and port 67 and port 68' &
DHCP使用67和68端口
&使进程后台运行
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。