流量分析是网络安全和Linux运维领域必不可少的手段之一。利用netop 这款工具可以自定义过滤网络流量规则。本文让我们一起来学习吧~
netop命令
安装部署
执行下面命令,利用Docker一键部署。
docker run -it --rm --net=host zingerbee/netop
源码方式:
git clone https://github.com/ZingerLittleBee/netop.git sudo cargo run
Cargo方式:
Cargo 是 Rust 的官方构建系统和包管理器。因此,我们需要安装 rust 和 pcap接下来,分别执行下面命令进行安装。
# 安装 sudo cargo install netop # 运行 netop # 或者指定网卡运行 netop -n eth0
使用指南
netop命令很简单,我们可以在后面指定网卡,从而查看相关参数。
netop -n eth0 # docker方式 docker run -it --rm --net=host zingerbee/netop -n eth0
作者项目地址:https://github.com/ZingerLittleBee/netop/
文章来源:HACK之道
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END














暂无评论内容