osmo-sgsn/include/osmocom/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
common.h move include/openbsc to include/osmocom/sgsn 2017-09-06 16:47:47 +02:00
crc24.h move include/openbsc to include/osmocom/sgsn 2017-09-06 16:47:47 +02:00
debug.h Remove bogus DNS log category 2021-03-10 12:30:05 +00:00
gprs_gb.h Fix nsei+bvci not updated on rx UL SNDCP data 2021-02-16 13:59:07 +01:00
gprs_gb_parse.h gprs_gb_parse: Add function to determine TLLI from encoded BSSGP 2020-11-24 11:33:16 +01:00
gprs_gmm.h Split out GPRS SM layer into its own file 2019-09-03 15:22:15 +02:00
gprs_gmm_attach.h gprs_gmm: Fix missing Security Command for 3G when attaching 2018-10-02 20:19:35 +02:00
gprs_gmm_fsm.h gprs_gmm_fsm.c: Implement RAT change between 2g and 3g 2020-02-04 10:21:12 +01:00
gprs_llc.h Introduce and use log macros when no mm ctx available 2019-08-20 10:34:29 +00:00
gprs_llc_xid.h move include/openbsc to include/osmocom/sgsn 2017-09-06 16:47:47 +02:00
gprs_mm_state_gb_fsm.h mm_state_{gb,iu}_fsm: Improve naming for detach event 2021-04-14 13:27:36 +02:00
gprs_mm_state_iu_fsm.h mm_state_{gb,iu}_fsm: Improve naming for detach event 2021-04-14 13:27:36 +02:00
gprs_ranap.h gprs_ranap: release Iu UE Context when exiting PMM Connected 2019-10-03 20:29:37 +00:00
gprs_sgsn.h VTY: Don't display 'PDP Address: invalid' for IPv4v6 2021-09-30 20:45:19 +02:00
gprs_sm.h Split out GPRS SM layer into its own file 2019-09-03 15:22:15 +02:00
gprs_sndcp.h llme_free: clean up related sndcp 2021-12-07 17:13:12 +01:00
gprs_sndcp_comp.h use enums consistently instead of falling back to int 2018-11-15 15:57:59 +01:00
gprs_sndcp_dcomp.h move include/openbsc to include/osmocom/sgsn 2017-09-06 16:47:47 +02:00
gprs_sndcp_pcomp.h move include/openbsc to include/osmocom/sgsn 2017-09-06 16:47:47 +02:00
gprs_sndcp_xid.h use enums consistently instead of falling back to int 2018-11-15 15:57:59 +01:00
gprs_subscriber.h use __FILE__, not __BASE_FILE__ 2018-08-20 20:23:35 +00:00
gprs_utils.h Drop gprs_msgb_resize_area with libosmocore replacement 2018-08-15 14:11:30 +02:00
gtp_mme.h Support forwarding RIM messages over GTPCv1 EUTRAN<->GERAN 2021-05-19 11:45:05 +02:00
gtphub.h gtphub: rename sgsn's oww osmo_sockaddr into sgsn_sockaddr 2020-07-18 21:43:49 +00:00
sgsn.h Iu: add UEA encryption 2022-03-10 19:07:38 +01:00
sgsn_rim.h Support forwarding RIM messages over GTPCv1 EUTRAN<->GERAN 2021-05-19 11:45:05 +02:00
signal.h move include/openbsc to include/osmocom/sgsn 2017-09-06 16:47:47 +02:00
slhc.h move include/openbsc to include/osmocom/sgsn 2017-09-06 16:47:47 +02:00
v42bis.h treewide: remove FSF address 2021-12-14 12:21:06 +01:00
v42bis_private.h treewide: remove FSF address 2021-12-14 12:21:06 +01:00
vty.h Support forwarding RIM messages over GTPCv1 EUTRAN<->GERAN 2021-05-19 11:45:05 +02:00