-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20/02/12 17:15, Heiko Hund wrote:
> On Monday 20 February 2012 16:00:37 Yang Zhe wrote:
>> It's quite slow to add thousands of routes via execve thousands
>> times. It's better writing the parameters to a pipe to `ip -batch -`
>> on linux.
> 
> I would even go as far as saying that it would make sense to get rid
> of the forking completely and use rtnetlink directly for this. Has
> this already been discussed here?

I agree.  It hasn't been discussed in depth, but it has been mentioned.
And if I would have had some time available, I would have looked into it
directly.  Using capabilities in Linux, it should even be possible for a
non-root process to even modify the routing table.  (it would have to be
started as root, though, but after dropping privileges)


kind regards,

David Sommerseth

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9CdTAACgkQDC186MBRfrqRZwCfZ1YbL52vJuw/aG+sdiCCHOdC
MCwAoK/zPwIh9rq2hiSZyN2gyeXiJhUj
=41JO
-----END PGP SIGNATURE-----

Reply via email to