Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2009-05-28 06:26:31 +0000
committershtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2009-05-28 06:26:31 +0000
commit7cb4564de4b3bc3180444e3f8187c928b58effbf (patch)
treeb3749456ab7744fd1524258a2de7bdcd592d68ff /openbsd
parent6b79858bc0e6023cac1b097bd3f6e96907829b23 (diff)
[OpenBSD scripts] Matching full email addresses, even with dots.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@549 1991c358-8f32-0410-a49a-990740bdf4c2
Diffstat (limited to 'openbsd')
-rwxr-xr-xopenbsd/denyhost.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd/denyhost.sh b/openbsd/denyhost.sh
index 64941d9..5c5f652 100755
--- a/openbsd/denyhost.sh
+++ b/openbsd/denyhost.sh
@@ -44,7 +44,7 @@ for IP in `grep -v -f ${TMP_DIR}/blockers.list $NEW_BLOCKERS_FILE`; do
WHOIS_FILE=`mktemp ${TMP_DIR}/whois.XXXXXX`
whois $IP > $WHOIS_FILE
- ABUSE=`grep -v changed $WHOIS_FILE | gsed -n "s/.*[^-+_A-Za-z0-9]\([-+\._A-Za-z0-9]\+@\([-A-Za-z0-9]\+\.\)\+[A-Za-z]\+\).*/\1/p" | \
+ ABUSE=`grep -v changed $WHOIS_FILE | gsed -n "s/.*[^-+\._A-Za-z0-9]\([-+\._A-Za-z0-9]\+@\([-A-Za-z0-9]\+\.\)\+[A-Za-z]\+\).*/\1/p" | \
gsed "/whois-contact@lacnic.net/d;/mail-abuse@cert.br/d;/search-apnic-not-arin@apnic.net/d;/search-ripe-ncc-not-arin@ripe.net/d" | \
sort | uniq | gsed ':a N;s/\n/, /g; ta'`