Skip to content

Instantly share code, notes, and snippets.

@elvinio
Last active August 29, 2015 14:25
Show Gist options
  • Save elvinio/a4a1f87b6dd3424d7393 to your computer and use it in GitHub Desktop.
Save elvinio/a4a1f87b6dd3424d7393 to your computer and use it in GitHub Desktop.
Stunnel log of a successful SSL connection
2015.07.20 06:33:46 LOG6[2700:...]: Initializing service [prices]
2015.07.20 06:33:46 LOG7[2700:...]: Certificate: /home/test/test.pem
2015.07.20 06:33:46 LOG7[2700:...]: Certificate loaded
2015.07.20 06:33:46 LOG7[2700:...]: Key file: /home/test/test.pem
2015.07.20 06:33:46 LOG7[2700:...]: Private key loaded
2015.07.20 06:33:46 LOG7[2700:...]: SSL options set: 0x00000004
2015.07.20 06:33:46 LOG5[2700:...]: Configuration successful
2015.07.20 06:33:46 LOG7[2700:...]: Service [barx_trades] (FD=12) bound to 0.0.0.0:8444
2015.07.20 06:33:46 LOG7[2700:...]: Service [prices] (FD=13) bound to 0.0.0.0:8443
2015.07.20 06:33:46 LOG7[2706:...]: Created pid file /home/test/pid
2015.07.20 06:33:48 LOG7[...]: Service [prices] accepted (FD=3) from 127.0.0.1:50412
2015.07.20 06:33:48 LOG7[...]: Service [prices] started
2015.07.20 06:33:48 LOG7[...]: Waiting for a libwrap process
2015.07.20 06:33:48 LOG7[...]: Acquired libwrap process #0
2015.07.20 06:33:48 LOG7[...]: Releasing libwrap process #0
2015.07.20 06:33:48 LOG7[...]: Released libwrap process #0
2015.07.20 06:33:48 LOG7[...]: Service [prices] permitted by libwrap from 127.0.0.1:50412
2015.07.20 06:33:48 LOG5[...]: Service [prices] accepted connection from 127.0.0.1:50412
2015.07.20 06:33:48 LOG6[...]: connect_blocking: connecting x.x.x.x:443
2015.07.20 06:33:48 LOG7[...]: connect_blocking: s_poll_wait x.x.x.x:443: waiting 10 seconds
2015.07.20 06:33:49 LOG5[...]: connect_blocking: connected x.x.x.x:443
2015.07.20 06:33:49 LOG5[...]: Service [prices] connected remote server from y.y.y.y:39228
2015.07.20 06:33:49 LOG7[...]: Remote socket (FD=15) initialized
2015.07.20 06:33:49 LOG7[...]: SNI: sending servername: x.x.x.x
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): before/connect initialization
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 write client hello A
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 read server hello A
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 read server certificate A
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 read server key exchange A
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 read server certificate request A
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 read server done A
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 write client certificate A
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 write client key exchange A
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 write certificate verify A
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 write change cipher spec A
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 write finished A
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 flush data
2015.07.20 06:33:49 LOG7[...]: SSL state (connect): SSLv3 read finished A
2015.07.20 06:33:49 LOG7[...]: 1 items in the session cache
2015.07.20 06:33:49 LOG7[...]: 1 client connects (SSL_connect())
2015.07.20 06:33:49 LOG7[...]: 1 client connects that finished
2015.07.20 06:33:49 LOG7[...]: 0 client renegotiations requested
2015.07.20 06:33:49 LOG7[...]: 0 server connects (SSL_accept())
2015.07.20 06:33:49 LOG7[...]: 0 server connects that finished
2015.07.20 06:33:49 LOG7[...]: 0 server renegotiations requested
2015.07.20 06:33:49 LOG7[...]: 0 session cache hits
2015.07.20 06:33:49 LOG7[...]: 0 external session cache hits
2015.07.20 06:33:49 LOG7[...]: 0 session cache misses
2015.07.20 06:33:49 LOG7[...]: 0 session cache timeouts
2015.07.20 06:33:49 LOG6[...]: SSL connected: new session negotiated
2015.07.20 06:33:49 LOG6[...]: Negotiated TLSv1/SSLv3 ciphersuite: ECDHE-RSA-RC4-SHA (128-bit encryption)
2015.07.20 06:33:49 LOG6[...]: Compression: null, expansion: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment