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
commit624a21ce26f49950594f4c072d81cb73e29a18fa (patch)
tree61e2ac2d7069e0cffdda8c7c038aa2e1288f9a8e /filebitch/README
parent45ceee319c70522d821f65505735bc514d123df5 (diff)
parent9fdb1fc7da782eba9a61da55349cd814f8fb13da (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>