summaryrefslogtreecommitdiffstats
path: root/filebitch/README
diff options
context:
space:
mode:
authortv <tv@xso>2011-08-22 12:48:27 +0200
committertv <tv@xso>2011-08-22 12:48:27 +0200
commitc2117a9064fcee0d287fbd8d164eef57d6b6c275 (patch)
tree60eda265a3ee69195c86ce8d1ee16c014fd75d52 /filebitch/README
parent45ceee319c70522d821f65505735bc514d123df5 (diff)
parent5e102279a72d77305d84f3cab9aef464a76ecb68 (diff)
Merge branch 'master' of github.com:krebscode/painload
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>