Project

General

Profile

Bug #2004

Problem sending CR without data

Added by dexter 20 days ago. Updated 20 days ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
04/10/2017
Due date:
% Done:

0%

Spec Reference:

Description

When attempting to send a connection response (CR) without any data using:

        osmo_sccp_tx_conn_resp(scu, scu_prim->u.connect.conn_id,
                     &scu_prim->u.connect.called_addr,
                     NULL, 0);

Wireshark displays a malformed packet. To me it looks like if there is an optional parameter (the data part) announced, but the data is (of course) not there. However. CR seems to work fine when no data is attached.

dummy_msc.log Magnifier (8.22 KB) dexter, 04/10/2017 11:58 AM

dummy_bsc.log Magnifier (7.6 KB) dexter, 04/10/2017 11:58 AM

trace.pcapng (3.11 KB) dexter, 04/10/2017 11:59 AM

dummy_msc.tar (10 KB) dexter, 04/10/2017 11:59 AM

dummy_bsc.tar (10 KB) dexter, 04/10/2017 11:59 AM

0001-attempted-fix-for-SCCP-CC-without-user-data.patch Magnifier (2.28 KB) laforge, 04/10/2017 12:25 PM

History

#1 Updated by laforge 20 days ago

CR is connection request. I think you're referring to CC ?

#2 Updated by laforge 20 days ago

Please try attached patch.

#3 Updated by dexter 20 days ago

Thanks, looks much better now.

Also available in: Atom PDF