From owner-freebsd-questions Wed Dec 4 22:53:37 2002 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 84CDD37B401 for ; Wed, 4 Dec 2002 22:53:35 -0800 (PST) Received: from spf0.us4.outblaze.com (205-158-62-68.outblaze.com [205.158.62.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 183BA43E4A for ; Wed, 4 Dec 2002 22:53:35 -0800 (PST) (envelope-from migz@mail.com) Received: (qmail 221 invoked by uid 1017); 5 Dec 2002 06:53:33 -0000 Received: (qmail 98796 invoked from network); 5 Dec 2002 06:53:17 -0000 Received: from unknown (HELO ws1-2.us4.outblaze.com) (205.158.62.54) by 205-158-62-153.outblaze.com with SMTP; 5 Dec 2002 06:53:17 -0000 Received: (qmail 28454 invoked by uid 1001); 5 Dec 2002 06:53:17 -0000 Message-ID: <20021205065317.28453.qmail@mail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [213.138.109.26] by ws1-2.us4.outblaze.com with http for migz@mail.com; Thu, 05 Dec 2002 01:53:17 -0500 From: "Miguel haber" To: freebsd-questions@FreeBSD.ORG Date: Thu, 05 Dec 2002 01:53:17 -0500 Subject: hi there =) X-Originating-Ip: 213.138.109.26 X-Originating-Server: ws1-2.us4.outblaze.com 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 Hi I just have a problem... I'm behind an http proxy, it's 10.1.1.1 port 8080.. this is the scan of the proxy: bash-2.05b$ nmap -P0 10.1.1.1 Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) Interesting ports on (10.1.1.1): (The 1585 ports scanned but not shown below are in state: filtered) Port State Service 21/tcp open ftp 110/tcp closed pop-3 389/tcp open ldap 443/tcp closed https 445/tcp closed microsoft-ds 1002/tcp open unknown 1720/tcp open H.323/Q.931 5050/tcp closed mmcc 5190/tcp closed aol 6666/tcp closed irc-serv 6667/tcp closed irc 6668/tcp closed irc 6699/tcp closed napster 6969/tcp closed acmsoda 7000/tcp closed afs3-fileserver 8080/tcp open http-proxy Nmap run completed -- 1 IP address (1 host up) scanned in 422 seconds bash-2.05b$ As you see the port 8080 is open .. and I put this "export HTTP_PROXY="10.1.1.1:8080" in .shrc so when I try to install something from ports it connects to the proxy and fetch the file. and that worked ..see this when i was installing epic4: migz# make >> epic4-1.0.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/epic4. >> Attempting to fetch from ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/. fetch: epic4-1.0.1.tar.bz2: size of remote file is not known Receiving epic4-1.0.1.tar.bz2: 32768 bytes You see it connects to the ftp server through proxy cause i found: bash-2.05b$ sockstat -4 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root fetch 664 3 tcp4 192.168.10.102:3686 10.1.1.1:8080 <-- this The problem is .. when I try to ftp manually i get 421 remove server has closed the connection.. cause it doesn't connect to the ftp server through proxy.. check this: $ ftp ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/ Connected to epicsol.org. 421 Service not available, remote server has closed connection. ftp: Can't connect or login to host `ftp.epicsol.org' $ in the same time i see: USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS migz ftp 677 3 tcp4 192.168.10.102:3687 209.100.173.7:21 <-- it doesn't connect through the proxy server.. The question is how to make ftp and ssh connect through the proxy server 10.1.1.1:8080 ? I hope you reply as soon as possible. Thanks. -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup One click access to the Top Search Engines http://www.exactsearchbar.com/mailcom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message