摘要: 1、抓取报文后隔指定的时间保存一次: tcpdump -i eth3 -s0 -G 60 -Z root -w %Y_%m%d_%H%M_%S.pcap 这里解释下-G选项 后面接时间 单位为秒 本例中的时间为60秒 2、 抓取报文后达到指定的大小保存一次; tcpdump -i eth3 -s0 -C 1 -Z root -w jiangsuyinhang.pcap 阅读全文
posted @ 2018-05-11 18:53 江渚渔樵上 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 1.防火墙 1) 重启后生效 开启: chkconfig iptables on 关闭: chkconfig iptables off 2) 即时生效,重启后失效 开启: service iptables start 关闭: service iptables stop 查看状态 service iptables status 2.关机 # shutdown -h now #立刻关机 # sh... 阅读全文
posted @ 2018-05-11 18:52 江渚渔樵上 阅读(194) 评论(0) 推荐(0) 编辑