[Olsr-dev] Asymmetric ipip not working

Sven-Ola Tuecke (spam-protected)
Mon Apr 26 08:50:00 CEST 2010


Addendum to make it a clearer bugrep:

Currently olsrd in smargw-server-mode:
  all.rpfilter=0
  wlan0.rpfilter=0
Currently olsrd in smargw-client-mode:
  wlan0.rpfilter=0

Desired olsrd in smargw-server-mode:
  all.rpfilter=0
  tunl0.rpfilter=0
Unchanged olsrd in smargw-client-mode:
  wlan0.rpfilter=0

// Sven-Ola

Am Montag 26 April 2010 08:43:09 schrieb Sven-Ola Tuecke:
> Moins,
>
> ok - that's the critical one, and a bug in the olsrd code too. The
> olsrd-smartgw-server sets the rp_filter for the olsr interface and for all.
> But not for the tunl0 interface. The olsrd-smartgw-client is correct: only
> rp_filter on the olsr interface is needed.
>
> Also, ping debugging may give you false positives here: when using NAT on
> the outgoing iface, conntrack stores the destination address somehow.
> Means: setting rp_filter back to 1 has no effect for an address you pinged
> recently. You need an unused ping target to verify the correct ip_filter
> setup.
>
> // Sven-Ola
>
> Am Sonntag 25 April 2010 18:06:46 schrieb Markus Kittenberger:
> > afair its not necessary to set rp_filter on all or the wireless or lan
> > interfaces
> >
> > but u must turn it off on the tun0 interface,.
> >
> > but check with the olsrd code,..
> >
> > Markus






More information about the Olsr-dev mailing list