WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
The variable action does not hold the final action at this place.
It could be PF_SYNPROXY_DROP PF_DEFER PF_DIVERT PF_AFRT, we don't
want to log this. It is rewrittren in the switch (action) block
Moving the logging after the switch is not an option as the mbuf
*m0 might get freed there.
We could do PFLOG_PACKET(&pd, reason, action == PF_PASS ? PF_PASS
: PF_DROP, ri->r, a, ruleset) for most cases. Unfortunately PF_AFRT
could be set to PF_DROP in some cases.