]> arthur.barton.de Git - ConfigScripts.git/commitdiff
New alias bblack() and function BLACK() to blacklist IP addresses.
authorAlexander Barton <alex@barton.de>
Sun, 19 Oct 2008 20:08:58 +0000 (22:08 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 19 Oct 2008 20:08:58 +0000 (22:08 +0200)
user/bashrc

index 81638e66be74e9fc0ed9a233c1ce0fec2be11e11..a006149724482f997d62b4f165d5b4dd8b13904f 100644 (file)
@@ -43,6 +43,14 @@ fi
 type -p cleanscore >/dev/null 2>&1
 [ $? -eq 0 ] && alias slrn="cleanscore -f ~/.slrnscore && slrn"
 
+alias bblack="ssh arthur.barton.de sudo blacklist"
 alias pingblack="ssh gw1-0.fr.pingnet.de sudo blacklist"
 
+BLACK() {
+       echo " --- Arthur.Barton.DE ---"
+       bblack $*
+       echo " --- GW1-0.FR.PingNet.DE ---"
+       pingblack $*
+}
+
 # -eof-