Commit Graph

17 Commits

Author SHA1 Message Date
0935fc1190 rename isBadRconRequest to isBadRconResponse 2024-04-03 20:59:37 +01:00
3e039824de log bad rcon requests at info level
include client ip in log
2024-04-03 20:54:10 +01:00
0c054377ba move validator methods into Validator struct
embed Validator into Session

unexport Session
2024-03-26 10:47:53 +00:00
ab548d669a no need to call String() explicitly here 2024-03-24 12:29:48 +00:00
690fabddaf no need to split and rejoin here. 2024-03-21 07:35:07 +00:00
f6f0044a84 Only stringify rcon responses if debug enabled. 2024-03-20 21:49:05 +00:00
725e6cfb3d isQueryResponsePacket() and isValidResponsePacket() added
fixes bug relaying query responses
2024-03-20 21:03:37 +00:00
ca33a6a390 log invalid response packets 2024-03-20 18:10:15 +00:00
dfcdb6a96a move packet header check methods into Session
log invalid packets at error level
2024-03-20 18:02:55 +00:00
f2fd9354f0 add isRconPacket(), isQueryPacket() and isResponsePacket() methods
response packets now logged at Debug level
2024-03-20 17:05:02 +00:00
7138515904 ensure we're only logging rcon
(no query packets)
2024-03-08 21:42:39 +00:00
a01df2e905 only log client IP (remove port)
log game server address
2024-03-08 02:42:01 +00:00
6f49cc5b63 log rcon commands level INFO 2024-03-08 02:29:01 +00:00
Dylan Parker
37ca09669a log errors - error handling still bad
rename folder
2023-01-08 05:13:24 -06:00
Dylan Parker
5eff7e1c08 dont wait for response 2023-01-08 05:04:44 -06:00
Dylan Parker
9640e6dc2d working for valheim 2023-01-08 04:59:43 -06:00
Dylan Parker
cfa445db14 initial commit 2023-01-08 03:26:04 -06:00