tpop3d-devel
[Top][All Lists]
Advanced

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

Re: [tpop3d-discuss]auth-flatfile md5 hash incorrect length


From: Mike Pinkerton
Subject: Re: [tpop3d-discuss]auth-flatfile md5 hash incorrect length
Date: Wed, 11 Aug 2004 17:25:18 -0400

At 20:38 +0100 2004/08/11, Chris Lightfoot wrote:
On Wed, Aug 11, 2004 at 02:11:52PM -0400, Mike Pinkerton wrote:

 > address@hidden:{md5}$1$pigflies$I3P9Sz4rq9LFw3zE/M1nr1:5000:5000:Mike

should be {crypt_md5}. {md5} means a straight MD5 digest
of the password.


I changed {md5} to {crypt_md5}, but no joy, although tpop3d did not complain about the hash length -- see the standard error output below.

I then decided to try plain {md5} and used the following command to create an MD5 digest of the password:

echo -n password | openssl dgst -md5

I wrote the following entry into my auth-flatfile password file:

address@hidden:{md5}8fd29255e680b3fe87b201c1fac2bd82:5000:5000:Mike Pinkerton:/var/spool/mail/vhosts/advomation.com/mike:/sbin/nologin

Authentication failed again with tpop3d complaining that "password type md5, but hash is of incorrect length" -- see the standard error output below.

Any other suggestions?


*****  Standard error output for {crypt_md5}  *****


experimental BSD mailbox metadata cache enabled
parse_listeners: listening on address 66.132.146.110:110; TLS mode STLS
parse_listeners: listening on address 66.132.146.110:995; TLS mode immediate
/etc/tpop3d.d/tpop3d.conf: I hope you realise that use of the log-bad-passwords option is an invasion of privacy
1 authentication drivers successfully loaded
net_loop: tpop3d version 1.5.3 successfully started
connection_sendresponse: client [6]66.245.111.103/postal.advomation.com: sent `+OK <address@hidden>' listeners_post_select: client [6]66.245.111.103/postal.advomation.com: connected to local address 66.132.146.110:995 ioabs_tls_post_select: client [6]66.245.111.103/postal.advomation.com: SSL_accept: tlsv1 alert unknown ca; closing connection connections_post_select: client [6]66.245.111.103/postal.advomation.com: disconnected; 0/0 bytes read/written connection_sendresponse: client [6]66.245.111.103/postal.advomation.com: sent `+OK <address@hidden>' listeners_post_select: client [6]66.245.111.103/postal.advomation.com: connected to local address 66.132.146.110:995 connection_parsecommand: client [6]66.245.111.103/postal.advomation.com: received `APOP address@hidden 71b127c52996ee7257e839cc06a8e855' password: attempted APOP login by address@hidden; address@hidden, who does not have a plaintext password auth_flatfile_new_apop: failed login for address@hidden; address@hidden connection_sendresponse: client [6]66.245.111.103/postal.advomation.com: sent `-ERR Lies! Try again!' connection_do: client `[6]66.245.111.103/postal.advomation.com': username address@hidden': 1 authentication failures connection_parsecommand: client [6]66.245.111.103/postal.advomation.com: received `USER address@hidden' connection_sendresponse: client [6]66.245.111.103/postal.advomation.com: sent `+OK Tell me your password.' connection_parsecommand: client [6]66.245.111.103/postal.advomation.com: received `PASS [...]' authcache_new_user_pass: no entry for address@hidden; address@hidden auth_flatfile_new_user_pass: failed login for address@hidden; address@hidden connection_do: client `[6]66.245.111.103/postal.advomation.com': username address@hidden': failing password is `XXXXXXXXX' connection_sendresponse: client [6]66.245.111.103/postal.advomation.com: sent `-ERR Lies! Try again!' connection_do: client `[6]66.245.111.103/postal.advomation.com': username address@hidden': 2 authentication failures connection_parsecommand: client [6]66.245.111.103/postal.advomation.com: received `QUIT' connection_sendresponse: client [6]66.245.111.103/postal.advomation.com: sent `+OK Fine. Be that way.' ioabs_tls_shutdown: client [6]66.245.111.103/postal.advomation.com: underlying connection closed by peer during shutdown connections_post_select: client [6]66.245.111.103/postal.advomation.com: disconnected; 107/160 bytes read/written

[more of the same snipped]

net_loop: terminating on signal 2



*****  Standard error output for {md5}  *****


experimental BSD mailbox metadata cache enabled
parse_listeners: listening on address 66.132.146.110:110; TLS mode STLS
parse_listeners: listening on address 66.132.146.110:995; TLS mode immediate
/etc/tpop3d.d/tpop3d.conf: I hope you realise that use of the log-bad-passwords option is an invasion of privacy
1 authentication drivers successfully loaded
net_loop: tpop3d version 1.5.3 successfully started
connection_sendresponse: client [6]66.245.111.103/postal.advomation.com: sent `+OK <address@hidden>' listeners_post_select: client [6]66.245.111.103/postal.advomation.com: connected to local address 66.132.146.110:995 connection_parsecommand: client [6]66.245.111.103/postal.advomation.com: received `APOP address@hidden 36fade611271b3906962ce8d4a83fc30' password: attempted APOP login by address@hidden; address@hidden, who does not have a plaintext password auth_flatfile_new_apop: failed login for address@hidden; address@hidden connection_sendresponse: client [6]66.245.111.103/postal.advomation.com: sent `-ERR Lies! Try again!' connection_do: client `[6]66.245.111.103/postal.advomation.com': username address@hidden': 1 authentication failures connection_parsecommand: client [6]66.245.111.103/postal.advomation.com: received `USER address@hidden' connection_sendresponse: client [6]66.245.111.103/postal.advomation.com: sent `+OK Tell me your password.' connection_parsecommand: client [6]66.245.111.103/postal.advomation.com: received `PASS [...]' authcache_new_user_pass: no entry for address@hidden; address@hidden password: address@hidden; address@hidden has password type md5, but hash is of incorrect length auth_flatfile_new_user_pass: failed login for address@hidden; address@hidden connection_do: client `[6]66.245.111.103/postal.advomation.com': username address@hidden': failing password is `XXXXXXXXX' connection_sendresponse: client [6]66.245.111.103/postal.advomation.com: sent `-ERR Lies! Try again!' connection_do: client `[6]66.245.111.103/postal.advomation.com': username address@hidden': 2 authentication failures connection_parsecommand: client [6]66.245.111.103/postal.advomation.com: received `QUIT' connection_sendresponse: client [6]66.245.111.103/postal.advomation.com: sent `+OK Fine. Be that way.' ioabs_tls_shutdown: client [6]66.245.111.103/postal.advomation.com: underlying connection closed by peer during shutdown connections_post_select: client [6]66.245.111.103/postal.advomation.com: disconnected; 107/160 bytes read/written

[more of the same snipped]

net_loop: terminating on signal 2


--
Mike Pinkerton


reply via email to

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