{"id":545622,"date":"2021-11-11T11:37:48","date_gmt":"2021-11-11T03:37:48","guid":{"rendered":"http:\/\/4563.org\/?p=545622"},"modified":"2021-11-11T11:37:48","modified_gmt":"2021-11-11T03:37:48","slug":"%e9%83%a8%e7%bd%b2%e5%9c%a8-cloudflare-workers-%e6%9f%a5%e7%9c%8b-ip-%e7%9a%84%e6%ba%90%e7%a0%81","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=545622","title":{"rendered":"\u90e8\u7f72\u5728 Cloudflare workers \u67e5\u770b ip \u7684\u6e90\u7801"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>loveqianool<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u90e8\u7f72\u5728 Cloudflare workers \u67e5\u770b ip \u7684\u6e90\u7801<\/h3>\n<p>  \t\t\u7c7b\u4f3c\u4e8e https:\/\/ip.skk.moe\/ \u7684\uff0c\u6211\u8bb0\u5f97\u4e4b\u524d\u5728 GitHub \u4e0a\u6709\u770b\u5230\u8fc7\u4e00\u4e2a\u53ef\u4ee5\u90e8\u7f72\u5728 Cloudflare workers \u7684\uff0c\u5fd8\u8bb0\u53eb\u4ec0\u4e48\u4e86\uff0c\u6709\u5927\u4f6c\u77e5\u9053\u5417\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u4e36Silently<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tipip.vercel.app \u8fd9\u4e2a\u5462 \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u4f73\u8f89\u7684\u6625\u5929<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8fd9\u4e2a\u4e0d\u9519\u54e6\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>optimism<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5e2e\u9876&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>xieshang<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6211\u81ea\u5df1\u662f\u7528\u7684\u8fd9\u4e2a\u535a\u5ba2\u7684(\u6781\u7b80\u7248\uff0c\u53ea\u83b7\u53d6ip\u6ca1\u6709\u5176\u4ed6\u529f\u80fd<br \/>  https:\/\/blog.jimmytinsley.com\/2020\/10\/15\/%E7%94%A8cloudflare-workers%E6%90%AD%E5%BB%BAip%E8%8E%B7%E5%8F%96%E6%9C%8D%E5%8A%A1\/\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u53eb\u6211ams\u5c31\u597d\u4e86<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8fd9\u4e2a\u4e0d\u9519\uff0c\u6c42\u4e2a\u6e90\u7801\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Goood<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u642d\u5efa<br \/>  \u521b\u5efaCloudflare\u8d26\u53f7, \u914d\u7f6eWorkers\u57df\u540d\u4e4b\u7c7b\u7684\u7b80\u5355\u64cd\u4f5c, \u8fd9\u91cc\u5c31\u4e0d\u8d58\u8ff0\u4e86.<\/p>\n<p>  \u76f4\u63a5Create a Worker :<\/p>\n<p>  async function handleRequest(request) {<br \/>  const ip = request.headers.get(&quot;cf-connecting-ip&quot;)<br \/>  return new Response(ip,{status: 200})<br \/>  }<br \/>  addEventListener(&#8216;fetch&#8217;, event =&gt; {<br \/>  return event.respondWith(handleRequest(event.request))<br \/>  })<br \/>  Github\u5730\u5740<\/p>\n<p>  \u4fee\u6539\u5de6\u4e0a\u89d2\u7684\u9884\u8bbe\u5b50\u57df\u540d, \u6bd4\u5982\u8bf4\u6539\u4e3aip. \u7136\u540eSave and Deploy.<\/p>\n<p>  \u5047\u5982\u4f60\u7684Workers\u57df\u540d\u4e3aabcd.workers.dev, \u90a3\u4e48\u73b0\u5728\u8bbf\u95eeip.abcd.workers.dev\u5e94\u8be5\u5c31\u4f1a\u8fd4\u56de\u4f60\u5f53\u524d\u7684IP\u4e86. \u5927\u529f\u544a\u6210~\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>hjvn2211445<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tF12\u4fdd\u5b58\u4e00\u4e0bhttps:\/\/cdn.jsdelivr.net\/gh\/master-of-forums\/master-of-forums\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u4e4c\u62c9\u64e6<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4ece\u56fd\u5185\u67e5\u8be2\uff08Sukka\uff09<br \/>  \u6570\u636e\u6765\u81ea Sukka API<\/p>\n<p>  182.51.86.181<\/p>\n<p>  \u4e2d\u56fd \u6cb3\u5317 \u77f3\u5bb6\u5e84 \u957f\u5b89\u533a \u5e7f\u7535\u7f51<\/p>\n<p>  \u4ece\u56fd\u5185\u67e5\u8be2\uff08\u641c\u72d0\uff09<br \/>  \u6570\u636e\u6765\u81ea IPIP.net<\/p>\n<p>  124.236.65.42<\/p>\n<p>  \u4e2d\u56fd \u6cb3\u5317 \u77f3\u5bb6\u5e84 \u7535\u4fe1<\/p>\n<p>  \u4ece\u56fd\u5916\u67e5\u8be2\uff08IP.SB\uff09<br \/>  \u6570\u636e\u6765\u81ea IP.SB<\/p>\n<p>  121.28.223.37<\/p>\n<p>  China Hebei Shijiazhuang China Unicom Liaoning<\/p>\n<p>  \u4ece\u56fd\u5916\u67e5\u8be2\uff08Sukka API\uff09<br \/>  \u6570\u636e\u6765\u81ea skk.moe + \u7eaf\u771f IP \u6570\u636e\u5e93<\/p>\n<p>  120.211.61.40<\/p>\n<p>  \u6cb3\u5317\u7701 \u79fb\u52a8<\/p>\n<p>  \u597d\u5bb6\u4f19\uff0c\u5c31\u6ca1\u6709\u91cd\u590d\u7684\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>ORM<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e36Silently \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-10 22:16<br \/>  ipip.vercel.app \u8fd9\u4e2a\u5462<\/p>\n<p> \u8fd9\u4e2a\u6709\u6e90\u7801\u5417\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>loveqianool \u5927\u4f6c\u6709\u8bdd\u8bf4&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/545622"}],"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=545622"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/545622\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=545622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=545622"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=545622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}