osmo-msc/src/libmsc
Neels Hofmeyr 8e0af0ba69 vlr auth: gracefully reject malformed auth response
Instead of just closing down the conn hard, actually feed invalid auth response
data to vlr_subscr_rc_auth_resp() in order to trigger all the actions we want
to see with a failed authentication:
- a GSUP signal that the auth failed,
- a LU reject.
Verify this in new test_wrong_sres_length() in msc_vlr_test_gsm_authen.c.

Note that in gsm48_rx_mm_auth_resp(), the is_r99 flag is falsely derived from
the RES length, which upcoming commit Ib7f7d89a8b9455d2c022d53d74328fa7488577f4
will fix.

Change-Id: I4179a290069ac61d0662de4ec7ca3edb76988899
2018-03-10 22:12:13 +01:00
..
Makefile.am mgcp: use osmo-mgw to switch rtp streams 2018-02-05 22:28:43 +00:00
a_iface.c a_iface: fix BSSMAP reset handling 2018-03-07 18:10:23 +01:00
a_iface_bssap.c implement support for 3-digit MNC with leading zeros 2018-02-28 19:30:14 +01:00
ctrl_commands.c Add control command to expire subscriber 2018-01-05 10:10:35 +00:00
db.c Wrap osmo_strlcpy() calls 2018-02-05 12:57:06 +01:00
gsm_04_08.c vlr auth: gracefully reject malformed auth response 2018-03-10 22:12:13 +01:00
gsm_04_11.c cosmetic: Use msgb_hexdump*() rather than manual osmo_hexdump() on msg 2018-02-09 02:22:09 +01:00
gsm_04_14.c remove bsc_api.h and all users - they're all dead code 2018-02-14 00:28:02 +01:00
gsm_04_80.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
gsm_subscriber.c Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00
iu_dummy.c iucs: Add a function to return the connection ID for the IU SCCP conn 2018-02-16 08:09:32 +00:00
iucs.c iucs: Add a function to return the connection ID for the IU SCCP conn 2018-02-16 08:09:32 +00:00
iucs_ranap.c mgcp: use osmo-mgw to switch rtp streams 2018-02-05 22:28:43 +00:00
mncc.c Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00
mncc_builtin.c Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00
mncc_sock.c MNCC: Add input validation 2018-01-23 17:03:05 +00:00
msc_ifaces.c mgcp: use osmo-mgw to switch rtp streams 2018-02-05 22:28:43 +00:00
msc_mgcp.c msc_mgcp: Add FSM event names 2018-02-26 15:50:17 +00:00
msc_vty.c implement support for 3-digit MNC with leading zeros 2018-02-28 19:30:14 +01:00
osmo_msc.c fix: clear vlr_subscr->msc_conn_ref when the conn is discarded 2018-03-10 05:17:38 +01:00
rrlp.c Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00
silent_call.c silent call: clarify rc and error messages logged on vty 2018-03-10 05:17:38 +01:00
smpp_openbsc.c Wrap osmo_strlcpy() calls 2018-02-05 12:57:06 +01:00
smpp_smsc.c cosmetic: Use msgb_hexdump*() rather than manual osmo_hexdump() on msg 2018-02-09 02:22:09 +01:00
smpp_smsc.h libmsc: add support for SMPP delivery receipts 2017-08-27 02:33:49 +02:00
smpp_utils.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
smpp_vty.c vty: skip installing cmds now always installed by default 2017-11-01 00:51:21 +01:00
sms_queue.c Fix whitespace issues 2018-02-06 19:31:08 +01:00
subscr_conn.c libmsc: Add a function to return a unique ID of the subscriber conn 2018-02-16 08:09:33 +00:00
transaction.c remove unused paging.h and osmo_bsc_grace.h 2018-01-24 23:29:51 +01:00
ussd.c src/libmsc/ussd.c: drop useless forward declaration 2018-01-10 22:17:37 +06:00
vty_interface_layer3.c silent call: clarify rc and error messages logged on vty 2018-03-10 05:17:38 +01:00