Project

General

Profile

Feature #3977

SABP stream delineation routines

Added by laforge about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/06/2019
Due date:
% Done:

0%

Tags:

Description

SABP is not only specified as ASN.1 with APER encoding, but 3GPP in their infinite wisdom specified that it will run directly inside a TCP stream.

As TCP, like any stream, doesn't preserve message boudaries, there's no length field or other framing that would tell us once a given SABP PDU is fully received. Instead, we have to implement something like an "incremental APER length determinant parser" which will parse the outer length of the APER encoded data, and then use the result of that to determine the length of one binary/encoded SABP PDU.

See dissect_per_length_determinant() from wireshark packet-per.c which is actually used by the wireshark SABP dissector, facing the same problem.


Related issues

Related to OsmoCBC - Bug #3979: TTCN3 SABP supportNew05/06/2019

History

#1 Updated by laforge about 1 month ago

  • Related to Bug #3979: TTCN3 SABP support added

#2 Updated by laforge about 1 month ago

  • Tags set to SMSCB

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)