Re: RANDOM_IP_ID sysctl?
From: Xin LI (delphij_at_frontfree.net)
Date: 06/29/04
- Previous message: David Malone: "RANDOM_IP_ID sysctl?"
- In reply to: David Malone: "RANDOM_IP_ID sysctl?"
- Next in thread: Max Laier: "Re: RANDOM_IP_ID sysctl?"
- Reply: Max Laier: "Re: RANDOM_IP_ID sysctl?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Jun 2004 21:40:08 +0800 To: David Malone <dwmalone@maths.tcd.ie>
On Tue, Jun 29, 2004 at 02:13:38PM +0100, David Malone wrote:
> It seems to me that RANDOM_IP_ID might be better as a sysctl rather
> than a kernel option. Would anyone mind if I changed this?
Wouldn't this cause a performance penality? IIRC htons() is currently
a macro which is essentially a no-op, while ip_randomid() is a function
call. Of course we can convert the call to a uniform hook-alike mechainism,
however, given the frequency the function is called, this should be
carefully considered.
In addition, what's the apparant benefit making it a sysctl rather
than being a kernel option? I think there is rarely a sysadmin to
enable and disable this runtime.
BTW. For security considerations I'd like to see if this is made default
in GENERIC kernels :-)
Cheers,
-- Xin LI <delphij frontfree net> http://www.delphij.net/ See complete headers for GPG key and other information.
- application/pgp-signature attachment: stored
- Previous message: David Malone: "RANDOM_IP_ID sysctl?"
- In reply to: David Malone: "RANDOM_IP_ID sysctl?"
- Next in thread: Max Laier: "Re: RANDOM_IP_ID sysctl?"
- Reply: Max Laier: "Re: RANDOM_IP_ID sysctl?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]