Project

General

Profile

Actions

Feature #6235

open

osmo-epdg: gtp tunnel management

Added by pespin 4 months ago. Updated about 17 hours ago.

Status:
In Progress
Priority:
Urgent
Assignee:
Target version:
-
Start date:
10/25/2023
Due date:
% Done:

90%


Description

osmo-epdg needs to create GTP tunnels (GTP-U) for each session created against PGW over the S2b interface.
The GTPv2C side of things is already more or less in place for CreateSession Req+Resp, but we are not yet setting up the tunnel.

AFAIU the idea is to use netfilter rules to route traffic between the IPsec strongswan tunnel and each of the GTP tunnels, using fwmark iirc.
It's still not clear who's in charge to set up the netfilter rules.

From https://osmocom.org/issues/5288#note-4:

It would be an idea to first have a small stand-alone erlang program that uses those libraries to create kernel GTP tunnels whose creation/modification/removal can be confirmed using libgtpnl/tools/gtp-tunnel to display the current in-kernel state.

We also need to think about the best approach to run the erlang code with NET_ADMIN capabilities which will probably be needed to create the tunnels and set up netfiler rules.


Related issues

Related to osmo-ePDG - VoWifi Evolved Packet Data Gateway - Bug #6361: open5gs-upfd: Fix open5gs package assigning 1st IP address of the UE pool to the ogstunFeedbackpespin02/15/2024

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)