{"id":237,"date":"2017-12-12T12:38:11","date_gmt":"2017-12-12T04:38:11","guid":{"rendered":"https:\/\/www.myway5.com\/?p=237"},"modified":"2023-07-05T21:54:48","modified_gmt":"2023-07-05T13:54:48","slug":"tcpdump-php-curl-2","status":"publish","type":"post","link":"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/","title":{"rendered":"tcpdump\u5206\u6790php curl"},"content":{"rendered":"<h2>\u6240\u7528\u5de5\u5177<\/h2>\n<ul>\n<li>tcpdump:linux\u4e0b\u5206\u6790\u7f51\u7edc\u7684\u4e00\u4e2a\u597d\u7528\u7684\u7ec8\u7aef\u5de5\u5177<\/li>\n<li>psysh:php\u7684\u4e00\u4e2a\u7ec8\u7aef\u6267\u884c\u5de5\u5177\uff0c\u53ef\u4ee5\u5f88\u65b9\u4fbf\u7684\u5728\u7ec8\u7aef\u6267\u884cphp\u4ee3\u7801<\/li>\n<li>curl:php\u7684curl\u5e93<\/li>\n<\/ul>\n<p>tcpdump\u62a5\u6587\u4e2dFlags\u4ee3\u8868\u62a5\u6587\u7c7b\u578b:<br \/>\nS (SYN), F (FIN), P (PUSH), R (RST), U (URG), W (ECN CWR),  E (ECN-Echo) or &#8216;.&#8217; (ACK), or &#8216;none&#8217; if no flags are set.<\/p>\n<h2>\u5206\u6790\u80cc\u666f<\/h2>\n<p>\u6700\u8fd1\u5728\u4e86\u89e3swoole\uff0c\u56e0\u4e3a\u516c\u53f8\u7684\u6280\u672f\u6808\u662fphp\uff0c\u6240\u4ee5\u4e4b\u524d\u7528\u7684java\u90a3\u4e00\u5957\u5728\u666e\u901a\u7684php\u5f00\u53d1\u4e0a\u5b8c\u5168\u7528\u4e0d\u4e86\u3002\u4e3a\u4e86\u8ba9php\u6709\u66f4\u597d\u7684\u6027\u80fd\uff0c\u66f4\u5e7f\u6cdb\u7684\u4f7f\u7528\u573a\u666f\uff0c\u627e\u4e86\u627e\u76f8\u5173\u8d44\u6599\uff0c\u4e86\u89e3\u5230swoole\u8fd9\u4e2a\u5e93\u3002\u51b3\u5b9a\u4f7f\u7528\u4e4b\u540e\uff0c\u9879\u76ee\u4e2d\u6709\u4e2a\u5730\u65b9\u9700\u8981\u4f7f\u7528\u5230http\u8fde\u63a5\u6c60\uff0c\u6240\u4ee5\u9700\u8981\u4f7f\u7528curl\uff0c\u4f46\u662fcurl\u867d\u7136\u5f3a\u5927\uff0c\u4f46\u662f\u53c2\u6570\u5b9e\u5728\u662f\u592a\u591a\u4e86\uff0c\u91cc\u9762\u7684\u5b9e\u73b0\u7ec6\u8282\u4e5f\u53ea\u80fd\u67e5\u770bc\u7684\u6e90\u4ee3\u7801\u624d\u77e5\u9053\u3002\u6240\u4ee5\u53ea\u80fd\u66f2\u7ebf\u6551\u56fd\uff0c\u901a\u8fc7tcpdump\u4e86\u89e3curl\u5728http\u8bf7\u6c42\u4e0a\u7684\u5de5\u4f5c\u673a\u5236<\/p>\n<p>tcpdump\u7684\u4f7f\u7528\u65b9\u6cd5\u662f:<\/p>\n<h2>\u6848\u4f8b\u5206\u6790<\/h2>\n<h3>\u6848\u4f8b\u4e00<\/h3>\n<p>\u53ea\u6267\u884c\u4e00\u6b21exec\uff0c\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\uff0c\u5f3a\u5236\u5173\u95ed\u7ec8\u7aef\u8fdb\u7a0b<\/p>\n<pre><code class=\"line-numbers\">&lt;?php\n<span class=\"katex math inline\">context = curl_init();\ncurl_setopt(<\/span>context,CURLOPT_URL,\"http:\/\/www.izuqun.com\");\ncurl_exec($context);\n<\/code><\/pre>\n<p>\u6574\u4e2a\u8fc7\u7a0b\u7684\u62a5\u6587\u5982\u4e0b<\/p>\n<pre><code class=\"line-numbers\">    `192.168.1.107.44664 &gt; 116.62.25.128.http`: Flags [S], cksum 0x4bdf (correct), seq 3687066847, win 29200, options [mss 1460,sackOK,TS val 5931640 ecr 0,nop,wscale 7], length 0\n16:28:54.014280 IP (tos 0x20, ttl 52, id 0, offset 0, flags [DF], proto TCP (6), length 60)\n\n    `116.62.25.128.http &gt; 192.168.1.107.44664`: Flags [S.], cksum 0xbcb5 (correct), seq 4174849842, ack 3687066848, win 28960, options [mss 1460,sackOK,TS val 3844377305 ecr 5931640,nop,wscale 7], length 0\n16:28:54.014304 IP (tos 0x0, ttl 64, id 44712, offset 0, flags [DF], proto TCP (6), length 52)\n\n    `192.168.1.107.44664 &gt; 116.62.25.128.http`: Flags [.], cksum 0x5bba (correct), ack 1, win 229, options [nop,nop,TS val 5931643 ecr 3844377305], length 0\n16:28:54.014334 IP (tos 0x0, ttl 64, id 44713, offset 0, flags [DF], proto TCP (6), length 105)\n\n    `192.168.1.107.44664 &gt; 116.62.25.128.http`: Flags [P.], cksum 0xee60 (correct), seq 1:54, ack 1, win 229, options [nop,nop,TS val 5931643 ecr 3844377305], length 53: HTTP, length: 53\n        GET \/ HTTP\/1.1\n        Host: www.izuqun.com\n        Accept: *\\* \n16:28:54.023036 IP (tos 0x20, ttl 52, id 44520, offset 0, flags [DF], proto TCP (6), length 52)\n\n    `116.62.25.128.http &gt; 192.168.1.107.44664`: Flags [.], cksum 0x5b85 (correct), ack 54, win 227, options [nop,nop,TS val 3844377307 ecr 5931643], length 0\n16:28:54.023061 IP (tos 0x20, ttl 52, id 44521, offset 0, flags [DF], proto TCP (6), length 314)\n    `116.62.25.128.http &gt; 192.168.1.107.44664`: Flags [P.], cksum 0xba4d (correct), seq 1:263, ack 54, win 227, options [nop,nop,TS val 3844377307 ecr 5931643], length 262: HTTP, length: 262\n        HTTP\/1.1 200 OK\n        Server: nginx\/1.12.2\n        Date: Mon, 11 Dec 2017 08:28:54 GMT\n        Content-Type: text\/html\n        Content-Length: 1243\n        Last-Modified: Mon, 11 Dec 2017 02:35:33 GMT\n        Connection: keep-alive\n        Vary: Accept-Encoding\n        ETag: \"5a2deef5-4db\"\n        Accept-Ranges: bytes\n16:28:54.023076 IP (tos 0x0, ttl 64, id 44714, offset 0, flags [DF], proto TCP (6), length 52)\n\n    `192.168.1.107.44664 &gt; 116.62.25.128.http`: Flags [.], cksum 0x5a73 (correct), ack 263, win 237, options [nop,nop,TS val 5931645 ecr 3844377307], length 0\n16:28:54.024214 IP (tos 0x20, ttl 52, id 44522, offset 0, flags [DF], proto TCP (6), length 1295)\n\n    `116.62.25.128.http &gt; 192.168.1.107.44664`: Flags [P.], cksum 0x870b (correct), seq 263:1506, ack 54, win 227, options [nop,nop,TS val 3844377307 ecr 5931643], length 1243: HTTP\n16:28:54.024236 IP (tos 0x0, ttl 64, id 44715, offset 0, flags [DF], proto TCP (6), length 52)\n\n    `192.168.1.107.44664 &gt; 116.62.25.128.http`: Flags [.], cksum 0x5585 (correct), ack 1506, win 256, options [nop,nop,TS val 5931645 ecr 3844377307], length 0\n<\/code><\/pre>\n<p>1~3\u62a5\u6587\uff1atcp\u7684\u4e09\u6b21\u63e1\u624b\uff0c<br \/>\n4~5\u62a5\u6587\uff1acurl\u53d1\u8d77\u7684get\u8bf7\u6c42\u3001\u670d\u52a1\u5668\u7684ack\u56de\u5e94<br \/>\n6~9\u62a5\u6587\uff1a\u670d\u52a1\u5668\u5bf9get\u8bf7\u6c42\u7684\u8fd4\u56de\u3001\u6211\u7684\u673a\u5668\u7684\u5185\u6838\u7684ack\uff0c\u56e0\u4e3a\u62a5\u6587\u957f\u5ea6\u662f\u8d85\u51fa\u4e86\u6700\u5927\u7684\u9650\u5236\uff0c\u6240\u4ee5\u5206\u6210\u4e24\u6b21\u53d1\u9001<\/p>\n<p>\u7a0d\u7b49\u4e00\u4f1a\u513f\uff0c\u53c8\u6709\u65b0\u7684\u62a5\u6587<\/p>\n<pre><code class=\"line-numbers\">    `116.62.25.128.http &gt; 192.168.1.107.44664`: Flags [F.], cksum 0x161d (correct), seq 1506, ack 54, win 227, options [nop,nop,TS val 3844393567 ecr 5931645], length 0\n16:29:59.097967 IP (tos 0x0, ttl 64, id 44716, offset 0, flags [DF], proto TCP (6), length 52)\n    `192.168.1.107.44664 &gt; 116.62.25.128.http`: Flags [.], cksum 0xd672 (correct), ack 1507, win 256, options [nop,nop,TS val 5947914 ecr 3844393567], length 0\n<\/code><\/pre>\n<p>\u8fd9\u662f\u670d\u52a1\u5668\u53d1\u8d77\u7684tcp\u8fde\u63a5\u5173\u95ed\u7684\u62a5\u6587\uff0c\u6211\u7684\u673a\u5668\u54cd\u5e94\u4e86\uff0c\u4f46\u662f\u6ca1\u6709\u4e3b\u52a8\u518d\u6b21\u53d1\u9001Fin<\/p>\n<p>\u4e3b\u52a8\u5173\u95edpsysh\u8fdb\u7a0b\uff0c\u51fa\u73b0\u5927\u91cf\u62a5\u6587<\/p>\n<pre><code class=\"line-numbers\">    192.168.1.107.44664 &gt; 116.62.25.128.http: Flags [F.], cksum 0x8765 (correct), seq 54, ack 1507, win 256, options [nop,nop,TS val 5968150 ecr 3844393567], length 0\n16:31:20.253999 IP (tos 0x0, ttl 64, id 44718, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44664 &gt; 116.62.25.128.http: Flags [F.], cksum 0x8730 (correct), seq 54, ack 1507, win 256, options [nop,nop,TS val 5968203 ecr 3844393567], length 0\n16:31:20.465940 IP (tos 0x0, ttl 64, id 44719, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44664 &gt; 116.62.25.128.http: Flags [F.], cksum 0x86fb (correct), seq 54, ack 1507, win 256, options [nop,nop,TS val 5968256 ecr 3844393567], length 0\n16:31:20.890008 IP (tos 0x0, ttl 64, id 44720, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44664 &gt; 116.62.25.128.http: Flags [F.], cksum 0x8691 (correct), seq 54, ack 1507, win 256, options [nop,nop,TS val 5968362 ecr 3844393567], length 0\n16:31:21.737935 IP (tos 0x0, ttl 64, id 44721, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44664 &gt; 116.62.25.128.http: Flags [F.], cksum 0x85bd (correct), seq 54, ack 1507, win 256, options [nop,nop,TS val 5968574 ecr 3844393567], length 0\n16:31:23.437992 IP (tos 0x0, ttl 64, id 44722, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44664 &gt; 116.62.25.128.http: Flags [F.], cksum 0x8414 (correct), seq 54, ack 1507, win 256, options [nop,nop,TS val 5968999 ecr 3844393567], length 0\n16:31:26.833967 IP (tos 0x0, ttl 64, id 44723, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44664 &gt; 116.62.25.128.http: Flags [F.], cksum 0x80c3 (correct), seq 54, ack 1507, win 256, options [nop,nop,TS val 5969848 ecr 3844393567], length 0\n16:31:33.633977 IP (tos 0x0, ttl 64, id 44724, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44664 &gt; 116.62.25.128.http: Flags [F.], cksum 0x7a1f (correct), seq 54, ack 1507, win 256, options [nop,nop,TS val 5971548 ecr 3844393567], length 0\n16:31:47.218007 IP (tos 0x0, ttl 64, id 44725, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44664 &gt; 116.62.25.128.http: Flags [F.], cksum 0x6cdb (correct), seq 54, ack 1507, win 256, options [nop,nop,TS val 5974944 ecr 3844393567], length 0\n16:32:14.417998 IP (tos 0x0, ttl 64, id 44726, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44664 &gt; 116.62.25.128.http: Flags [F.], cksum 0x524b (correct), seq 54, ack 1507, win 256, options [nop,nop,TS val 5981744 ecr 3844393567], length 0\n<\/code><\/pre>\n<p>\u8fd9\u4e9b\u62a5\u6587\u90fd\u662f\u6211\u7684\u673a\u5668\u4e3b\u52a8\u53d1\u9001\u7684\u5173\u95ed\u62a5\u6587\uff0c\u4f46\u662f\u670d\u52a1\u5668\u4e5f\u4e0d\u518d\u54cd\u5e94<\/p>\n<h3>\u6848\u4f8b\u4e8c<\/h3>\n<p>\u5b8c\u6574\u7684\u4f7f\u7528curl_init\u548ccurl_close\uff0c\u663e\u5f0f\u5173\u95ed\u8fde\u63a5<\/p>\n<pre><code class=\"line-numbers\">&lt;?php\n<span class=\"katex math inline\">context = curl_init();\ncurl_setopt(<\/span>context,CURLOPT_URL,\"http:\/\/www.izuqun.com\");\ncurl_exec(<span class=\"katex math inline\">context);\ncurl_close(<\/span>context);\n<\/code><\/pre>\n<p>\u62a5\u6587\u5982\u4e0b<\/p>\n<pre><code class=\"line-numbers\">    192.168.1.107.44684 &gt; 116.62.25.128.http: Flags [S], cksum 0x469f (correct), seq 2378041097, win 29200, options [mss 1460,sackOK,TS val 6028159 ecr 0,nop,wscale 7], length 0\n16:35:20.090006 IP (tos 0x20, ttl 52, id 0, offset 0, flags [DF], proto TCP (6), length 60)\n    116.62.25.128.http &gt; 192.168.1.107.44684: Flags [S.], cksum 0xd6a7 (correct), seq 3548165201, ack 2378041098, win 28960, options [mss 1460,sackOK,TS val 3844473825 ecr 6028159,nop,wscale 7], length 0\n16:35:20.090050 IP (tos 0x0, ttl 64, id 64631, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44684 &gt; 116.62.25.128.http: Flags [.], cksum 0x75ac (correct), ack 1, win 229, options [nop,nop,TS val 6028162 ecr 3844473825], length 0\n16:35:20.090105 IP (tos 0x0, ttl 64, id 64632, offset 0, flags [DF], proto TCP (6), length 105)\n    192.168.1.107.44684 &gt; 116.62.25.128.http: Flags [P.], cksum 0x0853 (correct), seq 1:54, ack 1, win 229, options [nop,nop,TS val 6028162 ecr 3844473825], length 53: HTTP, length: 53\n        GET \/ HTTP\/1.1\n        Host: www.izuqun.com\n        Accept: *\/*\n\n16:35:20.099626 IP (tos 0x20, ttl 52, id 47030, offset 0, flags [DF], proto TCP (6), length 52)\n    116.62.25.128.http &gt; 192.168.1.107.44684: Flags [.], cksum 0x7576 (correct), ack 54, win 227, options [nop,nop,TS val 3844473828 ecr 6028162], length 0\n16:35:20.099655 IP (tos 0x20, ttl 52, id 47031, offset 0, flags [DF], proto TCP (6), length 314)\n    116.62.25.128.http &gt; 192.168.1.107.44684: Flags [P.], cksum 0xda41 (correct), seq 1:263, ack 54, win 227, options [nop,nop,TS val 3844473828 ecr 6028162], length 262: HTTP, length: 262\n        HTTP\/1.1 200 OK\n        Server: nginx\/1.12.2\n        Date: Mon, 11 Dec 2017 08:35:20 GMT\n        Content-Type: text\/html\n        Content-Length: 1243\n        Last-Modified: Mon, 11 Dec 2017 02:35:33 GMT\n        Connection: keep-alive\n        Vary: Accept-Encoding\n        ETag: \"5a2deef5-4db\"\n        Accept-Ranges: bytes\n\n16:35:20.099670 IP (tos 0x0, ttl 64, id 64633, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44684 &gt; 116.62.25.128.http: Flags [.], cksum 0x7464 (correct), ack 263, win 237, options [nop,nop,TS val 6028164 ecr 3844473828], length 0\n16:35:20.099680 IP (tos 0x20, ttl 52, id 47032, offset 0, flags [DF], proto TCP (6), length 1295)\n    116.62.25.128.http &gt; 192.168.1.107.44684: Flags [P.], cksum 0xa0fc (correct), seq 263:1506, ack 54, win 227, options [nop,nop,TS val 3844473828 ecr 6028162], length 1243: HTTP\n16:35:20.099686 IP (tos 0x0, ttl 64, id 64634, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44684 &gt; 116.62.25.128.http: Flags [.], cksum 0x6f76 (correct), ack 1506, win 256, options [nop,nop,TS val 6028164 ecr 3844473828], length 0\n<\/code><\/pre>\n<p>\u8fd9\u8fb9\u7684\u62a5\u6587\u4e00\u5f00\u59cb\u548c\u6848\u4f8b\u4e00\u5b8c\u5168\u4e00\u81f4\uff0c\u4f46\u662f\u5728\u6211\u4f7f\u7528curl_close()\u663e\u5f0f\u5173\u95edcurl\u540e\uff0c\u5e76\u6ca1\u6709\u53d1\u9001\u4efb\u4f55\u5173\u95edtcp\u8fde\u63a5\u7684\u62a5\u6587\u3002\u67e5\u4e86\u4e00\u4e0b\u8d44\u6599\uff0c\u5728php7.0\u4e2d\uff0c\u5982\u679c$context\u4efb\u4f55\u6709\u5168\u5c40\u5f15\u7528\uff0c\u5373\u4f7f\u4f7f\u7528curl_close()\u663e\u5f0f\u5173\u95ed\uff0c\u4e5f\u4e0d\u4f1a\u5173\u95ed\u8fde\u63a5\u3002<\/p>\n<h3>\u6848\u4f8b3<\/h3>\n<p>\u5b8c\u6574\u7684\u4f7f\u7528curl_init\u548ccurl_close\uff0c\u663e\u5f0f\u5173\u95ed\u8fde\u63a5\uff0c\u5e76\u4e14\u591a\u6b21\u6267\u884cexec<\/p>\n<pre><code class=\"line-numbers\">16:38:26.590098 IP (tos 0x0, ttl 64, id 18826, offset 0, flags [DF], proto TCP (6), length 60)\n    192.168.1.107.44714 &gt; 116.62.25.128.http: Flags [S], cksum 0x520f (correct), seq 3672832041, win 29200, options [mss 1460,sackOK,TS val 6074787 ecr 0,nop,wscale 7], length 0\n16:38:26.604823 IP (tos 0x20, ttl 52, id 0, offset 0, flags [DF], proto TCP (6), length 60)\n    116.62.25.128.http &gt; 192.168.1.107.44714: Flags [S.], cksum 0xf795 (correct), seq 3884635295, ack 3672832042, win 28960, options [mss 1460,sackOK,TS val 3844520454 ecr 6074787,nop,wscale 7], length 0\n16:38:26.604870 IP (tos 0x0, ttl 64, id 18827, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44714 &gt; 116.62.25.128.http: Flags [.], cksum 0x969a (correct), ack 1, win 229, options [nop,nop,TS val 6074790 ecr 3844520454], length 0\n16:38:26.604904 IP (tos 0x0, ttl 64, id 18828, offset 0, flags [DF], proto TCP (6), length 105)\n    192.168.1.107.44714 &gt; 116.62.25.128.http: Flags [P.], cksum 0x2941 (correct), seq 1:54, ack 1, win 229, options [nop,nop,TS val 6074790 ecr 3844520454], length 53: HTTP, length: 53\n        GET \/ HTTP\/1.1\n        Host: www.izuqun.com\n        Accept: *\/*\n\n16:38:26.616651 IP (tos 0x20, ttl 52, id 28329, offset 0, flags [DF], proto TCP (6), length 52)\n    116.62.25.128.http &gt; 192.168.1.107.44714: Flags [.], cksum 0x9664 (correct), ack 54, win 227, options [nop,nop,TS val 3844520457 ecr 6074790], length 0\n16:38:26.616674 IP (tos 0x20, ttl 52, id 28330, offset 0, flags [DF], proto TCP (6), length 314)\n    116.62.25.128.http &gt; 192.168.1.107.44714: Flags [P.], cksum 0xf829 (correct), seq 1:263, ack 54, win 227, options [nop,nop,TS val 3844520457 ecr 6074790], length 262: HTTP, length: 262\n        HTTP\/1.1 200 OK\n        Server: nginx\/1.12.2\n        Date: Mon, 11 Dec 2017 08:38:26 GMT\n        Content-Type: text\/html\n        Content-Length: 1243\n        Last-Modified: Mon, 11 Dec 2017 02:35:33 GMT\n        Connection: keep-alive\n        Vary: Accept-Encoding\n        ETag: \"5a2deef5-4db\"\n        Accept-Ranges: bytes\n\n16:38:26.616687 IP (tos 0x0, ttl 64, id 18829, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44714 &gt; 116.62.25.128.http: Flags [.], cksum 0x9551 (correct), ack 263, win 237, options [nop,nop,TS val 6074793 ecr 3844520457], length 0\n16:38:26.616701 IP (tos 0x20, ttl 52, id 28331, offset 0, flags [DF], proto TCP (6), length 1295)\n    116.62.25.128.http &gt; 192.168.1.107.44714: Flags [P.], cksum 0xc1ea (correct), seq 263:1506, ack 54, win 227, options [nop,nop,TS val 3844520457 ecr 6074790], length 1243: HTTP\n16:38:26.616708 IP (tos 0x0, ttl 64, id 18830, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44714 &gt; 116.62.25.128.http: Flags [.], cksum 0x9063 (correct), ack 1506, win 256, options [nop,nop,TS val 6074793 ecr 3844520457], length 0\n16:38:28.241841 IP (tos 0x0, ttl 64, id 18831, offset 0, flags [DF], proto TCP (6), length 105)\n    192.168.1.107.44714 &gt; 116.62.25.128.http: Flags [P.], cksum 0x2174 (correct), seq 54:107, ack 1506, win 256, options [nop,nop,TS val 6075199 ecr 3844520457], length 53: HTTP, length: 53\n        GET \/ HTTP\/1.1\n        Host: www.izuqun.com\n        Accept: *\/*\n\n16:38:28.253636 IP (tos 0x20, ttl 52, id 28332, offset 0, flags [DF], proto TCP (6), length 314)\n    116.62.25.128.http &gt; 192.168.1.107.44714: Flags [P.], cksum 0xeede (correct), seq 1506:1768, ack 107, win 227, options [nop,nop,TS val 3844520867 ecr 6075199], length 262: HTTP, length: 262\n        HTTP\/1.1 200 OK\n        Server: nginx\/1.12.2\n        Date: Mon, 11 Dec 2017 08:38:28 GMT\n        Content-Type: text\/html\n        Content-Length: 1243\n        Last-Modified: Mon, 11 Dec 2017 02:35:33 GMT\n        Connection: keep-alive\n        Vary: Accept-Encoding\n        ETag: \"5a2deef5-4db\"\n        Accept-Ranges: bytes\n\n16:38:28.253689 IP (tos 0x0, ttl 64, id 18832, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44714 &gt; 116.62.25.128.http: Flags [.], cksum 0x8be1 (correct), ack 1768, win 276, options [nop,nop,TS val 6075202 ecr 3844520867], length 0\n16:38:28.253704 IP (tos 0x20, ttl 52, id 28333, offset 0, flags [DF], proto TCP (6), length 1295)\n    116.62.25.128.http &gt; 192.168.1.107.44714: Flags [P.], cksum 0xb8a1 (correct), seq 1768:3011, ack 107, win 227, options [nop,nop,TS val 3844520867 ecr 6075199], length 1243: HTTP\n16:38:28.253713 IP (tos 0x0, ttl 64, id 18833, offset 0, flags [DF], proto TCP (6), length 52)\n    192.168.1.107.44714 &gt; 116.62.25.128.http: Flags [.], cksum 0x86f3 (correct), ack 3011, win 295, options [nop,nop,TS val 6075202 ecr 3844520867], length 0\n<\/code><\/pre>\n<p>\u591a\u6b21curl_exec()\u4f1a\u590d\u7528\u4e4b\u524d\u7684\u8fde\u63a5\uff0c\u4f46\u662fcurl_close()\u4f9d\u7136\u662f\u4e0d\u80fd\u5173\u95ed\u8fde\u63a5\u7684\u3002\u4f46\u5f53\u6211\u4f7f\u7528unset($context)\u65f6\uff0c\u89c2\u5bdf\u5230\u4e86\u4ee5\u4e0b\u62a5\u6587\uff1a<\/p>\n<pre><code class=\"line-numbers\">    192.168.1.107.49938 &gt; 116.62.25.128.http: Flags [F.], cksum 0x8407 (correct), seq 54, ack 1506, win 256, options [nop,nop,TS val 274723 ecr 3860448314], length 0                                                                                                      \n10:20:58.408173 IP (tos 0x20, ttl 52, id 25537, offset 0, flags [DF], proto TCP (6), length 52)                                      \n    116.62.25.128.http &gt; 192.168.1.107.49938: Flags [F.], cksum 0x5ca5 (correct), seq 1506, ack 55, win 227, options [nop,nop,TS val 3860458424 ecr 274723], length 0                                                                                                      \n10:20:58.408218 IP (tos 0x0, ttl 64, id 34603, offset 0, flags [DF], proto TCP (6), length 52)                                       \n    192.168.1.107.49938 &gt; 116.62.25.128.http: Flags [.], cksum 0x5c85 (correct), ack 1507, win 256, options [nop,nop,TS val 274726 ecr 3860458424], length 0 \n<\/code><\/pre>\n<p>\u6211\u7684\u673a\u5668\u4e3b\u52a8\u5173\u95ed\u8fde\u63a5\u53d1\u51faFin\uff0c\u670d\u52a1\u5668ack\u5e76\u53d1\u9001Fin,\u6211\u7684\u673a\u5668\u4e5fack\u3002\u4e24\u8fb9\u987a\u5229\u7684\u5b8c\u6210\u4e86\u8fde\u63a5\u7684\u5173\u95ed\u3002<\/p>\n<p>\u6240\u4ee5\u5f53\u524d\u53ef\u4ee5\u5f97\u51fa\u4ee5\u4e0b\u51e0\u70b9:<\/p>\n<p>1.<code>$context = curl_init()<\/code>, <code>$context<\/code>\u662f\u53ef\u4ee5\u590d\u7528\u7684\uff0c\u590d\u7528$context\u540e\uff0c\u591a\u6b21\u6267\u884ccurl_exec()\u53ef\u4ee5\u907f\u514dtcp\u76843\u6b21\u63e1\u624b\u548c4\u6b21\u65ad\u5f00\u7684\u8fc7\u7a0b\u3002<\/p>\n<p>2.curl_close()\u5728\u4e0a\u9762\u7684\u8bd5\u9a8c\u4e2d\uff0c\u5e76\u4e0d\u80fd\u6b63\u5e38\u7684\u5173\u95ed\u8fde\u63a5\uff0c\u8fd9\u662f\u56e0\u4e3a\u5728psysh\u7684\u6267\u884c\u73af\u5883\u4e2d\uff0c<code>$context<\/code>\u4e00\u76f4\u662f\u5728\u5f53\u524d\u7684\u4f5c\u7528\u57df\uff0c\u4f1a\u4e00\u76f4\u4fdd\u6301\u7740\u53d8\u91cf\u7684\u5f15\u7528\u3002\u800cphp7.0\u4e2d\uff0c<code>$context<\/code>\u5982\u679c\u4fdd\u6301\u5f15\u7528\uff0ccurl_close\u5219\u4e0d\u4f1a\u5173\u95ed\u8fde\u63a5\uff0c\u800cunset($context)\u5219\u4f1a\u5173\u95ed\u3002<\/p>\n<p>3.\u670d\u52a1\u5668\u4e3b\u52a8\u5173\u95ed\u8fde\u63a5\u540e\u53d1\u51faFin\uff0c\u6211\u7684\u673a\u5668\u867d\u7136\u54cd\u5e94\u4e86ack\uff0c\u4f46\u662f\u6ca1\u6709\u4e3b\u52a8\u53d1\u9001Fin\uff0c\u8fd9\u4f1a\u4e0d\u4f1a\u5bfc\u81f4\u670d\u52a1\u5668\u5927\u91cf\u7684fin_wait2\uff1f<\/p>\n<p>\u7b2c\u4e09\u70b9\u662f\u5f88\u91cd\u8981\u7684\uff0c\u5982\u679c\u4e0d\u89e3\u51b3\u4f1a\u5927\u91cf\u5360\u7528\u670d\u52a1\u5668\u8d44\u6e90\u3002<\/p>\n<p>\u6240\u4ee5\u518d\u505a\u4e00\u4e2a\u5b9e\u9a8c\uff0c\u5b9e\u9a8c\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li>\u6211\u7684\u673a\u5668\u521d\u59cb\u5316\u5927\u91cf\u7684curl_init()\uff0c\u7136\u540e\u4e0d\u91ca\u653e\uff0c\u7b49\u5f85\u670d\u52a1\u5668\u5173\u95ed\u3002\u4f7f\u7528netstat\u67e5\u770b\u670d\u52a1\u5668\u662f\u5426\u4f1a\u51fa\u73b0\u5927\u91cf\u7684fin_wait2\u3002<\/li>\n<\/ul>\n<p>\u4f7f\u7528<code>netstat -an|awk '\/tcp\/ {print $6}'|sort|uniq -c<\/code>\u53ef\u4ee5\u5feb\u901f\u67e5\u770b\u5404\u79cdtcp\u8fde\u63a5\u72b6\u6001\u7684\u7edf\u8ba1\u3002<br \/>\n\u521d\u59cb\u60c5\u51b5\u4e3a\uff1a<\/p>\n<pre><code class=\"line-numbers\">20 CLOSE_WAIT\n63 ESTABLISHED                                                                              \n10 LISTEN\n<\/code><\/pre>\n<p>psysh\u4e2d\u6267\u884c\u4ee5\u4e0b\u811a\u672c<\/p>\n<pre><code class=\"line-numbers\">$contextArr = array();\nfor($i = 0; $i &lt; 1000; $i++){\n    $contextArr[$i] = curl_init();\n    curl_setopt($contextArr[$i],CURLOPT_URL,\"http:\/\/www.izuqun.com\");\n    curl_exec($contextArr[$i]);\n}\n<\/code><\/pre>\n<p>\u811a\u672c\u6267\u884c\u5b8c\u540e\uff0c\u670d\u52a1\u5668\u72b6\u6001\u53d8\u5316\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"line-numbers\">20 CLOSE_WAIT\n1058 ESTABLISHED\n5 FIN_WAIT2\n10 LISTEN\n2 TIME_WAIT\n<\/code><\/pre>\n<pre><code class=\"line-numbers\">20 CLOSE_WAIT\n58 ESTABLISHED\n1001 FIN_WAIT2\n10 LISTEN\n\n<\/code><\/pre>\n<pre><code class=\"line-numbers\">20 CLOSE_WAIT\n63 ESTABLISHED\n10 LISTEN\n<\/code><\/pre>\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u4e2d\u95f4\u67091000\u4e2aFIN_WAIT2\u72b6\u6001\uff0c\u8bf4\u660e\u6211\u4eec\u7684\u731c\u60f3\u662f\u6b63\u786e\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6240\u7528\u5de5\u5177 tcpdump:linux\u4e0b\u5206\u6790\u7f51\u7edc\u7684\u4e00\u4e2a\u597d\u7528\u7684\u7ec8\u7aef\u5de5\u5177 psysh:php\u7684\u4e00\u4e2a\u7ec8\u7aef\u6267\u884c\u5de5\u5177\uff0c\u53ef\u4ee5 &hellip; <a href=\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">tcpdump\u5206\u6790php curl<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[62],"tags":[],"class_list":["post-237","post","type-post","status-publish","format-standard","hentry","category-coding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>tcpdump\u5206\u6790php curl - \u4e00\u53ea\u5b89\u9759\u7684\u732b<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"tcpdump\u5206\u6790php curl - \u4e00\u53ea\u5b89\u9759\u7684\u732b\" \/>\n<meta property=\"og:description\" content=\"\u6240\u7528\u5de5\u5177 tcpdump:linux\u4e0b\u5206\u6790\u7f51\u7edc\u7684\u4e00\u4e2a\u597d\u7528\u7684\u7ec8\u7aef\u5de5\u5177 psysh:php\u7684\u4e00\u4e2a\u7ec8\u7aef\u6267\u884c\u5de5\u5177\uff0c\u53ef\u4ee5 &hellip; \u7ee7\u7eed\u9605\u8bfbtcpdump\u5206\u6790php curl\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/\" \/>\n<meta property=\"og:site_name\" content=\"\u4e00\u53ea\u5b89\u9759\u7684\u732b\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-12T04:38:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-05T13:54:48+00:00\" \/>\n<meta name=\"author\" content=\"jiangpengfei\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"jiangpengfei\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/\"},\"author\":{\"name\":\"jiangpengfei\",\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685\"},\"headline\":\"tcpdump\u5206\u6790php curl\",\"datePublished\":\"2017-12-12T04:38:11+00:00\",\"dateModified\":\"2023-07-05T13:54:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/\"},\"wordCount\":114,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685\"},\"articleSection\":[\"\u7f16\u7a0b\u76f8\u5173\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/\",\"url\":\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/\",\"name\":\"tcpdump\u5206\u6790php curl - \u4e00\u53ea\u5b89\u9759\u7684\u732b\",\"isPartOf\":{\"@id\":\"https:\/\/www.myway5.com\/#website\"},\"datePublished\":\"2017-12-12T04:38:11+00:00\",\"dateModified\":\"2023-07-05T13:54:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.myway5.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"tcpdump\u5206\u6790php curl\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.myway5.com\/#website\",\"url\":\"https:\/\/www.myway5.com\/\",\"name\":\"\u4e00\u53ea\u5b89\u9759\u7684\u732b\",\"description\":\"\u60f3\u5565\u5462\",\"publisher\":{\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.myway5.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685\",\"name\":\"jiangpengfei\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f8c7de757f6e0247412bcfd31b7c2271?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f8c7de757f6e0247412bcfd31b7c2271?s=96&d=monsterid&r=g\",\"caption\":\"jiangpengfei\"},\"logo\":{\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/www.myway5.com\/index.php\/author\/joyme\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"tcpdump\u5206\u6790php curl - \u4e00\u53ea\u5b89\u9759\u7684\u732b","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/","og_locale":"zh_CN","og_type":"article","og_title":"tcpdump\u5206\u6790php curl - \u4e00\u53ea\u5b89\u9759\u7684\u732b","og_description":"\u6240\u7528\u5de5\u5177 tcpdump:linux\u4e0b\u5206\u6790\u7f51\u7edc\u7684\u4e00\u4e2a\u597d\u7528\u7684\u7ec8\u7aef\u5de5\u5177 psysh:php\u7684\u4e00\u4e2a\u7ec8\u7aef\u6267\u884c\u5de5\u5177\uff0c\u53ef\u4ee5 &hellip; \u7ee7\u7eed\u9605\u8bfbtcpdump\u5206\u6790php curl","og_url":"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/","og_site_name":"\u4e00\u53ea\u5b89\u9759\u7684\u732b","article_published_time":"2017-12-12T04:38:11+00:00","article_modified_time":"2023-07-05T13:54:48+00:00","author":"jiangpengfei","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"jiangpengfei","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"11 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/#article","isPartOf":{"@id":"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/"},"author":{"name":"jiangpengfei","@id":"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685"},"headline":"tcpdump\u5206\u6790php curl","datePublished":"2017-12-12T04:38:11+00:00","dateModified":"2023-07-05T13:54:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/"},"wordCount":114,"commentCount":0,"publisher":{"@id":"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685"},"articleSection":["\u7f16\u7a0b\u76f8\u5173"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/","url":"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/","name":"tcpdump\u5206\u6790php curl - \u4e00\u53ea\u5b89\u9759\u7684\u732b","isPartOf":{"@id":"https:\/\/www.myway5.com\/#website"},"datePublished":"2017-12-12T04:38:11+00:00","dateModified":"2023-07-05T13:54:48+00:00","breadcrumb":{"@id":"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.myway5.com\/index.php\/2017\/12\/12\/tcpdump-php-curl-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.myway5.com\/"},{"@type":"ListItem","position":2,"name":"tcpdump\u5206\u6790php curl"}]},{"@type":"WebSite","@id":"https:\/\/www.myway5.com\/#website","url":"https:\/\/www.myway5.com\/","name":"\u4e00\u53ea\u5b89\u9759\u7684\u732b","description":"\u60f3\u5565\u5462","publisher":{"@id":"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.myway5.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685","name":"jiangpengfei","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.myway5.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f8c7de757f6e0247412bcfd31b7c2271?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8c7de757f6e0247412bcfd31b7c2271?s=96&d=monsterid&r=g","caption":"jiangpengfei"},"logo":{"@id":"https:\/\/www.myway5.com\/#\/schema\/person\/image\/"},"url":"https:\/\/www.myway5.com\/index.php\/author\/joyme\/"}]}},"views":5908,"_links":{"self":[{"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/comments?post=237"}],"version-history":[{"count":3,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":1600,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/posts\/237\/revisions\/1600"}],"wp:attachment":[{"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/media?parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/categories?post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/tags?post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}