Skip to content

relvao/csf-allow-domains

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSF ALLOW DOMAINS

Allows whitelisting all ips in a domain name by resolving the A records for those domain names and placing them in /etc/csf/csf.allow

It does not delete any domains from the file so some spring clean may be needed from time to time. Some domains may return different sets of A records throughout time, even if they are all valid servers at any given moment, eg. github.

Install

This module was only tested in Ubuntu 14.04

Debian Package

Manual Install

All the relevant code can be found in ./usr/local/csf/bin/csf-allow-domains Just copy those files to your system, update the config.py and use whatever strategy you want to keep the python script going.

About

Resolves domain names and adds them to csf.allow

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%