SSL Tunneling

A

Andy80

Hi everybody!

I've to write a proxy perl script for the following purpose:


_____________a single PC______________
| _________ _______ |
--------------------> | | | --------------> | | |
--- SSL traffic ----> | |My proxy| -- plain -----> |daemon | |
--------------------> | |_(perl)_| -- traffic ---> |_______| |
|______________________________________|


I've to "convert" SSL traffic into plain traffic and send it on the
same machine but on another port. Is that possible??

Thanks for the time,

bye

Andy
 
C

Chris Mattern

Tim said:
Why can't you use openssh?
Maybe he can't get the plaintext source to feed into the SSH tunnel. Say,
he wants to access an https web site, but decrypt it with perl and then
pass it along as plaintext http to his browser.
--
Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
 
A

Andy80

Chris Mattern said:
Maybe he can't get the plaintext source to feed into the SSH tunnel. Say,
he wants to access an https web site, but decrypt it with perl and then
pass it along as plaintext http to his browser.

Yes you're right! Is that possible in perl? Or I've to use OpenSSL?

Thanks,

Andy
 
G

gnari

Andy80 said:
Chris Mattern <[email protected]> wrote in message

Yes you're right! Is that possible in perl? Or I've to use OpenSSL?

But this is totally different from the diagram that you showed us
in your original post.

if you want a proxy that accepts http requests and translates them into
https, then yes, you can do it in perl (AND will need OpenSSL).
the real question is, is it really worth the trouble?

what is your real purpose? why can't your browser access directly
the https web site?

gnari
 
J

Joe Smith

Andy80 said:
Hi everybody!

I've to write a proxy perl script for the following purpose:


_____________a single PC______________
| _________ _______ |
--------------------> | | | --------------> | | |
--- SSL traffic ----> | |My proxy| -- plain -----> |daemon | |
--------------------> | |_(perl)_| -- traffic ---> |_______| |
|______________________________________|


I've to "convert" SSL traffic into plain traffic and send it on the
same machine but on another port. Is that possible??

I do it all the time, without using perl, by using openssh under
cygwin running on Windows-XP and/or Win2K.

cygwin% ssh username@singlepc -L 80:singlepc:80 -L 110:singlepc:110

-Joe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top