Mercurial > repos > other > Puppet
changeset 122:033282abfc28 puppet-3.6
Blacklist more spamming IPs (with a ######.info domain)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 03 Sep 2016 14:28:56 +0100 |
parents | 6709f2052217 |
children | 5aaac087233c |
files | manifests/templates.pp |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/manifests/templates.pp Fri Sep 02 13:40:26 2016 +0100 +++ b/manifests/templates.pp Sat Sep 03 14:28:56 2016 +0100 @@ -93,12 +93,18 @@ proto => tcp, action => accept, } - firewall { '099 Blacklist spammers': + firewall { '099 Blacklist spammers 1': source => '146.0.229.80/28', dport => [465, 25], proto => tcp, action => 'reject', } + firewall { '099 Blacklist spammers 2': + source => '89.43.62.0/24', + dport => [465, 25], + proto => tcp, + action => 'reject', + } firewall { '099 Blacklist IODC bot': # IODC bot makes too many bad requests, and contact form is broken # They don't publish a robots.txt name, so firewall it!