ProFTPD 1.3 설치
cd /usr/ports/ftp/proftpd
make config
make all install clean
설치한 다음에 나오는 중요한 정보
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/proftpd/mod_radius.a(mod_radius.o)
/usr/local/libexec/proftpd/mod_snmp.so
/usr/local/sbin/proftpd
/usr/local/libexec/proftpd/mod_radius.so
/usr/local/libexec/proftpd/mod_snmp.a(mod_snmp.o)
/usr/local/bin/ftpdctl
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://www.proftpd.org/
/usr/local/etc/proftpd.conf
요즘들어서는 ftp를 많이 쓰지 않지만, 서버를 관리하다 보면 필요할 때가 종종 있다. 하지만, 무명FTP는 가급적 꺼놓고, 접속할 수 있는 IP 주소를 지정하는 것이 좋다.
DefaultRoot ~ !wheel
<Limit LOGIN>
Order deny,allow
Allow from xy.164.125.218 # home
Allow from wzy.113.254.11 # office
</Limit>
<IfModule mod_lang.c>
#LangDefault ko_KR
LangEngine on
UseEncoding utf-8 utf-8
LangPath /usr/share/locale
</IfModule>