ddos template udp filter¶
UDP Filter Configuration
filter Specification¶
Parameter Value Type Collection Object Key(s) udp-filter-seq Collection Name filter-list Collection URI /axapi/v3/ddos/template/udp/{name}/filter Element Name filter Element URI /axapi/v3/ddos/template/udp/{name}/filter/{udp-filter-seq} Element Attributes filter_attributes Partition Visibility shared Schema filter schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/ddos/template/udp/{name}/filter | ||
Create List | POST | /axapi/v3/ddos/template/udp/{name}/filter | ||
Get Object | GET | /axapi/v3/ddos/template/udp/{name}/filter/{udp-filter-seq} | ||
Get List | GET | /axapi/v3/ddos/template/udp/{name}/filter | ||
Modify Object | POST | /axapi/v3/ddos/template/udp/{name}/filter/{udp-filter-seq} | ||
Replace Object | PUT | /axapi/v3/ddos/template/udp/{name}/filter/{udp-filter-seq} | ||
Replace List | PUT | /axapi/v3/ddos/template/udp/{name}/filter | ||
Delete Object | DELETE | /axapi/v3/ddos/template/udp/{name}/filter/{udp-filter-seq} |
filter-list¶
filter-list is JSON List of filter attributes
filter-list : [
]
filter attributes¶
byte-offset-filter
Description Filter Expression using Berkeley Packet Filter syntax
Type: string
Format: string-rlx
Maximum Length: 1275 characters
Maximum Length: 1 characters
udp-filter-action
Description ‘blacklist-src’: Also blacklist the source when action is taken; ‘whitelist-src’: Whitelist the source after filter passes, packets are dropped until then; ‘count-only’: Take no action and continue processing the next filter;
Type: string
Supported Values: blacklist-src, whitelist-src, count-only
udp-filter-regex
Description Regex Expression
Type: string
Format: string-rlx
Maximum Length: 1275 characters
Maximum Length: 1 characters
udp-filter-seq
Description Sequence number
Type: number
Range: 1-5
udp-filter-unmatched
Description action taken when it does not match
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