On 30/12/2004, at 2:42 PM, Brett Fenton wrote:
if you're really interested you can add a line like to hosts.deny

ALL: ALL: spawn (/bin/echo -e "%d %a %c %s from %h at `date`" |/usr/bin/mail
-s 'LOGIN ATTEMPT %h %a' [EMAIL PROTECTED])&


which basically emails you a log each time someone tries to connect. the
connections will always fail unless they are coming from an IP from within an
IP or IP range specified in hosts.allow

Swatch makes life a lot easier when you're trying to do this kind of thing.


--
Tony Green <[EMAIL PROTECTED]>

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to