Skip to content
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 · Fixed by #225
Closed

underscore should be dash [hashlimit] #223

publicarray opened this issue May 25, 2017 · 1 comment · Fixed by #225

Comments

@publicarray
Copy link

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
Copy link
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
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants