[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAPF+HwXpCsn2DvwKJtiJKF_zHQMmUxfoMOrPPGFUdW9on95wJA@mail.gmail.com>
Date: Tue, 25 Apr 2017 22:56:07 +0300
From: Donatas Abraitis <donatas.abraitis@...il.com>
To: netdev@...r.kernel.org
Subject: [PATCH -stable 3.10,backport] net: ipv6: drop non loopback packets
claiming to originate from ::1
commit 0aa8c13eb512823bc4d60397d666a6b6260bb965 upstream.
We lack a saddr check for ::1. This causes security issues e.g. with acls
permitting connections from ::1 because of assumption that these originate
from local machine.
Assuming a source address of ::1 is local seems reasonable.
RFC4291 doesn't allow such a source address either, so drop such packets.
As IPv6 is getting faster pace, this patch should be included in older
kernels, for instance, 3.10 (RHEL7 family). It could be solved with
netfilter, but why do not apply this trivial patch to work as
expected?
--
Donatas
Powered by blists - more mailing lists