ddos zone-src-port-template tcp filter

TCP Filter Configuration

filter Specification

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

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/ddos/zone-src-port-template/tcp/{name}/filter

filter attributes

Create List

POST

/axapi/v3/ddos/zone-src-port-template/tcp/{name}/filter

filter attributes

Get Object

GET

/axapi/v3/ddos/zone-src-port-template/tcp/{name}/filter/{tcp-filter-name}

filter attributes

Get List

GET

/axapi/v3/ddos/zone-src-port-template/tcp/{name}/filter

filter-list

Modify Object

POST

/axapi/v3/ddos/zone-src-port-template/tcp/{name}/filter/{tcp-filter-name}

filter attributes

Replace Object

PUT

/axapi/v3/ddos/zone-src-port-template/tcp/{name}/filter/{tcp-filter-name}

filter attributes

Replace List

PUT

/axapi/v3/ddos/zone-src-port-template/tcp/{name}/filter

filter-list

Delete Object

DELETE

/axapi/v3/ddos/zone-src-port-template/tcp/{name}/filter/{tcp-filter-name}

filter attributes

filter-list

filter-list is JSON List of filter attributes

filter-list : [

filter attributes

byte-offset-filter

Description Filter using Berkeley Packet Filter syntax

Type: string

Format: string-rlx

Maximum Length: 1275 characters

Maximum Length: 1 characters

tcp-filter-action

Description ‘drop’: Drop packets (Default); ‘ignore’: Take no action; ‘blacklist-src’: Blacklist-src; ‘authenticate-src’: Authenticate-src;

Type: string

Supported Values: drop, ignore, blacklist-src, authenticate-src

Mutual Exclusion: tcp-filter-action and tcp-filter-action-list-name are mutually exclusive

tcp-filter-action-list-name

Description Configure action-list to take

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

Mutual Exclusion: tcp-filter-action-list-name and tcp-filter-action are mutually exclusive

Reference Object: /axapi/v3/ddos/action-list

tcp-filter-inverse-match

Description Inverse the result of the matching

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

tcp-filter-name

Description

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

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

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