From owner-freebsd-questions@FreeBSD.ORG Thu Jan 20 03:39:54 2005 Return-Path: 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 B7EC316A4CE for ; Thu, 20 Jan 2005 03:39:54 +0000 (GMT) Received: from mail.foolishgames.com (mail.foolishgames.com [216.55.178.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ED4643D58 for ; Thu, 20 Jan 2005 03:39:54 +0000 (GMT) (envelope-from luke@foolishgames.com) Received: from [192.168.0.49] (24.247.120.6.kzo.mi.chartermi.net [24.247.120.6]) (authenticated bits=0)j0K4hJE6030676 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Wed, 19 Jan 2005 20:43:20 -0800 (PST) (envelope-from luke@foolishgames.com) X-Authentication-Warning: mail.foolishgames.com: Host 24.247.120.6.kzo.mi.chartermi.net [24.247.120.6] claimed to be [192.168.0.49] X-Habeas-Swe-5: Sender Warranted Email (SWE) (tm). The sender of this Mime-Version: 1.0 (Apple Message framework v619) X-Habeas-Swe-8: Message (HCM) and not spam. Please report use of this X-Habeas-Swe-3: like Habeas SWE (tm) X-Habeas-Swe-6: email in exchange for a license for this Habeas X-Habeas-Swe-1: winter into spring Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: X-Habeas-Swe-9: mark in spam to . X-Habeas-Swe-4: Copyright 2002 Habeas (tm) Content-Transfer-Encoding: 7bit From: Lucas Holt X-Habeas-Swe-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-Swe-2: brightly anticipated Date: Wed, 19 Jan 2005 22:39:34 -0500 To: FreeBSD Questions X-Mailer: Apple Mail (2.619) Subject: ftp/fetch can not connect to ftp sites. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 03:39:54 -0000 I am running FreeBSD 5.3 Release p4, upgraded from 5.2.1. Prior to 5.3 p4, I was able to use command line ftp and fetch to access ftp sites. Since the upgrade I have not been able to. I can not connect to ftp.freebsd.org (or mirrors), ftp.x.org, etc. Any port using an http server works fine using portupgrade, but with about 30 ports to upgrade its kind of annoying to manually fetch files :) I do have ipfw setup and running. It is possible that it is a config issue with ipfw, but I am doubtful. The kernel does not have inet6 (ip6) compiled in and occasionally I see the ftp client resolving ip6 addresses which I find odd. It often does this resolving ftp.freebsd.org which I think is hosted at ISC. I've tried ipfw disable firewall and kldunload'ing the ipfw extension in the kernel. I can connect to ftp sites using firefox in x11 and from Linux & windows on the same box with the same ip defined. My cable modem router has this system setup as the dmz. I looked at the fetch man page and it has an environment variable (man 3 fetch) FTP_PASSIVE_MODE. I've toggled this to yes and no in the environment with no effect. Also, I happen to have ip_portrange_first and ip_portrange_last set in /etc/rc.conf to 4000 and 8000 respectively. The system has a custom built kernel with SMP enabled as I have a dual xeon w/ htt disabled. I am at a loss why this is not working. Since I got the cable modem, I've noticed that pasv mode connections are flaky and i usually have to switch to port in windows ftp apps especially if the server on the other end is behind a firewall. I've tried toying with command line flags to ftp also. Sometimes -4 -A -a will get me into some ftp servers command line. Any ideas would be greatly appreciated! I'm no longer subscribed to questions, so please CC me! Thanks. Lucas Holt Luke@FoolishGames.com ________________________________________________________ FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) FoolishGames.net (Enemy Territory IoM site)