Thoughts from Dan Miser RSS 2.0
# Wednesday, May 24, 2006
I recently needed to monitor the HTTP traffic of an application that I wrote in order to debug why things were failing. Unfortunately, a simple proxy wouldn't work since the HTTPS traffic is encryped by SSL. This makes sense, since you really would hope that the data you send when surfing on a secure web page would be secure. I ended up solving this problem the same way you can solve every programming problem in the world: add a layer of indirection.

To start, I downloaded and installed the latest binaries of stunnel. Before starting, I modified the conf file to add the following entry:


[dor]
accept=localhost:8080
connect=www.MySuperSecureSite.com:443

Then, I installed tcpTrace and set things up to Listen on port 8079 and forward to localhost:8080. Lastly, in my application, I connected to http://localhost:8079/MyPath. This would eventually forward all of the traffic to the real destination, but I was able to spy on the details in tcpTrace since that was just HTTP traffic.

After doing this, I could see where things were malformed and clean my code up to submit things in the desired format.

Wednesday, May 24, 2006 8:08:00 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] -

Tracked by:
http://9ns-information.info/80374876/index.html [Pingback]
http://9ne-information.info/07779335/index.html [Pingback]
http://9nn-information.info/10523061/index.html [Pingback]
http://9nd-information.info/57294765/index.html [Pingback]
http://9nd-information.info/27471353/index.html [Pingback]
http://9nf-information.info/00786455/index.html [Pingback]
http://9nc-information.info/56516915/index.html [Pingback]
http://9nm-information.info/43175673/engine-and-truck-ltd-belfast.html [Pingback]
http://9ns-information.info/74922565/index.html [Pingback]
http://9ni-information.info/45478035/computer-stores-in-toronto-ontario.html [Pingback]
http://9ni-information.info/64186412/job-selection-for-the-future-by-what-like.h... [Pingback]
http://9nd-information.info/39044273/american-car-performance-parts.html [Pingback]
http://9or-information.info/70546721/snug-harbor-in-staten-island.html [Pingback]
http://9oh-information.info/89561801/index.html [Pingback]
http://9qk-information.info/96979243/index.html [Pingback]
http://9oe-information.info/90621034/index.html [Pingback]
http://9qn-information.info/89415044/index.html [Pingback]
http://9qe-information.info/42404086/index.html [Pingback]
http://9ou-information.info/70169406/index.html [Pingback]
http://9ob-information.info/59874825/index.html [Pingback]
http://9rb-information.info/22893851/index.html [Pingback]
http://9rx-information.info/68118798/index.html [Pingback]
http://9sj-information.info/76958119/index.html [Pingback]
http://9rf-information.info/49133431/index.html [Pingback]
http://9rw-information.info/60468249/teaching-money-management-mentally-retarded... [Pingback]
http://9rd-information.info/42221917/wedding-castles-in-new-jersey.html [Pingback]
http://9uaft-le-informazioni.info/56096210/index.html [Pingback]
http://9uafi-le-informazioni.info/16436679/index.html [Pingback]
http://9uaed-le-informazioni.info/66890808/francesca-chateau-d-ax.html [Pingback]
http://9uaft-le-informazioni.info/33809290/hot-images.html [Pingback]
http://9uaem-le-informazioni.info/81699514/index.html [Pingback]
http://9uafp-le-informazioni.info/85236869/valore-distacco-al-galoppo.html [Pingback]
http://9uafd-le-informazioni.info/64395057/index.html [Pingback]
http://9uaej-le-informazioni.info/97098953/index.html [Pingback]
http://9uahk-le-informazioni.info/69800083/index.html [Pingback]
http://9uahi-le-informazioni.info/44436439/index.html [Pingback]
http://9uaho-le-informazioni.info/78043229/tdk-stampante-cd.html [Pingback]
http://9uagt-le-informazioni.info/04199679/index.html [Pingback]
http://9uahd-le-informazioni.info/77119239/index.html [Pingback]
http://9uahq-le-informazioni.info/38036538/index.html [Pingback]
http://9uagm-le-informazioni.info/06573526/index.html [Pingback]
http://9uahd-le-informazioni.info/70034262/index.html [Pingback]
Navigation
Archive
<December 2014>
SunMonTueWedThuFriSat
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2014
Dan Miser
Sign In
Statistics
Total Posts: 388
This Year: 0
This Month: 0
This Week: 0
Comments: 630
Themes
Pick a theme:
All Content © 2014, Dan Miser
DasBlog theme 'Business' created by Christoph De Baene (delarou)