Re: Make multicast packets local-only?
- From: "Lance F." <gaizin@xxxxxxxxx>
- Date: 27 Feb 2007 17:44:33 -0800
On Feb 25, 3:33 pm, "Balwinder S \"bsd\" Dheeman"
On 02/24/2007 06:43 AM, Lance F. wrote:
On Feb 23, 11:08 pm, "Balwinder S \"bsd\" Dheeman"
On 02/23/2007 01:21 PM, Lance F. wrote:
The situation:Yes, sure.
I have two computers, PC1 and PC2, each running multiple multicast-
utilizing applications (specifically, UPNP). Each app multicasts its
presence via SSDP (220.127.116.11), allowing other applications on
PC1 and PC2 to discover it.
What I want to do is to prevent PC2 (and PC3, PC4, etc.) from
detecting multicast applications running on PC1. The PC1 apps must
still be able to detect each other, and also be able to detect
multicast apps on PC2.
Is this possible?
My second question, then, is how?
I've tried settings a rule with iptables, such as:
iptables -D OUTPUT -s <local ip> -d 18.104.22.168/32 -j DROP
... but then local applications can't see the packets, either.
I've also looked into mrouted, smcroute and pimd, but it looked like
they are used for a different purpose (routing between two different
Any suggestions on what software to use, what steps to take, etc.,
would be greatly appreciated.
Try these rules in the following sequence and, or order:
iptables -D OUTPUT -s <ip.add.ress.PC1> -d 22.214.171.124 -j ACCEPT
iptables -D OUTPUT -s <ip.add.ress.PC2> -d 126.96.36.199 -j ACCEPT
iptables -D OUTPUT -s <ur.lo.cal.net/work> -d 188.8.131.52 -j DROP
Thank you for the response.
Unfortunately, these rules do not produce the result I had been
However, since that time I've realized that this method would not work
for my project, anyways. Along with blocking presence advertisements,
I also have to ignore incoming 'search' packets (but not other
incoming packets); a simple routing rule would not take care of both
of these issues.
- Lance F.
- Prev by Date: openswan
- Next by Date: cups printer does not like me
- Previous by thread: Re: Make multicast packets local-only?
- Next by thread: fiber optic cables