Re: ipv4 regression in 2.6.31 ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Monday, September 14, 2009 - 6:57 am

Stephan von Krawczynski a écrit :

Asymetric routing ?

Check your rp_filter settings

grep . `find /proc/sys/net -name rp_filter`

rp_filter - INTEGER
        0 - No source validation.
        1 - Strict mode as defined in RFC3704 Strict Reverse Path
            Each incoming packet is tested against the FIB and if the interface
            is not the best reverse path the packet check will fail.
            By default failed packets are discarded.
        2 - Loose mode as defined in RFC3704 Loose Reverse Path
            Each incoming packet's source address is also tested against the FIB
            and if the source address is not reachable via any interface
            the packet check will fail.

        Current recommended practice in RFC3704 is to enable strict mode
        to prevent IP spoofing from DDos attacks. If using asymmetric routing
        or other complicated routing, then loose mode is recommended.

        conf/all/rp_filter must also be set to non-zero to do source validation
        on the interface

        Default value is 0. Note that some distributions enable it
        in startup scripts.


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: ipv4 regression in 2.6.31 ?, Eric Dumazet, (Mon Sep 14, 6:57 am)
Re: ipv4 regression in 2.6.31 ?, Stephan von Krawczynski, (Mon Sep 14, 8:10 am)
Re: ipv4 regression in 2.6.31 ?, Eric Dumazet, (Mon Sep 14, 8:21 am)
Re: ipv4 regression in 2.6.31 ?, Stephan von Krawczynski, (Mon Sep 14, 8:55 am)
Re: ipv4 regression in 2.6.31 ?, Eric Dumazet, (Mon Sep 14, 9:10 am)
Re: ipv4 regression in 2.6.31 ?, Stephen Hemminger, (Mon Sep 14, 9:31 am)
Re: ipv4 regression in 2.6.31 ?, Julian Anastasov, (Mon Sep 14, 5:01 pm)