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
Create htaccess.conf #1177
Create htaccess.conf #1177
Conversation
In our configuration I cannot use IPTables because all of our traffic come from a firewall that I do not control, with the firewall IP. This solution is not the most elegant, as htaccess slow down the server, but it is better than having attackers...
# | ||
# Author: Denis Pitzalis | ||
# | ||
# $Revision$ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for those ... we should strip them all eventually -- remnant from SVN
made changes requested for pull
# Fail2Ban configuration file | ||
# htaccess | ||
# You can ban IPs using the Deny directive of Apache in your htaccess. | ||
# You should add, at the very end of the .htaccess "Order Deny,Allow" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so shouldn't there be
actionstart = grep "^Order " <htaccess1> || echo "Order Deny,Allow" >> <htaccess1>
so @denics -- interested to finish up ? there should be only a single htaccess file entry and there is an outstanding comment to address |
yep, sorry! I was travelling. I get back to this asap. |
@denics still interested to pursue this PR? |
Hi @yarikoptic sure, sorry. In the meantime, the system has been running for the last 4 months on our servers and it works as good as expected. I commented out the extra servers, and added me to the "thanks" file, what are the standing issues? |
Added myself
see #1811 |
In our configuration I cannot use IPTables because all of our traffic come from a firewall that I do not control, with the firewall IP. This solution is not the most elegant, as htaccess slow down the server, but it is better than having attackers...