Project

General

Profile

Actions

EPDG implementation plan » History » Revision 4

« Previous | Revision 4/27 (diff) | Next »
lynxis, 01/29/2023 07:17 PM


EPDG implementation plan

The big picture

Ideally, we want to reuse existing code whenever possible, rather than reinvent the wheel. Time will tell, if this works out or if we have to rewrite more of it.
  • StrongSwan charon for handling IKEv2 and managing the IPsec SAs in the kernel IPsec
  • Erlang DIAMETER application for all the related interfaces
  • Erlang gtplib for S2b
This means we will have two major "applications" running:
  • charon
  • ePDG (likely in Erlang)

Between those two we will need some kind of non-standard, custom interface. For now I've called it "CEAI" for (Charon External AKA Interface)

Control Plane

  • red color indicates elements / interfaces to be implemented.

User Plane

  • red color indicates elements / interfaces to be implemented.
  • blue color indicates control-plane elements controlling the user plane

3GPP Interfaces and Procedures

ePDG

S2b to PGW (GTPv2C)

Create Session Request / Response
Delete Session Request / Response
Modify Bearer Request / Respone (not needed?)
Modify Bearere Command (not needed?)
Bearer Resource Command (not needed?)
Create Bearer Request / Response
Update Bearer Request / Response (not needed?)

SWm to AAA (DIAMETER)

Diameter-EAP-Request (DER) / Diameter-EAP-Response (DEA)
Diameter-AA-Request (AAR) / Diameter-AA-Response (AAA)
Session-Termination-Request (STR) / Session-Termination-Answer (STA)
Re-Auth-Requst (RAR) / Re-Auth-Answer (RAA)
Abort-Session-Request (ASR) / Abort-Session-Answer (ASA)

SWu to UE (IKEv2, ESP)

Gxb to PCRF (not needed?)

3GPP AAA Server

SWx to HSS (DIAMETER)

Push-Profile-Request (PPR) / Push-Profile-Answer (PPA)
Registration-Termination-Request (RTR) / Registration-Termination-Answer (RTA)
Multimedia-Auth-Request (MAR) / Multimedia-Auth-Answer (MAA)
Server-Assignment-Request (SAR) / Server-Assignment-Answer (SAA)

S6b to PGW (DIAMETER)

FIXME

SWm to ePDG (DIAMETER)

see above.

custom Interfaces / Procedures

CEAI

FIXME

Authentication

MSC UE, sswan, ePDG, PWG, HSS

Files (2)
ipsec_auth.png View ipsec_auth.png 80.8 KB MSC UE, sswan, ePDG, PWG, HSS lynxis, 01/29/2023 07:16 PM
ipsec_auth.msc ipsec_auth.msc 1.14 KB MSC UE, sswan, ePDG, PWG, HSS (source) lynxis, 01/29/2023 07:16 PM

Updated by lynxis about 1 year ago · 4 revisions

Add picture from clipboard (Maximum size: 48.8 MB)