This URL gets the TCP settings on the Sensor.
Resource URL
GET /sensor/<sensor_id>/tcpsettings
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 |
|---|---|---|
| The TCP settings on the Sensor | Object |
Details of fields in TCPSettings:
Field Name | Description | Data Type |
|---|---|---|
| The parameters of TCP settings | Object |
Details of fields in tcpParameter:
Field Name | Description | Data Type |
|---|---|---|
| The supported UDP flows | Number |
| The TCP inactivity timer (minutes) | Number |
| The TCP segment timer (seconds) | Number |
| The TCP 2MSL timer (seconds) | Number |
| The cold start time (minutes) | Number |
| The cold start ack scan alert discard interval(minutes) | Number |
| The cold start drop action. The value can be:
| String |
| The TCP flow violation. The value can be:
| String |
| The unsolicited UDP packets timeout (seconds) | Number |
| The normalization. The value can be:
| String |
| The TCP overlap option. The value can be:
| String |
| The SYN cookie data | Object |
| The reset unfinished 3 way handshake connection. The value can be:
| String |
| DNS sinkholing time to live | Number |
| DNS sinkholing IP address | String |
| HTTP2 flow allocation % | Number |
| Slow post timeout | Number |
| Slow post threshold frame size | Number |
| Slow post minimum number of streams | Number |
| Slow post minimum number of tiny frames | Number |
| Slow read timeout | Number |
| Slow read window size | Number |
| Slow read minimum number of streams | Number |
| HTTP2 decoded packets in attack packet log | Number |
| FTP acceleration | String |
Details of fields in synCookie:
Field Name | Description | Data Type |
|---|---|---|
| The SYN cookie option. The value can be:
| String |
| The inbound threshold value | Number |
| The outbound threshold value | Number |
Example
Request
GET https://<NSM_IP>/sdkapi/sensor/1002/tcpsettings
Response
{
"tcpParameter": {
"supportedUDPFlows": 100,
"tcbInactivityTimesInMinutes": 10,
"tcpSegmentTimerInSeconds": 10,
"tcp2MSLTimerInSeconds": 10,
"coldStartTimeInMinutes": 0,
"coldStartAckScanAlertDiscardIntervalInMinutes": 0,
"coldStartDropAction": "FORWARD_FLOWS",
"tcpFlowViolation": "PERMIT_OUT_OF_ORDER",
"unsolicitedUDPPacketTimeOutInSeconds": 10,
"normalization": "OFF",
"tcpOverlapOption": "NEW_DATA",
"synCookie": {
"synCookieOption": "INBOUND_ONLY",
"inboundThresholdValue": 14112,
"outboundThresholdValue": 10000
},
"resetUnfinished3WayHandshakeConnection": "DISABLED",
"dnsSinkholingTimeToLive": 720,
"dnsSinkholingIPAddress": "127.0.0.1",
"http2FlowAllocPrcnt": 5,
"slowPostTimeout": 5,
"slowPostThresholdFrameSize": 10,
"slowPostMinStreamsCnt": 50,
"slowPostMinTinyFramesCnt": 1,
"slowReadTimeout": 60,
"slowReadWindowSize": 10,
"slowReadMinStreamsCnt": 50,
"http2DecodedPktInAtckPktLogFlag": "2",
"ftpAcceleration": "DISABLED"
}
}
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 |