140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:230:

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:230:

Puramuk
i get errors when trying to connet to qmail with jms1.6b patchset using
openssl s_client -starttls smtp  -connect  127.0.0.1:25 -state -debug
also  it does not give any errors when try to connent to implicit
courier-imap on 993 port and does give when to explicit on 143 port
(starttls}
i use linux 2.6.12 with glibc 2.3.5 and openssl 0.9.8 on p4
and on linux 2.6.12 with glibc 2.3.4 and openssl 0.9.8 i get no errors is
this mean that it could be glibc bad or maybe i need to change the openssl
compile options? i have used ./config --prefix=/usr/local/openssl no-mdc2
no-rc5 shared and it automatically detects linux-elf system

i get this error with qmail starttls

 openssl s_client -starttls smtp  -connect  127.0.0.1:25 -debug -state
CONNECTED(00000003)
read from 0x80b6f40 [0x80b2e40] (8192 bytes => 24 (0x18))
0000 - 32 32 30 20 62 75 61 6b-61 77 2e 75 73 2e 74 6f   220 domain.name
0010 - 20 45 53 4d 54 50 0d 0a-                           ESMTP..
write to 0x80b6f40 [-0x401d72c0] (10 bytes => 10 (0xA))
0000 - 53 54 41 52 54 54 4c 53-0d 0a                     STARTTLS..
read from 0x80b6f40 [0x80b0e38] (8192 bytes => 19 (0x13))
0000 - 32 32 30 20 72 65 61 64-79 20 66 6f 72 20 74 6c   220 ready for tl
0010 - 73 0d 0a                                          s..
SSL_connect:before/connect initialization
write to 0x80b6f40 [0x80b7650] (148 bytes => 148 (0x94))
0000 - 80 92 01 03 01 00 69 00-00 00 20 00 00 39 00 00   ......i... ..9..
0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0   8..5............
0020 - 00 00 33 00 00 32 00 00-2f 00 00 07 05 00 80 03   ..3..2../.......
0030 - 00 80 00 00 66 00 00 05-00 00 04 01 00 80 08 00   ....f...........
0040 - 80 00 00 63 00 00 62 00-00 61 00 00 15 00 00 12   ...c..b..a......
0050 - 00 00 09 06 00 40 00 00-65 00 00 64 00 00 60 00   .....@..e..d..`.
0060 - 00 14 00 00 11 00 00 08-00 00 06 04 00 80 00 00   ................
0070 - 03 02 00 80 a1 9d cf ad-a3 88 59 14 f5 fc 90 ee   ..........Y.....
0080 - 5b b1 17 9d dc 30 b6 48-a5 e7 04 8b ac 5c db b9   [....0.H.....\..
0090 - 71 60 d5 99                                       q`..
SSL_connect:SSLv2/v3 write client hello A
read from 0x80b6f40 [0x80bcbb0] (7 bytes => 0 (0x0))
15375:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake
failure:s23_lib.c:230:

and this with courier-imap starttls

 openssl s_client -starttls smtp  -connect  127.0.0.1:143 -debug -state
CONNECTED(00000003)
read from 0x80b6f40 [0x80b2e40] (8192 bytes => 242 (0xF2))
0000 - 2a 20 4f 4b 20 5b 43 41-50 41 42 49 4c 49 54 59   * OK [CAPABILITY
0010 - 20 49 4d 41 50 34 72 65-76 31 20 55 49 44 50 4c    IMAP4rev1 UIDPL
0020 - 55 53 20 43 48 49 4c 44-52 45 4e 20 4e 41 4d 45   US CHILDREN NAME
0030 - 53 50 41 43 45 20 54 48-52 45 41 44 3d 4f 52 44   SPACE THREAD=ORD
0040 - 45 52 45 44 53 55 42 4a-45 43 54 20 54 48 52 45   EREDSUBJECT THRE
0050 - 41 44 3d 52 45 46 45 52-45 4e 43 45 53 20 53 4f   AD=REFERENCES SO
0060 - 52 54 20 51 55 4f 54 41-20 49 44 4c 45 20 41 43   RT QUOTA IDLE AC
0070 - 4c 20 41 43 4c 32 3d 55-4e 49 4f 4e 20 53 54 41   L ACL2=UNION STA
0080 - 52 54 54 4c 53 5d 20 43-6f 75 72 69 65 72 2d 49   RTTLS] Courier-I
0090 - 4d 41 50 20 72 65 61 64-79 2e 20 43 6f 70 79 72   MAP ready. Copyr
00a0 - 69 67 68 74 20 31 39 39-38 2d 32 30 30 35 20 44   ight 1998-2005 D
00b0 - 6f 75 62 6c 65 20 50 72-65 63 69 73 69 6f 6e 2c   ouble Precision,
00c0 - 20 49 6e 63 2e 20 20 53-65 65 20 43 4f 50 59 49    Inc.  See COPYI
00d0 - 4e 47 20 66 6f 72 20 64-69 73 74 72 69 62 75 74   NG for distribut
00e0 - 69 6f 6e 20 69 6e 66 6f-72 6d 61 74 69 6f 6e 2e   ion information.
00f0 - 0d 0a                                             ..
write to 0x80b6f40 [-0x4018c970] (10 bytes => 10 (0xA))
0000 - 53 54 41 52 54 54 4c 53-0d 0a                     STARTTLS..
read from 0x80b6f40 [0x80b0e38] (8192 bytes => 44 (0x2C))
0000 - 53 54 41 52 54 54 4c 53-20 4f 4b 20 42 65 67 69   STARTTLS OK Begi
0010 - 6e 20 53 53 4c 2f 54 4c-53 20 6e 65 67 6f 74 69   n SSL/TLS negoti
0020 - 61 74 69 6f 6e 20 6e 6f-77 2e 0d 0a               ation now...
SSL_connect:before/connect initialization
write to 0x80b6f40 [0x80b7650] (148 bytes => 148 (0x94))
0000 - 80 92 01 03 01 00 69 00-00 00 20 00 00 39 00 00   ......i... ..9..
0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0   8..5............
0020 - 00 00 33 00 00 32 00 00-2f 00 00 07 05 00 80 03   ..3..2../.......
0030 - 00 80 00 00 66 00 00 05-00 00 04 01 00 80 08 00   ....f...........
0040 - 80 00 00 63 00 00 62 00-00 61 00 00 15 00 00 12   ...c..b..a......
0050 - 00 00 09 06 00 40 00 00-65 00 00 64 00 00 60 00   .....@..e..d..`.
0060 - 00 14 00 00 11 00 00 08-00 00 06 04 00 80 00 00   ................
0070 - 03 02 00 80 08 cd 48 50-c7 5e 2d 82 bc 68 98 a7   ......HP.^-..h..
0080 - ae 4c 70 33 71 a7 8a 24-7e 19 ce 8c e7 ea 0f ce   .Lp3q..$~.......
0090 - af d7 a9 2a                                       ...*
SSL_connect:SSLv2/v3 write client hello A
read from 0x80b6f40 [0x80bcbb0] (7 bytes => -1 (0xFFFFFFFF))
SSL_connect:error in SSLv2/v3 read server hello A
write:errno=104


and here is strace output of qmail starttls
strace openssl s_client -starttls smtp  -connect  127.0.0.1:25
execve("/usr/slink/openssl", ["openssl", "s_client", "-starttls", "smtp",
"-connect", "127.0.0.1:25"], [/* 25 vars */]) = 0
uname({sys="Linux", node="buakaw", ...}) = 0
brk(0)                                  = 0x80a5000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
open("/usr/local/opnessl/lib/tls/i686/sse2/libssl.so.0.9.8", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/opnessl/lib/tls/i686/sse2", 0xbfda3e1c) = -1 ENOENT (No
such file or directory)
open("/usr/local/opnessl/lib/tls/i686/libssl.so.0.9.8", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/opnessl/lib/tls/i686", 0xbfda3e1c) = -1 ENOENT (No such
file or directory)
open("/usr/local/opnessl/lib/tls/sse2/libssl.so.0.9.8", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/opnessl/lib/tls/sse2", 0xbfda3e1c) = -1 ENOENT (No such
file or directory)
open("/usr/local/opnessl/lib/tls/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/local/opnessl/lib/tls", 0xbfda3e1c) = -1 ENOENT (No such file
or directory)
open("/usr/local/opnessl/lib/i686/sse2/libssl.so.0.9.8", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/opnessl/lib/i686/sse2", 0xbfda3e1c) = -1 ENOENT (No such
file or directory)
open("/usr/local/opnessl/lib/i686/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/local/opnessl/lib/i686", 0xbfda3e1c) = -1 ENOENT (No such file
or directory)
open("/usr/local/opnessl/lib/sse2/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/local/opnessl/lib/sse2", 0xbfda3e1c) = -1 ENOENT (No such file
or directory)
open("/usr/local/opnessl/lib/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/local/opnessl/lib", 0xbfda3e1c) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=7188, ...}) = 0
mmap2(NULL, 7188, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f8f000
close(3)                                = 0
open("/usr/local/openssl/lib/libssl.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\237\0"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0555, st_size=264237, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f8e000
mmap2(NULL, 235204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7f54000
mmap2(0xb7f8a000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35) = 0xb7f8a000
mmap2(0xb7f8d000, 1732, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f8d000
close(3)                                = 0
open("/usr/local/openssl/lib/libcrypto.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300S\3"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0555, st_size=1359250, ...}) = 0
mmap2(NULL, 1179576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e34000
mmap2(0xb7f3c000, 86016, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107) = 0xb7f3c000
mmap2(0xb7f51000, 12216, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f51000
mprotect(0xbfda4000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) =
0
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\v\0"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=60198, ...}) = 0
mmap2(NULL, 12392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e30000
mmap2(0xb7e32000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7e32000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0O\1\000"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=5461997, ...}) = 0
mmap2(NULL, 1154204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7d16000
mmap2(0xb7e2a000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x114) = 0xb7e2a000
mmap2(0xb7e2e000, 7324, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e2e000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7d15000
mprotect(0xb7e2a000, 8192, PROT_READ)   = 0
mprotect(0xb7e32000, 4096, PROT_READ)   = 0
mprotect(0xb7fa6000, 4096, PROT_READ)   = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d158c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
munmap(0xb7f8f000, 7188)                = 0
brk(0)                                  = 0x80a5000
brk(0x80c6000)                          = 0x80c6000
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
getpid()                                = 15341
open("/usr/local/opnessl/ssl/openssl.cnf", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=184, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f90000
read(3, "/dev/hda2 / ext3 rw,usrquota,grp"..., 4096) = 184
close(3)                                = 0
munmap(0xb7f90000, 4096)                = 0
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f90000
read(3, "MemTotal:       775188 kB\nMemFre"..., 1024) = 598
close(3)                                = 0
munmap(0xb7f90000, 4096)                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
getuid32()                              = 0
geteuid32()                             = 0
getgid32()                              = 0
getegid32()                             = 0
getuid32()                              = 0
geteuid32()                             = 0
getgid32()                              = 0
getegid32()                             = 0
stat64("/root/.rnd", {st_mode=S_IFREG|0600, st_size=1024, ...}) = 0
open("/root/.rnd", O_RDONLY)            = 3
fstat64(3, {st_mode=S_IFREG|0600, st_size=1024, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f90000
read(3, "o\350U-\200\2627dU|S\0\244\340\335\310/\243\235\'([\351"..., 4096)
= 1024
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f90000, 4096)                = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [0], 4) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(25),
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f90000
write(1, "CONNECTED(00000003)\n", 20CONNECTED(00000003)
)   = 20
read(3, "220 domainname ESMTP\r\n", 8192) = 24
write(3, "STARTTLS\r\n", 10)            = 10
read(3, "220 ready for tls\r\n", 8192)  = 19
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
time(NULL)                              = 1123183589
time(NULL)                              = 1123183589
open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_NOCTTY) = 4
fstat64(4, {st_mode=S_IFCHR|0660, st_rdev=makedev(1, 9), ...}) = 0
select(5, [4], NULL, NULL, {0, 10000})  = 1 (in [4], left {0, 10000})
read(4, "\177\250Y\351!\334\311\215\340d\333b\351(]\207n\260\364"..., 32) =
32
close(4)                                = 0
getuid32()                              = 0
time(NULL)                              = 1123183589
write(3, "\200\222\1\3\1\0i\0\0\0 \0\0009\0\0008\0\0005\0\0\26\0"..., 148) =
148
read(3, "", 7)                          = 0
write(2, "15341:error:140790E5:SSL routine"..., 8315341:error:140790E5:SSL
routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:230:
) = 83
shutdown(3, 0 /* receive */)            = 0
close(3)                                = 0
munmap(0xb7f90000, 4096)                = 0
exit_group(0)                           = ?


and this is of courier-imap on port 143 starttls
strace openssl s_client -starttls smtp  -connect  127.0.0.1:143
execve("/usr/slink/openssl", ["openssl", "s_client", "-starttls", "smtp",
"-connect", "127.0.0.1:143"], [/* 25 vars */]) = 0
uname({sys="Linux", node="buakaw", ...}) = 0
brk(0)                                  = 0x80a5000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
open("/usr/local/opnessl/lib/tls/i686/sse2/libssl.so.0.9.8", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/opnessl/lib/tls/i686/sse2", 0xbff82bfc) = -1 ENOENT (No
such file or directory)
open("/usr/local/opnessl/lib/tls/i686/libssl.so.0.9.8", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/opnessl/lib/tls/i686", 0xbff82bfc) = -1 ENOENT (No such
file or directory)
open("/usr/local/opnessl/lib/tls/sse2/libssl.so.0.9.8", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/opnessl/lib/tls/sse2", 0xbff82bfc) = -1 ENOENT (No such
file or directory)
open("/usr/local/opnessl/lib/tls/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/local/opnessl/lib/tls", 0xbff82bfc) = -1 ENOENT (No such file
or directory)
open("/usr/local/opnessl/lib/i686/sse2/libssl.so.0.9.8", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/opnessl/lib/i686/sse2", 0xbff82bfc) = -1 ENOENT (No such
file or directory)
open("/usr/local/opnessl/lib/i686/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/local/opnessl/lib/i686", 0xbff82bfc) = -1 ENOENT (No such file
or directory)
open("/usr/local/opnessl/lib/sse2/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/local/opnessl/lib/sse2", 0xbff82bfc) = -1 ENOENT (No such file
or directory)
open("/usr/local/opnessl/lib/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/local/opnessl/lib", 0xbff82bfc) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=7188, ...}) = 0
mmap2(NULL, 7188, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f6d000
close(3)                                = 0
open("/usr/local/openssl/lib/libssl.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\237\0"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0555, st_size=264237, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f6c000
mmap2(NULL, 235204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7f32000
mmap2(0xb7f68000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35) = 0xb7f68000
mmap2(0xb7f6b000, 1732, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f6b000
close(3)                                = 0
open("/usr/local/openssl/lib/libcrypto.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300S\3"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0555, st_size=1359250, ...}) = 0
mmap2(NULL, 1179576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e12000
mmap2(0xb7f1a000, 86016, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107) = 0xb7f1a000
mmap2(0xb7f2f000, 12216, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f2f000
mprotect(0xbff83000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) =
0
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\v\0"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=60198, ...}) = 0
mmap2(NULL, 12392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e0e000
mmap2(0xb7e10000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7e10000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0O\1\000"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=5461997, ...}) = 0
mmap2(NULL, 1154204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7cf4000
mmap2(0xb7e08000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x114) = 0xb7e08000
mmap2(0xb7e0c000, 7324, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e0c000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7cf3000
mprotect(0xb7e08000, 8192, PROT_READ)   = 0
mprotect(0xb7e10000, 4096, PROT_READ)   = 0
mprotect(0xb7f84000, 4096, PROT_READ)   = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7cf38c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
munmap(0xb7f6d000, 7188)                = 0
brk(0)                                  = 0x80a5000
brk(0x80c6000)                          = 0x80c6000
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
getpid()                                = 15368
open("/usr/local/opnessl/ssl/openssl.cnf", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=184, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f6e000
read(3, "/dev/hda2 / ext3 rw,usrquota,grp"..., 4096) = 184
close(3)                                = 0
munmap(0xb7f6e000, 4096)                = 0
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f6e000
read(3, "MemTotal:       775188 kB\nMemFre"..., 1024) = 598
close(3)                                = 0
munmap(0xb7f6e000, 4096)                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
getuid32()                              = 0
geteuid32()                             = 0
getgid32()                              = 0
getegid32()                             = 0
getuid32()                              = 0
geteuid32()                             = 0
getgid32()                              = 0
getegid32()                             = 0
stat64("/root/.rnd", {st_mode=S_IFREG|0600, st_size=1024, ...}) = 0
open("/root/.rnd", O_RDONLY)            = 3
fstat64(3, {st_mode=S_IFREG|0600, st_size=1024, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f6e000
read(3, "o\350U-\200\2627dU|S\0\244\340\335\310/\243\235\'([\351"..., 4096)
= 1024
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f6e000, 4096)                = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [0], 4) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(143),
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f6e000
write(1, "CONNECTED(00000003)\n", 20CONNECTED(00000003)
)   = 20
read(3, "* OK [CAPABILITY IMAP4rev1 UIDPL"..., 8192) = 242
write(3, "STARTTLS\r\n", 10)            = 10
read(3, "STARTTLS OK Begin SSL/TLS negoti"..., 8192) = 44
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
time(NULL)                              = 1123184029
time(NULL)                              = 1123184029
open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_NOCTTY) = 4
fstat64(4, {st_mode=S_IFCHR|0660, st_rdev=makedev(1, 9), ...}) = 0
select(5, [4], NULL, NULL, {0, 10000})  = 1 (in [4], left {0, 10000})
read(4, "\\\324\246\246\266o-\314\304E\317!\24kU\242rUY\337\200"..., 32) =
32
close(4)                                = 0
getuid32()                              = 0
time(NULL)                              = 1123184029
write(3, "\200\222\1\3\1\0i\0\0\0 \0\0009\0\0008\0\0005\0\0\26\0"..., 148) =
148
read(3, 0x80bcbb0, 7)                   = -1 ECONNRESET (Connection reset by
peer)
write(2, "write:errno=104\n", 16write:errno=104
)       = 16
shutdown(3, 0 /* receive */)            = -1 ENOTCONN (Transport endpoint is
not connected)
close(3)                                = 0
munmap(0xb7f6e000, 4096)                = 0
exit_group(0)                           = ?

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]