[L] Change in pysim[master]: sms/smpp-ota-tool: reassemble multi part response SMS
Attention is currently required from: dexter, laforge. Hoernchen has posted comments on this change by Hoernchen. ( https://gerrit.osmocom.org/c/pysim/+/43544?usp=email ) Change subject: sms/smpp-ota-tool: reassemble multi part response SMS ...................................................................... Patch Set 3: (6 comments) File pySim/sms.py: https://gerrit.osmocom.org/c/pysim/+/43544/comment/cf7da830_34db5c7f?usp=ema... : PS2, Line 99: # TS 23.040 9.2.3.24.1/.8 IEI of the concat IE
You are referencing to 9.2.3.24.1 and 9.2.3.24. […] Done
https://gerrit.osmocom.org/c/pysim/+/43544/comment/ac6018ca_1a23f57b?usp=ema... : PS2, Line 132: # TS 23.040 9.2.3.24.1.8 , total zero or seqno zero / > total:
Did you mean TS 23.040 9.2.3.24. […] Done
https://gerrit.osmocom.org/c/pysim/+/43544/comment/81feedac_d88d323d?usp=ema... : PS2, Line 153: if len(s['parts']) < total:
I wonder what happens when someone keeps sending incomplete sets. […] Yeah that was by design considering the size of the data and how long we collect this the leak did not matter.. There is no reassembly timer in TS 23.040 (9.2.3.24.1 only says incomplete sets "may be discarded"). I chose a cap instead of timers for this reworked patch: max_sets=8, oldest incomplete set evicted. arbitrary number, discarding is fine anyway.
File tests/unittests/test_sms.py: https://gerrit.osmocom.org/c/pysim/+/43544/comment/266a9919_8d5142bc?usp=ema... : PS2, Line 109: """TS 23.040 9.2.3.24 reassembly of multi-part SMS.
I would recommend to reference the spac as "3GPP TS 23.040" and not only "TS ..." […] Done
https://gerrit.osmocom.org/c/pysim/+/43544/comment/e90e1b42_02d450d1?usp=ema... : PS2, Line 113: form before decoding."""
I would rephrase it a bit: […] Done
https://gerrit.osmocom.org/c/pysim/+/43544/comment/070db4e6_04b99c6e?usp=ema... : PS2, Line 137: self.assertEqual(b2h(built), '0700030102017100')
maybe move test_ground_truth_udh above test_single_part_passthrough? It seems to be just a precursor […] Done
-- To view, visit https://gerrit.osmocom.org/c/pysim/+/43544?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I8c81097e607e0d055c4f031bbcc8a74d5c24a0e7 Gerrit-Change-Number: 43544 Gerrit-PatchSet: 3 Gerrit-Owner: Hoernchen <ewild@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Attention: laforge <laforge@osmocom.org> Gerrit-Attention: dexter <pmaier@sysmocom.de> Gerrit-Comment-Date: Wed, 23 Sep 2026 16:06:08 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: dexter <pmaier@sysmocom.de>
participants (1)
-
Hoernchen