tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tpop3d-discuss] Logging bad passwords


From: Kevin Bonner
Subject: [tpop3d-discuss] Logging bad passwords
Date: Tue, 29 Apr 2003 22:09:38 -0400
User-agent: KMail/1.4.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To provide our technical support personnel with more debugging information, I 
was asked to log bad username/password connections for POP connections.  
Looking at 1.4.2 source, I didn't see a way to do this that was already done.  
- From what I can tell, the CVS head doesn't have this capability/feature at 
the moment either.

I decided to jump into the source and come up with a solution.  Attached is a 
patch against the 1.4.2 source.  Applying this patch should (will) not affect 
anything.  To enable the logging, the config option 'log-auth-badpass' must 
be set to yes|true.

I have tested this with the auth-pam and auth-mysql modules, but it should 
work for all of them.  Is this useful for anyone, or just me?  I can come up 
with a patch for the CVS head if it's desired.

Comments/questions welcome.

Enjoy,
Kevin Bonner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+rzBi/9i/ml3OBYMRApT2AJ9vXYytCVWtmD4o8T2AXxt9w23lCwCdFKu1
NOipXqTEbs8d61pbkzhKkfE=
=rasM
-----END PGP SIGNATURE-----

Attachment: log-auth-badpass.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]