diff options
-rw-r--r-- | apache.txr | 2 | ||||
-rw-r--r-- | exim.txr | 2 | ||||
-rw-r--r-- | ssh.txr | 2 | ||||
-rwxr-xr-x | startup.sh | 2 | ||||
-rw-r--r-- | txrban.txr | 4 |
5 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ -@(load "txrban") +@(include "txrban") @(next @(open-tail "/var/log/apache2/www.kylheku.com.log" "r" nil)) @(repeat) @ (all) @@ -1,4 +1,4 @@ -@(load "txrban") +@(include "txrban") @(next @(open-tail "/var/log/exim4/rejectlog" "r" nil)) @(repeat) @ (block continue) @@ -1,4 +1,4 @@ -@(load "txrban") +@(include "txrban") @(set *short-period* 15) @(set *short-limit* 15) @(set *short-ban* @(* 24 3600)) @@ -1,5 +1,5 @@ #!/bin/sh -PATH=$PATH:/usr/local/bin +PATH="/usr/local/bin:$PATH" MYDIR=$(dirname "$0") txr $MYDIR/apache.txr @@ -1,5 +1,5 @@ -@(load "config") -@(load "utils") +@(include "config") +@(include "utils") @(do (defstruct client-info nil (ip nil) |