Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Aug 2017 11:28:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 221137] FreeBSD 11+ does not send ICMP redirects
Message-ID:  <bug-221137-2472-ljSewVYth1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221137-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221137-2472@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=3D221137

--- Comment #5 from igorr@speechpro.com ---
I have used M_SKIP_FIREWALL to avoid reintroducing packet into
pfil_run_hooks().

As ICMP redirects are not very common, and if there are no much trouble with
reprocessing packet in input firewall rules we can remove M_SKIP_FIREWALL f=
rom
my patch. Or use some different flag.

Also I have not found any places referencing to M_SKIP_FIREWALL except
ip_output.c. And it is called after ip_input().

So with my patch ip_tryforward() will be used most of the time. And in rare
cases when ICMP redirect should be sent it will not be used.

But I have nothing against using net.inet.ip.redirect as flag for disablinmg
fast path and enabling ICMP redirects.

--=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-221137-2472-ljSewVYth1>