nf_conntrack hashsize change during runtime?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have seen a number of resources online saying that the nf_conntrack hashsize parameter can be modified during runtime, with instructions like the following: 

> Since 2.6.14, it is possible to set hashsize dynamically at runtime, after boot and module load. 
> 
> Between 2.6.14 and 2.6.19 (included), use: 
> echo $HASHSIZE > /sys/module/ip_conntrack/parameters/hashsize 
> 
> Since 2.6.20, use: 
> echo $HASHSIZE > /sys/module/nf_conntrack/parameters/hashsize 

These instructions are repeated word-for-word at a number of sites, but I haven't seen anything authoritative to substantiate it and I suspect it might be apocryphal advice. 

The netfilter FAQ describes the hashsize as a load-time parameter only, but its last-modified date is over seven years ago.  

Is it necessary to reload the conntrack module to properly adjust the hash size, or is it viable to change it during runtime?  Any caveats to be aware of?

Thanks,
Steven
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux