jgmdev / ddos-deflate

Fork of DDoS Deflate with fixes, improvements and new features.
Other
774 stars 264 forks source link

support wildcard domain ? #71

Closed crazyfd closed 4 years ago

crazyfd commented 4 years ago

/etc/ddos/ignore.host.list support wildcard domain? eg: .google.com .facebook.com

jgmdev commented 4 years ago

Currently the code converts the hostname to an ip (or list of ip's) and then adds it to the ip whitelisting. Supporting wildcards would mean doing reverse ip to domain lookup which I'm not even sure how possible it would be or resource intensive since all IP's would need to be reverse checked...