2

I'd like to wrap an insecure connection (this one: http://culturedcode.com/things/) with a secure tunnel, a bit like http://en.wikipedia.org/wiki/Stunnel does, just using UNIX tools.

What's the best way to intercept insecure traffic, encrypt it and deliver it to the insecure socket at the other end of the communication channel?

I am used to wrapping/tunnelling VNC connections using SSH port forwarding, how would you do something to the same effect with an application such as Things for Mac/iPhone? Namely: a generic application using known ports to exchange unencrypted data?

Bonus points for step-by-step instructions ;)

Thanks!

1
  • Why not use stunnel? Either I didn't understand what you're trying to do, or it looks like the right tool for the job. Sep 25, 2011 at 15:53

1 Answer 1

2

Have a look at ncat (which is part of nmap).

ncat -l 80 -c "ncat (ip-address) (port) --ssl"

For more information see: Using ncat to provide SSL-support to non-ssl capable software

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .