Hi
Device: CRS326-24G-2S+
Routerboard version: 6.46.4 and 6.47
I created rule in /interface bridge filter:
[host] > /interface bridge filter print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=output action=accept out-interface-list=ether dst-mac-address=01:80:C2:00:00:00/FF:FF:FF:FF:FF:FF log=yes log-prefix=“TEST:”
Logs:
[host] > /log print where message~“TEST:”
14:22:41 firewall,info TEST: output: in:(unknown 0) out:sfp-sfpplus2, src-mac b8:69:f4:5d:c9:e8, dst-mac 00:0e:0c:9f:f2:f4, eth-proto 0800, UDP, 10.200.0.12:514->10.200
.0.254:514, len 225
14:22:41 firewall,info TEST: output: in:(unknown 0) out:sfp-sfpplus2, src-mac b8:69:f4:5d:c9:e8, dst-mac 00:0e:0c:9f:f2:f4, eth-proto 0800, UDP, 10.200.0.12:514->10.200
.0.254:514, len 225
14:22:41 firewall,info TEST: output: in:(unknown 0) out:sfp-sfpplus2, src-mac b8:69:f4:5d:c9:e8, dst-mac 00:0e:0c:9f:f2:f4, eth-proto 0800, UDP, 10.200.0.12:514->10.200
.0.254:514, len 225
Why this rule matched all packets?
Another rule (try to block vrrp by protocol ip 112):
[host] > /interface bridge filter print
Flags: X - disabled, I - invalid, D - dynamic
0 X chain=output action=accept out-interface-list=ether dst-mac-address=01:80:C2:00:00:00/FF:FF:FF:FF:FF:FF mac-protocol=ip log=yes log-prefix=“TEST”
1 X chain=forward action=drop out-interface-list=ether dst-mac-address=01:80:C2:00:00:00/FF:FF:FF:FF:FF:FF log=no log-prefix=“”
2 X chain=output action=accept out-interface-list=ether dst-mac-address=01:00:0C:CC:CC:CD/FF:FF:FF:FF:FF:FF log=yes log-prefix=“TEST:”
3 X chain=forward action=drop out-interface-list=ether dst-mac-address=01:00:0C:CC:CC:CD/FF:FF:FF:FF:FF:FF log=no log-prefix=“”
4 X chain=output action=accept mac-protocol=ip dst-address=224.0.0.0/24 log=yes log-prefix=“TEST2”
5 X chain=output action=accept mac-protocol=ip src-address=224.0.0.0/24 log=yes log-prefix=“TEST2”
6 X chain=output action=accept mac-protocol=ip log=yes log-prefix=“TEST2”
7 chain=output action=drop mac-protocol=ip ip-protocol=vrrp log=yes log-prefix=“TEST2”
Logs:
[host] > /log print where message~“TEST2”
[host] >
I checked with wireshark all vrrp packets have transmited.
Bridge settings:
[host] > /interface bridge settings print
use-ip-firewall: no
use-ip-firewall-for-vlan: no
use-ip-firewall-for-pppoe: no
allow-fast-path: yes
bridge-fast-path-active: no
bridge-fast-path-packets: 0
bridge-fast-path-bytes: 0
bridge-fast-forward-packets: 0
bridge-fast-forward-bytes: 0[host] > /interface bridge print detail
Flags: X - disabled, R - running
0 R ;;; defconf
name=“bridge” mtu=auto actual-mtu=1500 l2mtu=9214 arp=enabled arp-timeout=auto mac-address=B8:69:F4:5D:C9:E8 protocol-mode=none fast-forward=yes
igmp-snooping=no auto-mac=no admin-mac=B8:69:F4:5D:C9:E8 ageing-time=5m vlan-filtering=yes ether-type=0x8100 pvid=1 frame-types=admit-all ingress-filtering=no
dhcp-snooping=no
Is “/interface bridge filter” working or i missed something?
Thanks!