FTP Stands for File Transfer Protocol. FTP is a protocol used to transfer files from one machine to a server. In general most FTP are used for website file uploading in web server through remote login. All web server have the facility of ftp login and ftp file transfer. Most browsers will support ftp connection.
Here we are going to configure ftp server in redhat linux.
Port Number: 20 & 21
Package Name: vsftpd
Sever Side Configuration
#yum install vsftpd*
To configure ftp server, do the following changes in vsftpd.conf file
Line –> 12
anonymous_enable=YES (for download rights)
anon_upload_enable=YES ( for upload)
anon_mkdir_write_enable=YES ( for directory creation)
The Contents uploaded from remote system will be inside this pub directory /var/ftp/pub
#service vsftpd restart
#chkconfig vsftpd on
Change Directory Permission For upload
Files tour de france tracker android from remote login will be
uploaded only inside /var/ftp/pub . Without changing the directory permission we can’t upload the files inside the pub ( /var/ftp/pub) directory
We have to change directory permission for /var/ftp/pub with full rights
#chmod 777 http://erigazette.org/2013/04/07/fk-spyware-on-cellphone.html /var/ftp/pub
After FTP server configuration, we have to login through client system.
#ftp<space><server IP Address>
ftp server : ftp or anonymous
After login into ftp account go into pub directory, here only you can upload your files or download files.
To Create Directory
>mkdir <directory name>
Vulnerabilities in FTP Connection
Some of the vulnerabilities in FTP connection are
- Bounce attacks
- Spoof attacks
- Brute force attacks
- Username protection
- Port stealing