{"id":124584,"date":"2026-11-19T06:48:37","date_gmt":"2026-11-18T22:48:37","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/124584.html"},"modified":"2026-11-19T06:48:37","modified_gmt":"2026-11-18T22:48:37","slug":"ysl%e8%af%ad%e6%9e%a2-%e7%9b%be%e7%94%b2waf%ef%bc%9a%e4%bb%8e%e6%9e%b6%e6%9e%84%e5%88%b0%e8%90%bd%e5%9c%b0%e7%9a%84%e5%85%a8%e9%93%be%e8%b7%af%e5%ae%9e%e8%b7%b5","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/124584.html","title":{"rendered":"YSL\u8bed\u67a2-\u76fe\u7532WAF\uff1a\u4ece\u67b6\u6784\u5230\u843d\u5730\u7684\u5168\u94fe\u8def\u5b9e\u8df5"},"content":{"rendered":"<p>        \/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/<br \/>\n        #content_views .toc,<br \/>\n        \/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/<br \/>\n        #content_views.markdown_views &gt; p:empty:has(+ .toc),<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty,<br \/>\n        \/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/<br \/>\n        #content_views.htmledit_views #main-toc,<br \/>\n        #content_views.htmledit_views #hr-toc,<br \/>\n        #content_views.htmledit_views p[id*=\\&#8221;-toc\\&#8221;] {<br \/>\n          display: none !important;<br \/>\n        }<br \/>\n        \/* \u76ee\u5f55\u53bb\u6389\u540e\uff0c\u7d27\u8ddf\u7684\u9996\u4e2a\u6807\u9898\u4e0d\u518d\u591a\u51fa\u4e00\u5757\u4e0a\u8fb9\u8ddd *\/<br \/>\n        #content_views.markdown_views &gt; .toc + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + h4,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h4 {<br \/>\n          margin-top: 0 !important;<br \/>\n        }<\/p>\n<h3>TL;DR<\/h3>\n<ul>\n<li>\u4f20\u7edf WAF \u89c4\u5219\u7ef4\u62a4\u91cd\u3001\u8bef\u62a5\u6f0f\u62a5\u96be\u5e73\u8861\u3001\u5bf9\u672a\u77e5\u653b\u51fb\u65e0\u80fd\u4e3a\u529b\u3002<\/li>\n<li>\u8bbe\u8ba1\u7406\u5ff5\u4e09\u5c42\u9012\u8fdb&#xff1a;\u770b\u5f97\u61c2\u8bed\u4e49\u3001\u5224\u5f97\u51c6\u98ce\u9669\u3001\u7ba1\u5f97\u4f4f\u7b56\u7565\u3002<\/li>\n<li>\u56db\u5c42\u67b6\u6784&#xff1a;\u63a5\u5165\u5c42\u3001\u68c0\u6d4b\u5c42\u3001\u51b3\u7b56\u5c42\u3001\u8fd0\u8425\u5c42&#xff0c;\u804c\u8d23\u6e05\u6670\u53ef\u6269\u5c55\u3002<\/li>\n<li>\u4e24\u5927\u6838\u5fc3\u80fd\u529b&#xff1a;\u8bed\u4e49\u7ea7\u653b\u51fb\u68c0\u6d4b\u4e0e\u884c\u4e3a\u57fa\u7ebf\u5efa\u6a21&#xff0c;\u4f4e\u8bef\u62a5\u4f4e\u5ef6\u8fdf\u3002<\/li>\n<li>\u843d\u5730\u8282\u594f&#xff1a;\u5148\u89c2\u5bdf\u3001\u518d\u7070\u5ea6\u3001\u540e\u5168\u91cf&#xff0c;\u914d\u5408\u8fd0\u8425\u95ed\u73af\u6301\u7eed\u8c03\u4f18\u3002<\/li>\n<\/ul>\n<h3>1. \u5f15\u8a00<\/h3>\n<p>\u5728 Web \u5e94\u7528\u4e0e API \u6210\u4e3a\u4e1a\u52a1\u4e3b\u5165\u53e3\u7684\u4eca\u5929&#xff0c;\u5b89\u5168\u9632\u62a4\u65e9\u5df2\u4e0d\u662f\u300c\u52a0\u4e2a\u9632\u706b\u5899\u300d\u5c31\u80fd\u89e3\u51b3\u7684\u95ee\u9898\u3002\u4f20\u7edf WAF \u4f9d\u8d56\u89c4\u5219\u5e93\u4e0e\u7279\u5f81\u5339\u914d&#xff0c;\u9762\u5bf9 0day \u6f0f\u6d1e\u3001\u81ea\u52a8\u5316\u722c\u866b\u3001\u4f4e\u9891\u6162\u901f\u653b\u51fb\u3001\u4e1a\u52a1\u903b\u8f91\u6ee5\u7528\u7b49\u573a\u666f\u65f6&#xff0c;\u5f80\u5f80\u9677\u5165\u300c\u8bef\u62a5\u9ad8\u3001\u6f0f\u62a5\u591a\u3001\u8fd0\u7ef4\u91cd\u300d\u7684\u4e09\u91cd\u56f0\u5883\u3002<\/p>\n<p>YSL \u8bed\u67a2-\u76fe\u7532 WAF \u6b63\u662f\u5728\u8fd9\u4e00\u80cc\u666f\u4e0b\u8bde\u751f\u7684\u667a\u80fd Web \u5e94\u7528\u9632\u62a4\u4f53\u7cfb\u3002\u5b83\u4ee5\u300c\u8bed\u4e49\u7406\u89e3 &#043; \u884c\u4e3a\u5efa\u6a21 &#043; \u52a8\u6001\u7b56\u7565\u300d\u4e3a\u6838\u5fc3&#xff0c;\u628a\u9632\u62a4\u4ece\u300c\u5339\u914d\u5df2\u77e5\u7279\u5f81\u300d\u63a8\u8fdb\u5230\u300c\u7406\u89e3\u8bf7\u6c42\u610f\u56fe\u300d&#xff0c;\u5728\u4fdd\u8bc1\u4f4e\u8bef\u62a5\u7684\u524d\u63d0\u4e0b&#xff0c;\u663e\u8457\u63d0\u5347\u5bf9\u672a\u77e5\u5a01\u80c1\u7684\u62e6\u622a\u80fd\u529b\u3002<\/p>\n<p>\u672c\u6587\u5c06\u4ece\u8bbe\u8ba1\u7406\u5ff5\u3001\u6574\u4f53\u67b6\u6784\u3001\u6838\u5fc3\u80fd\u529b\u3001\u90e8\u7f72\u5b9e\u8df5\u5230\u6548\u679c\u8bc4\u4f30&#xff0c;\u5b8c\u6574\u68b3\u7406\u76fe\u7532 WAF \u7684\u843d\u5730\u8def\u5f84&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u5efa\u7acb\u4e00\u5957\u53ef\u590d\u7528\u7684 Web \u5b89\u5168\u9632\u62a4\u601d\u8def\u3002<\/p>\n<h3>2. \u4e3a\u4ec0\u4e48\u9700\u8981\u65b0\u4e00\u4ee3 WAF<\/h3>\n<h4>2.1 \u4f20\u7edf WAF \u7684\u4e09\u5927\u75db\u70b9<\/h4>\n<ul>\n<li>\u89c4\u5219\u7ef4\u62a4\u6210\u672c\u9ad8&#xff1a;\u89c4\u5219\u5e93\u52a8\u8f84\u4e0a\u4e07\u6761&#xff0c;\u65b0\u589e\u4e1a\u52a1\u5c31\u8981\u8865\u89c4\u5219&#xff0c;\u89c4\u5219\u4e4b\u95f4\u8fd8\u5bb9\u6613\u51b2\u7a81\u3002<\/li>\n<li>\u8bef\u62a5\u4e0e\u6f0f\u62a5\u96be\u4ee5\u5e73\u8861&#xff1a;\u6b63\u5219\u5339\u914d\u8d8a\u4e25\u683c\u8bef\u62a5\u8d8a\u591a&#xff0c;\u8d8a\u5bbd\u677e\u6f0f\u62a5\u8d8a\u591a&#xff0c;\u4e1a\u52a1\u65b9\u4e0e\u5b89\u5168\u56e2\u961f\u957f\u671f\u62c9\u626f\u3002<\/li>\n<li>\u5bf9\u672a\u77e5\u653b\u51fb\u65e0\u80fd\u4e3a\u529b&#xff1a;\u57fa\u4e8e\u7279\u5f81\u5339\u914d\u7684\u65b9\u6848\u5929\u7136\u6ede\u540e\u4e8e\u653b\u51fb\u6f14\u8fdb&#xff0c;0day \u4e0e\u53d8\u5f62\u7ed5\u8fc7\u51e0\u4e4e\u65e0\u6cd5\u8986\u76d6\u3002<\/li>\n<\/ul>\n<h4>2.2 \u4e1a\u52a1\u4fa7\u7684\u65b0\u8bc9\u6c42<\/h4>\n<ul>\n<li>API \u4f18\u5148&#xff1a;\u5927\u91cf\u6d41\u91cf\u8d70 JSON \/ GraphQL \/ gRPC&#xff0c;\u4f20\u7edf\u57fa\u4e8e\u8868\u5355\u7684\u53c2\u6570\u89e3\u6790\u6a21\u578b\u5931\u6548\u3002<\/li>\n<li>\u4f4e\u5ef6\u8fdf&#xff1a;\u9632\u62a4\u94fe\u8def\u5fc5\u987b\u63a7\u5236\u5728\u6beb\u79d2\u7ea7&#xff0c;\u4e0d\u80fd\u6210\u4e3a\u4e1a\u52a1\u6027\u80fd\u74f6\u9888\u3002<\/li>\n<li>\u53ef\u89c2\u6d4b&#xff1a;\u5b89\u5168\u4e8b\u4ef6\u8981\u80fd\u5173\u8054\u4e1a\u52a1\u4e0a\u4e0b\u6587&#xff0c;\u4fbf\u4e8e\u5feb\u901f\u5b9a\u4f4d\u4e0e\u6eaf\u6e90\u3002<\/li>\n<li>\u53ef\u8fd0\u8425&#xff1a;\u7b56\u7565\u8981\u80fd\u7070\u5ea6\u3001\u53ef\u56de\u6eda&#xff0c;\u907f\u514d\u300c\u4e00\u5200\u5207\u300d\u5bfc\u81f4\u4e1a\u52a1\u4e2d\u65ad\u3002<\/li>\n<\/ul>\n<h3>3. \u76fe\u7532 WAF \u7684\u8bbe\u8ba1\u7406\u5ff5<\/h3>\n<p>\u76fe\u7532 WAF \u7684\u6838\u5fc3\u601d\u8def\u53ef\u4ee5\u6982\u62ec\u4e3a\u4e09\u5c42\u9012\u8fdb&#xff1a;<\/p>\n<li>\u770b\u5f97\u61c2&#xff1a;\u5bf9\u8bf7\u6c42\u505a\u8bed\u4e49\u7ea7\u89e3\u6790&#xff0c;\u8fd8\u539f\u53c2\u6570\u7ed3\u6784\u3001\u7f16\u7801\u5c42\u7ea7\u4e0e\u4e1a\u52a1\u8bed\u4e49&#xff0c;\u800c\u4e0d\u662f\u505c\u7559\u5728\u5b57\u7b26\u4e32\u5339\u914d\u3002<\/li>\n<li>\u5224\u5f97\u51c6&#xff1a;\u7ed3\u5408\u89c4\u5219\u3001\u8bed\u4e49\u6a21\u578b\u4e0e\u884c\u4e3a\u57fa\u7ebf&#xff0c;\u591a\u7ef4\u5ea6\u6253\u5206&#xff0c;\u8f93\u51fa\u98ce\u9669\u7b49\u7ea7\u800c\u975e\u7b80\u5355\u7684\u300c\u62e6\u622a\/\u653e\u884c\u300d\u3002<\/li>\n<li>\u7ba1\u5f97\u4f4f&#xff1a;\u7b56\u7565\u652f\u6301\u7070\u5ea6\u53d1\u5e03\u3001\u6309\u4e1a\u52a1\u7ebf\u9694\u79bb\u3001\u4e00\u952e\u56de\u6eda&#xff0c;\u8ba9\u5b89\u5168\u8fd0\u8425\u53ef\u6301\u7eed\u3002<\/li>\n<p>\u4e00\u53e5\u8bdd\u603b\u7ed3&#xff1a;\u4ece\u300c\u7279\u5f81\u5bf9\u6297\u300d\u8d70\u5411\u300c\u610f\u56fe\u8bc6\u522b\u300d&#xff0c;\u4ece\u300c\u5355\u70b9\u62e6\u622a\u300d\u8d70\u5411\u300c\u5168\u94fe\u8def\u6cbb\u7406\u300d\u3002<\/p>\n<h3>4. \u6574\u4f53\u67b6\u6784<\/h3>\n<p>\u76fe\u7532 WAF \u91c7\u7528\u300c\u63a5\u5165\u5c42 &#8211; \u68c0\u6d4b\u5c42 &#8211; \u51b3\u7b56\u5c42 &#8211; \u8fd0\u8425\u5c42\u300d\u7684\u5206\u5c42\u67b6\u6784&#xff0c;\u5404\u5c42\u804c\u8d23\u6e05\u6670\u3001\u53ef\u72ec\u7acb\u6269\u5c55\u3002<\/p>\n<p>#mermaid-svg-uwQotUci9WyftMal{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-uwQotUci9WyftMal .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-uwQotUci9WyftMal .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-uwQotUci9WyftMal .error-icon{fill:#552222;}#mermaid-svg-uwQotUci9WyftMal .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-uwQotUci9WyftMal .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-uwQotUci9WyftMal .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-uwQotUci9WyftMal .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-uwQotUci9WyftMal .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-uwQotUci9WyftMal .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-uwQotUci9WyftMal .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-uwQotUci9WyftMal .marker{fill:#333333;stroke:#333333;}#mermaid-svg-uwQotUci9WyftMal .marker.cross{stroke:#333333;}#mermaid-svg-uwQotUci9WyftMal svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-uwQotUci9WyftMal p{margin:0;}#mermaid-svg-uwQotUci9WyftMal .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-uwQotUci9WyftMal .cluster-label text{fill:#333;}#mermaid-svg-uwQotUci9WyftMal .cluster-label span{color:#333;}#mermaid-svg-uwQotUci9WyftMal .cluster-label span p{background-color:transparent;}#mermaid-svg-uwQotUci9WyftMal .label text,#mermaid-svg-uwQotUci9WyftMal span{fill:#333;color:#333;}#mermaid-svg-uwQotUci9WyftMal .node rect,#mermaid-svg-uwQotUci9WyftMal .node circle,#mermaid-svg-uwQotUci9WyftMal .node ellipse,#mermaid-svg-uwQotUci9WyftMal .node polygon,#mermaid-svg-uwQotUci9WyftMal .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-uwQotUci9WyftMal .rough-node .label text,#mermaid-svg-uwQotUci9WyftMal .node .label text,#mermaid-svg-uwQotUci9WyftMal .image-shape .label,#mermaid-svg-uwQotUci9WyftMal .icon-shape .label{text-anchor:middle;}#mermaid-svg-uwQotUci9WyftMal .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-uwQotUci9WyftMal .rough-node .label,#mermaid-svg-uwQotUci9WyftMal .node .label,#mermaid-svg-uwQotUci9WyftMal .image-shape .label,#mermaid-svg-uwQotUci9WyftMal .icon-shape .label{text-align:center;}#mermaid-svg-uwQotUci9WyftMal .node.clickable{cursor:pointer;}#mermaid-svg-uwQotUci9WyftMal .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-uwQotUci9WyftMal .arrowheadPath{fill:#333333;}#mermaid-svg-uwQotUci9WyftMal .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-uwQotUci9WyftMal .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-uwQotUci9WyftMal .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-uwQotUci9WyftMal .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-uwQotUci9WyftMal .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-uwQotUci9WyftMal .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-uwQotUci9WyftMal .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-uwQotUci9WyftMal .cluster text{fill:#333;}#mermaid-svg-uwQotUci9WyftMal .cluster span{color:#333;}#mermaid-svg-uwQotUci9WyftMal div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-uwQotUci9WyftMal .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-uwQotUci9WyftMal rect.text{fill:none;stroke-width:0;}#mermaid-svg-uwQotUci9WyftMal .icon-shape,#mermaid-svg-uwQotUci9WyftMal .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-uwQotUci9WyftMal .icon-shape p,#mermaid-svg-uwQotUci9WyftMal .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-uwQotUci9WyftMal .icon-shape .label rect,#mermaid-svg-uwQotUci9WyftMal .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-uwQotUci9WyftMal .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-uwQotUci9WyftMal .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-uwQotUci9WyftMal :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u653e\u884c<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u62e6\u622a\/\u6311\u6218<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5ba2\u6237\u7aef\u8bf7\u6c42<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u63a5\u5165\u5c42&#xff1a;\u6d41\u91cf\u63a5\u5165\u4e0e\u534f\u8bae\u89e3\u6790<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u68c0\u6d4b\u5c42&#xff1a;\u8bed\u4e49\u89e3\u6790 &#043; \u89c4\u5219\u5f15\u64ce &#043; \u884c\u4e3a\u6a21\u578b<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u51b3\u7b56\u5c42&#xff1a;\u98ce\u9669\u6253\u5206\u4e0e\u7b56\u7565\u88c1\u51b3<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u4e1a\u52a1\u670d\u52a1<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u963b\u65ad\u4e0e\u9a8c\u8bc1<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8fd0\u8425\u5c42&#xff1a;\u65e5\u5fd7\u3001\u544a\u8b66\u3001\u7b56\u7565\u7ba1\u7406<\/p>\n<p><\/span><\/p>\n<h4>4.1 \u63a5\u5165\u5c42<\/h4>\n<ul>\n<li>\u652f\u6301\u53cd\u5411\u4ee3\u7406\u3001SDK \u5d4c\u5165\u3001\u4e91\u539f\u751f Sidecar \u4e09\u79cd\u63a5\u5165\u65b9\u5f0f\u3002<\/li>\n<li>\u5b8c\u6210 TLS \u5378\u8f7d\u3001HTTP\/2 \u4e0e WebSocket \u534f\u8bae\u89e3\u6790\u3001\u8bf7\u6c42\u4f53\u89e3\u538b\u4e0e\u7f16\u7801\u8fd8\u539f\u3002<\/li>\n<li>\u5bf9\u8d85\u5927\u8bf7\u6c42\u4f53\u3001\u5206\u5757\u4f20\u8f93\u505a\u6d41\u5f0f\u5904\u7406&#xff0c;\u907f\u514d\u5185\u5b58\u653e\u5927\u3002<\/li>\n<\/ul>\n<h4>4.2 \u68c0\u6d4b\u5c42<\/h4>\n<p>\u68c0\u6d4b\u5c42\u662f\u76fe\u7532\u7684\u300c\u5927\u8111\u300d&#xff0c;\u7531\u4e09\u4e2a\u5f15\u64ce\u534f\u540c\u5de5\u4f5c&#xff1a;<\/p>\n<ul>\n<li>\u8bed\u4e49\u89e3\u6790\u5f15\u64ce&#xff1a;\u628a\u8bf7\u6c42\u8fd8\u539f\u4e3a\u7ed3\u6784\u5316\u7684\u300c\u53c2\u6570\u6811\u300d&#xff0c;\u8bc6\u522b\u591a\u5c42\u7f16\u7801\u3001JSON \u5d4c\u5957\u3001\u6570\u7ec4\u7ed5\u8fc7\u7b49\u53d8\u5f62\u624b\u6cd5\u3002<\/li>\n<li>\u89c4\u5219\u5f15\u64ce&#xff1a;\u627f\u8f7d\u9ad8\u5371\u7279\u5f81\u3001\u865a\u62df\u8865\u4e01\u4e0e\u81ea\u5b9a\u4e49\u89c4\u5219&#xff0c;\u652f\u6301\u70ed\u66f4\u65b0\u3002<\/li>\n<li>\u884c\u4e3a\u6a21\u578b&#xff1a;\u57fa\u4e8e\u8bbf\u95ee\u9891\u7387\u3001\u8def\u5f84\u5e8f\u5217\u3001\u53c2\u6570\u5206\u5e03\u5efa\u7acb\u57fa\u7ebf&#xff0c;\u8bc6\u522b\u4f4e\u9891\u6162\u901f\u4e0e\u4e1a\u52a1\u903b\u8f91\u6ee5\u7528\u3002<\/li>\n<\/ul>\n<h4>4.3 \u51b3\u7b56\u5c42<\/h4>\n<p>\u51b3\u7b56\u5c42\u5c06\u5404\u5f15\u64ce\u7684\u8f93\u51fa\u5f52\u4e00\u5316\u4e3a\u98ce\u9669\u5206&#xff0c;\u5e76\u6309\u7b56\u7565\u914d\u7f6e\u8f93\u51fa\u52a8\u4f5c&#xff1a;<\/p>\n<table>\n<tr>\u98ce\u9669\u7b49\u7ea7\u5206\u6570\u533a\u95f4\u9ed8\u8ba4\u52a8\u4f5c<\/tr>\n<tbody>\n<tr>\n<td>\u4f4e<\/td>\n<td>0 &#8211; 30<\/td>\n<td>\u653e\u884c\u5e76\u8bb0\u5f55<\/td>\n<\/tr>\n<tr>\n<td>\u4e2d<\/td>\n<td>31 &#8211; 70<\/td>\n<td>\u653e\u884c &#043; \u589e\u5f3a\u5ba1\u8ba1<\/td>\n<\/tr>\n<tr>\n<td>\u9ad8<\/td>\n<td>71 &#8211; 90<\/td>\n<td>\u4eba\u673a\u6311\u6218 \/ \u9650\u901f<\/td>\n<\/tr>\n<tr>\n<td>\u6781\u9ad8<\/td>\n<td>91 &#8211; 100<\/td>\n<td>\u76f4\u63a5\u62e6\u622a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>4.4 \u8fd0\u8425\u5c42<\/h4>\n<ul>\n<li>\u7edf\u4e00\u65e5\u5fd7\u4e0e\u4e8b\u4ef6\u4e2d\u5fc3&#xff0c;\u652f\u6301\u6309\u4e1a\u52a1\u7ebf\u3001\u653b\u51fb\u7c7b\u578b\u3001\u65f6\u95f4\u7a97\u53e3\u591a\u7ef4\u68c0\u7d22\u3002<\/li>\n<li>\u7b56\u7565\u7070\u5ea6&#xff1a;\u65b0\u89c4\u5219\u5148\u4ee5\u300c\u89c2\u5bdf\u6a21\u5f0f\u300d\u8fd0\u884c&#xff0c;\u786e\u8ba4\u8bef\u62a5\u7387\u8fbe\u6807\u540e\u518d\u5207\u6362\u4e3a\u62e6\u622a\u3002<\/li>\n<li>\u4e00\u952e\u56de\u6eda&#xff1a;\u7b56\u7565\u53d8\u66f4\u5168\u7a0b\u7559\u75d5&#xff0c;\u5f02\u5e38\u65f6\u53ef\u79d2\u7ea7\u56de\u9000\u3002<\/li>\n<\/ul>\n<h3>5. \u6838\u5fc3\u80fd\u529b\u8be6\u89e3<\/h3>\n<h4>5.1 \u8bed\u4e49\u7ea7\u653b\u51fb\u68c0\u6d4b<\/h4>\n<p>\u4f20\u7edf WAF \u5bf9 1&#039; or &#039;1&#039;&#061;&#039;1 \u8fd9\u7c7b payload \u9760\u6b63\u5219\u5339\u914d&#xff0c;\u7a0d\u52a0\u53d8\u5f62&#xff08;\u5982 URL \u53cc\u91cd\u7f16\u7801\u3001Unicode \u6df7\u6dc6\u3001\u6ce8\u91ca\u63d2\u5165&#xff09;\u5373\u53ef\u7ed5\u8fc7\u3002\u76fe\u7532\u7684\u505a\u6cd5\u662f\u5148\u5f52\u4e00\u5316\u518d\u8bed\u4e49\u5206\u6790&#xff1a;<\/p>\n<p><span class=\"token keyword\">import<\/span> urllib<span class=\"token punctuation\">.<\/span>parse<\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">normalize<\/span><span class=\"token punctuation\">(<\/span>payload<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u591a\u5c42\u89e3\u7801 &#043; \u53bb\u6ce8\u91ca&#xff0c;\u8fd8\u539f\u653b\u51fb\u8f7d\u8377\u7684\u771f\u5b9e\u8bed\u4e49&#034;&#034;&#034;<\/span><br \/>\n    prev <span class=\"token operator\">&#061;<\/span> <span class=\"token boolean\">None<\/span><br \/>\n    cur <span class=\"token operator\">&#061;<\/span> payload<br \/>\n    <span class=\"token comment\"># \u53cd\u590d\u89e3\u7801\u76f4\u5230\u7a33\u5b9a&#xff0c;\u9632\u6b62\u591a\u91cd\u7f16\u7801\u7ed5\u8fc7<\/span><br \/>\n    <span class=\"token keyword\">while<\/span> prev <span class=\"token operator\">!&#061;<\/span> cur<span class=\"token punctuation\">:<\/span><br \/>\n        prev <span class=\"token operator\">&#061;<\/span> cur<br \/>\n        cur <span class=\"token operator\">&#061;<\/span> urllib<span class=\"token punctuation\">.<\/span>parse<span class=\"token punctuation\">.<\/span>unquote_plus<span class=\"token punctuation\">(<\/span>cur<span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token comment\"># \u53bb\u9664 SQL \u6ce8\u91ca\u7b26&#xff0c;\u907f\u514d \/*!*\/ \u4e4b\u7c7b\u7684\u6df7\u6dc6<\/span><br \/>\n    <span class=\"token keyword\">for<\/span> token <span class=\"token keyword\">in<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\/**\/&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#8211;&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;#&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        cur <span class=\"token operator\">&#061;<\/span> cur<span class=\"token punctuation\">.<\/span>replace<span class=\"token punctuation\">(<\/span>token<span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034; &#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token string\">&#034; &#034;<\/span><span class=\"token punctuation\">.<\/span>join<span class=\"token punctuation\">(<\/span>cur<span class=\"token punctuation\">.<\/span>split<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">if<\/span> __name__ <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token string\">&#034;__main__&#034;<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    raw <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;1%2527%2520or%2520%25271%2527%253D%25271&#034;<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span>normalize<span class=\"token punctuation\">(<\/span>raw<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token comment\"># \u8f93\u51fa: 1&#039; or &#039;1&#039;&#061;&#039;1<\/span><\/p>\n<p>\u5f52\u4e00\u5316\u4e4b\u540e&#xff0c;\u518d\u4ea4\u7ed9\u8bed\u4e49\u6a21\u578b\u5224\u65ad\u300c\u8fd9\u662f\u5426\u6784\u6210\u4e00\u6b21\u6ce8\u5165\u610f\u56fe\u300d&#xff0c;\u800c\u4e0d\u662f\u7b80\u5355\u5339\u914d\u5173\u952e\u5b57&#xff0c;\u4ece\u800c\u5927\u5e45\u964d\u4f4e\u8bef\u62a5\u3002<\/p>\n<h4>5.2 \u884c\u4e3a\u57fa\u7ebf\u5efa\u6a21<\/h4>\n<p>\u9488\u5bf9\u722c\u866b\u4e0e\u649e\u5e93&#xff0c;\u76fe\u7532\u4e3a\u6bcf\u4e2a\u4e1a\u52a1\u5b9e\u4f53&#xff08;IP\u3001\u8d26\u53f7\u3001\u8bbe\u5907\u6307\u7eb9&#xff09;\u5efa\u7acb\u884c\u4e3a\u57fa\u7ebf&#xff1a;<\/p>\n<ul>\n<li>\u9891\u7387\u7ef4\u5ea6&#xff1a;\u5355\u4f4d\u65f6\u95f4\u8bf7\u6c42\u6570\u3001\u5931\u8d25\u7387\u3001\u8def\u5f84\u79bb\u6563\u5ea6\u3002<\/li>\n<li>\u5e8f\u5217\u7ef4\u5ea6&#xff1a;\u8bbf\u95ee\u8def\u5f84\u662f\u5426\u7b26\u5408\u6b63\u5e38\u7528\u6237\u7684\u64cd\u4f5c\u94fe\u8def\u3002<\/li>\n<li>\u5206\u5e03\u7ef4\u5ea6&#xff1a;\u53c2\u6570\u53d6\u503c\u662f\u5426\u504f\u79bb\u5386\u53f2\u5206\u5e03\u3002<\/li>\n<\/ul>\n<p>\u5f53\u504f\u79bb\u5ea6\u8d85\u8fc7\u9608\u503c\u65f6&#xff0c;\u89e6\u53d1\u4eba\u673a\u6311\u6218\u6216\u9650\u901f&#xff0c;\u800c\u975e\u76f4\u63a5\u5c01\u7981&#xff0c;\u517c\u987e\u5b89\u5168\u4e0e\u4f53\u9a8c\u3002<\/p>\n<h4>5.3 \u865a\u62df\u8865\u4e01<\/h4>\n<p>\u5728\u4e1a\u52a1\u65b9\u6765\u4e0d\u53ca\u4fee\u590d\u6f0f\u6d1e\u65f6&#xff0c;\u76fe\u7532\u53ef\u901a\u8fc7\u865a\u62df\u8865\u4e01\u5728 WAF \u5c42\u4e34\u65f6\u963b\u65ad\u653b\u51fb\u6d41\u91cf\u3002\u4f8b\u5982\u9488\u5bf9\u67d0\u63a5\u53e3\u7684\u8def\u5f84\u7a7f\u8d8a\u98ce\u9669&#xff1a;<\/p>\n<p><span class=\"token key atrule\">rule<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">name<\/span><span class=\"token punctuation\">:<\/span> block<span class=\"token punctuation\">&#8211;<\/span>path<span class=\"token punctuation\">&#8211;<\/span>traversal<br \/>\n  <span class=\"token key atrule\">match<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">path<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\/api\/file\/download&#034;<\/span><br \/>\n    <span class=\"token key atrule\">args<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token key atrule\">filename<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;.*(\\\\\\\\.\\\\\\\\.\/|\\\\\\\\.\\\\\\\\.\\\\\\\\\\\\\\\\).*&#034;<\/span><br \/>\n  <span class=\"token key atrule\">action<\/span><span class=\"token punctuation\">:<\/span> block<br \/>\n  <span class=\"token key atrule\">mode<\/span><span class=\"token punctuation\">:<\/span> observe   <span class=\"token comment\"># \u5148\u89c2\u5bdf&#xff0c;\u786e\u8ba4\u65e0\u8bef\u62a5\u540e\u6539\u4e3a block<\/span><\/p>\n<p>\u865a\u62df\u8865\u4e01\u7684\u4ef7\u503c\u5728\u4e8e\u4e3a\u4fee\u590d\u4e89\u53d6\u65f6\u95f4&#xff0c;\u4f46\u5b83\u53ea\u662f\u7f13\u89e3\u624b\u6bb5&#xff0c;\u4e0d\u80fd\u66ff\u4ee3\u4ee3\u7801\u4fee\u590d\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118224836-6afe2b4442be0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>5.4 \u4eba\u673a\u6311\u6218\u4e0e Bot \u7ba1\u7406<\/h4>\n<ul>\n<li>\u5bf9\u7591\u4f3c\u81ea\u52a8\u5316\u6d41\u91cf\u4e0b\u53d1 JS \u6311\u6218\u6216\u9a8c\u8bc1\u7801&#xff0c;\u6b63\u5e38\u7528\u6237\u65e0\u611f\u901a\u8fc7\u3002<\/li>\n<li>\u652f\u6301\u6309 UA\u3001\u6307\u7eb9\u3001\u884c\u4e3a\u7279\u5f81\u5bf9 Bot \u5206\u7c7b&#xff0c;\u533a\u5206\u641c\u7d22\u5f15\u64ce\u3001\u76d1\u63a7\u63a2\u9488\u4e0e\u6076\u610f\u722c\u866b\u3002<\/li>\n<li>\u6311\u6218\u7ed3\u679c\u56de\u6d41\u6a21\u578b&#xff0c;\u6301\u7eed\u4f18\u5316\u8bc6\u522b\u51c6\u786e\u7387\u3002<\/li>\n<\/ul>\n<h3>6. \u90e8\u7f72\u5b9e\u8df5<\/h3>\n<h4>6.1 \u63a5\u5165\u65b9\u5f0f\u9009\u578b<\/h4>\n<table>\n<tr>\u63a5\u5165\u65b9\u5f0f\u9002\u7528\u573a\u666f\u4f18\u70b9\u6ce8\u610f\u4e8b\u9879<\/tr>\n<tbody>\n<tr>\n<td>\u53cd\u5411\u4ee3\u7406<\/td>\n<td>\u4f20\u7edf IDC \/ \u5355\u4f53\u5e94\u7528<\/td>\n<td>\u96f6\u6539\u9020\u3001\u4e0a\u7ebf\u5feb<\/td>\n<td>\u9700\u5173\u6ce8\u94fe\u8def\u5ef6\u8fdf<\/td>\n<\/tr>\n<tr>\n<td>SDK \u5d4c\u5165<\/td>\n<td>\u5fae\u670d\u52a1\u3001\u9700\u8981\u4e1a\u52a1\u4e0a\u4e0b\u6587<\/td>\n<td>\u53ef\u83b7\u53d6\u5b8c\u6574\u4e1a\u52a1\u53c2\u6570<\/td>\n<td>\u9700\u5f15\u5165\u4f9d\u8d56\u5e76\u5347\u7ea7<\/td>\n<\/tr>\n<tr>\n<td>Sidecar<\/td>\n<td>Kubernetes \u4e91\u539f\u751f<\/td>\n<td>\u4e0e\u4e1a\u52a1\u540c\u751f\u547d\u5468\u671f<\/td>\n<td>\u9700\u89c4\u5212\u8d44\u6e90\u914d\u989d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>6.2 \u7070\u5ea6\u4e0a\u7ebf\u6b65\u9aa4<\/h4>\n<li>\u89c2\u5bdf\u6a21\u5f0f&#xff1a;\u5168\u91cf\u63a5\u5165\u4f46\u53ea\u8bb0\u5f55\u4e0d\u62e6\u622a&#xff0c;\u6536\u96c6 1-2 \u5468\u57fa\u7ebf\u6570\u636e\u3002<\/li>\n<li>\u5c0f\u6d41\u91cf\u62e6\u622a&#xff1a;\u9009\u53d6\u4f4e\u98ce\u9669\u4e1a\u52a1\u7ebf\u5f00\u542f\u62e6\u622a&#xff0c;\u76d1\u63a7\u8bef\u62a5\u3002<\/li>\n<li>\u9010\u6b65\u653e\u91cf&#xff1a;\u6309 10% \u2192 30% \u2192 100% \u9010\u6b65\u6269\u5927\u62e6\u622a\u8303\u56f4\u3002<\/li>\n<li>\u5e38\u6001\u5316\u8fd0\u8425&#xff1a;\u5efa\u7acb\u89c4\u5219\u8bc4\u5ba1\u4e0e\u5e94\u6025\u54cd\u5e94\u673a\u5236\u3002<\/li>\n<h4>6.3 \u5173\u952e\u914d\u7f6e\u5efa\u8bae<\/h4>\n<ul>\n<li>\u8bf7\u6c42\u4f53\u68c0\u6d4b\u4e0a\u9650\u5efa\u8bae\u4e0d\u4f4e\u4e8e 1MB&#xff0c;\u907f\u514d\u5927 Body \u653b\u51fb\u6f0f\u68c0\u3002<\/li>\n<li>\u5bf9\u4e0a\u4f20\u63a5\u53e3\u5355\u72ec\u914d\u7f6e\u7b56\u7565&#xff0c;\u907f\u514d\u6587\u4ef6\u5185\u5bb9\u88ab\u8bef\u5224\u4e3a\u653b\u51fb\u8f7d\u8377\u3002<\/li>\n<li>\u767d\u540d\u5355\u8981\u7cbe\u786e\u5230\u300c\u8def\u5f84 &#043; \u53c2\u6570\u300d&#xff0c;\u907f\u514d\u6574\u7ad9\u653e\u884c\u3002<\/li>\n<\/ul>\n<h3>7. \u6548\u679c\u8bc4\u4f30\u4e0e\u8fd0\u8425<\/h3>\n<h4>7.1 \u8bc4\u4f30\u6307\u6807<\/h4>\n<ul>\n<li>\u68c0\u51fa\u7387&#xff1a;\u5bf9\u5df2\u77e5\u653b\u51fb\u6837\u672c\u7684\u62e6\u622a\u6bd4\u4f8b\u3002<\/li>\n<li>\u8bef\u62a5\u7387&#xff1a;\u6b63\u5e38\u8bf7\u6c42\u88ab\u62e6\u622a\u7684\u6bd4\u4f8b&#xff0c;\u5efa\u8bae\u63a7\u5236\u5728 0.1% \u4ee5\u4e0b\u3002<\/li>\n<li>\u5e73\u5747\u68c0\u6d4b\u5ef6\u8fdf&#xff1a;\u5355\u8bf7\u6c42\u589e\u52a0\u7684\u5904\u7406\u8017\u65f6&#xff0c;\u76ee\u6807 &lt; 5ms\u3002<\/li>\n<li>\u7b56\u7565\u751f\u6548\u65f6\u5ef6&#xff1a;\u4ece\u7b56\u7565\u4e0b\u53d1\u5230\u5168\u8282\u70b9\u751f\u6548\u7684\u65f6\u95f4\u3002<\/li>\n<\/ul>\n<h4>7.2 \u6301\u7eed\u8fd0\u8425\u95ed\u73af<\/h4>\n<p>#mermaid-svg-tFuJf23fnnTAjrnu{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-tFuJf23fnnTAjrnu .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-tFuJf23fnnTAjrnu .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-tFuJf23fnnTAjrnu .error-icon{fill:#552222;}#mermaid-svg-tFuJf23fnnTAjrnu .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-tFuJf23fnnTAjrnu .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-tFuJf23fnnTAjrnu .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-tFuJf23fnnTAjrnu .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-tFuJf23fnnTAjrnu .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-tFuJf23fnnTAjrnu .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-tFuJf23fnnTAjrnu .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-tFuJf23fnnTAjrnu .marker{fill:#333333;stroke:#333333;}#mermaid-svg-tFuJf23fnnTAjrnu .marker.cross{stroke:#333333;}#mermaid-svg-tFuJf23fnnTAjrnu svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-tFuJf23fnnTAjrnu p{margin:0;}#mermaid-svg-tFuJf23fnnTAjrnu .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-tFuJf23fnnTAjrnu .cluster-label text{fill:#333;}#mermaid-svg-tFuJf23fnnTAjrnu .cluster-label span{color:#333;}#mermaid-svg-tFuJf23fnnTAjrnu .cluster-label span p{background-color:transparent;}#mermaid-svg-tFuJf23fnnTAjrnu .label text,#mermaid-svg-tFuJf23fnnTAjrnu span{fill:#333;color:#333;}#mermaid-svg-tFuJf23fnnTAjrnu .node rect,#mermaid-svg-tFuJf23fnnTAjrnu .node circle,#mermaid-svg-tFuJf23fnnTAjrnu .node ellipse,#mermaid-svg-tFuJf23fnnTAjrnu .node polygon,#mermaid-svg-tFuJf23fnnTAjrnu .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-tFuJf23fnnTAjrnu .rough-node .label text,#mermaid-svg-tFuJf23fnnTAjrnu .node .label text,#mermaid-svg-tFuJf23fnnTAjrnu .image-shape .label,#mermaid-svg-tFuJf23fnnTAjrnu .icon-shape .label{text-anchor:middle;}#mermaid-svg-tFuJf23fnnTAjrnu .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-tFuJf23fnnTAjrnu .rough-node .label,#mermaid-svg-tFuJf23fnnTAjrnu .node .label,#mermaid-svg-tFuJf23fnnTAjrnu .image-shape .label,#mermaid-svg-tFuJf23fnnTAjrnu .icon-shape .label{text-align:center;}#mermaid-svg-tFuJf23fnnTAjrnu .node.clickable{cursor:pointer;}#mermaid-svg-tFuJf23fnnTAjrnu .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-tFuJf23fnnTAjrnu .arrowheadPath{fill:#333333;}#mermaid-svg-tFuJf23fnnTAjrnu .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-tFuJf23fnnTAjrnu .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-tFuJf23fnnTAjrnu .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-tFuJf23fnnTAjrnu .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-tFuJf23fnnTAjrnu .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-tFuJf23fnnTAjrnu .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-tFuJf23fnnTAjrnu .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-tFuJf23fnnTAjrnu .cluster text{fill:#333;}#mermaid-svg-tFuJf23fnnTAjrnu .cluster span{color:#333;}#mermaid-svg-tFuJf23fnnTAjrnu div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-tFuJf23fnnTAjrnu .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-tFuJf23fnnTAjrnu rect.text{fill:none;stroke-width:0;}#mermaid-svg-tFuJf23fnnTAjrnu .icon-shape,#mermaid-svg-tFuJf23fnnTAjrnu .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-tFuJf23fnnTAjrnu .icon-shape p,#mermaid-svg-tFuJf23fnnTAjrnu .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-tFuJf23fnnTAjrnu .icon-shape .label rect,#mermaid-svg-tFuJf23fnnTAjrnu .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-tFuJf23fnnTAjrnu .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-tFuJf23fnnTAjrnu .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-tFuJf23fnnTAjrnu :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6d41\u91cf\u63a5\u5165<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u68c0\u6d4b\u4e0e\u62e6\u622a<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u4e8b\u4ef6\u544a\u8b66<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u4eba\u5de5\u7814\u5224<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7b56\u7565\u8c03\u4f18<\/p>\n<p><\/span><\/p>\n<p>\u5b89\u5168\u9632\u62a4\u4e0d\u662f\u4e00\u6b21\u6027\u5de5\u7a0b&#xff0c;\u800c\u662f\u300c\u68c0\u6d4b &#8211; \u544a\u8b66 &#8211; \u7814\u5224 &#8211; \u8c03\u4f18\u300d\u7684\u6301\u7eed\u5faa\u73af\u3002\u53ea\u6709\u628a\u8fd0\u8425\u95ed\u73af\u8dd1\u901a&#xff0c;WAF \u624d\u80fd\u771f\u6b63\u53d1\u6325\u4ef7\u503c\u3002<\/p>\n<h3>8. \u603b\u7ed3<\/h3>\n<p>YSL \u8bed\u67a2-\u76fe\u7532 WAF \u901a\u8fc7\u8bed\u4e49\u89e3\u6790\u3001\u884c\u4e3a\u5efa\u6a21\u4e0e\u52a8\u6001\u7b56\u7565&#xff0c;\u628a Web \u9632\u62a4\u4ece\u300c\u89c4\u5219\u5806\u53e0\u300d\u5347\u7ea7\u4e3a\u300c\u610f\u56fe\u8bc6\u522b\u300d&#xff0c;\u5728\u4f4e\u8bef\u62a5\u3001\u4f4e\u5ef6\u8fdf\u7684\u524d\u63d0\u4e0b\u8986\u76d6\u672a\u77e5\u5a01\u80c1\u4e0e\u4e1a\u52a1\u6ee5\u7528\u573a\u666f\u3002<\/p>\n<p>\u843d\u5730\u65f6\u5efa\u8bae\u9075\u5faa\u300c\u5148\u89c2\u5bdf\u3001\u518d\u7070\u5ea6\u3001\u540e\u5168\u91cf\u300d\u7684\u8282\u594f&#xff0c;\u914d\u5408\u5b8c\u5584\u7684\u8fd0\u8425\u95ed\u73af&#xff0c;\u8ba9\u5b89\u5168\u80fd\u529b\u771f\u6b63\u878d\u5165\u4e1a\u52a1&#xff0c;\u800c\u4e0d\u662f\u6210\u4e3a\u4e1a\u52a1\u7684\u8d1f\u62c5\u3002<\/p>\n<p>      <span id=\"quality-guide-article-end\" aria-hidden=\"true\" style=\"display:block;height:1px;margin-bottom:-1px\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content<\/p>\n","protected":false},"author":2,"featured_media":124583,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[14287,13647,4190,188,78],"topic":[],"class_list":["post-124584","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ysl","tag-waf","tag-188","tag-78"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YSL\u8bed\u67a2-\u76fe\u7532WAF\uff1a\u4ece\u67b6\u6784\u5230\u843d\u5730\u7684\u5168\u94fe\u8def\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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.wsisp.com\/helps\/124584.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YSL\u8bed\u67a2-\u76fe\u7532WAF\uff1a\u4ece\u67b6\u6784\u5230\u843d\u5730\u7684\u5168\u94fe\u8def\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/124584.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-18T22:48:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118224836-6afe2b4442be0.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/124584.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/124584.html\",\"name\":\"YSL\u8bed\u67a2-\u76fe\u7532WAF\uff1a\u4ece\u67b6\u6784\u5230\u843d\u5730\u7684\u5168\u94fe\u8def\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-18T22:48:37+00:00\",\"dateModified\":\"2026-11-18T22:48:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/124584.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/124584.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/124584.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"YSL\u8bed\u67a2-\u76fe\u7532WAF\uff1a\u4ece\u67b6\u6784\u5230\u843d\u5730\u7684\u5168\u94fe\u8def\u5b9e\u8df5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YSL\u8bed\u67a2-\u76fe\u7532WAF\uff1a\u4ece\u67b6\u6784\u5230\u843d\u5730\u7684\u5168\u94fe\u8def\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/124584.html","og_locale":"zh_CN","og_type":"article","og_title":"YSL\u8bed\u67a2-\u76fe\u7532WAF\uff1a\u4ece\u67b6\u6784\u5230\u843d\u5730\u7684\u5168\u94fe\u8def\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content","og_url":"https:\/\/www.wsisp.com\/helps\/124584.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-18T22:48:37+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118224836-6afe2b4442be0.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/124584.html","url":"https:\/\/www.wsisp.com\/helps\/124584.html","name":"YSL\u8bed\u67a2-\u76fe\u7532WAF\uff1a\u4ece\u67b6\u6784\u5230\u843d\u5730\u7684\u5168\u94fe\u8def\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-18T22:48:37+00:00","dateModified":"2026-11-18T22:48:37+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/124584.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/124584.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/124584.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"YSL\u8bed\u67a2-\u76fe\u7532WAF\uff1a\u4ece\u67b6\u6784\u5230\u843d\u5730\u7684\u5168\u94fe\u8def\u5b9e\u8df5"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/124584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=124584"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/124584\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/124583"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=124584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=124584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=124584"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=124584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}