mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-20 02:55:17 +08:00
WAF策略增加JSCookie动作选项
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user