How many rules were supported iptables?
pme at ufh.se
Fri Oct 20 08:43:33 CEST 2006
>I have a problem that is how many rules were supported iptables.
>The program which I maintain and repair generated iptables rules automatically.
>Now, I encounter this problem.
>Source and destination IP address is written range by user.( ex, 184.108.40.206~220.127.116.11 ) then our program generated 10 IP address(18.104.22.168, 22.214.171.124, 126.96.36.199, … , 188.8.131.52) and make 10 iptables rules.
>Unfortunately, user wrote iptables rules like this, 10,000 rules is generated.
> “ iptalbes –A FORWARD –p tcp –s 184.108.40.206~220.127.116.11 –d 18.104.22.168~22.214.171.124 –j QUEUE”.
>Do 10,000 rules operate safely?? Or Some rules don’t operate normally??
>If some rules don’t operate normally, how many rules iptables does support??
It's the 4 MB in total size of rules. (This is the maximum size of a
chunc of data copy from userspace to kernel space in
More information about the netfilter-devel