----------  Forwarded Message  ----------

Subject: BOUNCE [EMAIL PROTECTED]:    Non-member submission from [Adrian 
<[EMAIL PROTECTED]>]
Date: Thu, 20 Feb 2003 15:18:57 -0600
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

>From [EMAIL PROTECTED] Thu Feb 20 15:18:57 2003
Received: from power.connexus.net.au (power.connexus.net.au [203.12.22.20])
        by server1.open.com.au (8.11.0/8.11.0) with ESMTP id h1KLIux15755
        for <[EMAIL PROTECTED]>; Thu, 20 Feb 2003 15:18:56 -0600
Received: from NOTEBOOK.connexus.net.au (as13.Melbourne.interNex.net.au
 [203.12.22.37]) by power.connexus.net.au (8.12.4/8.11.6) with ESMTP id
 h1L2CHXD056609 for <[EMAIL PROTECTED]>; Fri, 21 Feb 2003 13:12:21 +1100
 (EST)
        (envelope-from [EMAIL PROTECTED])
XAntiVirus: This e-mail has been scanned for viruses via the Connexus
 Internet Service Message-Id:
 <[EMAIL PROTECTED]> X-Sender:
 [EMAIL PROTECTED]
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Fri, 21 Feb 2003 13:12:13 +1000
To: [EMAIL PROTECTED]
From: Adrian <[EMAIL PROTECTED]>
Subject: logging failed auth with postauthhook ?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hi,

I'm trying to set up a postauthhook.pl script
that puts useful about login attempts into a
mysql DB.

I've currently got is showing successful connections
and disconnections (and the reasons from
"Acct-Terminate-Cause"),  but can't get it to
display failed authentication attempts at all
because the authentication messages aren't available
as attributes to the hook files..

Username's that don't exist don't show anything
(radiator doesn't show any debugging info) and
passwords that don't match valid username's are
shown in debugging only..

My Handler config is below.

Does anyone know how I can get bad login attempts
logged with the postauthhook ?

Regards,
Adrian.



<Handler>

        PreAuthHook file:"%D/dsl_prehook.pl"

        RewriteUsername s/^([^@]+).*/$1/
        AuthByPolicy ContinueWhileAccept
        AuthBy CheckUsers
        AuthBy AllocateIPAddress
        AcctLogFileName /usr/local/lib/radius/acct/dsl-%Y-%m-%d
        AuthLog SQLLogger
        SessionDatabase SQLSDB
        PostAuthHook file:"%D/dsl_posthook.pl"
</Handler>

-------------------------------------------------------

-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS etc.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to