{"id":167,"date":"2016-02-17T17:07:28","date_gmt":"2016-02-17T17:07:28","guid":{"rendered":""},"modified":"2016-02-17T17:07:28","modified_gmt":"2016-02-17T17:07:28","slug":"","status":"publish","type":"post","link":"http:\/\/weizn.net\/?p=167","title":{"rendered":"\u5229\u7528SPA\u9879\u76eefwknop\u4fdd\u62a4\u670d\u52a1"},"content":{"rendered":"<p>\n\t<span style=\"font-size:14px;\">fwknop wiki :<\/span><a href=\"http:\/\/www.cipherdyne.org\/fwknop\/docs\/fwknop-tutorial.html\"><span style=\"font-size:14px;\">http:\/\/www.cipherdyne.org\/fwknop\/docs\/fwknop-tutorial.html<\/span><\/a>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">fwknopd doc :<\/span><a href=\"https:\/\/www.cipherdyne.org\/fwknop\/docs\/manpages\/fwknopd.html\"><span style=\"font-size:14px;\">https:\/\/www.cipherdyne.org\/fwknop\/docs\/manpages\/fwknopd.html<\/span><\/a>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">fwknop doc :<\/span><a href=\"https:\/\/www.cipherdyne.org\/fwknop\/docs\/manpages\/fwknop.html\"><span style=\"font-size:14px;\">https:\/\/www.cipherdyne.org\/fwknop\/docs\/manpages\/fwknop.html<\/span><\/a>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u7b80\u5355\u8bf4\u6765\uff0c\u201c\u5355\u5305\u8ba4\u8bc1\uff08SPA\uff09\u201d\u673a\u5236\u5c31\u662f\u5728\u670d\u52a1\u5668\u4e0a\u5148\u5c4f\u853d\u6307\u5b9a\u7684\u670d\u52a1\/\u7aef\u53e3\uff0c\u5f53\u4e00\u4e2a\u7528\u6237\u5728\u8bf7\u6c42\u670d\u52a1\u65f6\uff0c\u5148\u5411\u670d\u52a1\u5668\u53d1\u9001\u4e00\u4e2aSPA\u6570\u636e\u5305\uff0c\u82e5\u670d\u52a1\u5668\u901a\u8fc7\u4e86\u8fd9\u4e2a\u8ba4\u8bc1\uff0c\u5219\u53ea\u4e3a\u53d1\u51fa\u8bf7\u6c42\u7684\u7528\u6237\u5f00\u653e\u670d\u52a1\u3002 <\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u8be6\u7ec6\u8fc7\u7a0b\uff1a<\/span><br \/>\n<span style=\"font-size:14px;\">1\uff0e\u670d\u52a1\u7aef\u9ed8\u8ba4\u53ea\u5141\u8bb8established\u72b6\u6001\u7684TCP\u56de\u5305\uff0c\u5176\u5b83\u6570\u636e\u5305\u5168\u90e8\u62d2\u7edd\uff0cserver\u901a\u8fc7libpcap\u5728\u6307\u5b9a\u7684\u7aef\u53e3\u76d1\u542c\u3002<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">2\uff0eclient\u901a\u8fc7SPA\u8ba4\u8bc1\u7aef\u53e3\uff08\u9ed8\u8ba462201\uff09\u53d1\u9001SPA\u6570\u636e\u5305\uff0cserver\u901a\u8fc7\u89e3\u6790SPA\u5305\u4e2d\u7684\u8ba4\u8bc1\u4fe1\u606f\uff0c\u8ba4\u8bc1\u6210\u529f\u540eserver\u81ea\u52a8\u6dfb\u52a0iptables ACL\uff0c\u8be5ACL\u5141\u8bb8client ip\u8bbf\u95ee\u7279\u5b9a\u670d\u52a1\u7aef\u53e3\u3002<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">3.&nbsp; \u5f53\u8ba4\u8bc1\u7b49\u5f85\u8d85\u65f6\uff0cserver\u81ea\u52a8\u5220\u9664\u8be5\u6761ACL\uff0c\u786e\u4fdd\u53ea\u6709\u975e\u5e38\u77ed\u6682\u7684\u65f6\u95f4\u7a97\u53e3\u53ef\u4ee5\u5141\u8bb8\u5408\u6cd5\u5ba2\u6237\u7aef\u8bbf\u95ee\u670d\u52a1\u7aef\u81ea\u5b9a\u4e49\u7684\u670d\u52a1\u3002<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u5b89\u88c5(fwknop 2.6.8)\uff1a<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&gt;wget http:\/\/www.cipherdyne.org\/fwknop\/download\/fwknop-2.6.8.tar.gz<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&gt;tar -zxvf fwknop-2.6.8.tar.gz<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&gt;cd fwknop-2.6.8<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&gt;.\/configure<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u6b64\u6b65\u9700\u8981\u5b89\u88c5libpcap<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&gt;yum install <\/span><span style=\"font-size:14px;\">libpcap-devel<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&gt;make<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&gt;sudo make install<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&gt;whereis fwknopd<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u670d\u52a1\u7aef\uff1a<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">Start fwknopd\uff1asudo fwknopd<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">Restart\uff1asudo fwknopd &#8211;restart<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u542f\u52a8\u670d\u52a1\u540e\u6dfb\u52a0\u521d\u59cb\u5316iptables\uff1a<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">sudo iptables -A INPUT&nbsp; -i eth0 -p tcp &#8211;dport 22 -m conntrack &#8211;ctstate ESTABLISHED,RELATED -j ACCEPT<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">sudo iptables -A INPUT&nbsp; -i eth0 -s 1.1.1.1\/24 -j ACCEPT<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">sudo iptables -A INPUT&nbsp; -i eth0 -p tcp &#8211;dport 22 -j DROP<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u914d\u7f6e\u6587\u4ef6\uff1a<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u8ba4\u8bc1\u914d\u7f6e<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">sudo vim&nbsp; \/etc\/fwknop\/access.conf<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u7cfb\u7edf\u914d\u7f6e<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">sudo vim&nbsp; \/etc\/fwknop\/fwknopd.conf<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u670d\u52a1\u7aeflog<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">sudo tail -f \/var\/log\/messages<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u5ba2\u6237\u7aef\u521d\u59cb\u5316\u8ba4\u8bc1\u4fe1\u606f<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">.\/fwknop -A tcp\/22 -a allowIP -D serverIP &#8211;save-packet&nbsp; SPApcap&nbsp; &#8211;key-gen &#8211;use-hmac &#8211;save-rc-stanza \u2013v<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">.\/fwknop&nbsp; -A&nbsp; tcp\/22&nbsp; -n serverIP&nbsp;&#8211;verbose<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">sudo cat ~<\/span><span style=\"font-size:14px;\">\/.fwknoprc&nbsp; \u751f\u6210\u7684\u8ba4\u8bc1\u4fe1\u606f<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;\n<\/p>\n<p class=\"MsoNormal\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:12pt;\">NAT<span>\u76f8\u5173<\/span><\/span><span style=\"font-family:Calibri;font-size:12pt;\"><\/span>\n<\/p>\n<p style=\"text-indent:-18pt;margin-left:18pt;\" class=\"NewStyle15\">\n\t<span style=\"font-family:Calibri;font-size:10.5pt;\"><span>1\u3001<span>&nbsp;<\/span><\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">\u53ef\u901a\u8fc7<span>NAT<\/span><span>\u65b9\u5f0f\u8bbf\u95ee\u88ab<\/span><span>SPA&nbsp;Server<\/span><span>\u4fdd\u62a4\u7684\u5185\u7f51\u670d\u52a1\u3002<\/span><\/span><span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p style=\"text-indent:0pt;margin-left:18pt;\" class=\"NewStyle15\">\n\t<a id=\"ematt:355\" href=\"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/b6c31455770238.png\" data-rel=\"penci-gallery-image-content\"  target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"\u70b9\u51fb\u67e5\u770b\u539f\u56fe\" border=\"0\" alt=\"\u56fe\u72471.png\" src=\"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/b6c31455770238.png\" width=\"633\" height=\"384\" \/><\/a><span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p style=\"text-indent:-18pt;margin-left:18pt;\" class=\"NewStyle15\">\n\t<span style=\"font-family:Calibri;font-size:10.5pt;\"><span>2\u3001<span>&nbsp;<\/span><\/span><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">\u53ef\u63a7\u5236\u5185\u7f51\u7528\u6237\u901a\u8fc7<span>SPA<\/span><span>\u8ba4\u8bc1\u540e\u8bbf\u95ee\u4e92\u8054\u7f51\u3002<\/span><\/span><span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p style=\"text-indent:0pt;margin-left:18pt;\" class=\"NewStyle15\">\n\t<span style=\"font-family:Calibri;font-size:10.5pt;\"><a id=\"ematt:357\" href=\"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/71421455770270.png\" data-rel=\"penci-gallery-image-content\"  target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"\u70b9\u51fb\u67e5\u770b\u539f\u56fe\" border=\"0\" alt=\"\u56fe\u72472.png\" src=\"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/71421455770270.png\" width=\"583\" height=\"358\" \/><\/a><span style=\"font-family:Tahoma;\"><\/span><\/span>\n<\/p>\n<p style=\"text-indent:-18pt;margin-left:18pt;\" class=\"NewStyle15\">\n\t<span style=\"font-family:Calibri;font-size:10.5pt;\"><span>3\u3001<span>&nbsp;<\/span><\/span><\/span><span style=\"font-family:Calibri;font-size:10.5pt;\">F<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">wknop&nbsp;client<span>\u5728\u5185\u7f51\u7684\u60c5\u51b5\uff1a<\/span><\/span><span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p style=\"text-indent:0pt;margin-left:18pt;\" class=\"NewStyle15\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">\uff08<span>1<\/span><span>\uff09<\/span><span>-R&nbsp;option:<\/span><span>\u5728\u751f\u6210<\/span><span>rc<\/span><span>\u6587\u4ef6\u65f6\u6307\u5b9a\u6b64\u9009\u9879\u4f1a\u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0<\/span><span>RESOLVE_IP_HTTPS<\/span><span>\u5b57\u6bb5\uff0c\u5f53\u4f7f\u7528<\/span><span>-n<\/span><span>\u53d1\u9001<\/span><span>SPA<\/span><span>\u8ba4\u8bc1\u5305\u65f6\uff0c\u7a0b\u5e8f\u5148\u5411<\/span><span>fwknop<\/span><span>\u5b98\u7f51\u53d1\u9001<\/span><span>HTTPS<\/span><span>\u8bf7\u6c42\u83b7\u53d6<\/span><span>NAT<\/span><span>\u5730\u5740\uff0c\u518d\u5c06\u6b64\u5730\u5740\u4f5c\u4e3a<\/span><span>allow&nbsp;IP<\/span><span>\u5199\u5165\u5230<\/span><span>SPA<\/span><span>\u4e2d\u3002<\/span><\/span><span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p style=\"text-indent:0pt;margin-left:18pt;\" class=\"NewStyle15\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">\uff08<span>2<\/span><span>\uff09<\/span><span>-s&nbsp;option:<\/span><span>\u5728\u7528<\/span><span>-n<\/span><span>\u53d1\u9001<\/span><span>SPA<\/span><span>\u62a5\u6587\u65f6\u6307\u5b9a\u6b64\u9009\u9879\u4f1a\u4f7f<\/span><span>SPA<\/span><span>\u4e2d\u4e0d\u5305\u542b<\/span><span>allow&nbsp;IP<\/span><span>\uff0c\u800c\u662f\u8ba9<\/span><span>fwknop&nbsp;Server<\/span><span>\u81ea\u52a8\u653e\u884c<\/span><span>SPA<\/span><span>\u7684\u6765\u6e90<\/span><span>IP<\/span><span>\uff0c\u5b98\u65b9\u5e76\u4e0d\u63a8\u8350\u4f7f\u7528\u6b64\u65b9\u5f0f\u3002<\/span><\/span><span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p style=\"text-indent:0pt;margin-left:18pt;\" class=\"NewStyle15\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">\uff08<span>3<\/span><span>\uff09\u53ef\u80fd\u51fa\u73b0\u7684\u95ee\u9898\uff1a\u5728\u67d0\u79cd\u7f51\u7edc\u73af\u5883\u4e0b\u4f1a\u5f71\u54cd<\/span><span>SPA<\/span><span>\u8ba4\u8bc1\uff0c\u6bd4\u5982\u51fa\u53e3<\/span><span>IP<\/span><span>\u4e0d\u6b62\u53ea\u6709\u4e00\u4e2a\uff0c\u5916\u7f51\u51fa\u53e3\u4f1a\u7ecf\u5e38\u53d8\u6362\uff0c\u5bfc\u81f4<\/span><span>SPA<\/span><span>\u8ba4\u8bc1\u548c\u8fde\u63a5\u8bf7\u6c42\u4ece\u4e24\u4e2a\u4e0d\u540c\u7684\u51fa\u53e3<\/span><span>IP<\/span><span>\u53d1\u51fa\u3002&nbsp;\u62df\u89e3\u51b3\u65b9\u6848\u4e3a\u4f7f\u7528TCP\u534f\u8bae\u8fdb\u884cSPA\u8ba4\u8bc1\uff0c\u4fee\u6539\u6e90\u7801\u4e2d\u5bf9\u6bcf\u4e2aTCP\u8fde\u63a51\u79d2\u8d85\u65f6\u7684\u9650\u5236\uff0c\u5f53\u67d0\u4e2asocket\u901a\u8fc7SPA\u8ba4\u8bc1\u540e\uff0c\u76f4\u63a5\u5c06\u6b64socket\u4f20\u7ed9\u4e1a\u52a1\u5c42\u3002<\/span><\/span>\n<\/p>\n<p style=\"text-indent:0pt;margin-left:18pt;\" class=\"NewStyle15\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><span><\/span><\/span>&nbsp;\n<\/p>\n<p style=\"text-indent:0pt;margin-left:18pt;\" class=\"NewStyle15\">\n\t<span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p style=\"text-indent:0pt;margin-left:18pt;\" class=\"NewStyle15\">\n\t<span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:12pt;\">TCP<span>\u8ba4\u8bc1\u65b9\u5f0f<\/span><\/span><span style=\"font-family:Calibri;font-size:12pt;\"><\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">\u9700\u8bbe\u7f6e<span>fwknopd.conf<\/span><span>\u6587\u4ef6\uff1a<\/span><\/span><span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">PCAP_FILTER<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"> <\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">port<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"> <\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">62;<\/span><span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">ENABLE_TCP_SERVER<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"> <\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">Y;<\/span><span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">TCPSERV_PORT<\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"> <\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">62;<\/span><span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p class=\"MsoNormal\">\n\t<span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\"><\/span><span style=\"font-family:\u5b8b\u4f53;font-size:10.5pt;\">ENABLE_TCP_SERVER<span>\u7528\u6765\u5f00\u653e\u4e00\u4e2a<\/span><span>TCP<\/span><span>\u7aef\u53e3\uff0c\u4f46\u8fd9\u4e2a\u7aef\u53e3\u53ea\u80fd\u7528\u4f5c\u63a5\u53d7<\/span><span>TCP<\/span><span>\u8fde\u63a5\u670d\u52a1\uff0c\u4e0d\u8d1f\u8d23\u63a5\u6536\u548c\u5904\u7406<\/span><span>SPA<\/span><span>\u62a5\u6587\uff0c\u6bcf\u4e2a\u8fde\u63a5<\/span><span>1<\/span><span>\u79d2\u540e\u5931\u6548\u3002\u63a5\u6536<\/span><span>SPA<\/span><span>\u62a5\u6587\u7531<\/span><span>PCAP<\/span><span>\u8d1f\u8d23\uff0c\u6240\u4ee5<\/span><span>PCAP_FILTER<\/span><span>\u9009\u9879\u9700\u5c06\u7aef\u53e3\u8bbe\u7f6e\u7684\u548c<\/span><span>TCP<\/span><span>\u7aef\u53e3\u4e00\u6837\u3002<\/span><\/span><span style=\"font-family:Calibri;font-size:10.5pt;\"><\/span>\n<\/p>\n<p><\/span> <\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\"><a href=\"https:\/\/github.com\/weizn11\/fwknop\"><span style=\"font-size:14px;\">https:\/\/github.com\/weizn11\/fwknop<\/span><\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p><span style=\"font-size:14px;\">Fwknop wiki url\uff1a<\/span><a href=\"http:\/\/www.cipherdyne.org\/fwknop\/docs\/fwknop-tutorial.html\"><span style=\"font-size:14px;\">http:\/\/www.cipherdyne.org\/fwknop\/docs\/fwknop-tutorial.html<\/span><\/a> <\/p>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\t<span style=\"text-align:justify;widows:1;text-transform:none;background-color:#ffffff;text-indent:0px;font:14px\/19px Calibri, sans-serif;white-space:normal;letter-spacing:normal;color:#444444;word-spacing:0px;-webkit-text-stroke-width:0px;\" lang=\"EN-US\">\u7b80\u5355\u8bf4\u6765\uff0c\u201c\u5355\u5305\u8ba4\u8bc1\uff08SPA\uff09\u201d\u673a\u5236\u5c31\u662f\u5728\u670d\u52a1\u5668\u4e0a\u5148\u5c4f\u853d\u6307\u5b9a\u7684\u670d\u52a1\/\u7aef\u53e3\uff0c\u5f53\u4e00\u4e2a\u7528\u6237\u5728\u8bf7\u6c42\u670d\u52a1\u65f6\uff0c\u5148\u5411\u670d\u52a1\u5668\u53d1\u9001\u4e00\u4e2aSPA\u6570\u636e\u5305\uff0c\u82e5\u670d\u52a1\u5668\u901a\u8fc7\u4e86\u8fd9\u4e2a\u8ba4\u8bc1\uff0c\u5219\u53ea\u4e3a\u53d1\u51fa\u8bf7\u6c42\u7684\u7528\u6237\u5f00\u653e\u670d\u52a1\u3002<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">&nbsp;<\/span>\n<\/p>\n<p>\n\t<span style=\"font-size:14px;\">\u8be6\u7ec6\u8fc7\u7a0b\uff1a<\/span><br \/>\n<span style=\"font-size:14px;\">1\uff0e\u670d\u52a1\u7aef\u9ed8\u8ba4\u53ea\u5141\u8bb8estab&#8230;<\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[335],"tags":[],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5229\u7528SPA\u9879\u76eefwknop\u4fdd\u62a4\u670d\u52a1 - Wayne&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/weizn.net\/?p=167\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5229\u7528SPA\u9879\u76eefwknop\u4fdd\u62a4\u670d\u52a1 - Wayne&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"Fwknop wiki url\uff1ahttp:\/\/www.cipherdyne.org\/fwknop\/docs\/fwknop-tutorial.html   &nbsp;    \u7b80\u5355\u8bf4\u6765\uff0c\u201c\u5355\u5305\u8ba4\u8bc1\uff08SPA\uff09\u201d\u673a\u5236\u5c31\u662f\u5728\u670d\u52a1\u5668\u4e0a\u5148\u5c4f\u853d\u6307\u5b9a\u7684\u670d\u52a1\/\u7aef\u53e3\uff0c\u5f53\u4e00\u4e2a\u7528\u6237\u5728\u8bf7\u6c42\u670d\u52a1\u65f6\uff0c\u5148\u5411\u670d\u52a1\u5668\u53d1\u9001\u4e00\u4e2aSPA\u6570\u636e\u5305\uff0c\u82e5\u670d\u52a1\u5668\u901a\u8fc7\u4e86\u8fd9\u4e2a\u8ba4\u8bc1\uff0c\u5219\u53ea\u4e3a\u53d1\u51fa\u8bf7\u6c42\u7684\u7528\u6237\u5f00\u653e\u670d\u52a1\u3002    &nbsp;    \u8be6\u7ec6\u8fc7\u7a0b\uff1a 1\uff0e\u670d\u52a1\u7aef\u9ed8\u8ba4\u53ea\u5141\u8bb8estab...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/weizn.net\/?p=167\" \/>\n<meta property=\"og:site_name\" content=\"Wayne&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-17T17:07:28+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/b6c31455770238.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"zinan\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/weizn.net\/#website\",\"url\":\"http:\/\/weizn.net\/\",\"name\":\"Wayne&#039;s Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/weizn.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/weizn.net\/?p=167#primaryimage\",\"inLanguage\":\"zh-Hans\",\"url\":\"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/b6c31455770238.png\",\"contentUrl\":\"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/b6c31455770238.png\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/weizn.net\/?p=167#webpage\",\"url\":\"http:\/\/weizn.net\/?p=167\",\"name\":\"\\u5229\\u7528SPA\\u9879\\u76eefwknop\\u4fdd\\u62a4\\u670d\\u52a1 - Wayne&#039;s Blog\",\"isPartOf\":{\"@id\":\"http:\/\/weizn.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/weizn.net\/?p=167#primaryimage\"},\"datePublished\":\"2016-02-17T17:07:28+00:00\",\"dateModified\":\"2016-02-17T17:07:28+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/weizn.net\/?p=167#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/weizn.net\/?p=167\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/weizn.net\/?p=167#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\\u9996\\u9875\",\"item\":\"http:\/\/weizn.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\\u5229\\u7528SPA\\u9879\\u76eefwknop\\u4fdd\\u62a4\\u670d\\u52a1\"}]},{\"@type\":\"Article\",\"@id\":\"http:\/\/weizn.net\/?p=167#article\",\"isPartOf\":{\"@id\":\"http:\/\/weizn.net\/?p=167#webpage\"},\"author\":{\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\"},\"headline\":\"\\u5229\\u7528SPA\\u9879\\u76eefwknop\\u4fdd\\u62a4\\u670d\\u52a1\",\"datePublished\":\"2016-02-17T17:07:28+00:00\",\"dateModified\":\"2016-02-17T17:07:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/weizn.net\/?p=167#webpage\"},\"wordCount\":282,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\"},\"image\":{\"@id\":\"http:\/\/weizn.net\/?p=167#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/b6c31455770238.png\",\"articleSection\":[\"SDP\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/weizn.net\/?p=167#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\",\"name\":\"zinan\",\"logo\":{\"@id\":\"http:\/\/weizn.net\/#personlogo\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5229\u7528SPA\u9879\u76eefwknop\u4fdd\u62a4\u670d\u52a1 - Wayne&#039;s Blog","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":"http:\/\/weizn.net\/?p=167","og_locale":"zh_CN","og_type":"article","og_title":"\u5229\u7528SPA\u9879\u76eefwknop\u4fdd\u62a4\u670d\u52a1 - Wayne&#039;s Blog","og_description":"Fwknop wiki url\uff1ahttp:\/\/www.cipherdyne.org\/fwknop\/docs\/fwknop-tutorial.html   &nbsp;    \u7b80\u5355\u8bf4\u6765\uff0c\u201c\u5355\u5305\u8ba4\u8bc1\uff08SPA\uff09\u201d\u673a\u5236\u5c31\u662f\u5728\u670d\u52a1\u5668\u4e0a\u5148\u5c4f\u853d\u6307\u5b9a\u7684\u670d\u52a1\/\u7aef\u53e3\uff0c\u5f53\u4e00\u4e2a\u7528\u6237\u5728\u8bf7\u6c42\u670d\u52a1\u65f6\uff0c\u5148\u5411\u670d\u52a1\u5668\u53d1\u9001\u4e00\u4e2aSPA\u6570\u636e\u5305\uff0c\u82e5\u670d\u52a1\u5668\u901a\u8fc7\u4e86\u8fd9\u4e2a\u8ba4\u8bc1\uff0c\u5219\u53ea\u4e3a\u53d1\u51fa\u8bf7\u6c42\u7684\u7528\u6237\u5f00\u653e\u670d\u52a1\u3002    &nbsp;    \u8be6\u7ec6\u8fc7\u7a0b\uff1a 1\uff0e\u670d\u52a1\u7aef\u9ed8\u8ba4\u53ea\u5141\u8bb8estab...","og_url":"http:\/\/weizn.net\/?p=167","og_site_name":"Wayne&#039;s Blog","article_published_time":"2016-02-17T17:07:28+00:00","og_image":[{"url":"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/b6c31455770238.png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"zinan","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"http:\/\/weizn.net\/#website","url":"http:\/\/weizn.net\/","name":"Wayne&#039;s Blog","description":"","publisher":{"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/weizn.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"ImageObject","@id":"http:\/\/weizn.net\/?p=167#primaryimage","inLanguage":"zh-Hans","url":"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/b6c31455770238.png","contentUrl":"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/b6c31455770238.png"},{"@type":"WebPage","@id":"http:\/\/weizn.net\/?p=167#webpage","url":"http:\/\/weizn.net\/?p=167","name":"\u5229\u7528SPA\u9879\u76eefwknop\u4fdd\u62a4\u670d\u52a1 - Wayne&#039;s Blog","isPartOf":{"@id":"http:\/\/weizn.net\/#website"},"primaryImageOfPage":{"@id":"http:\/\/weizn.net\/?p=167#primaryimage"},"datePublished":"2016-02-17T17:07:28+00:00","dateModified":"2016-02-17T17:07:28+00:00","breadcrumb":{"@id":"http:\/\/weizn.net\/?p=167#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/weizn.net\/?p=167"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/weizn.net\/?p=167#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/weizn.net\/"},{"@type":"ListItem","position":2,"name":"\u5229\u7528SPA\u9879\u76eefwknop\u4fdd\u62a4\u670d\u52a1"}]},{"@type":"Article","@id":"http:\/\/weizn.net\/?p=167#article","isPartOf":{"@id":"http:\/\/weizn.net\/?p=167#webpage"},"author":{"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264"},"headline":"\u5229\u7528SPA\u9879\u76eefwknop\u4fdd\u62a4\u670d\u52a1","datePublished":"2016-02-17T17:07:28+00:00","dateModified":"2016-02-17T17:07:28+00:00","mainEntityOfPage":{"@id":"http:\/\/weizn.net\/?p=167#webpage"},"wordCount":282,"commentCount":0,"publisher":{"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264"},"image":{"@id":"http:\/\/weizn.net\/?p=167#primaryimage"},"thumbnailUrl":"http:\/\/www.weizn.net\/content\/uploadfile\/201602\/b6c31455770238.png","articleSection":["SDP"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/weizn.net\/?p=167#respond"]}]},{"@type":["Person","Organization"],"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264","name":"zinan","logo":{"@id":"http:\/\/weizn.net\/#personlogo"}}]}},"_links":{"self":[{"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=167"}],"version-history":[{"count":0,"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions"}],"wp:attachment":[{"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}