From owner-freebsd-questions@FreeBSD.ORG  Mon May 28 05:11:52 2007
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
X-Original-To: freebsd-questions@freebsd.org
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id A85EE16A469
	for <freebsd-questions@freebsd.org>;
	Mon, 28 May 2007 05:11:52 +0000 (UTC)
	(envelope-from illoai@gmail.com)
Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188])
	by mx1.freebsd.org (Postfix) with ESMTP id 3AE0313C46C
	for <freebsd-questions@freebsd.org>;
	Mon, 28 May 2007 05:11:51 +0000 (UTC)
	(envelope-from illoai@gmail.com)
Received: by mu-out-0910.google.com with SMTP id w9so1124031mue
	for <freebsd-questions@freebsd.org>;
	Sun, 27 May 2007 22:11:51 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=NUm9V54zZ0kucwAryeR22xJz6/wGXZ7xz/Enwp6cfsfIlXHy63YnrZHMzdWvD2HrrdZw/n6VqHPbgt7lEz/hMcBG60rXePEcKUhwCj1nHqDMHuaz9k3qU3QDZK5SLJ+CNDH2uOpTalSpjko9+8UK7b2nVk8/CzCy5xTbaSvERfY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=AqarPTCX2lVb1/vojNhYeBQ+u0Tl4S/7Oq7A7omySoduX/w+AbmaGhzsoS2UnHUt3OkVGeBIc/xsZfOyXeF/NeLAc1jn7bEbefFF7C3/xybUz8eqzpMrWmvGIezel5udkgalgHHzn6+OAYgNbM4qIfwFMpvac33j9TcKe013J2k=
Received: by 10.82.191.3 with SMTP id o3mr9959419buf.1180329110924;
	Sun, 27 May 2007 22:11:50 -0700 (PDT)
Received: by 10.82.185.16 with HTTP; Sun, 27 May 2007 22:11:50 -0700 (PDT)
Message-ID: <d7195cff0705272211t6c46a78cy6cfdee0028d1741b@mail.gmail.com>
Date: Mon, 28 May 2007 00:11:50 -0500
From: "illoai@gmail.com" <illoai@gmail.com>
To: dbetts <betts@norden1.com>
In-Reply-To: <d7195cff0705272209g28283c2dl733921ac5805bec3@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <465A4F9C.1060204@norden1.com>
	<d7195cff0705272209g28283c2dl733921ac5805bec3@mail.gmail.com>
Cc: freebsd-questions@freebsd.org
Subject: Re: Changing default ftp port
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 28 May 2007 05:11:52 -0000

On 28/05/07, illoai@gmail.com <illoai@gmail.com> wrote:
> On 27/05/07, dbetts <betts@norden1.com> wrote:
> > I don't allow anonymous FTP into my server but when I look at the logs I
> > see lots of attempts to FTP in.
> > I had the same problem with SSH but changed that port and now I don't
> > have that problem.
> > How would I change the default FTP port from 21 to another port?
> > What port would work?
> > Thanks
>
> man 8 ftpd
> look at the -P option (I think this works in /etc/inetd.conf
> if that's how you start ftpd)
> I won't even guess if you're using some ftpd from ports.
>

Hello, self :P, but to continue, anything above 49151
seems just fine:
http://www.iana.org/assignments/port-numbers

-- 
--