[Bug 176268] [pf] [patch] synproxy not working with route-to

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 1 20:19:44 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=176268

vegeta at tuxpowered.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vegeta at tuxpowered.net

--- Comment #2 from vegeta at tuxpowered.net ---
Created attachment 145230
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145230&action=edit
Fix synproxy operation for route-to targets for IPv4 and IPv6

The patch introduces the following changes:

- New functions pf_rebuild_route and pf_rebuild_route6 create a minimal route
struct which can be passed to ip_output or ip6_output if state already contains
loadbalancing information.

- Allocate pfse with M_ZERO to have zeroed pfse's route structs.

- Check m for M_SKIP_FIREWALL in pf_test6(), this fixes bug 127920.

- Introduce new route flag RT_PFROUTE, check for this flag before touching
routes' counters as routes in pfse are not really allocated as routes should
be.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pf mailing list