3 Commits
Author SHA1 Message Date
Gavin Luo fffe9fc566 Fix reset buffer in dhcp response loop
Previously, the buffer was not reset within the response loop. If a packet
handle failed or completed, the buffer retained its state. Specifically,
if `ReadPacketFrom` returned `io.ErrShortBuffer`, the error was ignored
via `continue`, but the buffer remained full. This caused the next
read attempt to immediately fail with the same error, creating a tight
busy-wait loop that consumed 100% CPU.

Validates `buffer.Reset()` is called at the start of each iteration to
ensure a clean state for 'ReadPacketFrom'.
2026-01-05 17:46:59 +08:00
Gavin Luo 7eb3535094 release: Fix systemd permissions 2025-02-24 07:27:55 +08:00
Gavin Luo 4833f6d5db Fix systemd service caps for process sniffing 2023-02-09 13:32:31 +08:00