Re: TLS profile and session object

Huston <[email protected]> 11 Apr 2003 08:11:06 -0600
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <[email protected]>
Currently there isn't a way to do this. I've been thinking of firing an
event on tuning reset to take care of this problem.

--Huston

On Fri, 2003-04-11 at 01:51, Toby Murray wrote:
> Hi,
> I have two parties communicating over a BEEP session. There are 2 
> channels, in operation. One initiated by one party, the other initiated 
> by the other.
> Once hte session is established I'd like to:
> negotiate TLS,
> Pary A opens one channel
> Party B opens the other
> 
> Everything works fine without TLS, however when either party starts the 
> TLS negotiation, the other party doesn't know its going on. 
> Consequently, the send their start channel message with the OLD session 
> object. This seems to result in the start channel message being sent in 
> plaintext. The other party is expecting this message to be sent 
> encrypted, and so of course cannot understand its contents.
> 
> I'm starting TLS using:
> TLSProfile.getDefaultInstance().startTLS(session)).
> 
> The other party is just doing a listen for a TCP session connection and 
> then doing a sessoin.startChannel() call to start the session (which is 
> occuring in plaintext).
> 
> Is there a way I can get the guy who doesn't start TLS to update his 
> session object to reflect the fact that TLS is now going and that 
> requests should be sent encrypted?
> 
> Thanks
> Toby
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
> for complex code. Debugging C/C++ programs can leave you feeling lost and 
> disoriented. TotalView can help you find your way. Available on major UNIX 
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> Beepcore-java-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/beepcore-java-users
> 



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com