Project

General

Profile

Actions

Bug #6046

closed

osmo-epdg: Implement s2b interface (GTPv2) ePDG <> PGW

Added by lynxis 11 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/26/2023
Due date:
% Done:

100%


Description

  • Related Specs:
    • 3GPP TS 23.402 (section 7)
    • 3GPP TS 29.274 (GTPv2)

- ePDG <> PGW
- valid messages:
- Echo Request
- Echo Response
- Version not Supported

- Create Session Request/Response
- Delete Session Request/Response
- Modify Bearer Request/Response
- Modify Bearer Command
- Modify Bearer Failure Indication
- Bearer Resource Command
- Bearer Resource Failure Indication
- Trace Session Activation
- Trace Session Deactivation
- Create Bearer Request/Response
- Update Bearer Request/Response
- Delete Bearer Request/Response
- Delete PDN Connection Set Request/Response
Actions #1

Updated by laforge 11 months ago

On Fri, May 26, 2023 at 12:04:42PM +0000, lynxis wrote:

Bug #6046: create S2b module (GTPv2) ePDG <> PGW

There is a complete GTPv2 implementation available from travelping / ergw.

Actions #2

Updated by lynxis 11 months ago

  • travelping/gtplib: ies/packet codec

ergw:

  • gtp_context.erl
  • behaviour(gtp_api).
  • pgw_s5s8.erl
  • gtp_v2_c.erl
Actions #3

Updated by lynxis 11 months ago

ergw_core/src/ergw_gtp_c_socket.erl

Actions #5

Updated by pespin 6 months ago

AS discussed with lynxis , I'm giving this one a try.

Actions #6

Updated by pespin 6 months ago

  • Status changed from New to In Progress
  • Assignee changed from lynxis to pespin
Actions #7

Updated by pespin 6 months ago

I have already some code transmitting a GTPv2C CreateSessionRequest with several IEs upon receiving GSUP EPDG_Tunnel_Req. It's WIP in my osmo-epdg.git branch "pespin/master".
The module is implemented on top of gen_server, using a gen_udp socket and usign gtlib to encode the IEs and message.

Actions #8

Updated by pespin 6 months ago

With these patches I can already do a GSUP EPDG_Tunnel Req/Resp + GTPv2C CreateSession Res/Resp in the docker setup:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34833
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/34804
https://gerrit.osmocom.org/c/docker-playground/+/34834

Actions #9

Updated by pespin 3 months ago

  • Subject changed from create S2b module (GTPv2) ePDG <> PGW to osmo-epdg: Implement s2b interface (GTPv2) ePDG <> PGW
Actions #10

Updated by pespin 3 months ago

  • Description updated (diff)
Actions #11

Updated by pespin about 1 month ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 70

I need to go through 3GPP TS 23.402 (section 7) again now that I understand the whole architecture better, and see if we really need to implement any of the missing messages.
If we need some message, we can probably create specific tickets for it.

We may need to use GTPv2C "Update Session" as a result of SWx TS 29.273 "8.2.2.2 HSS Initiated Update of User Profile Procedure", I still need to check. Related to #6404 and #6400.

Actions #12

Updated by pespin about 1 month ago

  • Status changed from Feedback to Resolved
  • % Done changed from 70 to 100

I don't see any need for any of the other messages for now. I'm closing the general ticket and we can later on create specific tickets if we see some procedure bits are missing.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)