1
0
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:
ChiefGyk 2016-12-17 16:53:18 -05:00
parent 48beed3a19
commit 610578093a

View File

@ -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