WAF策略增加JSCookie动作选项

This commit is contained in:
刘祥超
2024-04-07 14:21:29 +08:00
parent 73ee81da78
commit 0d53785620
14 changed files with 325 additions and 266 deletions

View File

@@ -11,7 +11,7 @@ type SYNFloodConfig struct {
IgnoreLocal bool `yaml:"ignoreLocal" json:"ignoreLocal"` // 忽略本地IP
}
func DefaultSYNFloodConfig() *SYNFloodConfig {
func NewSYNFloodConfig() *SYNFloodConfig {
return &SYNFloodConfig{
IsOn: false,
MinAttempts: 10,