> I should have a patch available soon

Well, Michael, now it partially works.

I send my test to you:

observe# openssl s_client -connect 127.0.0.1:995
CONNECTED(00000004)
depth=0 /C=US/ST=NY/L=New York/O=Courier Mail
Server/OU=Automatically-generated POP3 SSL
key/CN=localhost/[EMAIL PROTECTED]
<cut>
---
+OK Hello there.
USER [EMAIL PROTECTED]
+OK Password required.
PASS test
+OK logged in.
LIST
+OK POP3 clients that break here, they violate STD53.
.
QUIT
DONE
observe# 

The auth works, I think, but I couldn't donwload my emails through the
pop3-ssl service.

The 'testit' test already fails!

My /tmp/testit file
-------------------
pop3
login
[EMAIL PROTECTED]  
test

-------------------
observe# /usr/local/courier-imap/libexec/authlib/authvchkpw \
   /bin/sh -c 'echo $AUTHENTICATED' 3</tmp/testit

AUTHFAILURE
observe# ktrace /usr/local/courier-imap/libexec/authlib/authvchkpw \
   /bin/sh -c 'echo $AUTHENTICATED' 3</tmp/testit

AUTHFAILURE

My kdump.out file:
------------------
 20131 ktrace   RET   ktrace 0
 20131 ktrace   CALL  execve(0xcfbfda27,0xcfbfd9c8,0xcfbfd9e0)
 20131 ktrace   NAMI  "/usr/local/courier-imap/libexec/authlib/authvchkpw"
 20131 authvchkpw EMUL  "native"
 20131 authvchkpw RET   execve 0
 20131 authvchkpw CALL  open(0x10e5,0,0)
 20131 authvchkpw NAMI  "/usr/libexec/ld.so"
 20131 authvchkpw RET   open 3
 20131 authvchkpw CALL  read(0x3,0xcfbfd9a4,0x20)
 20131 authvchkpw GIO   fd 3 read 32 bytes
       "[EMAIL PROTECTED] \0\0\0\0\0\0\0\0\0\0
\0\0\0\0\0\0\0\0\0\0\0"
 20131 authvchkpw RET   read 32/0x20
 20131 authvchkpw CALL  mmap(0,0xf000,0x5,0x2,0x3,0,0,0)
 20131 authvchkpw RET   mmap 1073831936/0x40016000
 20131 authvchkpw CALL  mmap(0x40023000,0x2000,0x7,0x12,0x3,0,0xd000,0)
 20131 authvchkpw RET   mmap 1073885184/0x40023000
 20131 authvchkpw CALL  issetugid
 20131 authvchkpw RET   issetugid 0
 20131 authvchkpw CALL  __sysctl(0xcfbfd814,0x2,0x40024a08,0xcfbfd810,0,0)
 20131 authvchkpw RET   __sysctl 0
 20131 authvchkpw CALL  mmap(0,0x8000,0x3,0x1004,0xffffffff,0,0,0)
 20131 authvchkpw RET   mmap 1073893376/0x40025000
 20131 authvchkpw CALL  open(0x40017b74,0,0)
 20131 authvchkpw NAMI  "/var/run/ld.so.hints"
 20131 authvchkpw RET   open 4
 20131 authvchkpw CALL  fstat(0x4,0xcfbfd7bc)
 20131 authvchkpw RET   fstat 0
 20131 authvchkpw CALL  mmap(0,0x1bcb,0x1,0x4,0x4,0,0,0)
 20131 authvchkpw RET   mmap 1073926144/0x4002d000
 20131 authvchkpw CALL  open(0x4002e26e,0,0)
 20131 authvchkpw NAMI  "/usr/lib/libm.so.1.0"
 20131 authvchkpw RET   open 5
 20131 authvchkpw CALL  read(0x5,0xcfbfd89c,0x20)
 20131 authvchkpw GIO   fd 5 read 32 bytes
       "[EMAIL PROTECTED]
\0\0\0\0\0\0\0\0\0\0\0"
 20131 authvchkpw RET   read 32/0x20
 20131 authvchkpw CALL  mmap(0,0x14000,0x5,0x4,0x5,0,0,0)
 20131 authvchkpw RET   mmap 1073934336/0x4002f000
 20131 authvchkpw CALL  mprotect(0x40042000,0x1000,0x7)
 20131 authvchkpw RET   mprotect 0
 20131 authvchkpw CALL  mmap(0x40043000,0,0x3,0x1014,0xffffffff,0,0,0)
 20131 authvchkpw RET   mmap 1074016256/0x40043000
 20131 authvchkpw CALL  close(0x5)
 20131 authvchkpw RET   close 0
 20131 authvchkpw CALL  open(0x4002e093,0,0)
 20131 authvchkpw NAMI  "/usr/lib/libc.so.29.0"
 20131 authvchkpw RET   open 5
 20131 authvchkpw CALL  read(0x5,0xcfbfd89c,0x20)
 20131 authvchkpw GIO   fd 5 read 32 bytes
       "[EMAIL PROTECTED]
\0\0\0\0\0\0\0\0\0\0\0"
 20131 authvchkpw RET   read 32/0x20
 20131 authvchkpw CALL  mmap(0,0xbd6f0,0x5,0x4,0x5,0,0,0)
 20131 authvchkpw RET   mmap 1074016256/0x40043000
 20131 authvchkpw CALL  mprotect(0x400c9000,0x9000,0x7)
 20131 authvchkpw RET   mprotect 0
 20131 authvchkpw CALL  mmap(0x400d2000,0x2e6f0,0x3,0x1014,0xffffffff,0,0,0)
 20131 authvchkpw RET   mmap 1074601984/0x400d2000
 20131 authvchkpw CALL  close(0x5)
 20131 authvchkpw RET   close 0
 20131 authvchkpw CALL  __sysctl(0xcfbfd7c4,0x2,0x18210,0xcfbfd7c0,0,0)
 20131 authvchkpw RET   __sysctl 0
 20131 authvchkpw CALL  __sysctl(0xcfbfd7c4,0x2,0x18214,0xcfbfd7c0,0,0)
 20131 authvchkpw RET   __sysctl 0
 20131 authvchkpw CALL  __sysctl(0xcfbfd7c4,0x2,0x18218,0xcfbfd7c0,0,0)
 20131 authvchkpw RET   __sysctl 0
 20131 authvchkpw CALL  __sysctl(0xcfbfd7c4,0x2,0x1821c,0xcfbfd7c0,0,0)
 20131 authvchkpw RET   __sysctl 0
 20131 authvchkpw CALL  __sysctl(0xcfbfd7c4,0x2,0x18220,0xcfbfd7c0,0,0)
 20131 authvchkpw RET   __sysctl 0
 20131 authvchkpw CALL  __sysctl(0xcfbfd7c4,0x2,0x18224,0xcfbfd7c0,0,0)
 20131 authvchkpw RET   __sysctl 0
 20131 authvchkpw CALL  __sysctl(0xcfbfd7c4,0x2,0x18228,0xcfbfd7c0,0,0)
 20131 authvchkpw RET   __sysctl 0
 20131 authvchkpw CALL  __sysctl(0xcfbfd7c4,0x2,0x1822c,0xcfbfd7c0,0,0)
 20131 authvchkpw RET   __sysctl 0
 20131 authvchkpw CALL  munmap(0x4002d000,0x1bcb)
 20131 authvchkpw RET   munmap 0
 20131 authvchkpw CALL  close(0x4)
 20131 authvchkpw RET   close 0
 20131 authvchkpw CALL  close(0x3)
 20131 authvchkpw RET   close 0
 20131 authvchkpw CALL  __sysctl(0xcfbfd94c,0x2,0x401006e8,0xcfbfd948,0,0)
 20131 authvchkpw RET   __sysctl 0
 20131 authvchkpw CALL  readlink(0x4008a5f6,0xcfbfd8a4,0x3f)
 20131 authvchkpw NAMI  "/etc/malloc.conf"
 20131 authvchkpw RET   readlink -1 errno 2 No such file or directory
 20131 authvchkpw CALL  issetugid
 20131 authvchkpw RET   issetugid 0
 20131 authvchkpw CALL  mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
 20131 authvchkpw RET   mmap 1073926144/0x4002d000
 20131 authvchkpw CALL  break(0x185bc)
 20131 authvchkpw RET   break 0
 20131 authvchkpw CALL  break(0x185bc)
 20131 authvchkpw RET   break 0
 20131 authvchkpw CALL  break(0x1a000)
 20131 authvchkpw RET   break 0
 20131 authvchkpw CALL  break(0x1a000)
 20131 authvchkpw RET   break 0
 20131 authvchkpw CALL  break(0x1b000)
 20131 authvchkpw RET   break 0
 20131 authvchkpw CALL  mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
 20131 authvchkpw RET   mmap 1073930240/0x4002e000
 20131 authvchkpw CALL  mprotect(0x4002e000,0x1000,0x1)
 20131 authvchkpw RET   mprotect 0
 20131 authvchkpw CALL  mprotect(0x4002e000,0x1000,0x3)
 20131 authvchkpw RET   mprotect 0
 20131 authvchkpw CALL  mprotect(0x4002e000,0x1000,0x1)
 20131 authvchkpw RET   mprotect 0
 20131 authvchkpw CALL  fcntl(0x3,0x3,0)
 20131 authvchkpw RET   fcntl -1 errno 9 Bad file descriptor
 20131 authvchkpw CALL  write(0x2,0x1a69,0xc)
 20131 authvchkpw GIO   fd 2 wrote 12 bytes
       "AUTHFAILURE
       "
 20131 authvchkpw RET   write 12/0xc
 20131 authvchkpw CALL  munmap(0x4002e000,0x1000)
 20131 authvchkpw RET   munmap 0
 20131 authvchkpw CALL  exit(0x1)
-----------------

Thanks for all, Michael

Regards
Andrea

Reply via email to