[Date Prev][Date Next] [Chronological] [Thread] [Top]

OpenLDAP + TLS (OpenLDAP).



Hi,

I am trying to use OpenSSL and OpenLDAP but I have some problems:
It only works correctly with the first request, the next times out.

I have done a  trace find it enclosed.

Any ideas?

Cheers

Jean-frederic
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: new connection on 7
daemon: added 7r
daemon: activity on:
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 7r
daemon: read activity on 7
connection_get(7)
connection_get(7): got connid=1
connection_read(7): checking for input on id=1
TLS trace: SSL_accept:before/accept initialization
tls_read: want=11, got=11
  0000:  16 03 00 00 53 01 00 00  4f 03 00                  ....S...O..       
tls_read: want=77, got=77
  0000:  3a f0 3e 4d 00 58 50 70  60 c0 e4 ba 12 bf 14 08   :.>M.XPp`.......  
  0010:  e7 fc b2 61 d7 ea 31 9a  40 5b eb 94 eb f8 09 fe   ...a..1.@[......  
  0020:  20 72 a6 81 e1 6f 83 50  26 35 29 c4 c6 6a 45 ca    r...o.P&5)..jE.  
  0030:  bb a0 b2 f3 08 62 3a fd  88 1b 99 0e 70 c8 38 01   .....b:.....p.8.  
  0040:  a8 00 08 00 64 00 62 00  03 00 06 01 00            ....d.b......     
TLS trace: SSL_accept:SSLv3 read client hello A
TLS trace: SSL_accept:SSLv3 write server hello A
TLS trace: SSL_accept:SSLv3 write change cipher spec A
TLS trace: SSL_accept:SSLv3 write finished A
tls_write: want=150, written=150
  0000:  16 03 00 00 4a 02 00 00  46 03 00 3a f0 3b 0a 50   ....J...F..:.;.P  
  0010:  8a 5e 5e f3 28 e2 bc 96  d2 78 22 62 7b 9a 34 4a   .^^.(....x"b{.4J  
  0020:  f0 8f ec e6 fb 0f c0 76  02 c6 9c 20 72 a6 81 e1   .......v... r...  
  0030:  6f 83 50 26 35 29 c4 c6  6a 45 ca bb a0 b2 f3 08   o.P&5)..jE......  
  0040:  62 3a fd 88 1b 99 0e 70  c8 38 01 a8 00 64 00 14   b:.....p.8...d..  
  0050:  03 00 00 01 01 16 03 00  00 3c e9 72 5b b0 eb e1   .........<.r[...  
  0060:  d2 5e 6c 91 7d fd e2 ba  15 60 bf 09 7d 8e 97 66   .^l.}....`..}..f  
  0070:  3e e4 f7 78 b3 f8 ee 5f  26 9b 50 25 c1 16 41 1b   >..x..._&.P%..A.  
  0080:  bb 6f 36 92 9b 32 01 df  58 e2 02 54 58 41 d4 a0   .o6..2..X..TXA..  
  0090:  94 d1 eb 06 8e e3                                  ......            
TLS trace: SSL_accept:SSLv3 flush data
tls_read: want=5 error=Resource unavailable, try again
TLS trace: SSL_accept:error in SSLv3 read finished A
TLS trace: SSL_accept:error in SSLv3 read finished A
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 7r
daemon: read activity on 7
connection_get(7)
connection_get(7): got connid=1
connection_read(7): checking for input on id=1
tls_read: want=5, got=5
  0000:  14 03 00 00 01                                     .....             
tls_read: want=1, got=1
  0000:  01                                                 .                 
tls_read: want=5 error=Resource unavailable, try again
TLS trace: SSL_accept:error in SSLv3 read finished A
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 7r
daemon: read activity on 7
connection_get(7)
connection_get(7): got connid=1
connection_read(7): checking for input on id=1
tls_read: want=5, got=5
  0000:  16 03 00 00 3c                                     ....<             
tls_read: want=60, got=60
  0000:  24 e3 6b fc 29 d4 77 3b  48 26 c2 c4 3a ac 0c 28   $.k.).w;H&..:..(  
  0010:  9d 98 36 e9 6b 0c 34 02  72 dd de 9d 68 0e ea e3   ..6.k.4.r...h...  
  0020:  4b a2 89 4b 8c 45 5d dc  2f 0a a7 ca 70 8c 35 a2   K..K.E]./...p.5.  
  0030:  62 71 02 b8 be 7f 4a 97  33 c7 ee a2               bq....J.3...      
TLS trace: SSL_accept:SSLv3 read finished A
daemon: select: listen=6 active_threads=0 tvp=NULL