Skip navigation.
 
mlRe: DOs and firewalls
FROM : Wade Tregaskis
DATE : Sun Oct 17 05:57:10 2004

> I have a DO application that works pretty well on the network. But
> when I try to reach someone with a NAT or a firewall, I can't get the
> connection to the distant object. Is there any way to circumvent that
> ?


Any of the normal ways for resolving such issues; i.e. opening ports,
redirection, etc.  DO is inherently bi-directional in terms of
connections; you can't use any sort of "passive" mode.  You could do so
if you really needed, but it'd mean writing your NSPort subclass to
replace NSSocketPort, which is very much a non-trivial exercise (one
example can be found at
<http://www.sourceforge.net/projects/securedo/>, which I wrote).

DO doesn't support any proxies of any sort (e.g. SOCKS, HTTP[S], etc). 
The closest you could probably get with any ease is to take the
aforementioned SecureDO, which adds SSL support to DO, and modify it to
support a HTTPS proxy.  Of course, most HTTPS proxies won't connect to
any port other than 443, so you'll probably still be stuffed, if that
even works for your situation anyway.

Wade Tregaskis (AIM, Yahoo & Skype: wadetregaskis, ICQ: 40056898, MSN &
email: <email_removed>, Jabber:
<email_removed>
-- Sed quis custodiet ipsos custodes?

Related mailsAuthorDate
mlDOs and firewalls Charles Françoise Oct 17, 05:06
mlRe: DOs and firewalls Wade Tregaskis Oct 17, 05:57