Changing default ftp port

2007-05-27 Thread dbetts
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

--
Darrell
[EMAIL PROTECTED]
--
Looks like I Picked the Wrong Week to Stop Sniffing Glue.
-- Steve McCroskey --

Live ATC Feed from Toledo Express Airport http://audio.liveatc.net:8012/ktol.m3u

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing default ftp port

2007-05-27 Thread [EMAIL PROTECTED]

On 27/05/07, dbetts [EMAIL PROTECTED] 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.

--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing default ftp port

2007-05-27 Thread [EMAIL PROTECTED]

On 28/05/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

On 27/05/07, dbetts [EMAIL PROTECTED] 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

--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]