ACOS
  • Start Here
  • How to Use this Reference
  • Resources
  • Operations
  • Example API Configuration
  • Filters
  • Batching Requests
  • Status Codes
ACOS
  • Docs »
  • syn-cookie
  • View page source

syn-cookie¶

Global Syn-Cookie Protection

syn-cookie Specification¶

   
Type Configuration Resource
Element Name syn-cookie
Element URI /axapi/v3/syn-cookie
Element Attributes syn-cookie_attributes
Schema syn-cookie schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/syn-cookie

syn-cookie attributes


POST /axapi/v3/syn-cookie
Payload:
{
    "syn-cookie": {
        "enable": 1, 
        "on-threshold": 0, 
        "off-threshold": 0
    }
}

Get Object

GET

/axapi/v3/syn-cookie

syn-cookie attributes


GET /axapi/v3/syn-cookie
Reponse:
{
    "syn-cookie": {
        "enable": 1, 
        "on-threshold": 0, 
        "off-threshold": 0, 
        "uuid": "591dd078-5df3-11d9-8cf6-001fa00680a0", 
        "a10-url": "/axapi/v3/syn-cookie"
    }
}

Modify Object

POST

/axapi/v3/syn-cookie

syn-cookie attributes

Replace Object

PUT

/axapi/v3/syn-cookie

syn-cookie attributes


PUT /axapi/v3/syn-cookie
Payload:
{
    "syn-cookie": {
        "enable": 1, 
        "on-threshold": 1, 
        "off-threshold": 1
    }
}

Delete Object

DELETE

/axapi/v3/syn-cookie

syn-cookie attributes


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 (Decimal number)

Type: number

Range: 0-2147483647

Default: 0

on-threshold

Description on-threshold for Syn-cookie (Decimal number)

Type: number

Range: 0-2147483647

Default: 0

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters


© Copyright 2014-2019, a10

Built with Sphinx using a theme provided by Read the Docs.