DOS ALERT

code_af2 years ago

Hello together,
Today I found bellow DOS Alert in the log file of our traccar server, I searched the forum and Googled for it but didn't find any relevant thread for it, does anyone faced the same issue before? Or what can be the reason for it?

I am sharing the server logs as bellow:

2022-09-19 14:45:16  INFO: Operating system name: Linux version: 5.4.0-125-generic architecture: amd64
2022-09-19 14:45:16  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: ojdkbuild version: 11.0.15+10-LTS
2022-09-19 14:45:16  INFO: Memory limit heap: 8014mb non-heap: 0mb
2022-09-19 14:45:16  INFO: Character encoding: UTF-8 charset: UTF-8
2022-09-19 14:45:16  INFO: Version: 5.3
2022-09-19 14:45:16  INFO: Starting server...
2022-09-19 14:45:16  INFO: HikariPool-1 - Starting...
2022-09-19 14:45:16  WARN: Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2022-09-19 14:45:16  INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@6ac4944a
2022-09-19 14:45:16  INFO: HikariPool-1 - Start completed.
2022-09-19 14:45:16  INFO: Clearing database change log checksums
2022-09-19 14:45:17  INFO: Successfully acquired change log lock
2022-09-19 14:45:17  INFO: Successfully released change log lock
2022-09-19 14:45:17  INFO: Successfully acquired change log lock
2022-09-19 14:45:17  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.json.JsonChangeLogParser Unable to get public no-arg constructor
2022-09-19 14:45:17  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.yaml.YamlChangeLogParser Unable to get public no-arg constructor
2022-09-19 14:45:18  INFO: Reading from traccar.DATABASECHANGELOG
2022-09-19 14:45:18  INFO: Reading from traccar.DATABASECHANGELOG
2022-09-19 14:45:18  INFO: Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
2022-09-19 14:45:18  INFO: Successfully released change log lock
2022-09-19 14:45:19  INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
2022-09-19 14:45:19  INFO: jetty-10.0.7; built: 2021-10-06T19:34:02.766Z; git: da8a4553af9dd84080931fa0f8c678cd2d60f3d9; jvm 11.0.15+10-LTS
2022-09-19 14:45:19  INFO: Session workerName=node0
2022-09-19 14:45:20  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2022-09-19 14:45:20  INFO: Started o.e.j.s.ServletContextHandler@65a4b9d6{/,null,AVAILABLE}
2022-09-19 14:45:20  INFO: Started ServerConnector@798cf6d2{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2022-09-19 14:45:20  INFO: Started Server@7ead1d80{STARTING}[10.0.7,sto=0] @4919ms
2022-09-19 14:45:20  INFO: Health check enabled with period 480000
2022-09-19 14:45:23  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@2bb89898[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.955S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:23  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@549bd163[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.942S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:23  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@483d893d[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.967S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:23  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@3dfc8d53[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.983S, count=25], session=node0btkasuz3415qx2pq8rn0ssq0.node0, user=null
2022-09-19 14:45:25  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@67069727[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.989S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:25  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@3212b144[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.988S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:25  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@2f55381b[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.998S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:25  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@26e0e1e[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.994S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:26  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@6d55527[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.976S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:26  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@47c86214[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.994S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:26  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@527904e9[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.946S, count=25], session=node0btkasuz3415qx2pq8rn0ssq0.node0, user=null
2022-09-19 14:45:26  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@145ba0c8[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.975S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:26  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@43a17c99[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.976S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:27  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@1edd83dc[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.989S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:27  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@52ca1896[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.978S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:28  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@6c4d178b[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.97S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:28  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@7836dc22[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.967S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:29  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@37068951[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.99S, count=25], session=node0btkasuz3415qx2pq8rn0ssq0.node0, user=null
2022-09-19 14:45:29  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@1c871510[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.984S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:29  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@6c176aaf[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.985S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:30  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@5fd827f7[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.998S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:30  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@410c122a[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.969S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:30  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@17f7f88f[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.972S, count=25], session=node0btkasuz3415qx2pq8rn0ssq0.node0, user=null
2022-09-19 14:45:30  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@31e984fb[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.98S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:31  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@14422212[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.982S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:31  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@1181e089[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.96S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:31  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@1520af20[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.992S, count=25], session=node0btkasuz3415qx2pq8rn0ssq0.node0, user=null
2022-09-19 14:45:31  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@384daa72[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.958S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:32  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@6c74949d[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.969S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:32  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@4dc32c26[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.918S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:32  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@2b94533b[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.957S, count=25], session=node0btkasuz3415qx2pq8rn0ssq0.node0, user=null
2022-09-19 14:45:33  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@2e99a759[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.994S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:34  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@3456d4ae[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.991S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:34  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@3a9466d6[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.967S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:36  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@1a471a93[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.925S, count=25], session=node0btkasuz3415qx2pq8rn0ssq0.node0, user=null
2022-09-19 14:45:36  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@7f55dc8e[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.938S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:36  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@18a49249[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.894S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:36  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@73b42df3[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.999S, count=25], session=node0btkasuz3415qx2pq8rn0ssq0.node0, user=null
2022-09-19 14:45:38  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@676c3bdf[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.979S, count=25], session=node0btkasuz3415qx2pq8rn0ssq0.node0, user=null
2022-09-19 14:45:38  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@2131dee5[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.955S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:39  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@665092ed[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.993S, count=25], session=node0btkasuz3415qx2pq8rn0ssq0.node0, user=null
2022-09-19 14:45:39  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@778e75f9[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.988S, count=25], session=node0ingqgwxwmnuv1m64hrtgke5s62134.node0, user=null
2022-09-19 14:45:39  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@4b6024ec[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.998S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null
2022-09-19 14:45:40  WARN: DOS ALERT: Request delayed=100ms, ip=[0:0:0:0:0:0:0:1], overlimit=OverLimit@17efba96[type=IP, id=[0:0:0:0:0:0:0:1], duration=PT0.98S, count=25], session=node0lbdtufsgr90x1nqqvjnyb0t982071.node0, user=null

Some further information which may can help:
The traccar server was working Ok and without any problem, I restarted the server for some other reason, but directly after restarting I started seeing these warnings in the log file.

Thanks for your helps in advance!

Anton Tananaev2 years ago

DOS alert means that you request the API too frequently. Looks like the source IP is local.

code_af2 years ago

Yes, the source IP seems local.

We have a mobile app which connects itself to the server through websocket, but if connection to the server get failed then it attempts again at the same time to connect itself to the websocket, and it may occur to do the request too frequently.

Is multiple frequent attempts to connect to the websocket may also lead to it?

Anton Tananaev2 years ago

Is multiple frequent attempts to connect to the websocket may also lead to it?

Probably yes. You should have some delay before reconnecting.

code_af2 years ago

Thank you @Anton, this helps alot.