[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170919115327.zbu5s2dnndj2ufx5@nataraja>
Date: Tue, 19 Sep 2017 19:53:27 +0800
From: Harald Welte <laforge@...monks.org>
To: Tom Herbert <tom@...ntonium.net>
Cc: davem@...emloft.net, netdev@...r.kernel.org, pablo@...filter.org,
rohit@...ntonium.net
Subject: Re: [PATCH net-next 07/14] gtp: Support encapsulation of IPv6 packets
On Mon, Sep 18, 2017 at 05:38:57PM -0700, Tom Herbert wrote:
> Allow IPv6 mobile subscriber packets. This entails adding an IPv6 mobile
> subscriber address to pdp context and IPv6 specific variants to find pdp
> contexts by address.
Please note that there are three different PDP contexts for IP:
* IPv4 only (what gtp.c implements so far)
* IPv6 only
* dual IPv4+IPv6 (called IPv46)
This information will have to be provisioned by the control plane
via netlink for each PDP context. The kernel module then needs to
make sure that on a v4-only context no IPv6 packets are accepted
and vice-versa.
Your proposed patch is missing this kind of screening function and
I would imagine it could introduce all kinds of security problems :/
--
- Harald Welte <laforge@...monks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
Powered by blists - more mailing lists