osmo-sgsn/src/sgsn
Neels Hofmeyr 3c7656a481 Iu: add UEA encryption
Add vty 'encryption uea 0 1 2', defaults to 'encryption uea 0' to yield
previous behavior.

If any UEA above 0 is enabled, include the UEA key in the Iu Security
Mode Command.

I noticed that only the code bit in st_iu_security_cmd_on_enter()
affects the test. The same code in gsm48_gmm_authorize() seems to be
dead code? But applying the patch there as well just to be safe.

We cannot yet verify the chosen UEA to match a configured UEA level,
because the iu_client.c does not send us message details with the
RANAP_IU_EVENT_SECURITY_MODE_COMPLETE.
Also we cannot yet send the set of configured UEA to the hNodeB, since,
again, iu_client.c does not provide the proper API for it.
The proper solution here is to completely dissolve iu_client.c and do
all Iu handling in osmo-sgsn itself -- see OS#5487.

Related: SYS#5516
Related: I1a7c3b156830058c43f15f55883ea301d2d01d5f (osmo-ttcn3-hacks)
Change-Id: I27e8e0078c45426bf227bb44aac82a4875d18d0f
2022-03-10 19:07:38 +01:00
..
Makefile.am Support forwarding RIM messages over GTPCv1 EUTRAN<->GERAN 2021-05-19 11:45:05 +02:00
gprs_gb.c Use new stat item/ctr getter APIs 2021-06-04 17:27:05 +02:00
gprs_gmm.c Iu: add UEA encryption 2022-03-10 19:07:38 +01:00
gprs_gmm_attach.c Iu: add UEA encryption 2022-03-10 19:07:38 +01:00
gprs_gmm_fsm.c mm_state_{gb,iu}_fsm: Improve naming for detach event 2021-04-14 13:27:36 +02:00
gprs_llc.c llme_free: clean up related sndcp 2021-12-07 17:13:12 +01:00
gprs_llc_vty.c Move out sgsn to its own subdir 2019-09-02 14:03:04 +02:00
gprs_llc_xid.c Move out sgsn to its own subdir 2019-09-02 14:03:04 +02:00
gprs_mm_state_gb_fsm.c mm_state_{gb,iu}_fsm: Improve naming for detach event 2021-04-14 13:27:36 +02:00
gprs_mm_state_iu_fsm.c mm_state_{gb,iu}_fsm: Improve naming for detach event 2021-04-14 13:27:36 +02:00
gprs_ranap.c Iu: add UEA encryption 2022-03-10 19:07:38 +01:00
gprs_sgsn.c add support for multiple encryption algorithms and a5/4 2021-06-16 16:43:23 +02:00
gprs_sm.c Use new stat item/ctr getter APIs 2021-06-04 17:27:05 +02:00
gprs_sndcp.c llme_free: clean up related sndcp 2021-12-07 17:13:12 +01:00
gprs_sndcp_comp.c Move out sgsn to its own subdir 2019-09-02 14:03:04 +02:00
gprs_sndcp_dcomp.c Move out sgsn to its own subdir 2019-09-02 14:03:04 +02:00
gprs_sndcp_pcomp.c Move out sgsn to its own subdir 2019-09-02 14:03:04 +02:00
gprs_sndcp_vty.c Move out sgsn to its own subdir 2019-09-02 14:03:04 +02:00
gprs_sndcp_xid.c Move out sgsn to its own subdir 2019-09-02 14:03:04 +02:00
gprs_subscriber.c sgsn: check for NULL of gprs_subscr_get_or_create() 2020-12-15 11:57:16 +01:00
gtp_mme.c Support forwarding RIM messages over GTPCv1 EUTRAN<->GERAN 2021-05-19 11:45:05 +02:00
sgsn_auth.c Move out sgsn to its own subdir 2019-09-02 14:03:04 +02:00
sgsn_cdr.c Move out sgsn to its own subdir 2019-09-02 14:03:04 +02:00
sgsn_ctrl.c VTY: Don't display 'PDP Address: invalid' for IPv4v6 2021-09-30 20:45:19 +02:00
sgsn_libgtp.c Revert "sgsn: Handle different levels of QoS" 2022-02-18 17:26:14 +01:00
sgsn_main.c Support forwarding RIM messages over GTPCv1 EUTRAN<->GERAN 2021-05-19 11:45:05 +02:00
sgsn_rim.c Support forwarding RIM messages over GTPCv1 EUTRAN<->GERAN 2021-05-19 11:45:05 +02:00
sgsn_vty.c Iu: add UEA encryption 2022-03-10 19:07:38 +01:00
slhc.c Move out sgsn to its own subdir 2019-09-02 14:03:04 +02:00
v42bis.c treewide: remove FSF address 2021-12-14 12:21:06 +01:00