[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: multicast routing



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: