[Olsr-dev] Problems with SmartGateway

Henning Rogge (spam-protected)
Fri Sep 30 10:56:05 CEST 2011


On Thu, 29 Sep 2011 21:26:54 Teco Boot wrote:
> Op 29 sep 2011, om 14:17 heeft Markus Kittenberger het volgende geschreven:
> > On Thu, Sep 29, 2011 at 2:00 PM, Teco Boot <(spam-protected)> wrote:
> > Back to older kernel is no option for me, I need 3.0.0 for my gear.
> > it was meant for testing, and finding the smart gateway problem ,..
> > 
> > I see a /proc/sys/net/ipv4/conf/all/rp_filter with default value 1.
> > might be a problem,.
> > what the value of
> > /proc/sys/net/ipv4/conf/tun0/rp_filter
> 
> (spam-protected):~# cat /proc/sys/net/ipv4/conf/tun0/rp_filter
> 1
> But this is my OpenVPN tunnel !!
> 
> Here is what is of interest:
> (spam-protected):~# cat /proc/sys/net/ipv4/conf/tunl0/rp_filter
> 0
> 
> > and how does 3.0 kernel combine this values ? (-;
> 
> I don't think it differs from older kernels.
> 
> I think the ../all/rp_filter enforce validation on all ifs.
> 
> 
> In src/linux/net.c, is_at_least_linuxkernel_2_6_31:
>  173   if (strncmp(uts.release, "2.6.",4) != 0) {
>  174     return false;
>  175   }
> 
> I put something in front:
> 
>   if (strncmp(uts.release, "2", 1) >= 0) {
>     return true;
>   }
>   if (strncmp(uts.release, "2.6.", 4) != 0) {
>     return false;
>   }
> 
> I pushed into stable (with user name "right now"). Next time with correct
> name, I hope.
I will look at it at the weekend... we were one of the poor developers that 
got tricked by the 3.0 release. *G*

Henning Rogge
-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4364 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20110930/4f468904/attachment.bin>


More information about the Olsr-dev mailing list