Commit Graph

16 Commits

Author SHA1 Message Date
oysteikt b8d861cc84 rcon: handle recv_packet with body size 0 2026-06-12 00:09:52 +09:00
oysteikt 28ddaff0b7 rcon.c: fix freebsd cross
Build and test / build-freebsd-cross (push) Successful in 57s
Build and test / build (push) Successful in 1m4s
Build and test / test (push) Successful in 2m48s
2026-06-11 17:52:24 +09:00
oysteikt 16e9f12a34 Split off rcon related code into separate source file
Also rename tests and rename some constants, and modify Makefile to
handle the new structure.
2026-06-11 17:02:21 +09:00
oysteikt 7c2b7e5ea8 main.c: remove unused argc + argv 2026-06-11 04:32:50 +09:00
oysteikt 16b83475c2 recv_packet: calculate valid package sizes from struct size 2026-05-12 20:06:15 +09:00
oysteikt ef973d9532 {send,recv}_packet: embed last padding byte in package struct and fix sizes accordingly 2026-05-12 20:06:15 +09:00
oysteikt ba31695c9b {send,recv}_packet: use compiler intrinsics to fix endianness on all platforms 2026-05-12 20:06:15 +09:00
oysteikt 13c8ced533 recv_packet: fix reported packet size on abnormal payloads 2026-05-12 19:21:09 +09:00
frero 9be78416d1 fix: remove double auth packet sending 2026-02-08 00:25:10 +01:00
frero ec39359931 ensure little endian 2026-02-08 00:12:29 +01:00
frero ac67ea4f7f more error handling 2026-02-07 23:38:49 +01:00
frero 39a943e4cc send and receive packets 2026-02-07 22:35:46 +01:00
frero 4e0036e5f9 rcon protocol helpers 2026-02-07 22:16:12 +01:00
frero 27aa6fcd19 add rcon packet struct 2026-02-07 22:05:17 +01:00
frero 58dc45b910 get port number from envvar 2026-02-07 22:05:17 +01:00
frero f63f3fa4b7 initial hello world 2026-02-07 20:53:17 +01:00