From owner-freebsd-questions Wed Feb 12 10:25: 8 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DA8237B401 for ; Wed, 12 Feb 2003 10:25:07 -0800 (PST) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2A4243F75 for ; Wed, 12 Feb 2003 10:25:06 -0800 (PST) (envelope-from dschrock@speakeasy.net) Received: (qmail 24497 invoked from network); 12 Feb 2003 18:25:11 -0000 Received: from unknown (HELO speakeasy.net) (dschrock@[64.81.225.7]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Feb 2003 18:25:11 -0000 Message-ID: <3E4A9186.7050202@speakeasy.net> Date: Wed, 12 Feb 2003 12:25:10 -0600 From: Daniel Schrock User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Darren Spruell , freebsd-questions@freebsd.org Subject: Re: ftp_proxy syntax References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Darren Spruell wrote: > Hi, > > I'm trying to enable apps such as ftp and yafc to use our Squid proxy > for outgoing FTP connections, but my environment variable doesn't seem > to work... > > =================================================================== > [darren@freebsd:~]$ echo $SHELL > /usr/local/bin/bash > [darren@freebsd:~]$ export ftp_proxy="squid.sento.com:8080" > [darren@freebsd:~]$ echo $ftp_proxy > squid.sento.com:8080 > [darren@freebsd:~]$ ftp ftp.FreeBSD.org > ^C[darren@freebsd:~]$ yafc ftp.FreeBSD.org > yafc 0.7.10 Copyright (C) 1998-2001 Martin Hedenfalk . > This program comes with ABSOLUTELY NO WARRANTY; for details type 'warranty'. > This is free software; type 'copyright' for details. > > Connecting to ftp.beastie.tdk.net (62.243.72.50) at port 21... > =================================================================== > > ...and just sits there. Shouldn't the connection be made to > squid.sento.com:8080? > > Trying to run 'ftp ftp.gnu.org' from shell ends up doing the same thing. > What am I doing wrong? I know our proxy listens on 8080 and supports FTP. > > TIA, > I have never used squid, so this may not work, but the standard for variables is captial letters. try: export FTP_PROXY="squid.sento.com:8080" Daniel Schrock, CCNA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message