{"id":1648,"date":"2012-05-13T17:38:06","date_gmt":"2012-05-13T08:38:06","guid":{"rendered":"http:\/\/www.vincentina.net\/wordpress\/?p=1648"},"modified":"2021-12-25T01:26:59","modified_gmt":"2021-12-24T16:26:59","slug":"vsftpd%e3%81%ab%e6%8e%a5%e7%b6%9a%e3%81%af%e3%81%a7%e3%81%8d%e3%81%9f%e3%81%8c%e3%83%bb%e3%83%bb","status":"publish","type":"post","link":"https:\/\/www.vincentina.net\/?p=1648","title":{"rendered":"vsftpd\u306b\u63a5\u7d9a\u306f\u3067\u304d\u305f\u304c\u30fb\u30fb"},"content":{"rendered":"<p>\u524d\u56deSendmail\u304b\u3089Postfix\u3078\u306e\u79fb\u884c\u304c\u7d42\u308f\u308a\u3001LAMP\u74b0\u5883\u306e\u69cb\u7bc9\u3092\u3057\u3066Wordpress\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u304c\u6e08\u3093\u3060\u3068\u3053\u3002<\/p>\n<p>\u304a\u663c\u904e\u304e\u306b\u306f\u3072\u3068\u307e\u305a\u65e5\u8a18\u3068\u304b\u306e\u30c7\u30fc\u30bf\u306f\u7d42\u308f\u308a\u307e\u3057\u305f\u304c\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3084\u30c6\u30fc\u30de\u306f\u5225\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u3001\u3053\u306e\u969b\u3060\u304b\u3089<span style=\"font-size: x-large;\">FTP<\/span>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u307e\u305a\u306f<span style=\"font-size: large;\">Proftpd<\/span>\u3068<span style=\"font-size: large;\">Vsftpd<\/span>\u306e\u6bd4\u8f03\u3092\u3057\u305f\u3068\u3053\u308d\u3001Proftpd\u306e\u65b9\u304c\u8272\u3005\u7d30\u304b\u3044\u8a2d\u5b9a\u304c\u3067\u304d\u3066\u3044\u3044\u3088\uff01\u3068\u3044\u3046\u4e8b\u3060\u3063\u305f\u306e\u3067Proftpd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066<span style=\"font-size: large;\">\u30b0\u30b0\u3063\u3066<\/span><span style=\"font-size: x-large;\">\u30b0\u30b0\u3063\u3066<\/span>\u8a2d\u5b9a\u306f\u7d42\u308f\u3063\u305f\u306e\u3067\u3059\u304c\u3002<\/p>\n<p>\u3044\u3084\u5b9f\u969b<span style=\"font-size: x-large;\">\u4f7f\u3048\u3066\u306a\u3044<\/span>\u306e\u3067\u7d42\u308f\u3063\u305f\u3068\u3044\u3046\u8868\u73fe\u306f\u304a\u304b\u3057\u3044\u3093\u3084\u3051\u3069\u3002<\/p>\n<p>\u8272\u3005\u8a66\u3057\u305f\u3051\u3069\u30ed\u30b0\u306b\u306f\u305a\u30fc\u30fc\u30fc\u30fc\u30fc\u3063\u3068<\/p>\n<p>Login successful.<br \/>\nPreparing to chroot to directory<\/p>\n<p>&nbsp;<\/p>\n<p>\u304c\u8868\u793a\u3055\u308c\u305f\u307e\u307e\u30fb\u30fb\u30fb\u3002\u4ed5\u65b9\u306a\u304fvsftpd\u3092\u4f7f\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u306e\u3060\u304c\u3001\u3053\u3063\u3061\u306f\u30ed\u30b0\u30a4\u30f3\u3059\u3089\u51fa\u6765\u3066\u3044\u306a\u3044\u3088\u3046\u3067<\/p>\n<p>FAIL LOGIN: Client<\/p>\n<p>\u304c\u7d9a\u304f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u56f0\u3063\u305f\u3068\u304d\u306e<span style=\"font-size: x-large;\">\u30b3\u30de\u30f3\u30c9\u983c\u307f<\/span>\u3060\u3001\u4f55\u304b\u5206\u304b\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3063\u3066\u4e8b\u3067CMD\u304b\u3089\u3084\u3063\u3066\u307f\u305f\u3002<\/p>\n<pre>C:\\&gt;ftp\r\nftp&gt; op\r\n\u5b9b\u5148 pcsp.info\r\npcsp.info \u306b\u63a5\u7d9a\u3057\u307e\u3057\u305f\u3002\r\n220 Welcome to blah FTP service.\r\n\u30e6\u30fc\u30b6\u30fc (pcsp.info:(none)): ****\r\n331 Please specify the password.\r\n\u30d1\u30b9\u30ef\u30fc\u30c9:\r\n500 OOPS: could not read chroot() list file:\/etc\/vsftpd\/chroot_list\r\n500 OOPS: priv_sock_get_result\r\n\u63a5\u7d9a\u304c\u30ea\u30e2\u30fc\u30c8 \u30db\u30b9\u30c8\u306b\u3088\u3063\u3066\u9589\u3058\u3089\u308c\u307e\u3057\u305f\u3002<\/pre>\n<p>&nbsp;<\/p>\n<p>\u3053\u3063\u3053\u308c\u306f\u30fb\u30fb\u30fb<\/p>\n<p>\u3055\u3063\u305d\u304f\u30ea\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u304b\u3089\u3001\u518d\u5ea6\u6311\u6226<\/p>\n<pre>331 Please specify the password.\r\n\u30d1\u30b9\u30ef\u30fc\u30c9:\r\n230 Login successful.\r\nftp&gt; get\r\n\u30ea\u30e2\u30fc\u30c8 \u30d5\u30a1\u30a4\u30eb\r\nftp&gt; ls\r\n200 PORT command successful. Consider using PASV.\r\n150 Here comes the directory listing.\r\netc\r\nhtml\r\n226 Directory send OK.\r\nftp: 11 \u30d0\u30a4\u30c8\u304c\u53d7\u4fe1\u3055\u308c\u307e\u3057\u305f 0.00\u79d2 11000.00KB\/\u79d2\u3002<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u306f<span style=\"font-size: large;\">\u6765\u305f\uff01<\/span>\u306e\u3060\u304c\u3001\u6c17\u5206\u7684\u306b\u306f<span style=\"font-size: x-large;\">\u3044\u3063\u305f\uff01<\/span>\u3066\u304b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3060\u304c\u30fb\u30fb\u3001FFFTP\u3084\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u30fc\u304b\u3089\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3002<br \/>\n<span style=\"font-size: x-large;\">\u306a\u3093\u3067\u3084\u306d\u3093\u306a\uff01\uff01<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u305d\u3057\u3066\u3001\u3084\u3063\u3068\u6c17\u4ed8\u304f\u3001chroot_list\u306f\u5225\u306b\u3044\u3089\u306a\u304b\u3063\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<pre><span style=\"font-size: large;\">iptables -A INPUT -p tcp --dport 60000:60030 -j ACCEPT<\/span><\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: x-large;\">\u30aa\u30ef\u30bf\uff3c(^o^)\uff0f<\/span><\/p>\n<p>&nbsp;<\/p>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.vincentina.net\/?p=1648\" data-text=\"vsftpd\u306b\u63a5\u7d9a\u306f\u3067\u304d\u305f\u304c\u30fb\u30fb\" data-via=\"TakekenTw\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56deSendmail\u304b\u3089Postfix\u3078\u306e\u79fb\u884c\u304c\u7d42\u308f\u308a\u3001LAMP\u74b0\u5883\u306e\u69cb\u7bc9\u3092\u3057\u3066Wordpress\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u304c\u6e08\u3093\u3060\u3068\u3053\u3002 \u304a\u663c\u904e\u304e\u306b\u306f\u3072\u3068\u307e\u305a\u65e5\u8a18\u3068\u304b\u306e\u30c7\u30fc\u30bf\u306f\u7d42\u308f\u308a\u307e\u3057\u305f\u304c\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3084\u30c6\u30fc\u30de\u306f\u5225\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3063 &hellip; <a href=\"https:\/\/www.vincentina.net\/?p=1648\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;vsftpd\u306b\u63a5\u7d9a\u306f\u3067\u304d\u305f\u304c\u30fb\u30fb&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1648","post","type-post","status-publish","format-standard","hentry","category-server"],"_links":{"self":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/1648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1648"}],"version-history":[{"count":1,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/1648\/revisions"}],"predecessor-version":[{"id":7818,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/1648\/revisions\/7818"}],"wp:attachment":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}