osmo-msc/tests
Harald Welte c2007855ce Implement checks for duplicate uplink UL L3 message
According to TS 24.007 Section 11.2.3.2.3, it is possible that uplink L3
messages are duplicated in some scenarios, particularly during
assignment/handover procedure.

To avoid L3 entities from seeing duplicated messages, there's a modulo-2
or modulo-4 message sequence counter, based on which the MSC can detect
and suppress such duplicate messages.

It appears that even our unit tests were wrong in that regard so far.
Rather than manually adjusting each and every message, let's make sure
that the sequence number generation always increments as expected, and
that during matching of incoming messages, sequence numbers are masked
out.

Note: the tests will only pass from libosmocore Change-Id
Iec875a77f5458322dfbef174f5abfc0e8c09d464 onwards, due to
gsm48_hdr_msg_type() being broken in earlier versions.

Change-Id: Id15e399ab7e1b05dcd426b292886fa19d36082b1
Closes: #2908
2018-02-03 20:30:03 +00:00
..
db Migrate from OpenSSL to osmo_get_rand_id() 2017-12-27 11:11:14 +00:00
msc_vlr Implement checks for duplicate uplink UL L3 message 2018-02-03 20:30:03 +00:00
smpp rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
sms_queue Migrate from OpenSSL to osmo_get_rand_id() 2017-12-27 11:11:14 +00:00
Makefile.am split off osmo-msc: remove files, apply build, rename 2017-08-29 12:51:19 +00:00
atlocal.in remove further files and autotest/autoconf bits irrelevant to osmo-msc 2017-10-03 09:44:23 +08:00
ctrl_test_runner.py Remove unneeded .py scripts 2017-12-03 21:14:10 +00:00
smpp_test_runner.py Implement IuCS (large refactoring and addition) 2017-08-08 19:17:53 +02:00
testsuite.at add msc_vlr_test_call to reproduce a sanitizer error 2017-11-27 15:40:01 +01:00
vty_test_runner.py Remove traces of meas_feed 2018-01-24 14:04:46 +00:00