From owner-freebsd-questions Wed Jan 10 12:20:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from trill.hh.se (trill.hh.se [194.47.5.10]) by hub.freebsd.org (Postfix) with ESMTP id AFE4837B404 for ; Wed, 10 Jan 2001 12:20:14 -0800 (PST) Received: from gs177.gsten.hh.se (chip@L22-212.gsten.hh.se [194.47.16.177]) by trill.hh.se (8.9.3/8.9.3) with ESMTP id VAA01438; Wed, 10 Jan 2001 21:20:10 +0100 (MET) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3A66CAF3B5D3D4119AFD00508BC286ADE22BAF@msxa4.statcan.ca> Date: Wed, 10 Jan 2001 21:20:25 +0100 (CET) From: Joel Bjork To: mike.jeays@statcan.ca Subject: RE: FTP access to ports through a firewall Cc: questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 10-Jan-01 mike.jeays@statcan.ca wrote: > Where do I find the code that fetches a distfile from a server on the > Internet, please? I presume this is done through FTP. > > We have an firewall that will not permit direct FTP connects, and I > would like to see if I can modify this bit of code to work in our > environment. Maybe it is harder than I think... > The portscollection uses fetch to retrieve files, usually over FTP. Assuming that your firewall allows passive ftp-transfers, fetch -P will work. fetch will also look for the FTP_PASSIVE_MODE environment variable, there's more on this in the manpage, it doesn't however tell you what to set it to so you're in for some trial and error. ---------------------------------- E-Mail: Joel Bjork Date: 10-Jan-01 Time: 21:20:25 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message