Subject: changing port number

From: Jay Watkins <[email-masked]>
Date: Tue, 2 Apr 1996 13:35:34 -0500

I'm trying to install wu-ftp on a pentium running BSDI.
Since it's a beta version of wuftp, I want to set it up
so that its running on another port (other than 20-21)
so that I can test it before finally put it into full
use.  What do I have to change in the source?  
/etc/inetd.conf? /etc/services? Thanks.

---

From: Jim Hribnak <[email-masked]>
Date: Tue, 2 Apr 1996 12:07:37 -0700 (MST)

> /etc/inetd.conf? /etc/services? Thanks.

Go Into /etc/services  and look fopr FTP copy that line and change the
port..

What version of BSDI you running?  2.1? If so I need to know how you
compiled it (users can upload to me)

Jim

---

From: "W. James Showalter" <[email-masked]>
Date: Tue, 2 Apr 1996 14:01:05 -0500 (EST)

Since ftp is a special case with two port assignments I can't be certain
this will work since I am not certain how the inetd determines the data
port.  But I would try the following:

In inetd.conf add something like:

ftptest stream tcp nowait root /usr/etc/in.ftpd in.ftpd

In /etc/services add the following:

ftptest		4021/tcp        command port	
ftptest-data	4020/tcp        data port

The key is the name 'ftptest' which associates the port assignment
in the /etc/services file.  Make certain the choice of ports in
/etc/services (4021 and 4020 above) are from the local use list and
don't conflict with other port assignments.

Hope this helps.
Jim