Linux Netfilter discussions
 help / color / mirror / Atom feed
* iptables stop/start vs restart ...
@ 2005-09-29  9:50 Chicken of the Apocalypse
  2005-09-29 10:34 ` John A. Sullivan III
  2005-09-29 12:16 ` Sai Kiran
  0 siblings, 2 replies; 6+ messages in thread
From: Chicken of the Apocalypse @ 2005-09-29  9:50 UTC (permalink / raw)
  To: netfilter

Hi All,
 
Simple problem, although I'm sure it's been raised before and I need to search harder!
 
I've got a basic setup/configuration of iptables-1.2.11-3.1 running on 2.6.10-1.766_FC3smp with one change in the /etc/sysconfig/iptables-config file. I increase the hashsize using:
/sbin/modprobe ip_conntrack hashsize=32767.
 
If I run service iptables stop/start and then cat /proc/sys/net/ipv4/netfilter/ip_conntrack_buckets the value is 32767. If I run service iptables restart the value in the file goes back to default. I've noticed the same in a power failure scenario where the machine lost power and on reboot didn't change the hashsize.
I've had a quick look through /etc/init.d/tideway and as far as I can tell a restart just runs a stop and start. I'm assuming some sort of save/restore flag is or isn't set and this is causing the problem during a restart or power cut.
 
I need to ensure that the correct hashsize is always set. Any have any ideas?
 
Thanks

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-29 15:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-29  9:50 iptables stop/start vs restart Chicken of the Apocalypse
2005-09-29 10:34 ` John A. Sullivan III
2005-09-29 10:48   ` Chicken of the Apocalypse
2005-09-29 13:02     ` John A. Sullivan III
2005-09-29 15:54       ` Chicken of the Apocalypse
2005-09-29 12:16 ` Sai Kiran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox