Get an attack
GET
https://api.vpsbg.eu/v1/network-protection/{id}/attacks/{attack_id}This endpoint return more information about a single attack.
Request
Path Params
id
integer
required
Your IP Address identificator.
attack_id
string
required
The ID of the attack.
Example:
Ws8PeaCFn4bZ4Rf
Request samples
Responses
Attack information(200)
Attack information
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
id
string
required
ongoing
boolean
required
started_at
string
required
ended_at
string
required
detector
string
required
severity
string
required
reason
string
required
description
string
required
peak_bandwidth
number
required
Bandwidth rate in Mbps.
peak_pps
integer
required
initial_bandwidth
number
required
Bandwidth rate in Mbps.
initial_pps
integer
required
top_protocols
array [object {6}]
required
name
string
required
number
integer
required
peak_bandwidth
number
required
Bandwidth rate in Mbps.
peak_pps
integer
required
total_bandwidth
number
required
Total bandwidth in MBs.
total_pps
integer
required
top_source_asns
array [object {7}]
required
asn
integer
required
name
string
required
country
string
required
peak_bandwidth
number
required
Bandwidth rate in Mbps.
peak_pps
integer
required
total_bandwidth
number
required
Total bandwidth in MBs.
total_pps
integer
required
top_source_ips
array [object {6}]
required
ip
string
required
country
string
required
peak_bandwidth
number
required
Bandwidth rate in Mbps.
peak_pps
integer
required
total_bandwidth
number
required
Total bandwidth in MBs.
total_pps
integer
required
top_ports
object
required
tcp
object
required
udp
object
required
Example
{
"id": "qAEbdFBBluE9bYI",
"ongoing": false,
"started_at": "2024-09-23T23:53:15.000Z",
"ended_at": "2024-09-24T00:10:30.000Z",
"detector": "BPS_LIMIT",
"severity": "middle",
"reason": "BPS threshold 50.000M is exceeded (1.214G)",
"description": "UDP ANY:123 to ANY:[0-65535]",
"peak_bandwidth": 23197.292503,
"peak_pps": 3142007,
"initial_bandwidth": 1303.609805,
"initial_pps": 333925,
"top_protocols": [
{
"name": "UDP",
"number": 17,
"peak_bandwidth": 23189.467506,
"peak_pps": 3133817,
"total_bandwidth": 508192.7870976925,
"total_pps": 585964930
},
{
"name": "ICMP",
"number": 1,
"peak_bandwidth": 35.441862,
"peak_pps": 37674,
"total_bandwidth": 387.12491393089294,
"total_pps": 3718260
},
{
"name": "TCP",
"number": 6,
"peak_bandwidth": 92.930048,
"peak_pps": 8192,
"total_bandwidth": 346.7187428474426,
"total_pps": 384970
}
],
"top_source_asns": [
{
"asn": 112233,
"name": "Example ASN",
"country": "US",
"peak_bandwidth": 693.633024,
"peak_pps": 176945,
"total_bandwidth": 12959.156248569489,
"total_pps": 27688560
},
{
"asn": 115533,
"name": "Example ASN",
"country": "XX",
"peak_bandwidth": 805.594712,
"peak_pps": 78624,
"total_bandwidth": 12542.874765396118,
"total_pps": 9991800
},
{
"asn": 118899,
"name": "Example ASN",
"country": "XX",
"peak_bandwidth": 710.344685,
"peak_pps": 65520,
"total_bandwidth": 9580.390356779099,
"total_pps": 7993440
}
],
"top_source_ips": [
{
"ip": "10.10.10.10",
"country": "XX",
"peak_bandwidth": 333.971456,
"peak_pps": 85196,
"total_bandwidth": 7150.9375,
"total_pps": 15302540
},
{
"ip": "10.10.10.10",
"country": "XX",
"peak_bandwidth": 333.971456,
"peak_pps": 85196,
"total_bandwidth": 7150.9375,
"total_pps": 15302540
}
],
"top_ports": {
"tcp": {
"source": [
{
"port": 0,
"name": "Fragmented",
"peak_bandwidth": 35.441862,
"peak_pps": 37674,
"total_bandwidth": 387.12491393089294,
"total_pps": 3718260
},
{
"port": 45316,
"name": "Unassigned",
"peak_bandwidth": 92.930048,
"peak_pps": 8192,
"total_bandwidth": 332.3437476158142,
"total_pps": 245740
},
{
"port": 13021,
"name": "Unassigned",
"peak_bandwidth": 4.430233,
"peak_pps": 1638,
"total_bandwidth": 5.281249284744263,
"total_pps": 16380
},
{
"port": 42958,
"name": "Unassigned",
"peak_bandwidth": 1.939865,
"peak_pps": 3276,
"total_bandwidth": 2.3124992847442627,
"total_pps": 32760
},
{
"port": 5512,
"name": "Unassigned",
"peak_bandwidth": 1.808793,
"peak_pps": 1638,
"total_bandwidth": 2.1562492847442627,
"total_pps": 16380
},
{
"port": 29989,
"name": "Unassigned",
"peak_bandwidth": 1.677721,
"peak_pps": 3276,
"total_bandwidth": 1.9999992847442627,
"total_pps": 32760
},
{
"port": 47984,
"name": "Unassigned",
"peak_bandwidth": 0.917504,
"peak_pps": 1638,
"total_bandwidth": 1.09375,
"total_pps": 16380
},
{
"port": 48290,
"name": "Unassigned",
"peak_bandwidth": 0.83886,
"peak_pps": 1638,
"total_bandwidth": 0.9999990463256836,
"total_pps": 16380
},
{
"port": 40491,
"name": "Unassigned",
"peak_bandwidth": 0.445644,
"peak_pps": 819,
"total_bandwidth": 0.5312490463256836,
"total_pps": 8190
}
],
"destination": [
{
"port": 0,
"name": "Fragmented",
"peak_bandwidth": 35.441862,
"peak_pps": 37674,
"total_bandwidth": 387.12491393089294,
"total_pps": 3718260
},
{
"port": 443,
"name": "http protocol over TLS/SSL",
"peak_bandwidth": 92.930048,
"peak_pps": 8192,
"total_bandwidth": 346.7187428474426,
"total_pps": 384970
}
]
},
"udp": {
"source": [
{
"port": 53,
"name": "Domain Name Server",
"peak_bandwidth": 7863.743086,
"peak_pps": 681408,
"total_bandwidth": 163682.16766238213,
"total_pps": 120876220
},
{
"port": 123,
"name": "Network Time Protocol",
"peak_bandwidth": 5970.01501,
"peak_pps": 1526939,
"total_bandwidth": 135808.62453579903,
"total_pps": 291591750
},
{
"port": 46,
"name": "MPM [default send]",
"peak_bandwidth": 422.418832,
"peak_pps": 36036,
"total_bandwidth": 7032.5154531002045,
"total_pps": 4963140
},
{
"port": 0,
"name": "Fragmented",
"peak_bandwidth": 285.068485,
"peak_pps": 26208,
"total_bandwidth": 4161.453020572662,
"total_pps": 3177720
},
{
"port": 256,
"name": "RAP",
"peak_bandwidth": 150.33958,
"peak_pps": 16380,
"total_bandwidth": 2350.2968072891235,
"total_pps": 1998360
},
{
"port": 49164,
"name": "Unassigned",
"peak_bandwidth": 165.517718,
"peak_pps": 14742,
"total_bandwidth": 1747.0780801773071,
"total_pps": 1343160
},
{
"port": 48,
"name": "Digital Audit Daemon",
"peak_bandwidth": 138.910103,
"peak_pps": 11466,
"total_bandwidth": 1380.0937175750732,
"total_pps": 1048320
},
{
"port": 57431,
"name": "Unassigned",
"peak_bandwidth": 139.644106,
"peak_pps": 11466,
"total_bandwidth": 1377.656215429306,
"total_pps": 966420
},
{
"port": 3072,
"name": "ContinuStor Monitor Port",
"peak_bandwidth": 112.105879,
"peak_pps": 9828,
"total_bandwidth": 1232.2812187671661,
"total_pps": 900900
},
{
"port": 6,
"name": "Unassigned",
"peak_bandwidth": 118.751229,
"peak_pps": 9828,
"total_bandwidth": 1171.343721151352,
"total_pps": 819000
}
],
"destination": [
{
"port": 53,
"name": "Domain Name Server",
"peak_bandwidth": 13831.63473,
"peak_pps": 2205071,
"total_bandwidth": 299532.4796962738,
"total_pps": 412435210
},
{
"port": 1,
"name": "TCP Port Service Multiplexer",
"peak_bandwidth": 518.101389,
"peak_pps": 44226,
"total_bandwidth": 9910.015383958817,
"total_pps": 7059780
},
{
"port": 21600,
"name": "Unassigned",
"peak_bandwidth": 190.998114,
"peak_pps": 16380,
"total_bandwidth": 1984.1874539852142,
"total_pps": 1506960
},
{
"port": 0,
"name": "Fragmented",
"peak_bandwidth": 110.939338,
"peak_pps": 9828,
"total_bandwidth": 1749.8124611377716,
"total_pps": 1425060
},
{
"port": 1793,
"name": "rsc-robot",
"peak_bandwidth": 156.919395,
"peak_pps": 13104,
"total_bandwidth": 1689.4374573230743,
"total_pps": 1228500
},
{
"port": 33954,
"name": "Unassigned",
"peak_bandwidth": 139.644106,
"peak_pps": 11466,
"total_bandwidth": 1377.656215429306,
"total_pps": 966420
},
{
"port": 256,
"name": "RAP",
"peak_bandwidth": 111.883057,
"peak_pps": 13104,
"total_bandwidth": 1373.0468428134918,
"total_pps": 1162980
},
{
"port": 84,
"name": "Common Trace Facility",
"peak_bandwidth": 114.753533,
"peak_pps": 9828,
"total_bandwidth": 1099.3280947208405,
"total_pps": 933660
},
{
"port": 27648,
"name": "Unassigned",
"peak_bandwidth": 105.381885,
"peak_pps": 9828,
"total_bandwidth": 1083.218721151352,
"total_pps": 900900
},
{
"port": 46,
"name": "MPM [default send]",
"peak_bandwidth": 99.640932,
"peak_pps": 8190,
"total_bandwidth": 998.859349489212,
"total_pps": 786240
}
]
}
}
}
Last modified: 2 months ago