New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

underscore should be dash [hashlimit] #223

Closed
publicarray opened this Issue May 25, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@publicarray

publicarray commented May 25, 2017

Error:

iptables v1.4.21: unknown option "--hashlimit_htable_max"
iptables v1.4.21: unknown option "--hashlimit_htable_expire"

Using firehol explain:

$ server dns accept hashlimit dnslimit above 50kb/min burst 10 htable-max 100000
/sbin/iptables -t filter -A out_world -p udp --sport 53 -m conntrack --ctstate ESTABLISHED -m hashlimit --hashlimit-name dnslimit --hashlimit-above 50kb/min --hashlimit-mode srcip\,dstport --hashlimit-burst 10 --hashlimit_htable_max 100000 -j ACCEPT 
[...]

$ server dns accept hashlimit dnslimit above 50kb/min burst 10 htable-expire 5184000
/sbin/iptables -t filter -A out_world -p tcp --sport 53 -m conntrack --ctstate ESTABLISHED -m hashlimit --hashlimit-name dnslimit --hashlimit-above 50kb/min --hashlimit-mode srcip\,dstport --hashlimit-burst 10 --hashlimit_htable_expire 5184000 -j ACCEPT 
[...]

ktsaou added a commit to ktsaou/firehol that referenced this issue May 25, 2017

@ktsaou ktsaou closed this in #225 May 25, 2017

@ktsaou

This comment has been minimized.

Show comment
Hide comment
@ktsaou

ktsaou May 25, 2017

Member

thanks! fixed!

Member

ktsaou commented May 25, 2017

thanks! fixed!

philwhineray added a commit that referenced this issue Aug 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment