Great Circle Associates Firewalls
(August 1993)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: SOCKS-clients on Sun
From: ellerman @ cert1 . informatik . uni-hamburg . de (Uwe Ellermann)
Date: Thu, 5 Aug 93 15:54:13 +0200
To: whna @ nexos . com
Cc: firewalls @ GreatCircle . COM

> From whna @
 nexos .
 com Thu Aug  5 14:54:44 1993

> You could circumvent this by invoking syscall(2) for connect. This is an
> extract of the proxy connect() referred to above:
> 
Thanks a lot for the sourcecode. It looks very similar to my "guess".

> > The other SOCKS-functions (bind, listen, accept) are needed 
> > for FTP (ftp, xmosaic, ...). "Bind" is used by TCP and UDP(!). 
> > The UDP-usage of bind causes the SOCKS-bind to fail. I programmed
> > a switch that uses the original bind for UDP and the SOCKS-version 
> > for TCP.
> > 
> Allowing UDP across a firewall is yet another discussion in the firewalls
> list ...
> 
Yes, I know. I certainly don't want to allow UDP across the firewall.

The problem is, that bind is used for TCP *and* UDP. Almost 
every TCP-client uses bind with UDP (e.g. for DNS-queries). 
So I programmed the switch that checks, if the bind is for TCP.
If it is TCP (acceptable for the SOCKS-proxy) the SOCKS-bind
is called, if it is UDP or something else unacceptable for the
Firewall the original bind is called. 

                            Uwe Ellermann


Indexed By Date Previous: Re: Publications/books on network security?
From: Paul Holbrook <holbrook @ cic . net>
Next: SOCKS 4.0: proxy server with finger/ftp/telnet/xgopher/xmosaic clients
From: ylee @ syl . dl . nec . com (Ying-Da Lee)
Indexed By Thread Previous: Re: SOCKS-clients on Sun
From: whna @ nexos . com (Heinz Naef)
Next: Publications/books on network security?
From: "Andrew T. Robinson" <netmaine @ BITNIC . EDUCOM . EDU>

Google
 
Search Internet Search www.greatcircle.com