osmo-msc/src
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
..
libcommon Remove unused code 2018-01-30 18:12:52 +01:00
libcommon-cs Permit a set of multiple different A5 ciphers 2018-01-28 00:09:42 +00:00
libmsc Implement checks for duplicate uplink UL L3 message 2018-02-03 20:30:03 +00:00
libvlr Shift ciphering algorithm selection from VLR to MSC 2018-01-28 00:09:41 +00:00
osmo-msc debug: Remove dead log categories 2018-01-25 00:38:11 +01:00
utils Remove utils imported from openbsc, fix building remaining util smpp_mirror 2017-12-05 19:16:32 +00:00
Makefile.am split off osmo-msc: remove files, apply build, rename 2017-08-29 12:51:19 +00:00