summaryrefslogtreecommitdiffstats
path: root/filebitch/README
diff options
context:
space:
mode:
authorMomo <momorientes@online.de>2011-08-18 04:17:17 +0200
committerMomo <momorientes@online.de>2011-08-18 04:17:17 +0200
commitff4808b6b9a7ab1dc6711c01e3c385eda78a241d (patch)
treee4d1fd717d088cd29c7cd6ada54197c8e3ea0be4 /filebitch/README
parent6afd4823788738dc15835a30339c7f588abaedf2 (diff)
Fixed the READMES and disconnect_narf.pl
Diffstat (limited to 'filebitch/README')
-rw-r--r--filebitch/README8
1 files changed, 5 insertions, 3 deletions
diff --git a/filebitch/README b/filebitch/README
index 177bb374..5ae3a666 100644
--- a/filebitch/README
+++ b/filebitch/README
@@ -1,12 +1,14 @@
-The connec_sh script morses the IP + "connected" when a user connects to filebitchs proftpd server.
+The connect_narf.pl script morses the IP + "connected" when a user connects to filebitchs proftpd server.
+The disconnect_narf.pl scritp will do the obvious opposite.
It will hopefully drive someone crazy.
To make it run you need to add some lines to your proftpd config.
I decided not to let Krebs do this as I didn't want to break your FTP Server (I know FTP is broken by default).
The 5 necessary lines are:
-ExtendedLog /var/log/proftpd/ftp_auth.log AUTH auth
+
<IfModule mod_exec.c>
ExecEngine on
- ExecOnConnect "/krebs/filebitch/connect_narf.pl"
+ ExecOnConnect "/krebs/filebitch/connect_narf.pl %a"
+ ExecOnExit "/krebs/filebitch/disconnect_narf.pl %a"
</IfModule>