CXPLAY on Nostr: 才知道 Cloudflare ...
才知道 Cloudflare 的这个规则是「顺序」匹配但是只生效匹配到的最后一个, 这和一般的防火墙按顺序匹配但只生效第一个匹配到的规则有点不太一样吧.
所以进来的请求如果按规则顺序(升序)都匹配到了下面的九条规则, 但最终其实是按降序生效的?
Published at
2024-10-01 05:45:52Event JSON
{
"id": "0000d56c8138911b2ca20ded4024953a5943672111f036b07dfaa811f21b69b0",
"pubkey": "434f97993627f1e61f14eeaf60caa8cfdcec10a592caff8250c825252d548c15",
"created_at": 1727761552,
"kind": 1,
"tags": [
[
"emoji",
"jerry_question",
"https://media.naeu.net/s/2024/03/28132155-438-6c3b8e5c-aa08-4935-92d6-701adb1b36c7.webp"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
],
[
"nonce",
"121702",
"16"
]
],
"content": "才知道 Cloudflare 的这个规则是「顺序」匹配但是只生效匹配到的最后一个, 这和一般的防火墙按顺序匹配但只生效第一个匹配到的规则有点不太一样吧.\n所以进来的请求如果按规则顺序(升序)都匹配到了下面的九条规则, 但最终其实是按降序生效的? :jerry_question: \nhttps://media.naeu.net/08fb08be14381a1b0be02f66fd5a84c08e4c82ce89365dca77bbf0491a5ed62c.webp",
"sig": "f752d795ff89404f9c3a645c5c016a29600a16e40dde1313192db33f047bc96fee1f1b58ae0a0b1d05730e094d7149f1d8a60514f2260239911ee0e2c7976130"
}