Skip to content

Commit 7d67ee7

Browse files
authored
Merge pull request #12022 from serdarbsgn/fix/huawei-waf-detection
Fix Huawei WAF detection rule: server header returns elb in most cases
2 parents b4680d7 + 1b6671f commit 7d67ee7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

http/technologies/waf-detect.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -743,9 +743,9 @@ http:
743743
name: huaweicloud
744744
condition: and
745745
regex:
746-
- '(?)content="CloudWAF"'
747-
- 'Server: CloudWAF'
746+
- '(?i)content="CloudWAF"'
748747
- 'Set-Cookie: HWWAFSESID='
748+
- 'Set-Cookie: HWWAFSESTIME='
749749

750750
- type: word
751751
name: safe3webfirewall
@@ -801,4 +801,4 @@ http:
801801
part: header
802802
words:
803803
- "X-Protected-By: shieldon.io"
804-
# digest: 490a00463044022039bf0948c5b4367c6955e389fa039464d3d988e34124e676c1301afd85bd2078022040b67db73df9498cd3e7158ab9ca342099d085958cd8468e8124241d7fc84019:922c64590222798bb761d5b6d8e72950
804+
# digest: 490a00463044022039bf0948c5b4367c6955e389fa039464d3d988e34124e676c1301afd85bd2078022040b67db73df9498cd3e7158ab9ca342099d085958cd8468e8124241d7fc84019:922c64590222798bb761d5b6d8e72950

0 commit comments

Comments
 (0)