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 / Security / May 2004

Tip: Looking for answers? Try searching our database.

J2SE SSL, no response on client hello message, no transparent channel :)

Thread view: 
Nomano - 07 May 2004 10:25 GMT
Hello,
I have problem with using of JSSE. Especially with secure sockets. My
problem is described in the next paragraph.

I have captured the communication between server and client side. And
it works that way when I sent data just from client side then the
client sent the hello message and the server doesn't response on it.
The server first starts the handshake at time when I write the date to
the server OutputStream also. The handshake then pass well. That means
the SSLSession says handshake done, but when i write data from server
side or  client side they doesn't appear at the other side :))

I appreciate you
thanks a lot for help
Nomano - 11 May 2004 08:00 GMT
Already resolved. The problem stays that InputStream.available()
method doesn't work properly

> Hello,
> I have problem with using of JSSE. Especially with secure sockets. My
[quoted text clipped - 10 lines]
> I appreciate you
> thanks a lot for help
Rogan Dawes - 11 May 2004 11:45 GMT
> Already resolved. The problem stays that InputStream.available()
> method doesn't work properly
[quoted text clipped - 13 lines]
>>I appreciate you
>>thanks a lot for help

If I recall correctly, there is a caveat in the SSLSocket code that says
that, due to the interleaving of handshake and data bytes, available()
may return even when there are no bytes to read.

You may want to check if this is happening to you.

Also check if you are calling flush() on the OutputStream, to send the data.

Regards,

Rogan
Signature

Rogan Dawes

*ALL* messages to discard@dawes.za.net will be dropped, and added
to my blacklist. Please respond to "nntp AT dawes DOT za DOT net"



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



©2008 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.