aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/lib/(public-mirror)
diff options
context:
space:
mode:
authorKajetan Staszkiewicz <ks@FreeBSD.org>2025-10-20 16:53:50 +0000
committerKajetan Staszkiewicz <ks@FreeBSD.org>2025-10-30 17:32:52 +0000
commitee1f417a8609b8742332950521800502759dd185 (patch)
tree6c8991e32b2a18af813706f1942c3488984cd8f1 /sys/contrib/openzfs/lib/(public-mirror)
parent646798b6783184fb194a2d97667e05895e00c358 (diff)
pf: Check if source nodes use a valid redirection addressHEADmain
Source nodes redirect (nat-to, rdr-to, route-to) all further connections matching the rule which has created the source node. The source node is valid as long as there are states resulting from the rule or until the source node lifetime expires. When the rule's redirection pool is modified (e.g. table contents are changed) the source node is still valid and it will redirect new connections to invalid target (e.g. a dead next-hop). When performing source tracking after finding a source node check if the redirection address still exists in pool of the rule which has created this node. If not, delete the source node. This will result in finding a new redirection address and creation of a new source node. Reviewed by: kp Obtained from: OpenBSD Sponsored by: InnoGames GmbH Differential Revision: https://reviews.freebsd.org/D53231
Diffstat (limited to 'sys/contrib/openzfs/lib/(public-mirror)')
0 files changed, 0 insertions, 0 deletions