# success.txt [dustin@lilthing stunnel_test (master)]$ ./test_truncated_response.pl q 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Clients allowed=500 2013.02.04 16:23:01 LOG5[9612:140081952995072]: stunnel 4.54 on x86_64-unknown-linux-gnu platform 2013.02.04 16:23:01 LOG5[9612:140081952995072]: Compiled/running with OpenSSL 1.0.1c 10 May 2012 2013.02.04 16:23:01 LOG5[9612:140081952995072]: Threading:PTHREAD SSL:+ENGINE+OCSP Auth:none Sockets:POLL+IPv6 2013.02.04 16:23:01 LOG5[9612:140081952995072]: Reading configuration from file /tmp/stunnel.conf-wkKU3j 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Compression not enabled 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Snagged 64 random bytes from /home/dustin/.rnd 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Wrote 1024 new random bytes to /home/dustin/.rnd 2013.02.04 16:23:01 LOG7[9612:140081952995072]: PRNG seeded successfully 2013.02.04 16:23:01 LOG6[9612:140081952995072]: Initializing service [127.0.0.1] 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Certificate: /home/dustin/src/stunnel_test/snakeoil.pem 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Certificate loaded 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Key file: /home/dustin/src/stunnel_test/snakeoil.pem 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Private key loaded 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Could not load DH parameters from /home/dustin/src/stunnel_test/snakeoil.pem 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Using hardcoded DH parameters 2013.02.04 16:23:01 LOG7[9612:140081952995072]: DH initialized with 2048-bit key 2013.02.04 16:23:01 LOG7[9612:140081952995072]: ECDH initialized with curve prime256v1 2013.02.04 16:23:01 LOG7[9612:140081952995072]: SSL options set: 0x01400004 2013.02.04 16:23:01 LOG5[9612:140081952995072]: Configuration successful 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Service [127.0.0.1] (FD=7) bound to 127.0.0.1:4443 2013.02.04 16:23:01 LOG7[9612:140081952995072]: Created pid file /tmp/Vg_C7a1sv5.pid 2013.02.04 16:23:02 LOG7[9612:140081952995072]: Service [127.0.0.1] accepted (FD=3) from 127.0.0.1:53702 2013.02.04 16:23:02 LOG7[9612:140081953126144]: Service [127.0.0.1] started 2013.02.04 16:23:02 LOG5[9612:140081953126144]: Service [127.0.0.1] accepted connection from 127.0.0.1:53702 2013.02.04 16:23:02 LOG6[9612:140081953126144]: connect_blocking: connecting localhost:/tmp/ntX3qeXKnX.sock 2013.02.04 16:23:02 LOG5[9612:140081953126144]: connect_blocking: connected localhost:/tmp/ntX3qeXKnX.sock 2013.02.04 16:23:02 LOG5[9612:140081953126144]: Service [127.0.0.1] connected remote server from unnamed socket 2013.02.04 16:23:02 LOG7[9612:140081953126144]: Remote socket (FD=8) initialized 2013.02.04 16:23:02 LOG7[9612:140081953126144]: Option TCP_NODELAY not supported on remote socket 2013.02.04 16:23:02 LOG6[9612:140081953126144]: Server-mode proxy protocol negotiations started 2013.02.04 16:23:02 LOG7[9612:140081953126144]: -> PROXY TCP4 127.0.0.1 127.0.0.1 53702 4443 2013.02.04 16:23:02 LOG6[9612:140081953126144]: Server-mode proxy protocol negotiations succeeded 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): before/accept initialization 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): SSLv3 read client hello A 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): SSLv3 write server hello A 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): SSLv3 write certificate A 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): SSLv3 write key exchange A 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): SSLv3 write server done A 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): SSLv3 flush data 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): SSLv3 read client key exchange A 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): SSLv3 read finished A 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): SSLv3 write change cipher spec A 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): SSLv3 write finished A 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL state (accept): SSLv3 flush data 2013.02.04 16:23:02 LOG7[9612:140081953126144]: 1 items in the session cache 2013.02.04 16:23:02 LOG7[9612:140081953126144]: 0 client connects (SSL_connect()) 2013.02.04 16:23:02 LOG7[9612:140081953126144]: 0 client connects that finished 2013.02.04 16:23:02 LOG7[9612:140081953126144]: 0 client renegotiations requested 2013.02.04 16:23:02 LOG7[9612:140081953126144]: 1 server connects (SSL_accept()) 2013.02.04 16:23:02 LOG7[9612:140081953126144]: 1 server connects that finished 2013.02.04 16:23:02 LOG7[9612:140081953126144]: 0 server renegotiations requested 2013.02.04 16:23:02 LOG7[9612:140081953126144]: 0 session cache hits 2013.02.04 16:23:02 LOG7[9612:140081953126144]: 0 external session cache hits 2013.02.04 16:23:02 LOG7[9612:140081953126144]: 0 session cache misses 2013.02.04 16:23:02 LOG7[9612:140081953126144]: 0 session cache timeouts 2013.02.04 16:23:02 LOG6[9612:140081953126144]: SSL accepted: new session negotiated 2013.02.04 16:23:02 LOG6[9612:140081953126144]: Negotiated TLSv1/SSLv3 ciphersuite: ECDHE-RSA-RC4-SHA (128-bit encryption) 2013.02.04 16:23:02 LOG6[9612:140081953126144]: Compression: null, expansion: null 2013.02.04 16:23:02 LOG7[9612:140081953126144]: Socket closed on read 2013.02.04 16:23:02 LOG7[9612:140081953126144]: Sending close_notify alert 2013.02.04 16:23:02 LOG7[9612:140081953126144]: SSL alert (write): warning: close notify 2013.02.04 16:23:02 LOG6[9612:140081953126144]: SSL_shutdown successfully sent close_notify alert 2013.02.04 16:23:02 LOG5[9612:140081953126144]: Error detected on SSL (read) file descriptor: Connection reset by peer (104) 2013.02.04 16:23:02 LOG5[9612:140081953126144]: Connection reset: 56459 byte(s) sent to SSL, 78 byte(s) sent to socket 2013.02.04 16:23:02 LOG7[9612:140081953126144]: Remote socket (FD=8) closed 2013.02.04 16:23:02 LOG7[9612:140081953126144]: Local socket (FD=3) closed 2013.02.04 16:23:02 LOG7[9612:140081953126144]: Service [127.0.0.1] finished (0 left) Cleaning up ... 2013.02.04 16:23:03 LOG7[9612:140081952995072]: Dispatching signals from the signal pipe 2013.02.04 16:23:03 LOG7[9612:140081952995072]: Processing SIGNAL_TERMINATE 2013.02.04 16:23:03 LOG5[9612:140081952995072]: Terminated 2013.02.04 16:23:04 LOG7[9612:140081952995072]: Closing service [127.0.0.1] 2013.02.04 16:23:04 LOG7[9612:140081952995072]: Service [127.0.0.1] closed (FD=7) 2013.02.04 16:23:04 LOG7[9612:140081952995072]: Sessions cached before flush: 1 2013.02.04 16:23:04 LOG7[9612:140081952995072]: Sessions cached after flush: 0 2013.02.04 16:23:04 LOG7[9612:140081952995072]: Service [127.0.0.1] closed 2013.02.04 16:23:04 LOG7[9612:140081952995072]: str_stats: 12 block(s), 1069 data byte(s), 696 control byte(s) 2013.02.04 16:23:04 LOG7[9612:140081952995072]: removing pid file /tmp/Vg_C7a1sv5.pid