{"id":6,"date":"2007-10-05T04:50:30","date_gmt":"2007-10-05T04:50:30","guid":{"rendered":"http:\/\/pchero21.com\/?p=6"},"modified":"2007-10-05T04:50:30","modified_gmt":"2007-10-05T04:50:30","slug":"proftp-virtualhost-configuration-%ec%84%a4%ec%a0%95-%ec%98%88%ec%a0%9cproftpd-conf","status":"publish","type":"post","link":"http:\/\/pchero21.com\/?p=6","title":{"rendered":"Proftp virtualhost configuration \uc124\uc815 \uc608\uc81c(proftpd.conf)"},"content":{"rendered":"<p>############################################ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br \/>#<\/p>\n<p># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ProFTPD Korea User Groups &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http:\/\/proftpd.oops.org &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br \/>############################################<\/p>\n<p># \ubc88\uc5ed : \uae40\uc815\uade0 &lt; admin@oops.org &gt;<br \/># \uc774 \uc608\uc81c \uc124\uc815 file\uc740 \ub450\uac1c\uc758 \uac00\uc0c1 server\uc640&nbsp; anonymous login\ub97c \uacb0\ud569\ud558\ub294<br \/># \uac83\uc744 \uc124\uba85\ud558\uace0 \uc788\ub2e4.<\/p>\n<p>ServerName &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &#8220;ProFTPD&#8221;<br \/>ServerType &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; inetd<\/p>\n<p># Port 21 \uc740 FTP \uc758 \uae30\ubcf8 port\uc774\ub2e4.<br \/>Port &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 21<\/p>\n<p># Global\uc740 main server\uc640 \ubaa8\ub4e0 virtualhosts\uc5d0 \uc758\ud574 \uacf5\uc720\ub418\ub294 &#8220;global&#8221; \uc124\uc815<br \/># \uc744 \uc0dd\uc131\ud55c\ub2e4.<\/p>\n<p>&lt;Global&gt;<br \/>&nbsp; # Umask 022\ub294 group\uacfc world writable\ub85c \ubd80\ud130 \uc0c8\ub85c\uc6b4 dir\uacfc file\ub4e4\uc744 \ub9c9\uae30<br \/>&nbsp; # \uc704\ud55c \ud6cc\ub96d\ud55c \uae30\ubcf8 umask\uc774\ub2e4.<br \/>&nbsp; Umask &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 022<br \/>&lt;\/Global&gt;<\/p>\n<p># Server\uac00 \uc2e4\ud589\ud558\ub294\ub370 \uc77c\ubc18\uc801\uc778 user\uc640 group\uc744 \uc124\uc815\ud55c\ub2e4.<br \/>User &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; nobody<br \/>Group &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nobody<\/p>\n<p># DoS \uacf5\uaca9\uc744 \ub9c9\uae30 \uc704\ud574, \uc790\uc2dd process\uc758 maximun number\ub97c 30\uc73c\ub85c \uc124\uc815\ud55c\ub2e4.<br \/># \ub9cc\uc57d 30\uc774\uc0c1\uc758 \uc811\uc18d\uc744 \ud5c8\ub77d\ud560 \ud544\uc694\uac00 \uc788\ub2e4\uba74 \uac04\ub2e8\ud558\uac8c \uc774 \uce58\uc218\ub97c \uc99d\uac00\uc2dc\ud0a4\ub3c4\ub85d<br \/># \ud55c\ub2e4. \uc774\uac83\uc740 \uc624\uc9c1 standalone mode\uc5d0\uc11c\ub9cc \uac00\ub2a5\ud558\ub2e4. inetd mode\uc5d0\uc11c\ub294<br \/># service \ub2f9 maximun number\ub97c \uc81c\ud55c \ud558\ub294 \uac83\uc744 \ud5c8\ub77d\ud558\ub294 inetd server\uc5d0\uc11c<br \/># \uc124\uc815\uc744 \ud574\uc57c \ud55c\ub2e4.(xintd \uc5ed\uc2dc \ub9c8\ucc2c\uac00\uc9c0 \uc774\ub2e4)<br \/>MaxInstances &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 30<\/p>\n<p># \uc811\uc18d\uc5d0 stall\uc774 \ub420\ub54c \ub04a\uc5b4 \uc9c0\uc9c0 \uc54a\ub294 \ucd5c\ub300 \uc2dc\uac04\uc744 \uc9c0\uc815\ud55c\ub2e4.<br \/>TimeoutIdle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 300<\/p>\n<p>&lt;VirtualHost ftp.virtual.com&gt;<\/p>\n<p>&nbsp; ServerName &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &#8220;Virtual.com&#8217;s FTP Server&#8221;<\/p>\n<p>&nbsp; MaxClients &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 10<br \/>&nbsp; MaxLoginAttempts &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 1<\/p>\n<p>&nbsp; # DeferWelcome \ub294 client\uac00 \uc778\uc99d\uc744 \ud558\uae30 \uc804\uc5d0 servername\uc744 display\ud558\ub294<br \/>&nbsp; # \uac83\uc744 \ubc29\uc9c0\ud55c\ub2e4.<br \/>&nbsp; DeferWelcome &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; on<\/p>\n<p>&nbsp; # guest login\ub9cc \ud5c8\ub77d\ud558\uae30\ub97c \uc704\ud558\uc5ec<br \/>&nbsp; # nomal user login\uc744 \uc81c\ud55c\ud55c\ub2e4.<br \/>&nbsp; &lt;Limit LOGIN&gt;<br \/>&nbsp; &nbsp; DenyAll<br \/>&nbsp; &lt;\/Limit&gt;<\/p>\n<p>&nbsp; # \ub2e4\uc74c, \uc790\uc2e0\ub4e4\uc758 web site \ub4f1\uc5d0 \uac1c\uc778\uc801\uc73c\ub85c \uc811\uadfc\ud558\uae30 \uc704\ud55c customer\uc5d0<br \/>&nbsp; # \uc758\ud574 \uc0ac\uc6a9\ub418\uc5b4 \uc9c0\ub294 &#8220;guest&#8221; \uacc4\uc815\uc744 \ub9cc\ub4e0\ub2e4.<br \/>&nbsp; &lt;Anonymous ~cust1&gt;<br \/>&nbsp; &nbsp; User &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; cust1<br \/>&nbsp; &nbsp; Group &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cust1<br \/>&nbsp; &nbsp; AnonRequirePassword &nbsp; &nbsp; &nbsp; &nbsp; on<\/p>\n<p>&nbsp; &nbsp; &lt;Limit LOGIN&gt;<br \/>&nbsp; &nbsp; &nbsp; AllowAll<br \/>&nbsp; &nbsp; &lt;\/Limit&gt;<\/p>\n<p>&nbsp; &nbsp; HideUser &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; root<br \/>&nbsp; &nbsp; HideGroup &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<\/p>\n<p>&nbsp; &nbsp; # \uc0ac\uc6a9\uc790\uac00 \uc811\uadfc\ud558\uae30\ub97c \uc6d0\ud558\uc9c0 \uc54a\ub294 private directory<br \/>&nbsp; &nbsp; &lt;Directory logs&gt;<br \/>&nbsp; &nbsp; &nbsp; &lt;Limit READ WRITE DIRS&gt;<br \/>&nbsp; &nbsp; &nbsp; &nbsp; DenyAll<br \/>&nbsp; &nbsp; &nbsp; &lt;\/Limit&gt;<br \/>&nbsp; &nbsp; &lt;\/Directory&gt;<\/p>\n<p>&nbsp; &lt;\/Anonymous&gt;<\/p>\n<p>&lt;\/VirtualHost&gt;<\/p>\n<p># primary address\uc5d0\uc11c \uc791\ub3d9\uc744 \ud558\uc9c0\ub9cc port\ub294 4000\ubc88\uc744 \uc0ac\uc6a9\ud558\ub294 \ub610 \ub2e4\ub978<br \/># virtual host \uc774\ub2e4. access\ub294 \ud558\ub098\uc758 anonymous login\ub9cc \ub41c\ub2e4.<br \/>&lt;VirtualHost our.ip.address&gt;<\/p>\n<p>&nbsp; ServerName &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &#8220;Our private FTP server&#8221;<br \/>&nbsp; Port &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 4000<br \/>&nbsp; Umask &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 027<\/p>\n<p>&nbsp; &lt;Limit LOGIN&gt;<br \/>&nbsp; &nbsp; DenyAll<br \/>&nbsp; &lt;\/Limit&gt;<\/p>\n<p>&nbsp; &lt;Anonymous \/usr\/local\/ftp\/virtual\/a_customer&gt;<\/p>\n<p>&nbsp; &nbsp; User &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; ftp<br \/>&nbsp; &nbsp; Group &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ftp<br \/>&nbsp; &nbsp; UserAlias &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; anonymous ftp<\/p>\n<p>&nbsp; &nbsp; &lt;Limit LOGIN&gt;<br \/>&nbsp; &nbsp; &nbsp; AllowAll<br \/>&nbsp; &nbsp; &lt;\/Limit&gt;<\/p>\n<p>&nbsp; &nbsp; &lt;Limit WRITE&gt;<br \/>&nbsp; &nbsp; &nbsp; DenyAll<br \/>&nbsp; &nbsp; &lt;\/Limit&gt;<\/p>\n<p>&nbsp; &nbsp; &lt;Directory incoming&gt;<br \/>&nbsp; &nbsp; &nbsp; &lt;Limit WRITE&gt;<br \/>&nbsp; &nbsp; &nbsp; &nbsp; AllowAll<br \/>&nbsp; &nbsp; &nbsp; &lt;\/Limit&gt;<br \/>&nbsp; &nbsp; &lt;\/Directory&gt;<\/p>\n<p>&nbsp; &lt;\/Anonymous&gt;<\/p>\n<p>&lt;\/VirtualHost&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>############################################ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # # &nbsp; &nbsp; &hellip; <a href=\"http:\/\/pchero21.com\/?p=6\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[25],"tags":[],"_links":{"self":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/6"}],"collection":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6"}],"version-history":[{"count":0,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/6\/revisions"}],"wp:attachment":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}