【发布时间】:2016-06-16 13:31:16
【问题描述】:
我尝试过滤由 GOOSE 协议生成的第 2 层多播数据包(无 IP 标头)。
使用了以下命令(ebtable 和 iptables)但不起作用。谁能给点建议?
我使用 ebtables 是因为我读到 iptables 无法打开没有 ip 标头的数据包(至少第 3 层)。数据包从机器 A 发送到机器 B(客户端/服务器软件)。
一个。 ebtables -A 输入 -j DROP ebtables -A OUTPUT -j DROP
b. iptables -A INPUT -m pkttype --pky-type 多播 -j DROP iptables -A OUTPUT -m pkttype --pky-type 多播 -j DROP
我尝试了上述所有命令,但我无法停止我的多播数据包(DROP 仅用于测试目的)
在此先感谢您...
【问题讨论】:
标签: linux firewall iptables multicast ebtables