ddos template http filter-header¶
HTTP Header Regex Filter Configuration
filter-header Specification¶
Parameter Value Type Collection Object Key(s) http-filter-header-seq Collection Name filter-header-list Collection URI /axapi/v3/ddos/template/http/{http-tmpl-name}/filter-header Element Name filter-header Element URI /axapi/v3/ddos/template/http/{http-tmpl-name}/filter-header/{http-filter-header-seq} Element Attributes filter-header_attributes Partition Visibility shared Schema filter-header schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/ddos/template/http/{http-tmpl-name}/filter-header | ||
Create List | POST | /axapi/v3/ddos/template/http/{http-tmpl-name}/filter-header | ||
Get Object | GET | /axapi/v3/ddos/template/http/{http-tmpl-name}/filter-header/{http-filter-header-seq} | ||
Get List | GET | /axapi/v3/ddos/template/http/{http-tmpl-name}/filter-header | ||
Modify Object | POST | /axapi/v3/ddos/template/http/{http-tmpl-name}/filter-header/{http-filter-header-seq} | ||
Replace Object | PUT | /axapi/v3/ddos/template/http/{http-tmpl-name}/filter-header/{http-filter-header-seq} | ||
Replace List | PUT | /axapi/v3/ddos/template/http/{http-tmpl-name}/filter-header | ||
Delete Object | DELETE | /axapi/v3/ddos/template/http/{http-tmpl-name}/filter-header/{http-filter-header-seq} |
filter-header-list¶
filter-header-list is JSON List of filter-header attributes
filter-header-list : [
]
filter-header attributes¶
http-filter-header-blacklist
Description Also blacklist the source when action is taken
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
http-filter-header-count-only
Description Take no action and continue processing the next filter
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
http-filter-header-regex
Description Regex Expression
Type: string
Format: string-rlx
Maximum Length: 1275 characters
Maximum Length: 1 characters
http-filter-header-seq
Description Sequence number
Type: number
Range: 1-5
http-filter-header-unmatched
Description action taken when it does not match
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
http-filter-header-whitelist
Description Whitelist the source after filter passes, packets are dropped until then
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
user-tag
Description Customized tag
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters