?????? vsftpd.conf ??????2?????????
????chroot_list_enable=YES
????chroot_list_file=/etc/vsftpd.chroot_list
???????油????????ftp???????????????FTPЭ????????????????PORT?????PASV??????????????????????????
????PORT?????????????????????????????????????FTP?????????21??????????????????????????????????????????·????????????????????? ??????????·????PORT??????????????“?????XXXX???????????????”?????????????20??????????XXXX????????????????????? ??????·???????????
????PASV?????????????????????????????????????FTP?????????21??????????????????????????????????????????·?????????????????????? ??????????·????PASV????????????“?????XXXX???????????????”???????????????????XXXX???????????????????????????·?? ?????????
???????FTP??????????????????????????VSFTP?????????????????????
?????? vsftpd.conf ??????2?????????
????pasv_min_port=3000
????pasv_max_port=3010
???????????iptables???????????????
????iptables -A INPUT -p tcp -s 0/0 --dport 3000 -j ACCEPT
????iptables -A INPUT -p tcp -s 0/0 --dport 3000:3010 -j ACCEPT
??????????SELinux????????selinux?????
????#setsebool -P ftpd_disable_trans 1
????#service vsftpd restart
?????????virtual_use_local_privs????
??????virtual_use_local_privs=YES?????????????????????????????
??????virtual_use_local_privs=NO???????????????????????????????????NO??
??????virtual_use_local_privs=YES??write_enable=YES??????????????д?????????????????????????????
??????virtual_use_local_privs=NO??write_enable=YES??anon_world_readable_only=YES??
????anon_upload_enable=YES??????????????????????????????????????????
??????virtual_use_local_privs=NO??write_enable=YES??anon_world_readable_only=NO??
????anon_upload_enable=NO????????????????????????????????
??????virtual_use_local_privs=NO??write_enable=YES??anon_world_readable_only=NO??
????anon_upload_enable=YES?????????????????????????????????????
??????virtual_use_local_privs=NO??write_enable=YES??anon_world_readable_only=NO??
????anon_mkdir_write_enable=YES?????????????????????????????У???????????
??????virtual_use_local_privs=NO??write_enable=YES??anon_world_readable_only=NO??
????anon_other_write_enable=YES????????????????????????????????????????????