https://projects.osmocom.org/https://projects.osmocom.org/favicon.ico?16647414092018-06-23T18:22:02ZOpen Source Mobile Communicationslibosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=99982018-06-23T18:22:02Zlaforge
<ul><li><strong>Assignee</strong> set to <i>stsp</i></li></ul> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=117102018-09-30T08:34:15Zlaforge
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=118372018-10-02T13:16:53Zstsp
<ul></ul><p>The following functions in libosmo-netif do indeed look suspicious (as in, they expect to parse an IPA message from a single msgb):</p>
<p>osmo_ipa_process_msg()<br />osmo_ipa_parse_msg_id_resp()<br />osmo_ipa_rcvmsg_base()</p>
<p>Are the any others?</p>
<p>From the above list, only osmo_ipa_process_msg() is actually used outside of libosmo-netif itself:</p>
<p>libosmo-sccp/src/osmo_ss7.c: if (osmo_ipa_process_msg(msg) < 0) {<br />libosmo-sccp/src/osmo_ss7.c: if (osmo_ipa_process_msg(msg) < 0) {</p>
<p>In both instances, ipa_msg_recv_buffered() is already used immediately before calling into libosmo-netif.</p> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=118382018-10-02T13:17:56Zstsp
<ul></ul><p>Harald suggests we should have a TTCN3 test which "stutters" during IPA communication, i.e. sends incomplete IPA messages across a TCP connection.</p> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=118392018-10-02T13:18:18Zstsp
<ul></ul> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=120132018-10-04T15:36:52Zstsp
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=120272018-10-05T14:03:54Zstsp
<ul></ul><p>Initial version of an IPA test suite has been proposed: <a class="external" href="https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/11241">https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/11241</a></p> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=121012018-10-09T06:45:52Zstsp
<ul></ul><p>A first test has now been merged to osmo-ttcn3-hacks master.<br />This test performs a byte-per-byte transmission of an IPA ping and expects a pong response.<br />Currently only the BSC is tested, as an IPA server on OML and RSL ports.<br />More tests to follow.</p> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=121912018-10-15T13:20:41Zstsp
<ul></ul><p>Another test for the BTS test suite has been proposed: <a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/11356">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/11356</a></p> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=121922018-10-15T13:22:13Zstsp
<ul></ul><p>The BSC control interface now supports IPA ping:<br /><a class="external" href="https://gerrit.osmocom.org/c/libosmocore/+/11287">https://gerrit.osmocom.org/c/libosmocore/+/11287</a><br /><a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/11288">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/11288</a></p> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=121952018-10-15T14:44:05Zstsp
<ul></ul><p>Another test case (chopped payload) has been proposed: <a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/11357">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/11357</a></p> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=124502018-10-30T10:50:56Zstsp
<ul></ul><p>BSC and BTS are being tested since above patches have been merged.</p>
<p>Which other components should be tested?</p> libosmo-netif - Bug #2010: ipa stream support is not using buffered readhttps://projects.osmocom.org/issues/2010?journal_id=125412018-11-09T11:32:44Zstsp
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul><p>Closing this. If more tests are needed, please file a new issue or just re-open this one and add your suggestions here.</p>