ddos zone-template sip filter-header¶
SIP Header Filter Configuration
filter-header Specification¶
Parameter Value Type Collection Object Key(s) sip-filter-name Collection Name filter-header-list Collection URI /axapi/v3/ddos/zone-template/sip/{sip-tmpl-name}/filter-header Element Name filter-header Element URI /axapi/v3/ddos/zone-template/sip/{sip-tmpl-name}/filter-header/{sip-filter-name} Element Attributes filter-header_attributes Partition Visibility shared Schema filter-header schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/ddos/zone-template/sip/{sip-tmpl-name}/filter-header | ||
Create List | POST | /axapi/v3/ddos/zone-template/sip/{sip-tmpl-name}/filter-header | ||
Get Object | GET | /axapi/v3/ddos/zone-template/sip/{sip-tmpl-name}/filter-header/{sip-filter-name} | ||
Get List | GET | /axapi/v3/ddos/zone-template/sip/{sip-tmpl-name}/filter-header | ||
Modify Object | POST | /axapi/v3/ddos/zone-template/sip/{sip-tmpl-name}/filter-header/{sip-filter-name} | ||
Replace Object | PUT | /axapi/v3/ddos/zone-template/sip/{sip-tmpl-name}/filter-header/{sip-filter-name} | ||
Replace List | PUT | /axapi/v3/ddos/zone-template/sip/{sip-tmpl-name}/filter-header | ||
Delete Object | DELETE | /axapi/v3/ddos/zone-template/sip/{sip-tmpl-name}/filter-header/{sip-filter-name} |
filter-header-list¶
filter-header-list is JSON List of filter-header attributes
filter-header-list : [
]
filter-header attributes¶
sip-filter-action
Description ‘drop’: Drop packets (Default); ‘ignore’: Take no action; ‘blacklist-src’: Blacklist-src; ‘authenticate-src’: Authenticate-src; ‘reset’: Reset client connection(for sip-tcp);
Type: string
Supported Values: drop, ignore, blacklist-src, authenticate-src, reset
Mutual Exclusion: sip-filter-action and sip-filter-action-list-name are mutually exclusive
sip-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: sip-filter-action-list-name and sip-filter-action are mutually exclusive
Reference Object: /axapi/v3/ddos/action-list
sip-filter-header-seq
Description Sequence number
Type: number
Range: 1-200
sip-filter-name
Description
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
sip-header-cfg
Description: sip-header-cfg is a JSON Block. Please see below for sip-header-cfg
Type: Object
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
sip-header-cfg¶
Specification Value Type object sip-filter-header-inverse-match
Description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
sip-filter-header-regex
Description Regex Expression
Type: string
Format: string-rlx
Maximum Length: 1275 characters
Maximum Length: 1 characters