[olsr-dev] Policy Routing Hack
    Sven-Ola Tuecke 
    (spam-protected)
       
    Thu Apr 19 19:42:06 CEST 2007
    
    
  
Hey,
justa note: policy patch is on top of olsrd-0.5.0.tar.bz2 + cvs.patch.
http://ff-firmware.cvs.sourceforge.net/ff-firmware/ff-ng/freifunk-openwrt/package/freifunk-olsrd/patches/
Needed this to prevent the fast-guys selling ff gateways via fon with some 
policy magic. Ah - the never-used "delete all default routes when olsrd 
default route comes up" option is not implemented in this hack and it's 
linux-ipv4-only of course, tested on i386le and mipsbe. New olsrd.conf 
option: rttable (default 254 == main aka "known by route command").
@eric: stubled across some routing stuff in olsr-bmf which uses the (old) 
ioctl iface while hacking the (new) rtnetlink iface. Something special not 
covered by the OS-dependent routing stuff under src/[your os]/?
// Sven-Ola
    
    
More information about the Olsr-dev
mailing list