Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / October 2004

Tip: Looking for answers? Try searching our database.

How to starthandshake with client browser??

Thread view: 
Jakekeke - 26 Oct 2004 09:20 GMT
I am using JSSE to write a TCP socket program.
The task i need to do is reveice a CONNECT response from a browser, ie
HTTPS.
And then my program need to communicate with the destinated server.
My program can named as Proxy Server,however, it is a simply proxy
server what it should do is: communicate between browser and server,
and log down all the data transfer, including the request and response
header.

So, would anyone can tell me how to solve the problem i mention above?
You may provide some program statement for me to follow, or
describe what the 3 bodies, client/proxy/server should do in each
timeslot.

Thank you.
p.s. It is very urgent
Rogan Dawes - 26 Oct 2004 15:23 GMT
> I am using JSSE to write a TCP socket program.
> The task i need to do is reveice a CONNECT response from a browser, ie
[quoted text clipped - 12 lines]
> Thank you.
> p.s. It is very urgent

Take a look at WebScarab (hosted on Sourceforge under the owasp
project). It does exactly what you describe. The relevant source code is
in src/org/owasp/webscarab/plugin/proxy/ConnectionHandler.java.

Regards,

Rogan
Alex Hunsley - 27 Oct 2004 13:37 GMT
> I am using JSSE to write a TCP socket program.
> The task i need to do is reveice a CONNECT response from a browser, ie
[quoted text clipped - 6 lines]
>
> So, would anyone can tell me how to solve the problem i mention above?

Yes; try writing some java code to solve the problem. That's how you
solve it.

> You may provide some program statement for me to follow, or
> describe what the 3 bodies, client/proxy/server should do in each
> timeslot.

timeslot?

> Thank you.
> p.s. It is very urgent

Writing 'urgent' doesn't buy you any favours round here.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.