This URL gets IP settings configuration at Sensor level.
Resource URL
GET /sensor/<sensor_id>/ipsettings
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Sensor id | Number | Yes |
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned.
Field Name | Description | Data Type |
|---|---|---|
| Object that contains the details of the fields | Object |
Details of fields in IPSettings:
Field Name | Description | Data Type |
|---|---|---|
| The IPv4 parameter settings for IP settings | Object |
| The IPv6 parameter settings for IP settings | Object |
| The jumbo frame parsing settings for IP settings. The value can be:
| String |
Details of fields in ipv4Parameter:
Field Name | Description | Data Type |
|---|---|---|
| The fragment timer (seconds) | Number |
| The overlap option. The value can be:
| String |
| The smallest fragment size | Number |
| The small fragment threshold | Number |
| The fragment reassembly. The value can be:
| String |
Details of fields in ipv6Parameter:
Field Name | Description | Data Type |
|---|---|---|
| The IPv6 scanning data. The value can be:
| String |
| The overlap option. The value can be:
| String |
| The smallest fragment size | Number |
| The small fragment threshold | Number |
Example
Request
GET https://<NSM_IP>/sdkapi/sensor/1002/ipsettings
Response
{
"ipv4Parameter": {
"fragmentTimer": 180,
"overlapOption": "OLD_DATA",
"smallestFragmentSize": 1480,
"smallFragmentThreshold": 100000,
"fragmentReassembly": "DISABLED"
},
"ipv6Parameter": {
"ipv6Scanning": "SCAN_IPV_6_TRAFFIC_FOR_ATTACKS",
"overlapOption": "OLD_DATA",
"smallestFragmentSize": 1280,
"smallFragmentThreshold": 100000
},
"jumboFrameParsing": null
}
Error Information
Following error code is returned by this URL:
No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 404 | 1106 | Invalid Sensor |