mirror of
https://github.com/safing/portmaster.git
synced 2026-12-04 09:38:21 +00:00
df06892918
Packets that received a verdict while waiting in a queue (the default-drop after the 20 s verdict timeout) cannot be influenced anymore. Handling them only created connections, handler workers and "verdict already set" noise, which made a backlog grow instead of drain. - packet.Packet gains VerdictSet(). nfqueue and both Windows kext packet types report their verdict flag; the base type reports false. - The dispatcher and the per-connection handler skip packets whose verdict is already set. - nfqueue: a packet that could not be handed to the handler queue within 1 s will never get a verdict. Drop it right away instead of starting a watchdog and keeping it in the kernel queue for 20 s. This reduces wasted work and log noise under load. Refs #2233