Welcome, Guest. Please login or register.

Author Topic: Amiga FTP server  (Read 3278 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline lillPiPTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2004
  • Posts: 227
    • Show only replies by lillPiP
Amiga FTP server
« on: February 10, 2006, 09:31:02 PM »
I'm using RC-FTPd as a serverprogram.
I can see the files after logging in but my friends aren't able to see the files after logging in.
How should I configure the firewall? I have port 21 enabled now.
Which port should I use? Can the Amiga suffer from hackers or will it deny them since this is another OS?
Anyone able to help me? Would be fun to get it up and running!

Offline orange

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 2799
  • Country: 00
    • Show only replies by orange
Re: Amiga FTP server
« Reply #1 on: February 10, 2006, 10:45:38 PM »
just setup passwords for all users; IIRC you need to enable port 20 as well;
port 21 is used for transferring commands only and port 20 is for actual data,
I'm not sure if there are Amiga-exploits but you're probably safe..
“Giving up is always an option, but not always a failure.”
 

Offline lillPiPTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2004
  • Posts: 227
    • Show only replies by lillPiP
Re: Amiga FTP server
« Reply #2 on: February 12, 2006, 07:41:35 PM »
I can't get it to work!  :-?
I have enabled port 20-22 and setup the prefs. I can access it from my network, but it's impossible to access it from other pc's (my friends). They can log in but unable to see the files.
Anyone has a working setup? Is there any other FTPserver programs to the amiga?

Offline Tahoe

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 971
    • Show only replies by Tahoe
    • http://www.amiga4ever.nl
Re: Amiga FTP server
« Reply #3 on: February 12, 2006, 08:46:17 PM »
They can log in, but just not see the files? i.e. they do get verified?

If it works on your internal LAN, but not from the Internet then are you sure you're not blocking ports on router/modem level?
Greetings from Wilnis, The Netherlands
Now owning ALL Amiga models and most; if not all; flavours of them...My Amiga Museum
 

Offline pVC

Re: Amiga FTP server
« Reply #4 on: February 12, 2006, 09:11:25 PM »
Assuming you have external router with firewall.. not just firewall on Amiga...

Problem is, that ftp uses different connections for control and data transfers and getting data transfers (filelistings, files) work on ftp server, which is behind a router/firewall, is quite hard. At least if ftp server doesn't particularly support it. Easiest way to go is to have ftp server directly on inet instead of being behind the router.

Data connection can be established by two ways, active and passive. By enabling only the port 21 you can have server working with active mode. Then control connection is made from client to server's port 21 and data connection is made from server's port 20 to client's port >=1024. Then the problem is, that if client is behind firewall, connection can't be made. And nowadays clients usually are behind firewall.

In passive mode, the data connection is made by client to server's port >=1024. So if the server is behind firewall, all ports bigger than 1023 should be enabled to server. This would be enough, if the server would be on internet with own ip and own firewall, but when having it behind router on LAN an anohter problem arises. In passive mode server tells to client to which address and port it should establish the data connection. Normally server tells it's own ip address and on LAN it naturally tells the 192... or 10... address, which can't be accessed outside of LAN.

Advanced ftp servers have option to use passive mode behind router/firewall. You can define the port range for passive mode, which limits the amount of ports needed to open. They also tell the client correct ip address for making the data connection.

Only server I know doing this on Amiga is proftpd. If someone knows other servers, please tell me too :)

I have been using wu-ftpd myself, but Amiga's version is that old that it doesn't have this feature yet. But it came with sources and I modified it to tell the client right ip address, but still have to forward whole port range from router. It works, but would be nice to limit port range :)

For more info about active and passive modes in ftp protocol: http://slacksite.com/other/ftp.html
Daily MorphOS user and Amiga active.
 

Offline lillPiPTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2004
  • Posts: 227
    • Show only replies by lillPiP
Re: Amiga FTP server
« Reply #5 on: February 12, 2006, 10:05:51 PM »
Well, Proftpd doesn't have any GUI I guess?! If not i'm useless to configure this type of program.

Offline lillPiPTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2004
  • Posts: 227
    • Show only replies by lillPiP
Re: Amiga FTP server
« Reply #6 on: February 12, 2006, 10:17:04 PM »
@Tahoe
Correct.
And I'm sure I have opened what is neccessary to open.


@PVC
Yes my Amiga is connected to an external router.
But my ADSL-modem has more connections.
ADSL-modem (DHCP built-in, 4 x RJ45) -- Router (Firewall, DHCP)
Would it be possible to connect the Amiga to the ADSL-modem instead, since it still will have the same IP-adress (my ISP-adress) as it would be connected to the Router? But how to configure the Amiga to have port 20-21 open when using Miami DX?