lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 17 Mar 2022 11:16:26 +0000
From:   "Drewek, Wojciech" <wojciech.drewek@...el.com>
To:     Harald Welte <laforge@...monks.org>
CC:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "michal.swiatkowski@...ux.intel.com" 
        <michal.swiatkowski@...ux.intel.com>,
        Marcin Szycik <marcin.szycik@...ux.intel.com>
Subject: RE: PFCP support in kernel

Hi Harald,

> -----Original Message-----
> From: Harald Welte <laforge@...monks.org>
> Sent: czwartek, 10 marca 2022 18:49
> To: Drewek, Wojciech <wojciech.drewek@...el.com>
> Cc: netdev@...r.kernel.org; michal.swiatkowski@...ux.intel.com; Marcin Szycik <marcin.szycik@...ux.intel.com>
> Subject: Re: PFCP support in kernel
> 
> Hi Wojciech,
> 
> On Thu, Mar 10, 2022 at 03:24:07PM +0000, Drewek, Wojciech wrote:
> 
> > > I'm sorry, I have very limited insight into geneve/vxlan.  It may
> > > be of interest to you that within Osmocom we are currently implementing
> > > a UPF that uses nftables as the backend.  The UPF runs in userspace,
> > > handles a minimal subset of PFCP (no qos/shaping, for example), and then
> > > installs rules into nftables to perform packet matching and
> > > manipulation.  Contrary to the old kernel GTP driver, this approach is
> > > more flexible as it can also cover the TEID mapping case which you find
> > > at SGSN/S-GW or in roaming hubs.  We currently are just about to
> > > complete a prof-of-concept of that.
> >
> > That's interesting, I have two questions:
> > - is it going to be possible to math packets based on SEID?
> 
> I'm sorry, I'm not following you.  The SEID I know (TS 29.244 Section 5.6.2)
> has only significance on the PFCP session between control and user plane.
> 
> The PFCP peers (e.g. SMF and UPF in a PGW use case) use the SEID to
> differentiate between different PFCP sessions.
> 
> IMHO this has nothing to do with matching of user plane packets in the
> actual UFP?

Ok, I think I got it. Thanks for explanation!
> 
> > - any options for offloading this nftables  filters to the hardware?
> 
> You would have to talk to the netfilter project if there are any related
> approaches for nftables hardware offload, I am no longer involved in
> netfilter development for more than a decade by now.
> 
> In the context of the "osmo-upf" proof-of-concept we're working on at
> sysmocom, the task is explicitly to avoid any type of hardware
> acceleration and to see what kind of performance we can reach with a
> current mainline kernel in pure software.

Thanks for answer, so I think we will try with TC tool for now.
> 
> --
> - 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

Powered by Openwall GNU/*/Linux Powered by OpenVZ