Community discussions

MikroTik App
 
User avatar
zervan
Member
Member
Topic Author
Posts: 329
Joined: Fri Aug 20, 2010 10:43 pm
Location: Slovakia
Contact:

how to filter and block multicasting?

Sun Dec 11, 2011 2:16 pm

I've two networks connected by routerbard:
X.X.1.0/24 <-> RB <-> X.X.2.0/24
I'd like to use multicast (for Vypress Chat), so I enabled PIM interface. It is working, but the problem is, that the second network is not only for me and there are also other IP subnets. So my router is receiving a lot of IGMP traffic from unknown IP addresses and there are a lot of warnings in log ("source must be directly connected").

How to filter out IGMP traffic? I've created filter rule on firewall:
chain=input action=drop src-address=!X.X.0.0/16 dst-address=224.0.0.0/4
- it is increasing packet count and bytes, but PIM is still receiving these packets :?
 
kbyrd
just joined
Posts: 13
Joined: Sun Jun 03, 2007 6:26 am

Re: how to filter and block multicasting?

Fri Dec 16, 2011 7:05 pm

add action=drop chain=input comment="" disabled=no protocol=igmp
 
User avatar
zervan
Member
Member
Topic Author
Posts: 329
Joined: Fri Aug 20, 2010 10:43 pm
Location: Slovakia
Contact:

Re: how to filter and block multicasting?

Fri Dec 16, 2011 8:53 pm

add action=drop chain=input comment="" disabled=no protocol=igmp
Not bad idea to use protocol=igmp, but the problem remains: interfaces with enabled PIM/IGMP are still receiving packets - it seems like PIM (from package multicast) is working before the firewall filter rules are applied?
 
Wyz4k
Member Candidate
Member Candidate
Posts: 240
Joined: Fri Jul 10, 2009 10:23 am

Re: how to filter and block multicasting?

Fri Apr 28, 2017 5:14 am

I'm also having an issue with this.

I am trying to block VRRP, and if I drop VRRP (proto 112) on output chain and also separately drop dest 224.0.0.18 on output chain it doesn't trigger at all. And on receiving router it gets the packet from proto 112 heading towards 224.0.0.18...

Who is online

Users browsing this forum: vagrik and 193 guests