ddos src-port-template tcp¶
TCP template Configuration
tcp Specification¶
Parameter Value Type Collection Object Key(s) name Collection Name tcp-list Collection URI /axapi/v3/ddos/src-port-template/tcp Element Name tcp Element URI /axapi/v3/ddos/src-port-template/tcp/{name} Element Attributes tcp_attributes Partition Visibility shared Schema tcp schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/ddos/src-port-template/tcp | ||
Create List | POST | /axapi/v3/ddos/src-port-template/tcp | ||
Get Object | GET | /axapi/v3/ddos/src-port-template/tcp/{name} | ||
Get List | GET | /axapi/v3/ddos/src-port-template/tcp | ||
Modify Object | POST | /axapi/v3/ddos/src-port-template/tcp/{name} | ||
Replace Object | PUT | /axapi/v3/ddos/src-port-template/tcp/{name} | ||
Replace List | PUT | /axapi/v3/ddos/src-port-template/tcp | ||
Delete Object | DELETE | /axapi/v3/ddos/src-port-template/tcp/{name} |
tcp-list¶
tcp-list is JSON List of tcp attributes
tcp-list : [
]
tcp attributes¶
filter-list
Type: List
Reference Object: /axapi/v3/ddos/src-port-template/tcp/{name}/filter/{tcp-filter-seq}
name
Description
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
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
filter-list¶
Specification Value Type list Block object keys 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