HomeFreeBSD

pf: Add a sysctl to limit work done for rdr source port rewriting

Description

pf: Add a sysctl to limit work done for rdr source port rewriting

It was pointed out that the current approach of exhaustively searching
for a free source port might be very time consuming. Limit the amount
of work that we might do before giving up.

Reviewed by: kp
Reported by: Eirik Øverby <ltning-freebsd@anduin.net>
MFC after: 3 months
Sponsored by: Klara, Inc.
Sponsored by: Modirum
Differential Revision: https://reviews.freebsd.org/D46495

Details

Provenance
markjAuthored on Sep 10 2024, 2:33 PM
Reviewer
kp
Differential Revision
D46495: pf: Add a sysctl to limit work done for rdr source port rewriting
Parents
rG001ca4955e69: zdb: fix build on 32bits
Branches
Unknown
Tags
Unknown