[stunnel-users] stunnel tls wrapper/proxy for xmpp

C.J. Adams-Collier cjac at colliertech.org
Mon Feb 2 22:31:36 CET 2009


Hey all,

I'm new here, and I didn't see anything relating to this after a quick
glance at the archives.  I'd like to start a stunnel connection
connected to the google talk server and then connect finch up to that
so that I can tap the clear xmpp session using tcpdump.  Can one of
you help me?

Thanks in advance,

C.J.


cjac at sh0:~/stunnel$ cat stunnel.conf
client = yes
connect = el-in-f125.google.com:5222
foreground = yes
pid = /tmp/stunnel4.pid
debug = 7

cjac at sh0:~/stunnel$ stunnel-4.26/src/stunnel stunnel.conf
2009.02.02 21:31:13 LOG6[24798:140190659815120]: Unable to retrieve any random data from /home/cjac/.rnd
2009.02.02 21:31:13 LOG7[24798:140190659815120]: Wrote 0 new random bytes to /home/cjac/.rnd
2009.02.02 21:31:13 LOG7[24798:140190659815120]: RAND_status claims sufficient entropy for the PRNG
2009.02.02 21:31:13 LOG7[24798:140190659815120]: PRNG seeded successfully
2009.02.02 21:31:13 LOG7[24798:140190659815120]: SSL context initialized for service stunnel
2009.02.02 21:31:13 LOG5[24798:140190659815120]: stunnel 4.26 on x86_64-unknown-linux-gnu with OpenSSL 0.9.8c 05 Sep 2006
2009.02.02 21:31:13 LOG5[24798:140190659815120]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6
2009.02.02 21:31:13 LOG7[24798:140190659815120]: stunnel started
2009.02.02 21:31:13 LOG7[24798:140190659815120]: FD 0 in non-blocking mode
2009.02.02 21:31:13 LOG7[24798:140190659815120]: FD 1 in non-blocking mode
2009.02.02 21:31:13 LOG7[24798:140190659815120]: FD 4 in non-blocking mode
2009.02.02 21:31:13 LOG7[24798:140190659815120]: stunnel connecting 209.85.163.125:5222
2009.02.02 21:31:13 LOG7[24798:140190659815120]: connect_wait: waiting 10 seconds
2009.02.02 21:31:14 LOG7[24798:140190659815120]: connect_wait: connected
2009.02.02 21:31:14 LOG5[24798:140190659815120]: stunnel connected remote server from 172.16.9.3:55967
2009.02.02 21:31:14 LOG7[24798:140190659815120]: Remote FD=4 initialized
2009.02.02 21:31:14 LOG7[24798:140190659815120]: SSL state (connect): before/connect initialization
2009.02.02 21:31:14 LOG7[24798:140190659815120]: SSL state (connect): SSLv3 write client hello A
2009.02.02 21:31:14 LOG7[24798:140190659815120]: SSL alert (write): fatal: handshake failure
2009.02.02 21:31:14 LOG3[24798:140190659815120]: SSL_connect: 1408F10B: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
2009.02.02 21:31:14 LOG5[24798:140190659815120]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2009.02.02 21:31:14 LOG7[24798:140190659815120]: stunnel finished (0 left)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20090202/dc2b2618/attachment.sig>


More information about the stunnel-users mailing list