Re: multicast routing
- To: debian-russian@lists.debian.org
- Subject: Re: multicast routing
- From: Sergey Chumakov <yas@cit.org.by>
- Date: Tue, 1 Oct 2002 08:48:19 +0300
- Message-id: <[🔎] 20021001084819.A11686@cit.org.by>
- Mail-followup-to: debian-russian@lists.debian.org
- In-reply-to: <001001c26878$e2f69410$290d6464@lpu1p13.iae.lt>; from Kolgaa@mail.iae.lt on Mon, Sep 30, 2002 at 01:59:52PM +0200
- References: <00a001c2684f$8c135ee0$290d6464@lpu1p13.iae.lt> <20020930122253.A6262@cit.org.by> <00b801c26865$a837f3e0$290d6464@lpu1p13.iae.lt> <20020930143300.A12337@cit.org.by> <001001c26878$e2f69410$290d6464@lpu1p13.iae.lt>
Hi Kolgaa,
* Kolgaa@mail.iae.lt <Kolgaa@mail.iae.lt> [2002-09-30 14:59]:
> > А что есть в
> > /proc/sys/net/ipv4/conf/<device>/rp_filter
> >
> > Может это и не надо конечно...
>
> ttslrp# cat /proc/sys/net/ipv4/conf/eth1/rp_filter
> 1
> ttslrp# cat /proc/sys/net/ipv4/conf/eth0/rp_filter
> 1
попробуй забить 0-ли.
Если я правильно понимаю, мультикаст вещает с
определенных адресов только, и их нет/может не быть
в таблице маршрутизации роутера и если rp_filter
включен, он эти "левые" пакета будет режектить
/usr/src/linux-2.2.20/Documentation/Configure.help
If you turn on IP forwarding, you will also get the rp_filter, which
automatically rejects incoming packets if the routing table entry
for their source address doesn't match the network interface they're
arriving on. This has security advantages because it prevents the
so-called IP spoofing, however it can pose problems if you use
asymmetric routing (packets from you to a host take a different path
than packets from that host to you) or if you operate a non-routing
host which has several IP addresses on different interfaces. To turn
rp_filter off use:
echo 0 > /proc/sys/net/ipv4/conf/<device>/rp_filter
or
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
Еще помню что-то было насчет наличия в таблице маршрутизации:
224.0.0.0 0.0.0.0 224.0.0.0 ...
и
255.255.255.255 0.0.0.0 255.255.255.255 ...
хотя может это было про DHCP...
--
Best regards,
Sergey Chumakov 2:450/77[.43]
Reply to: