VSFTPD is the only service that I want to monitor. (trying to convince end-users to use scp was too big of a challange for them to tackle) My end-users are configured as virtual users and not actual accounts on the server.
I have answered part of my question though. By using tcp wrappers in the following format I receive an email anytime a user ftp's into the server: vsftpd : ALL : spawn /bin/echo "%h ftp access" | mail -s "tcp_wrappers on %H" [EMAIL PROTECTED] I can simply modify this to kick off a customer korn script. Now to tackle the other side of this problem, disconnections. I'm still hunting for ways to kick off yet another custom korn script when the end-user disconnects. Shamy [EMAIL PROTECTED] --- On Wed 09/29, Ted Kat. < [EMAIL PROTECTED] > wrote: From: Ted Kat. [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed, 29 Sep 2004 08:09:00 -0700 (PDT) Subject: RE: [sclug-generallist] Port Monitoring Scripting <br> Is this only for servises where you authenticate a user or do you want to monitor <br>each connection to any listing ports? ex. http, smtp, port 5555 :)<br><br><br>--- Shamy <[EMAIL PROTECTED]> wrote:<br><br>> <br>> Sorry for the poorly formated message. <br>> <br>> Port Monitoring Scripting. Hello, new to the last: I've been looking around the web for the<br>> last couple days for some examples on trigering scripts when a port is connected. Example: <br>> Virtual user jdoe ftp's into server - I want to kick off a custom script Virtual user jdoe logs<br>> out of ftp server - I want to kick off a custom script. Doesn't have to be ftp, could easily be<br>> ssh/scp etc. I've been unsuccessfully in my quest, thus far.<br><br><br>=====<br>Ted Katseres<br>----------------<br> sclinux.org<br>----------------<br><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com <br> _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com
