FTP Server: Phd. Alcides Montoya Canola, Est. Carlos Andres Ballesteros Universidad Nacional de Colombia - Sede Medellin
FTP Server: Phd. Alcides Montoya Canola, Est. Carlos Andres Ballesteros Universidad Nacional de Colombia - Sede Medellin
Abstract
This guide will develop the procedure that will allow you to practice
the knowledge acquired in the theoretical class of server management.
The topic to be developed is FTP.
1 Introduction
File Transfer Protocol (FTP) is a standard Internet protocol for transmitting
files between computers on the Internet over TCP/IP connections. FTP is a
client-server protocol that relies on two communications channels between client
and server: a command channel for controlling the conversation and a data
channel for transmitting file content. Clients initiate conversations with servers
by requesting to download a file. Using FTP, a client can upload, download,
delete, rename, move and copy files on a server. A user typically needs to log
on to the FTP server, although some servers make some or all of their content
available without login, also known as anonymous FTP.
FTP sessions work in passive or active modes. In active mode, after a client
initiates a session via a command channel request, the server initiates a data
connection back to the client and begins transferring data. In passive mode,
1
the server instead uses the command channel to send the client the information
it needs to open a data channel. Because passive mode has the client initiating
all connections, it works well across firewalls and Network Address Translation
(NAT) gateways.[1]
2 Development of Practice
The development of the practice will take place in the distribution of Open Suse
Leap 15, it is clear that this practice can be extended to other distributions
taking into account their respective changes.
2.1.2 Start service and add the service to the system boot.
The FTP server must be enabled once it has been configured. And it must
be restarted when a new configuration has been made so that it executes the
following commands.
2
Execute the following to configure the firewall:
Modify the configuration document as shown below: Enable load by local user,
Enable reading by anonymous user, Disable loading by anonymous user
Demon options
3
• listen- When enabled, vsftpd runs in standalone mode. Linux configures
this value to YES. This directive can not be used in conjunction with the
listen ipv6 directive
• ...
• local enable- When activated, local users can connect to the system.
The default value is YES.
• ...
Another way is to use a ftp client software such as LFTP, for this we must
install it using the following command:
Execute the following thing for aceder to the service like user
4
Execute the following thing for aceder to the service like anonymous
3 Exercise
Configure the FTP server as shown in the development of the practice, make a
local network and test it.
References
[1] File-Transfer-Protocol-FTP searchnetworking.techtarget.com 2019
[2] ftp-vsftpd-conf.html web.mit.edu 2019