Sorry about replying to something of last year, but this guy is wrong. To do proxy mode in SSL you have to have three sockets: 1) A ssl socket connected to local host with a random port (i) 2) A tcp listen socket that #1 connects to (listening on i) 3) A tcp connect socket that connects to target server and relays info from #3 to #2 and #2 to #3 and yep you guessed it #1 and #2 talk to eachother
I'll be amazed if anyone understands this. I suck at explaining things. Anyhow, I know for a fact this works and I know it's not the prettiest way of doing it, but it is doable. -Peter On 11/17/05, Jason Essington <[EMAIL PROTECTED]> wrote: > > It certainly does support listen (an SSLSocket is a socket after > all) ... > HOWEVER, the current incarnation will only listen in non secure mode. > > So if you are expecting to implement a server capable of handling > SSL, the SSL socket in R4 and PRIOR releases will not work for you. > > We use SSLSockets quite extensively, and are painfully aware of their > CURRENT limitations. > > A connected SSLSocket also cannot switch from non secure to secure > mode which is necessary to support SSL via a proxy server. > > -jason > On Nov 17, 2005, at 8:50 AM, Patrick Gilmartin wrote: > > > While I have not implemented this functionality to > > date (but I plan to before the end of the year), take > > a look at the Language Reference Guide: You will find > > the listen method listed both the ServerSocket and > > the parent class to SSLSocket -- TCPScoket. Thus, > > SSLSocket does support the Listen Method on both ends. > > > > > > Patrick > > > > --- dda <[EMAIL PROTECTED]> wrote: > > > >> No Listen method so far. > >> > >> > >> -- > >> dda > >> fPic, a Picture object for CLI apps > >> http://sungnyemun.org/?q=node/7 > >> > >> RBDeveloper Columnist, "Beyond the Limits" > >> http://rbdeveloper.com > >> > >> Liste Française Solutions RB > >> http://www.solutionsrb.com/ > >> > >> > >> On 11/17/05, Ronald Vogelaar <[EMAIL PROTECTED]> > >> wrote: > >>> Hi all, > >>> > >>> Can someone tell me whether the SSLSocket class in > >> RB2005 has a Listen > >>> method, or can you still only make outbound > >> connections? > >>> > >>> Thanks, > >>> > >>> Ronald Vogelaar > >> _______________________________________________ > >> Unsubscribe or switch delivery mode: > >> <http://www.realsoftware.com/support/listmanager/> > >> > >> Search the archives of this list here: > >> > > <http://support.realsoftware.com/listarchives/lists.html> > >> > > > > > > > > > > > > __________________________________ > > Yahoo! Mail - PC Magazine Editors' Choice 2005 > > http://mail.yahoo.com > > _______________________________________________ > > Unsubscribe or switch delivery mode: > > <http://www.realsoftware.com/support/listmanager/> > > > > Search the archives of this list here: > > <http://support.realsoftware.com/listarchives/lists.html> > > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives of this list here: > <http://support.realsoftware.com/listarchives/lists.html> > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
