|
|
A daemon in orange
OrangeFTPd by Mark Olsen
If you can believe the media (especially around the time the CeBit is on here in Germany), the whole (human) world will be caught up in a network sooner or later. If these apocalyptic visions come true, nothing's gonna work without network access, not even getting new toilet paper.
When faced with this vision, the lowly connection of several computers for the purpose of transferring files seems to be quite old-fashioned. But that's exactly what this report is going to be about.
As soon as computers are connected and theoretically able to exchange information, the question How? comes up. One possibility, which is not without reason critically eyed by Internet security fanatics, is the venerable FTP, the File Transfer Protocol. What is true for the Internet does not have to apply on a local network. Here the security issue is not of grave importance or can be guaranteed with relatively simple measures. The elegance of FTP transfers is also quite convincing.
I noticed a new star on the sky of Amiga FTP daemons while browsing the Aminet: The first public release of OrangeFTPd[1] from the Dane Mark Olsen (maybe a descendant of the legendary Egon Olsen, the head of the Olsen Gang?). He has released his FTP daemon as Freeware, and is planning to release it under the GPL later. According to his own comments, Mark Olsen wrote OrangeFTPd because he was looking for a good, fast and free FTP daemon, but couldn't find any. Now let's see if OrangeFTPd is able to fulfil these demands.
Besides an Amiga, only a working TCP/IP stack like Miami, AmiTCP or Genesis is required. Quite modest requirements, after all.
This modesty is continued in the installation, which just involves copying the drawer anywhere on the hard disk.
In my case, OrangeFTPd went into my Miami drawer. The documentation is very slim. Mark Olsen gets to the point of integrating the program into the TCP/IP stack in only three short sentences. In comparison to this, the disclaimer seems verbose. It warns you that OrangeFTPd might format your hard disk, destroy your monitor, kill your cat, you could lose your job and your life might be ruined. You have been warned :).
Well, since the documentation could discourage a few people, I will now exemplarily describe the integration into Miami. We'll assume that the computers are interlinked with a working TCP/IP connection, as described in [2] and [3].
Allowed users
Open the Miami configuration window and choose the section "users" from "database". Now create a new user and specify name, password, user- and group-ID and the home directory.
For our example, the user shall be called "uwep", has the user-ID "101" (but the ID number is not critical), the group-ID "98" (this is the group ftp, which will created later), and get the home directory "Work2:". He can only move inside this directory after logging in.
FTP-group
Now, still in "database", select "groups" and create a new entry, with the ID "98" (you can choose your own number, as long as it doesn't clash with existing groups) and the belonging user, "uwep" in our case.
Of course you can define several allowed users here, separated by commas.
Autostart OrangeFTPd
To have OrangeFTPd started every time you go online, you add an entry in "Events". Under "Online", using the option "Shell", enter OrangeFTPd with the complete path and maybe the option "-nogui" (this stops OrangeFTPd from opening the GUI at startup),
and save the modified configuration under a suitable name.
Now that Miami is configured, it's time for testing. Go online with Miami and start your favourite FTP client on one of the connected computers. A viable program for Windows9x would be for example WS_FTP, which can be found under [4]. For our example, I will use a Linux-based FTP client called IglooFTP [5].
To successfully connect, the following information has to be entered in the FTP client: the IP of the Amiga running OrangeFTPd (here "amiga.xwing.de"), the allowed user (here "uwep"), his password (here erm, I won't tell) and the port (usually "21"). And now the data transfer can begin.
The current version of OrangeFTPd cannot be started via InetD, so you have to run it from "Events". If you want to quit Miami, you explicitly have to quit OrangeFTPd before. But Mark Olsen has planned support for InetD in the future.
During the test phase, OrangeFTPd worked reliably and fast. If you are looking for an FTP daemon for the Amiga but haven't found anything suitable, you should take a look. An interesting piece of free software.
[1] in Aminet at comm/tcp/OrangeFTPd.lhaUwe Pannecke <Uwe.Pannecke@t-online.de>