On Tue, Feb 21, 2012 at 07:49:58PM -0500, Simon Deziel wrote: > >> 1) Set net.ipv4.conf.all.send_redirects = 0 > >> 2) Save net.ipv4.conf.default.send_redirects value > >> 3) Set net.ipv4.conf.default.send_redirects = 0 > >> 4) Call the daemon to create the tun > >> 5) Restore net.ipv4.conf.default.send_redirects initial value > >> > >> Is this better ? > > > > Sounds good :-) > > Could you try it, please? I don't have a setup with that issue right now. > > This new patch implements the above pseudo code and rely only on sysctl > for kfreebsd compatibility. I tested it with dynamically and statically > named tun devices. > > Please let me know if something should be reworked/improved.
Hi Simon, Looks beautiful, thanks a lot for your work on this. I'll apply it on my next upload. Cheers, Alberto -- Alberto Gonzalez Iniesta | Formación, consultoría y soporte técnico agi@(inittab.org|debian.org)| en GNU/Linux y software libre Encrypted mail preferred | http://inittab.com Key fingerprint = 9782 04E7 2B75 405C F5E9 0C81 C514 AF8E 4BA4 01C3 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

