{"id":772,"date":"2020-10-08T22:52:17","date_gmt":"2020-10-08T14:52:17","guid":{"rendered":"https:\/\/blog.humh.cn\/?p=772"},"modified":"2020-10-08T22:55:22","modified_gmt":"2020-10-08T14:55:22","slug":"%e6%a3%80%e6%9f%a5%e6%8c%87%e5%ae%9a%e7%bd%91%e7%bb%9c%e8%bf%9e%e9%80%9ashell","status":"publish","type":"post","link":"https:\/\/blog.humh.cn\/?p=772","title":{"rendered":"\u68c0\u67e5\u6307\u5b9a\u7f51\u7edc\u8fde\u901ashell"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote\"><p>\u6700\u8fd1\u4e00\u4e2a\u6708\u4e00\u76f4\u5728\u5904\u7406\u4e00\u4e2a\u4efb\u52a1\uff0c\u5c06\u4e1a\u52a1\u6570\u636e\uff0c\u4e0a\u62a5\u81f3\u6307\u5b9a\u653f\u5e9c\u90e8\u95e8\u3002<br>\u6574\u4e2a\u8fc7\u7a0b\u5b9e\u73b0\u5982\u4e0b\uff1a<br>\u62a5\u9001\u7684\u6570\u636e\u4ee5\u7ea6\u5b9a\u7684\u6587\u4ef6\u683c\u5f0f\u5b58\u50a8\uff0c\u6700\u7ec8\u901a\u8fc7ftp\u4e0a\u4f20\u81f3\u6307\u5b9aip\u3002\u5f53\u7136\u6574\u4e2a\u94fe\u8def\u90fd\u662f\u5185\u7f51\u4ea4\u4e92\uff0c\u901a\u8fc7vpn\u81f3\u653f\u5e9c\u5c40\u57df\u7f51\uff0c\u8fd9\u6837ftp\u7684ip\u624d\u53ef\u8bbf\u95ee\u3002vpn\u94fe\u8def\u662f\u901a\u8fc7\u8d77\u4e86\u4e00\u4e2adocker\u5b8c\u6210\u7684\u3002\u6570\u636e\u4ea7\u751f\u540e\u5b9e\u65f6\u4e0a\u62a5\u7684\u8fc7\u7a0b\u662f\u901a\u8fc7\u4ee3\u7801\u548cshell\u5b8c\u6210\u7684\u3002\u56e0\u4e3a\u5076\u5c14\u4f1a\u53d1\u73b0vpn\u83ab\u540d\u7684\u6302\u6389\uff0c\u8fd9\u5c31\u5bfc\u81f4\u4e86\u540e\u7eedftp\u5931\u8d25\u3002\u6240\u4ee5\u9700\u8981\u5728shell\u811a\u672cftp\u4e0a\u4f20\u524d\u8fdb\u884cvpn\u7684\u8fde\u901a\u4fdd\u8bc1\u3002<\/p><\/blockquote>\n\n\n\n<p>\u65e5\u5e38\u68c0\u6d4bip\u53ef\u8fbe\u4e00\u822c\u90fd\u662f\u901a\u8fc7ping\u53bb\u5224\u65ad\uff0c\u6240\u4ee5\u8fd9\u91cc\u4e5f\u53ef\u4ee5\u5229\u7528ping\u7684\u903b\u8f91\u53bb\u68c0\u6d4bvpn\uff0c\u5982\u679cping\u5931\u8d25\uff0c\u5219\u91cd\u542fdocker\uff0c\u4fdd\u8bc1vpn\u94fe\u8def\uff08\u8fd9\u91cc\u6211\u4eec\u7684vpn docker\u91cd\u542f\uff0c\u5373\u53ef\u94fe\u8def\u8fde\u901a\uff09\uff0cping \u6210\u529f\u5219\u53efftp\u903b\u8f91\u3002<\/p>\n\n\n\n<p>\u56e0\u4e3a\u4e00\u822c\u5b9e\u7528ping\uff0c\u5927\u591a\u6570\u60c5\u51b5\u90fd\u662f\u76f4\u63a5 <code>ping *ip*<\/code> \u8fd9\u6837\u4f7f\u7528\uff0c\u4f46\u8fd9\u6837\u6267\u884c\uff0c\u547d\u4ee4\u4f1a\u4e00\u76f4\u6267\u884c\uff0c\u4e00\u76f4\u91cd\u590d\u53d1\u5305\u8fc7\u7a0b\uff0c\u65e0\u8bba\u6210\u529f\u8fd8\u662f\u5931\u8d25\uff0c\u6240\u4ee5\u6b64\u5904\u4f7f\u7528\uff0c\u9700\u8981\u7ed3\u5408 ping \u547d\u4ee4\u7684\u53c2\u6570\u9879\uff0c\u5982\u4e0b\u65b9\u8868\u683c\u5185\u5bb9\uff08\u8868\u683c\u5185\u5bb9\u6765\u81ea\uff1a<a href=\"https:\/\/www.jianshu.com\/p\/0cb93b7b4f64\">https:\/\/www.jianshu.com\/p\/0cb93b7b4f64<\/a>\uff09<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"\"><thead>\n<tr>\n<th style=\"text-align:center\">\u53c2\u6570<\/th>\n<th style=\"text-align:center\">\u8be6\u89e3<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align:center\">-a<\/td>\n<td style=\"text-align:center\">Audible ping.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-A<\/td>\n<td style=\"text-align:center\">\u81ea\u9002\u5e94ping\uff0c\u6839\u636eping\u5305\u5f80\u8fd4\u65f6\u95f4\u786e\u5b9aping\u7684\u901f\u5ea6\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-b<\/td>\n<td style=\"text-align:center\">\u5141\u8bb8ping\u4e00\u4e2a\u5e7f\u64ad\u5730\u5740\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-B<\/td>\n<td style=\"text-align:center\">\u4e0d\u5141\u8bb8ping\u6539\u53d8\u5305\u5934\u7684\u6e90\u5730\u5740\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\"><strong>-c count<\/strong><\/td>\n<td style=\"text-align:center\">ping\u6307\u5b9a\u6b21\u6570\u540e\u505c\u6b62ping\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-d<\/td>\n<td style=\"text-align:center\">\u4f7f\u7528Socket\u7684SO_DEBUG\u529f\u80fd\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-F flow_label<\/td>\n<td style=\"text-align:center\">\u4e3aping\u56de\u663e\u8bf7\u6c42\u5206\u914d\u4e00\u4e2a20\u4f4d\u7684\u201cflow label\u201d\uff0c\u5982\u679c\u672a\u8bbe\u7f6e\uff0c\u5185\u6838\u4f1a\u4e3aping\u968f\u673a\u5206\u914d\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\"><strong>-f<\/strong><\/td>\n<td style=\"text-align:center\">\u6781\u9650\u68c0\u6d4b\uff0c\u5feb\u901f\u8fde\u7eedping\u4e00\u53f0\u4e3b\u673a\uff0cping\u7684\u901f\u5ea6\u8fbe\u5230100\u6b21\u6bcf\u79d2\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-i interval<\/td>\n<td style=\"text-align:center\">\u8bbe\u5b9a\u95f4\u9694\u51e0\u79d2\u53d1\u9001\u4e00\u4e2aping\u5305\uff0c\u9ed8\u8ba4\u4e00\u79d2ping\u4e00\u6b21\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-I interface<\/td>\n<td style=\"text-align:center\">\u6307\u5b9a\u7f51\u5361\u63a5\u53e3\u3001\u6216\u6307\u5b9a\u7684\u672c\u673a\u5730\u5740\u9001\u51fa\u6570\u636e\u5305\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-l preload<\/td>\n<td style=\"text-align:center\">\u8bbe\u7f6e\u5728\u9001\u51fa\u8981\u6c42\u4fe1\u606f\u4e4b\u524d\uff0c\u5148\u884c\u53d1\u51fa\u7684\u6570\u636e\u5305\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-L<\/td>\n<td style=\"text-align:center\">\u6291\u5236\u7ec4\u64ad\u62a5\u6587\u56de\u9001\uff0c\u53ea\u9002\u7528\u4e8e<a href=\"https:\/\/link.jianshu.com?t=http%3A%2F%2Faiezu.com%2Farticle%2Flinux_ping_command.html\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">ping<\/a>\u7684\u76ee\u6807\u4e3a\u4e00\u4e2a\u7ec4\u64ad\u5730\u5740<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-n<\/td>\n<td style=\"text-align:center\">\u4e0d\u8981\u5c06ip\u5730\u5740\u8f6c\u6362\u6210\u4e3b\u673a\u540d\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-p pattern<\/td>\n<td style=\"text-align:center\">\u6307\u5b9a\u586b\u5145ping\u6570\u636e\u5305\u7684\u5341\u516d\u8fdb\u5236\u5185\u5bb9\uff0c\u5728\u8bca\u65ad\u4e0e\u6570\u636e\u6709\u5173\u7684\u7f51\u7edc\u9519\u8bef\u65f6\u8fd9\u4e2a\u9009\u9879\u5c31\u975e\u5e38\u6709\u7528\uff0c\u5982\uff1a\u201c-p ff\u201d\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-q<\/td>\n<td style=\"text-align:center\">\u4e0d\u663e\u793a\u4efb\u4f55\u4f20\u9001\u5c01\u5305\u7684\u4fe1\u606f\uff0c\u53ea\u663e\u793a\u6700\u540e\u7684\u7ed3\u679c<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-Q tos<\/td>\n<td style=\"text-align:center\">\u8bbe\u7f6eQos(Quality of Service)\uff0c\u5b83\u662fICMP\u6570\u636e\u62a5\u76f8\u5173\u4f4d\uff1b\u53ef\u4ee5\u662f\u5341\u8fdb\u5236\u6216\u5341\u516d\u8fdb\u5236\u6570\uff0c\u8be6\u89c1rfc1349\u548crfc2474\u6587\u6863\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-R<\/td>\n<td style=\"text-align:center\">\u8bb0\u5f55ping\u7684\u8def\u7531\u8fc7\u7a0b(IPv4 only)\uff1b<\/td>\n<\/tr>\n<tr><td style=\"text-align:center\">\u6ce8\u610f\uff1a\u7531\u4e8eIP\u5934\u7684\u9650\u5236\uff0c\u6700\u591a\u53ea\u80fd\u8bb0\u5f559\u4e2a\u8def\u7531\uff0c\u5176\u4ed6\u4f1a\u88ab\u5ffd\u7565\uff1b<\/td><\/tr>\n<tr>\n<td style=\"text-align:center\">-r<\/td>\n<td style=\"text-align:center\">\u5ffd\u7565\u6b63\u5e38\u7684\u8def\u7531\u8868\uff0c\u76f4\u63a5\u5c06\u6570\u636e\u5305\u9001\u5230\u8fdc\u7aef\u4e3b\u673a\u4e0a\uff0c\u901a\u5e38\u662f\u67e5\u770b\u672c\u673a\u7684\u7f51\u7edc\u63a5\u53e3\u662f\u5426\u6709\u95ee\u9898\uff1b\u5982\u679c\u4e3b\u673a\u4e0d\u76f4\u63a5\u8fde\u63a5\u7684\u7f51\u7edc\u4e0a\uff0c\u5219\u8fd4\u56de\u4e00\u4e2a\u9519\u8bef\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-S sndbuf<\/td>\n<td style=\"text-align:center\">Set socket sndbuf. If not specified, it is selected to buffer not more than one packet.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-s packetsize<\/td>\n<td style=\"text-align:center\">\u6307\u5b9a\u6bcf\u6b21ping\u53d1\u9001\u7684\u6570\u636e\u5b57\u8282\u6570\uff0c\u9ed8\u8ba4\u4e3a\u201c56\u5b57\u8282\u201d+\u201c28\u5b57\u8282\u201d\u7684ICMP\u5934\uff0c\u4e00\u5171\u662f84\u5b57\u8282\uff1b<\/td>\n<\/tr>\n<tr><td style=\"text-align:center\">\u5305\u5934+\u5185\u5bb9\u4e0d\u80fd\u5927\u4e8e65535\uff0c\u6240\u4ee5\u6700\u5927\u503c\u4e3a65507\uff08linux:65507, windows:65500\uff09\uff1b<\/td><\/tr>\n<tr>\n<td style=\"text-align:center\">-t ttl<\/td>\n<td style=\"text-align:center\">\u8bbe\u7f6eTTL(Time To Live)\u4e3a\u6307\u5b9a\u7684\u503c\u3002\u8be5\u5b57\u6bb5\u6307\u5b9aIP\u5305\u88ab\u8def\u7531\u5668\u4e22\u5f03\u4e4b\u524d\u5141\u8bb8\u901a\u8fc7\u7684\u6700\u5927\u7f51\u6bb5\u6570\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-T timestamp_option<\/td>\n<td style=\"text-align:center\">\u8bbe\u7f6eIP timestamp\u9009\u9879,\u53ef\u4ee5\u662f\u4e0b\u9762\u7684\u4efb\u4f55\u4e00\u4e2a\uff1a&#8217;tsonly&#8217; (only timestamps)&#8217;tsandaddr&#8217; (timestamps and addresses)&#8217;tsprespec host1 [host2 [host3]]&#8217; (timestamp prespecified hops).<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-M hint<\/td>\n<td style=\"text-align:center\">\u8bbe\u7f6eMTU\uff08\u6700\u5927\u4f20\u8f93\u5355\u5143\uff09\u5206\u7247\u7b56\u7565\u3002\u53ef\u8bbe\u7f6e\u4e3a\uff1a&#8217;do&#8217;\uff1a\u7981\u6b62\u5206\u7247\uff0c\u5373\u4f7f\u5305\u88ab\u4e22\u5f03\uff1b&#8217;want&#8217;\uff1a\u5f53\u5305\u8fc7\u5927\u65f6\u5206\u7247\uff1b&#8217;dont&#8217;\uff1a\u4e0d\u8bbe\u7f6e\u5206\u7247\u6807\u5fd7\uff08DF flag\uff09\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-m mark<\/td>\n<td style=\"text-align:center\">\u8bbe\u7f6emark\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-v<\/td>\n<td style=\"text-align:center\">\u4f7fping\u5904\u4e8everbose\u65b9\u5f0f\uff0c\u5b83\u8981ping\u547d\u4ee4\u9664\u4e86\u6253\u5370ECHO-RESPONSE\u6570\u636e\u5305\u4e4b\u5916\uff0c\u8fd8\u6253\u5370\u5176\u5b83\u6240\u6709\u8fd4\u56de\u7684ICMP\u6570\u636e\u5305\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-U<\/td>\n<td style=\"text-align:center\">Print full user-to-user latency (the old behaviour).Normally ping prints network round trip time, which can be different f.e. due to DNS failures.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-W timeout<\/td>\n<td style=\"text-align:center\">\u4ee5\u6beb\u79d2\u4e3a\u5355\u4f4d\u8bbe\u7f6eping\u7684\u8d85\u65f6\u65f6\u95f4\uff1b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">-w deadline<\/td>\n<td style=\"text-align:center\">deadline\uff1b<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p>\u4e00\u822cip\u53efping\u901a\uff0c\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img width=\"452\" height=\"174\" class=\"wp-image-776 lazyload\" title=\"\u68c0\u67e5\u6307\u5b9a\u7f51\u7edc\u8fde\u901ashell\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/2020\/10\/d2b5ca33bd970f64a6301fa75ae2eb22.png\" alt=\"https:\/\/file.blog.humh.cn\/2020\/10\/d2b5ca33bd970f64a6301fa75ae2eb22.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2020\/10\/d2b5ca33bd970f64a6301fa75ae2eb22.png 452w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2020\/10\/d2b5ca33bd970f64a6301fa75ae2eb22-300x115.png 300w\" sizes=\"(max-width: 452px) 100vw, 452px\"><\/figure><\/div>\n\n\n\n<p>ping\u4e0d\u901a\u5982\u4e0b\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img width=\"436\" height=\"210\" class=\"wp-image-777 lazyload\" title=\"\u68c0\u67e5\u6307\u5b9a\u7f51\u7edc\u8fde\u901ashell\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/2020\/10\/d2b5ca33bd970f64a6301fa75ae2eb22-1.png\" alt=\"https:\/\/file.blog.humh.cn\/2020\/10\/d2b5ca33bd970f64a6301fa75ae2eb22-1.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2020\/10\/d2b5ca33bd970f64a6301fa75ae2eb22-1.png 436w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2020\/10\/d2b5ca33bd970f64a6301fa75ae2eb22-1-300x144.png 300w\" sizes=\"(max-width: 436px) 100vw, 436px\"><\/figure><\/div>\n\n\n\n<p>\u56e0\u4e3a\u9ed8\u8ba4\u65e0\u9650\u6b21\u91cd\u8bd5\uff0c\u6240\u4ee5ctrl+c\u7ed3\u675f\uff0c\u6240\u4ee5shell\u4e2d\u6211\u4eec\u53ea\u9700\u8981\u63a7\u5236\u91cd\u8bd5\u6b21\u6570\u5373\u53ef\u3002\u5e76\u4e14\u5982\u679cip\u4e0d\u53ef\u8fbe\uff0c\u4f1a\u767e\u5206\u767e\u4e22\u5305\uff0c\u5373\u201c100.0% packet loss\u201d\u7684\u8f93\u51fa\u3002<br>\u6700\u7ec8shell\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># \u68c0\u6d4bvpn\n# \u901a\u8fc7ping \u4e00\u6b21\uff0c\u8d85\u65f6\u65f6\u95f4\u9650\u52365\u79d2\uff0c\u5982\u679c\u4e0d\u901a\uff0c\u5219\u4f1a\u51fa\u73b0\"100% packet loss\"\u9519\u8bef\uff0c\u7136\u540e\u91cd\u542fvpn\u5bf9\u5e94docker\n# 192.168.10.10 \u4e3avpn\u8fde\u901a\u540e\uff0cftp\u670d\u52a1\u5730\u5740\u3002ftp\u5730\u5740\u5904\u4e8evpn\u5c40\u57df\u7f51\u7f51\u6bb5\u5185\u3002\ncheck_vpn(){\n    ping_error_count=$(ping -c 1 -w 5 192.168.10.10 | grep '100% packet loss' | wc -l)\n    if [ ${ping_error_count} != \"0\" ]\n    then\n        docker_id=$(docker ps -a --filter 'name=strongswan' -q)\n        # \u91cd\u542fwa vpn docker\n        docker restart ${docker_id}\n        echo $(date) restart vpn, docker_id ${docker_id}, restart result $? &gt;&gt; \/logs\/wa_ftp_upload.log\n    fi\n}<\/pre>\n\n\n\n<p>ping \u201c192.168.10.10\u201d  \u4e00\u6b21\uff0c\u5982\u679c\u8d85\u65f6\u65f6\u95f4\u8d85\u8fc75\u79d2\uff0c\u5219\u505c\u6b62\uff0c\u5982\u679c\u8f93\u51fa\u4fe1\u606f\u767e\u5206\u767e\u4e22\u5305\uff0c\u5373\u201c<code>grep '100% packet loss' | wc -l<\/code>\u201d  \u4e0d\u4e3a0\uff0c\u5219\u8bf4\u660eip\u4e0d\u901a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u4e00\u4e2a\u6708\u4e00\u76f4\u5728\u5904\u7406\u4e00\u4e2a\u4efb\u52a1\uff0c\u5c06\u4e1a\u52a1\u6570\u636e\uff0c\u4e0a\u62a5\u81f3\u6307\u5b9a\u653f\u5e9c\u90e8\u95e8\u3002\u6574\u4e2a\u8fc7\u7a0b\u5b9e\u73b0\u5982\u4e0b\uff1a\u62a5\u9001\u7684\u6570\u636e\u4ee5\u7ea6\u5b9a\u7684\u6587\u4ef6\u683c\u5f0f\u5b58\u50a8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[53],"tags":[104],"_links":{"self":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts\/772"}],"collection":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=772"}],"version-history":[{"count":7,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts\/772\/revisions"}],"predecessor-version":[{"id":781,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts\/772\/revisions\/781"}],"wp:attachment":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}