We don't really need two FTP daemons

Julian H. Stacey jhs at tower.berklix.net
Wed May 16 16:02:08 UTC 2007

> On Tue, May 15, 2007 at 04:17:55PM +0200, Dag-Erling Sm??rgrav wrote:
> > "Julian H. Stacey" <jhs at tower.berklix.net> writes:
> > > Someone asked whether lukemftpd offered functionality other(s) don't ?
> > > What about proxy ?
> > >
> > > I've never been sure which ftpd to run on my gateway (with IPFW, with n=
> o NAT)
> > > to provide proxy, so internal hosts could cd /usr/ports; make fetch
> >=20
> > You don't need a proxy.  Do the following on each internal host:
> >=20
> > # echo 'FTP_PASSIVE_MODE=3DYES' >>/etc/profile

Thanks Dag-Erling, 
To make sure, I've just added FTP_PASSIVE_MODE=YES to my /etc/profile
though I've long had in my csh :
	printenv | grep -i FTP | sort
		FTP_PASSWORD=jhs at berklix.net
	printenv | grep -i http | sort
But it just occured to me as long shot, that when fetch does a system()
or fork() it may invoke sh not csh, so I need to check again what env vars
fetch inherits (though I recall it inherited OK last I looked).

> actually, if the internal hosts use RFC1918 addresses this wouldn't
> suffice. He really needs either ftp proxy (and redirect all ftp traffic
> to it) or NAT.

Thanks Buki, Yes, that's what I'd thought too: I do need an ftpd proxy too.
I still need to know which ftpd is good for proxy & how to config to it ?
( My guess is many people use NAT, which is why not so many know /reply
re. ftpd proxy ? )

Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
	Ihr Rauch = mein allergischer Kopfschmerz.  Dump cigs: Try snuff.

More information about the freebsd-current mailing list