Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2016 14:35:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-pf@FreeBSD.org
Subject:   [Bug 207598] pf adds icmp unreach on gre/ipsec somehow
Message-ID:  <bug-207598-17777-876K7WIR8R@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207598-17777@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207598-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=3D207598

Kristof Provost <kp@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #170747|0                           |1
        is obsolete|                            |

--- Comment #29 from Kristof Provost <kp@freebsd.org> ---
Created attachment 171268
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D171268&action=
=3Dedit
pf error returns

Hmm. I might be making this harder than it needs to be.
If the netpfil hook returns EACCESS ip_forward() won't actually generate an
ICMP error message.

The problem is that PF returns PF_PASS, PF_DROP, ... instead of the error c=
odes
the stack expects.

Can you test this patch?

It's interesting that this doesn't seem to be as big a problem on CURRENT,
because the fast forwarding code (ip_tryforward()) doesn't generate ICMP er=
rors
for netpfil() errors.

--=20
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-207598-17777-876K7WIR8R>