syn-cookie¶
Global Syn-Cookie Protection
syn-cookie Specification¶
Parameter
Value
Type
Configuration Resource
Element Name
syn-cookie
Element URI
/axapi/v3/syn-cookie
Element Attributes
syn-cookie_attributes
Partition Visibility
shared
Schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/syn-cookie | ||
POST /axapi/v3/syn-cookie
Payload:
{
"syn-cookie": {
"enable": 1,
"on-threshold": 0,
"off-threshold": 0
}
}
| ||||
Get Object | GET | /axapi/v3/syn-cookie | ||
GET /axapi/v3/syn-cookie
Reponse:
{
"syn-cookie": {
"enable": 1,
"on-threshold": 0,
"off-threshold": 0,
"uuid": "13ad9cc2-6547-11f0-a3be-17bbc3c3287c",
"a10-url": "/axapi/v3/syn-cookie"
}
}
| ||||
Modify Object | POST | /axapi/v3/syn-cookie | ||
Replace Object | PUT | /axapi/v3/syn-cookie | ||
PUT /axapi/v3/syn-cookie
Payload:
{
"syn-cookie": {
"enable": 1,
"on-threshold": 1,
"off-threshold": 1
}
}
| ||||
Delete Object | DELETE | /axapi/v3/syn-cookie | ||
DELETE /axapi/v3/syn-cookie
Reponse:
{
"response": {
"status": "OK"
}
}
|
syn-cookie attributes¶
enable
Description Global Syn-Cookie Protection
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
off-threshold
Description off-threshold for Syn-cookie. (default 0) (Decimal number)
Type: number
Range: 0-2147483647
Default: 0
on-threshold
Description on-threshold for Syn-cookie. (default 0) (Decimal number, 0 for turning on Syn-cookie without threshold)
Type: number
Range: 0-2147483647
Default: 0
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters