mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-06-09 19:10:54 +00:00
edited host.conf to disable IP Spoofing as detailed in http://www.tldp.org/LDP/nag/node82.html
This commit is contained in:
parent
48beed3a19
commit
610578093a
@ -319,3 +319,7 @@ cp -f conf/fail2ban/filter.d/* /etc/fail2ban/filter.d/
|
||||
# scripts will ensure the files exist and then fail2ban is given another
|
||||
# restart at the very end of setup.
|
||||
restart_service fail2ban
|
||||
|
||||
# Guard against IP Spoofing in the host.conf file
|
||||
# see http://www.tldp.org/LDP/nag/node82.html
|
||||
grep -q -F 'nospoof on' host.conf || echo 'nospoof on' >> host.conf
|
||||
|
Loading…
Reference in New Issue
Block a user