I spoke with my Data center about adding SPAMHAUS DROP support to my CSF for my server. They added the following to my /etc/csf/csf.conf
Placed after GLOBAL_DYNDNS_IGNORE
Code: Select all
# Enable IP range blocking using the Spamhaus DROP List at
# [You are not currently authorised to post url links]
# To enable this feature, set the following to the interval in seconds that you
# want the block list updated. The list is reasonably static during the length
# of a day, so it would be appropriate to only update once every 24 hours, so
# a value of "86400" is recommended
LF_SPAMHAUS = "86400"
# The Spamhaus DROP List URL. If you change this to something else be sure it
# is in the same format as the drop list
LF_SPAMHAUS_URL = "[You are not currently authorised to post url links]"
It shows up, however, It does not survive CSF updates. After updating CSF this entry in the /etc/csf/csf.conf is no longer there. Yes I see CSF backups the previous conf file.
However, one, how can I confirm this is working once entered into the /etc/csf/csf.conf and two why does it now survive updates?
- Mike