ddos template tcp filter

TCP Filter Configuration

filter Specification

Parameter Value
Type Collection
Object Key(s) tcp-filter-seq
Collection Name filter-list
Collection URI /axapi/v3/ddos/template/tcp/{name}/filter
Element Name filter
Element URI /axapi/v3/ddos/template/tcp/{name}/filter/{tcp-filter-seq}
Element Attributes filter_attributes
Partition Visibility shared
Schema filter schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/ddos/template/tcp/{name}/filter

filter attributes

Create List

POST

/axapi/v3/ddos/template/tcp/{name}/filter

filter attributes

Get Object

GET

/axapi/v3/ddos/template/tcp/{name}/filter/{tcp-filter-seq}

filter attributes

Get List

GET

/axapi/v3/ddos/template/tcp/{name}/filter

filter-list

Modify Object

POST

/axapi/v3/ddos/template/tcp/{name}/filter/{tcp-filter-seq}

filter attributes

Replace Object

PUT

/axapi/v3/ddos/template/tcp/{name}/filter/{tcp-filter-seq}

filter attributes

Replace List

PUT

/axapi/v3/ddos/template/tcp/{name}/filter

filter-list

Delete Object

DELETE

/axapi/v3/ddos/template/tcp/{name}/filter/{tcp-filter-seq}

filter attributes

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

tcp-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

tcp-filter-regex

Description Regex Expression

Type: string

Format: string-rlx

Maximum Length: 1275 characters

Maximum Length: 1 characters

tcp-filter-seq

Description Sequence number

Type: number

Range: 1-5

tcp-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