Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 2014 20:19:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-pf@FreeBSD.org
Subject:   [Bug 176268] [pf] [patch] synproxy not working with route-to
Message-ID:  <bug-176268-17777-Hg1ORNHlKK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-176268-17777@https.bugs.freebsd.org/bugzilla/>
References:  <bug-176268-17777@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=176268

vegeta@tuxpowered.net changed:

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

--- Comment #2 from vegeta@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-176268-17777-Hg1ORNHlKK>