LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-30-2008, 04:35 PM   #1
knobby
Member
 
Registered: Jan 2002
Location: Austin, Texas
Posts: 31

Rep: Reputation: 15
Need Benign Man In the Middle SSL Setup


I setup software for web developers that tracks their users' sessions on their websites. We setup a network tap that allows us to sniff the network traffic on their app and web servers. If the servers use SSL, the tool has a way to install their private key and decrypt the SSL connections.

I need a good way to test the software without being on their internal network, basically a pre proof of concept. If they don't use ssl, it's easy. I setup the tool to sniff on my network and hit their website from there. The tool captures all the data from my session on their site. It obviously doesn't capture all their users, just the ones on my network, but it gets me what I need. If they use SSL, I'm out of luck without their private key. I am sometimes able to get the key, but not often as you might expect.

I was thinking about trying to use something like squid to do a man in the middle type setup, but more of a http>https proxy. I want to be behind a squid proxy server on the network with a client, and have my tool sniffing in between. I want to hit some local url like http://squidserver.local and have that connection recognized by squid, and then have squid know to connect to https://www.potentialclient.com, but keep the connection between squid and the client http on port 80. That way I can connect to their server and my tool can still "see" the traffic in between. Obviously squid would need to be capable of being an SSL client, which I don't know if it can.

Is it possible, with squid or anything else?
 
Old 08-01-2008, 01:45 AM   #2
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 145

Rep: Reputation: 15
i don't know if squid or another piece of software can do this, but i would guess there is some software that can. However it is not too difficult to create a php script and a rewrite rule (or 10) in .htaccess to do this. (obviously then you'd need apache with php and a couple of other librarys, e.g. curl or something, i can't remember the name of the one i used.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Md5 hashes and "Man in the Middle" ambushes entz Linux - Security 6 01-11-2008 01:48 AM
ssh man-in-the-middle naomi Linux - Security 2 05-19-2005 02:04 PM
man in the middle attack atul_mehrotra Programming 12 09-22-2004 11:48 AM
man in the middle attack atul_mehrotra Linux - Security 4 09-22-2004 09:02 AM
Man in the middle attack juanb Linux - Security 17 03-29-2004 01:03 PM


All times are GMT -5. The time now is 08:49 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration