Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 1996 15:36:43 -0559 (CST)
From:      Boyd Faulkner <faulkner@asguard.bga.com>
To:        fyeung@fyeung5.netific.com (francis yeung)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: ftp'ing BSD through a proxy server (fwd)
Message-ID:  <199601222136.PAA25872@asguard.bga.com>
In-Reply-To: <199601211744.RAA00472@fyeung5.netific.com> from "francis yeung" at Jan 21, 96 05:43:47 pm

next in thread | previous in thread | raw e-mail | index | archive | help
If you are talking about socks4, recompiling any tcp app to be socks
compatible is as easy as the following.
Get the socks lib,  either from the server, or build your own.
Then

>From How_to_SOCKSify in the distribution

3) Add

   -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dbind=Rbind -Daccept=Raccept\
- Dlisten=Rlisten -Dselect=Rselect

   to all cc lines. If Makefile is used, this is simply done by adding
   the above to the definition of macro CFLAGS.

4) Make sure that the appropriate SOCKS library (version 4.2, built with
   -DSHORTENED_RBIND) is linked in in the ld or the last cc command to
   produce the executable.

There are steps 1 and 2 but they are not required.  See the 4.2 distribution.
It may be available from http://www.socks.nec.com/
This is mostly socks5 though.

According to francis yeung:
> 
> > 
> 
> Greetings,
> 
> 	The mail below was posted in questions@freebsd. 
> 	May be someone can help Chris on this. 
> 
> 	BTW, does CERN HTTP supports SOCKS ? If it does,
> 	we should be able to document the ftp download thru
> 	"firewall". 
> 
> 	Thanks.
> 
> 	Francis
> 
> > 
> > Well,
> > I guess I need a little more info to give to you, because what you told   
> > me all makes sense, but I need to know if there is a way to install   
> > FreeBSD with the boot disk, making use of FTP through this firewall.  I   
> > am pretty sure we have a CERN HTTP proxy server at this time, because I   
> > can use netscape no problem (and moreover, I could FTP the entire BSD   
> > down to my NT machine using netscape, then install from it, but it seems   
> > that the install from FTP would be better since it automatically knows   
> > which files to get (I mean bin files from bin.aa to bin.cp would take   
> > forever doing it with netscape...)
> > 
> > I was just hoping there was a way to set the ftp proxy for the FreeBSD   
> > 2.1.0 install ftp client.  If I could do that, then I could just run the   
> > boot disk, and run the install FTPing everything down at >56Kbs. I   
> > haven't been able to find any such thing as of yet...  If there is a way   
> > to configure the FreeBSD install to do this, please share this info with   
> > me...
> > 
> > Thanks a bunch for taking the time to try to help.
> > Chris
> > 
> > 
> 
> 


-- 
_____________________________________________________________________________

        Boyd Faulkner            "The fates lead him who will;
   faulkner@isd.tandem.com       Him who won't, they drag."
 http://cactus.org/~faulkner     Old Roman Saying -- Source:  Joseph Campbell
_____________________________________________________________________________



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601222136.PAA25872>