{"id":183876,"date":"2020-10-27T05:12:43","date_gmt":"2020-10-26T21:12:43","guid":{"rendered":"http:\/\/4563.org\/?p=183876"},"modified":"2020-10-27T05:12:43","modified_gmt":"2020-10-26T21:12:43","slug":"%e6%b1%82%e5%8a%a9-%e7%bd%91%e7%ab%99%e4%b8%8d%e7%9f%a5%e9%81%93%e4%b8%ba%e4%bb%80%e4%b9%88%e8%ae%bf%e9%97%ae%e4%b8%8d%e4%ba%86%e4%ba%86","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=183876","title":{"rendered":"[\u6c42\u52a9] \u7f51\u7ad9\u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48\u8bbf\u95ee\u4e0d\u4e86\u4e86"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  [\u6c42\u52a9] \u7f51\u7ad9\u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48\u8bbf\u95ee\u4e0d\u4e86\u4e86               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : JustSong <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u9996\u5148 ssh \u80fd\u6b63\u5e38\u767b\u5f55\uff0c\u4f46\u662f http \u670d\u52a1\u65e0\u6cd5\u8bbf\u95ee\uff0c\u670d\u52a1\u5668\u6ca1\u6709\u4efb\u4f55\u56de\u5e94\uff0c\u76f4\u63a5\u4f7f\u7528 ip \u8bbf\u95ee\u4e5f\u4e0d\u884c\uff0c\u67e5\u770b http \u670d\u52a1\u5668\u65e5\u5fd7\u53d1\u73b0\u5176\u786e\u5b9e\u6ca1\u6709\u6536\u5230\u8bf7\u6c42\u3002<\/p>\n<p>\u4e4b\u540e\u5728\u670d\u52a1\u5668\u8fdb\u884c\u7684\u6d4b\u8bd5\uff1a <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201101_5f9f07d39643c.png\" alt=\"[\u6c42\u52a9] \u7f51\u7ad9\u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48\u8bbf\u95ee\u4e0d\u4e86\u4e86\" \/><\/p>\n<p>\u5176\u4e2d\u7684 ip \u5c31\u662f\u670d\u52a1\u5668\u7684 ip \u3002<\/p>\n<p>\u5df2\u7ecf\u5c1d\u8bd5\u91cd\u542f http \u670d\u52a1\uff0c\u670d\u52a1\u5668\uff0c\u95ee\u9898\u4f9d\u65e7\u5b58\u5728\u3002<\/p>\n<p>\u6211\u6000\u7591\u662f\u6211\u6700\u8fd1\u88c5\u7684 fail2ban \u641e\u7684\u9b3c\uff0c\u4f46\u5c06\u5176 stop \u4e4b\u540e\uff0c\u95ee\u9898\u4f9d\u65e7\u5b58\u5728\u3002<\/p>\n<p>\u8d34\u51fa\u5730\u5740\u65b9\u4fbf\u5927\u5bb6\u6d4b\u8bd5\uff1a http:\/\/203.195.197.210:3000\/<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>12<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3961838\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : opengps <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528\u7684\u4ec0\u4e48\u670d\u52a1\u5668\uff1f\u4e91\u670d\u52a1\u5668\u6709\u5b89\u5168\u7ec4\uff0c\u9700\u8981\u653e\u884c\u4e0b TCP \u534f\u8bae\u7684\u5165\u65b9\u5411\u7684 3000 \u7aef\u53e3                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3961839\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ericwood067 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u817e\u8baf\u4e91\u6ca1\u7528\u8fc7\uff0c\u4e0d\u8fc7\u5efa\u8bae\u4f60\u767b\u5f55\u5230\u63a7\u5236\u9762\u677f\u770b\u4e00\u4e0b\u5b89\u5168\u7b56\u7565\uff0c\u9632\u706b\u5899\u6709\u6ca1\u6709\u6253\u5f00\uff0c3000 \u7aef\u53e3\u6709\u6ca1\u6709\u653e\u5f00\u3002<br \/>\u5982\u679c\u817e\u8baf\u4e91\u81ea\u5e26\u5230\u5b89\u5168\u7b56\u7565\u6ca1\u95ee\u9898\uff0c\u5c31\u770b\u770b\u672c\u673a\u6709\u6ca1\u6709\u5f00\u9632\u706b\u5899\uff0c3000 \u7aef\u53e3\u6709\u6ca1\u6709\u5141\u8bb8 incoming \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3961840\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hoyixi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             netstat \u770b\u770b 3000 \u7aef\u53e3\u662f\u76d1\u542c\u5728\u54ea\u4e2a IP \uff1f\u662f\u5426\u4ec5\u4ec5 localhost \uff08 127.0.0.1 \uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3961841\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : JustSong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @opengps <br \/>@ericwood067 \u662f\u817e\u8baf\u4e91\u670d\u52a1\u5668\uff0c\u4e4b\u524d\u662f\u6ca1\u95ee\u9898\u7684\uff0c\u6211\u4e5f\u6ca1\u52a8\u8fc7\uff1b\u6709\u6ca1\u6709\u53ef\u80fd\u662f fail2ban \u6539\u4e86\u9632\u706b\u5899\u8bbe\u7f6e?<br \/>@hoyixi https:\/\/i.loli.net\/2020\/10\/29\/Afl3d7XrhD5pW6V.png                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3961842\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : therethere9 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1.http \u670d\u52a1\u5668\u662f\u5426\u53ea\u76d1\u542c\u4e86\u672c\u5730\u5730\u5740\uff1f\u6bd4\u5982 127.0.0.1 \u6216 10.x.x.x <br \/>\u66f4\u6539\u76d1\u542c 0.0.0.0 \u6216\u516c\u7f51\u5730\u5740<\/p>\n<p>2.ubuntu \u9632\u706b\u5899\u662f\u5426\u653e\u884c\u4e86 tcp \u7684 3000 \u7aef\u53e3\uff1f<br \/>\u4fee\u6539\u89c4\u5219\u5141\u8bb8\u5916\u7f51\u8bbf\u95ee 3000 \u7aef\u53e3\uff0c\u6216\u8005\u5148\u5173\u95ed\u9632\u706b\u5899\u6d4b\u8bd5\u662f\u5426\u662f\u8fd9\u4e2a\u95ee\u9898\u3002<br \/>\u65b0\u7248\u672c\u7528\u7684\u662f firewalld \u8fd8\u662f\u4ec0\u4e48\uff0c\u5982\u679c\u662f\u7684\u8bdd systemctl status firewalld \u67e5\u770b<\/p>\n<p>3.\u4e91\u670d\u52a1\u5546\u63d0\u4f9b\u7684\u9632\u706b\u5899\u662f\u5426\u653e\u884c\u4e86 tcp \u7684 3000 \u7aef\u53e3\uff1f<br \/>\u767b\u5f55\u4e91\u670d\u52a1\u5546\u540e\u53f0\u4fee\u6539\u76f8\u5173\u5b89\u5168\u7b56\u7565\uff0c\u5177\u4f53\u540d\u79f0 \/\u4fee\u6539\u4f4d\u7f6e\u5404\u4e2a\u670d\u52a1\u5546\u90fd\u4e0d\u4e00\u6837\u3002\u9ed8\u8ba4\u4e0d\u4fee\u6539\u53ef\u80fd\u53ea\u653e\u884c 22\/3389\/80\/443 \u8fd9\u7c7b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3961843\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : JustSong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @therethere9 <br \/>1. \u4e4b\u524d\u662f\u6ca1\u95ee\u9898\u7684\uff0c\u5df2\u7ecf\u7a33\u5b9a\u8fd0\u884c\u5f88\u957f\u65f6\u95f4\u4e86\uff0c\u56e0\u4e3a\u6211\u8ba4\u4e3a\u4e0d\u662f\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n<p>2. \u8fd0\u884c sudo service iptables status \u4e4b\u540e\u53d1\u73b0\u662f inactive \u72b6\u6001\uff1b\u8fd0\u884c systemctl status firewalld \u53d1\u73b0\u4e5f\u662f inactive \u72b6\u6001\u3002<\/p>\n<p>3. \u540c\u4e00\uff0c\u800c\u4e14\u7528\u4e86 Nginx \u53cd\u4ee3\u7684\u8be5 Node.js \u670d\u52a1\uff0c80 \u548c 433 \u7aef\u53e3\u90fd\u4e0d\u884c\u3002<\/p>\n<p>\u6211\u521a\u521a\u518d\u6b21\u68c0\u67e5\u4e86\u5b89\u5168\u7b56\u7565\uff0c\u51fa\u6218\u548c\u5165\u7ad9\u90fd\u662f\u5168\u90e8\u653e\u901a\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3961844\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dot2017 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6d77\u5916\u627e\u4e2a vps\uff0ctelnet \u4e00\u4e0b\u4f60\u7684 ip+\u7aef\u53e3<br \/>\u5927\u9646\u627e\u4e2a vps \u3002telnet \u4e00\u4e0b\u4f60\u7684 ip+\u7aef\u53e3<br \/>\u5982\u679c\u90fd\u4e0d\u884c\uff0c\u7cfb\u7edf\u95ee\u9898<br \/>\u5982\u679c\u524d\u9762\u884c\u540e\u9762\u4e0d\u884c\uff0c\u90a3\u5c31\u662f IP \u88ab\u5899\u7aef\u53e3\u4e86\u5457                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3961845\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : JustSong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dot2017 \u672c\u5730\u8bd5\u4e86\u4e00\u4e0b 22 \u7aef\u53e3\u662f\u53ef\u4ee5\u7684\uff0c80 \u548c 3000 \u90fd\u4e0d\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3961846\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : berlin4h <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u8bbf\u95ee\u5230\u554a\u3001<br \/>\u672a\u96e8\u7ef8\u7f2a\uff0c\u5fd7\u5728\u5fc5\u5f97                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3961847\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : berlin4h <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u57df\u540d\u548c IP \u90fd\u53ef\u4ee5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3961848\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : JustSong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @berlin4h \u89c1\u9644\u8a00\uff0c\u5df2\u89e3\u51b3\uff0c\u591a\u8c22\u5173\u6ce8                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3961849\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : blindie <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76f4\u63a5\u628a\u9632\u706b\u5899\u5173\u4e86\u53ef\u8fd8\u884c\u3002\u4f60\u5df2\u7ecf\u627e\u5230 ufw \u7684\u547d\u4ee4\u4e86 \u627e\u5230 ufw allow 3000 \u5e94\u8be5\u4e0d\u662f\u96be\u4e8b\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>[\u6c42\u52a9] \u7f51\u7ad9\u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48\u8bbf\u95ee\u4e0d\u4e86&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/183876"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=183876"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/183876\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=183876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=183876"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=183876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}