URL filtering protects the system against buffer overflow attacks, parser evasion attacks, directory traversal attacks, as well as other hacker strategies. Note: The URL filtering mechanism must work together with Layer 7 SLB.
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | service | asso | |
| default | enable | boolean | |
| default | mode | enum | Sets the action the system will take if a bad URL request is received.Available values:
|
| keyword | keyword_default | enum | Available values:
|
| keyword | keywords | ListField | Sets the URL keyword to filter the requests. |
| variable | var_type | ListField | |
| length | url_len | uint32 | |
| length | query_len | uint32 | |
| length | queryvar_len | uint32 | |
| length | querydata_len | uint32 | |
| length | header_len | uint32 | |
| length | request_len | uint32 | |
| character | ascii | ListField | |
| alert | Sets the email address to which the alert email is sent. | ||
| alert | threshold | uint32 | Sets the maximum number of bad requests. |
| stats | statistics | text |
{
"URLFilter": {
"meta": {
"abstract": false,
"verbose_name": URL Filtering,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| enable | boolean | |
| mode | enum | Sets the action the system will take if a bad URL request is received.Available values:
|
{
"URLFilter": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"targets": [<target>]
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target asso you want to perform action on. Can be empty or not specified when there is no target asso needed. |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target asso you want to perform action on. Can be empty or not specified when there is no target asso needed. |
| string | string |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"URLFilter": [
{
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
},
...
]
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, keyword, variable, length, character, alert, stats, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: service, enable, mode, keyword_default, keywords, var_type, url_len, query_len, queryvar_len, querydata_len, header_len, request_len, ascii, email, threshold, statistics, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | service | asso | |
| default | enable | boolean | |
| default | mode | enum | Sets the action the system will take if a bad URL request is received.Available values:
|
| keyword | keyword_default | enum | Available values:
|
| keyword | keywords | ListField | Sets the URL keyword to filter the requests. |
| variable | var_type | ListField | |
| length | url_len | uint32 | |
| length | query_len | uint32 | |
| length | queryvar_len | uint32 | |
| length | querydata_len | uint32 | |
| length | header_len | uint32 | |
| length | request_len | uint32 | |
| character | ascii | ListField | |
| alert | Sets the email address to which the alert email is sent. | ||
| alert | threshold | uint32 | Sets the maximum number of bad requests. |
| stats | statistics | text |
{
"URLFilter": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"URLFilter": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"URLFilter": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
"msg": <success-or-error-msg>
}
{
<field_name>:<value>
}
When field name is not specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_name | URI | (optional) Target field name to update. Available field names are: enable, mode, keyword_default, keywords, var_type, url_len, query_len, queryvar_len, querydata_len, header_len, request_len, ascii, email, threshold, |
| Field Name | Type | Description |
|---|---|---|
| enable | boolean | |
| mode | enum | Sets the action the system will take if a bad URL request is received.Available values:
|
| keyword_default | enum | Available values:
|
| keywords | ListField | Sets the URL keyword to filter the requests. |
| var_type | ListField | |
| url_len | uint32 | |
| query_len | uint32 | |
| queryvar_len | uint32 | |
| querydata_len | uint32 | |
| header_len | uint32 | |
| request_len | uint32 | |
| ascii | ListField | |
| Sets the email address to which the alert email is sent. | ||
| threshold | uint32 | Sets the maximum number of bad requests. |
All configuration fields and their values are replied:
{
"URLFilter": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}