Project

General

Profile

Actions

Bug #6042

closed

osmo-epdg: Implement SWx interface (Diameter) AAA <> HSS

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

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

100%


Description

Create a SWx diameter module to connect to open5gs-hss.

SWx is defined in
  • 3GPP TS 29.273 sec 8
  • 3GPP TS 23.402 sec 12

Checklist

  • Server-Assignment-Request
  • callback: Registration-Termination-Request
  • Registration-Termination-Answer
  • use a callback module to handle Push-Profile-Requests
  • Push-Profile-Answer
  • MultiMediaAuth
Actions #1

Updated by lynxis 11 months ago

  • % Done changed from 0 to 40

I managed to setup diameter with SWx. So far only MAR

Actions #2

Updated by lynxis 11 months ago

  • Checklist item use a callback module to handle Push-Profile-Requests added
  • Description updated (diff)
Actions #3

Updated by lynxis 11 months ago

  • Checklist item deleted (use a callback module to handle Push-Profile-Requests)
  • Checklist item Server-Assignment-Request added
  • Checklist item callback: Registration-Termination-Request added
  • Checklist item Registration-Termination-Answer added
  • Checklist item use a callback module to handle Push-Profile-Requests added
  • Checklist item Push-Profile-Answer added
Actions #4

Updated by lynxis 11 months ago

  • Checklist item Server-Assignment-Request set to Done
Actions #5

Updated by lynxis 11 months ago

  • Checklist item MultiMediaAuth added
Actions #6

Updated by pespin 7 months ago

open5gs.git has tests/non3gpp/epdg-test.c which may be of use.

Actions #7

Updated by pespin 7 months ago

  • Description updated (diff)
Actions #8

Updated by lynxis 5 months ago

  • Status changed from New to Stalled
Actions #9

Updated by pespin 3 months ago

  • Subject changed from create a SWx diameter module to osmo-epdg: Implement SWx interface (Diameter) AAA <> HSS
Actions #10

Updated by pespin 3 months ago

  • Assignee set to pespin
Actions #11

Updated by pespin 3 months ago

  • Description updated (diff)
Actions #12

Updated by pespin about 1 month ago

  • % Done changed from 40 to 60

Network Initiated De-Registration by HSS (TS 29.273 8.1.2.2.3.2, RTR) has 2 modes, depending on DEregistration-Reason:
- PERMANENT_TERMINATION: "The 3GPP AAA Server should start
the network initiated de-registration towards the user."
- NEW_SERVER_ASSIGNED: "The 3GPP AAA Server shall remove all user data and session information for the user indicated in
the de-registration request. The 3GPP AAA Server shall not start the network initiated de-registration towards
the user."

I so far implemented NEW_SERVER_ASSIGNED, which is easier since AAA-server only needs to delete internal state and not propagate the termination:
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/36232 AAA: Swx: Answer RTR with RTA
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36230 epdg: Introduce test TC_hss_initiated_deregister_new_server_assigned

Actions #13

Updated by pespin about 1 month ago

PERMANENT_TERMINATION case is tested here:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36233 epdg: Introduce test TC_hss_initiated_deregister_permanent_termination

I'm still WIP implementing the osmo-epdg ePDG+AAA FSMs to support it.

Actions #14

Updated by pespin about 1 month ago

  • Checklist item callback: Registration-Termination-Request set to Done
  • Checklist item Registration-Termination-Answer set to Done

I submitted PERMANENT_TERMINATION, which is mostly working but I still hit a diameter encoding issue in S6b ASR. From the point of view of HSS though, everything is working.

Actions #15

Updated by pespin about 1 month ago

A new version of the patch has been submitted with all issues fixed for the PERMANENT_TERMINATION network initiated de-registration case.

Only "Push-Profile" is missing now in this interface AFAICT.

Actions #16

Updated by pespin about 1 month ago

  • Checklist item use a callback module to handle Push-Profile-Requests set to Done
  • Checklist item Push-Profile-Answer set to Done
Actions #17

Updated by pespin about 1 month ago

  • Status changed from Stalled to Resolved
  • % Done changed from 60 to 100

Missing specific Swx propagation of "HSS Initiated Update of User Profile Procedure" to other interfaces will be handled here:
https://osmocom.org/issues/6404

The specific Swx code is already there, so closing this generic ticket.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)