Re: RANDOM_IP_ID sysctl?

From: Xin LI (delphij_at_frontfree.net)
Date: 06/29/04

  • Next message: Tony Holmes: "Jails, Portmap, Dracd"
    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.
    
    



  • Next message: Tony Holmes: "Jails, Portmap, Dracd"