-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
When is the hosts.deny and superhosts.deny file regenerated ? #580
Comments
Hi @ZerooCool, Thanks for asking. It's something we did not document yet! Here they are (May be changed in the future!):
Sometimes because of network or other issues, it may take much more time. So, If you want to be on the safe side, always fetch from 20:15 (UTC) ! Hey @dnmTX @smed79, how could we document this correctly? Stay safe and healthy. Nissar |
Ok ! I add this to my notes ! Thank you ! Mentioned on debian user french, it was a question of the confidence granted as for the origin of the data. Here I have to trust the downloaded content. This could be fine-tuned, I suppose, with certificate checks, or, a check policy based on md5sum, or both, and, maybe even other methods that I'm gradually discovering. Is something already there, to allow me to trust the download site? |
Hey @ZerooCool I scouted the link you posted... as I don't speak french I was looking at the code. What I stumbled on, is it seems you are missing a whitelist you run before imported external data (deny.host) which could lead to users gotten locked out from them self 🤳 For a easy step to fill into you code lines you can use something like
However this could maybe be enhanced by building an array first. |
Normally, I do not block anything, because, only one user in my case is whitelisted. The black list covers everything else. I understand the idea despite everything, it would be to purge from the black list, all existing matches in the white list.
After that, i cp /tmp/hosts.deny to /etc/hosts.deny |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
. |
Put it before |
When is the hosts.deny and superhosts.deny file regenerated ?
Every day ? Every week ? Each month ?
I would like to know, to be able to optimize my tutorial and the periods on the cron tasks allowing the update.
The text was updated successfully, but these errors were encountered: