Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Mehani <shtrom@ssji.net>2020-03-23 13:30:45 +0100
committerOlivier Mehani <shtrom@ssji.net>2020-03-23 13:30:45 +0100
commit00e24e8e9f2c5d35bbbe79fa950bf84c18d44d17 (patch)
treec4da00223adf61db0e3ea1967362a2ed92cdfbbb /openbsd
parent1405a31d8367452bb7b1a551cda42ea6e9f64a22 (diff)
[denyhosts] update email blacklist following email from Tim Niemeyer <tim@tn-x.org>
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Diffstat (limited to 'openbsd')
-rwxr-xr-xopenbsd/denyhost.sh15
1 files changed, 6 insertions, 9 deletions
diff --git a/openbsd/denyhost.sh b/openbsd/denyhost.sh
index c9a21d6..45e2895 100755
--- a/openbsd/denyhost.sh
+++ b/openbsd/denyhost.sh
@@ -122,16 +122,13 @@ EOF
function extract_email
{
gsed -ne "/abuse.*@/{ \
- /whois-contact@lacnic.net/d; \
- /mail-abuse@cert.br/d; \
- /cert@cert.br/d; \
- /search-apnic-not-arin@apnic.net/d; \
- /hostmaster@nic.ad.jp/d; \
- /hostmaster@ripe.net/d; \
+ /.*@afrinic.net/d; \
/.*@apnic.net/d; \
- /abusepoc@afrinic.net/d; \
- /ncc@ripe.net/d; \
- /search-ripe-ncc-not-arin@ripe.net/d; \
+ /.*@cert.br/d; \
+ /.*@lacnic.net/d; \
+ /.*@nic.ad.jp/d; \
+ /.*@ripe.net/d; \
+ /.*@f3netze.de/d; \
s/.*[^-+\._A-Za-z0-9]\([-+\._A-Za-z0-9]\+@\([-A-Za-z0-9]\+\.\)\+[A-Za-z]\+\).*/\1/p \
}" \
${1} |