Re: Make multicast packets local-only?
- From: "Balwinder S \"bsd\" Dheeman" <bsd.SANSPAM@xxxxxxxxxxxxxxxxx>
- Date: Sun, 25 Feb 2007 12:03:33 +0530
On 02/24/2007 06:43 AM, Lance F. wrote:
On Feb 23, 11:08 pm, "Balwinder S \"bsd\" Dheeman"
<bsd.SANS...@xxxxxxxxxxxxxxxxx> wrote:
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 (239.255.255.250), allowing other applications on
PC1 and PC2 to discover it.
My goal:
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 239.255.255.250/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
interfaces).
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 239.255.255.250 -j ACCEPT
iptables -D OUTPUT -s <ip.add.ress.PC2> -d 239.255.255.250 -j ACCEPT
iptables -D OUTPUT -s <ur.lo.cal.net/work> -d 239.255.255.250 -j DROP
Cheers!
--
Dr Balwinder S "bsd" Dheeman Registered Linux User: #229709
Anu'z Linux@HOME Machines: #168573, 170593, 259192
Chandigarh, UT, 160062, India Gentoo, Fedora, Knoppix/FreeBSD/XP
Home: http://cto.homelinux.net/~bsd/ Visit: http://counter.li.org/
.
- Follow-Ups:
- Re: Make multicast packets local-only?
- From: Lance F.
- Re: Make multicast packets local-only?
- References:
- Make multicast packets local-only?
- From: Lance F.
- Re: Make multicast packets local-only?
- From: Balwinder S \"bsd\" Dheeman
- Re: Make multicast packets local-only?
- From: Lance F.
- Make multicast packets local-only?
- Prev by Date: [sFTP] automatic authentication
- Next by Date: Re: How to load an Ethernet driver on only one adapter
- Previous by thread: Re: Make multicast packets local-only?
- Next by thread: Re: Make multicast packets local-only?
- Index(es):
Relevant Pages
|