Linux下ftp服务器安装与配置实验报告,包含实验步骤,实验结果以及总结
GNU nano 2.5.3
File: /etc/vsftpd. conf
By default the server will pretend to allow ASCII mode but in fact ignore
the request. Turn on the below options to have the server actually do aScII
H mangling on files when in ASCII mode
Beware that on some FTP servers, ASCII support allows a denial of service
ttack (Dos) via the command"SIZE /big/file"in ASCII mode. vsftpd
redicted this attack and has always been safe, reporting the size of the
raw file
H ASCII angling is a horrible feature of the protocol
#ascii_ upload_enable=YES
#ascii download enable=YES
You may fully customise the login banner string:
#ftpd banner=Welcome to blah FTP service
You may specify a file of disallowed anonymous e-maiL addresses
tly
useful for combatting certain Dos attacks
#deny email enable=YES
#(default follows)
#banned_email_file=/etc/vsftpd banned_emails
G Get Help o Write Out
here Is K Cut Text
Justify
对其中一些配置进行重写1按贩房:
1)禁止名访问
Allow anonymous FTP? (Disabled by default)
anonymous enable=No
2)允许本地访问
Uncomment this to allow local users to log in
local enable=yeS
3)修改写入权限
Uncomment this to enable any form of FTP write command
write enable=yes
4)修改欢迎页信息
t You may fully customise the login banner string:
#ftpd_banner=