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
Closed

underscore should be dash [hashlimit] #223

publicarray opened this issue May 25, 2017 · 1 comment

Comments

@publicarray
Copy link

@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
Copy link
Member

@ktsaou ktsaou commented May 25, 2017

thanks! fixed!

philwhineray added a commit that referenced this issue Aug 20, 2017
Fixes: #235, #223, #184, #94, #143, #248, #249, #231, #217, #221
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.