Project

General

Profile

Bug #2004

Problem sending CR without data

Added by dexter 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/10/2017
Due date:
% Done:

100%

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 8 months ago

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

#2 Updated by laforge 8 months ago

Please try attached patch.

#3 Updated by dexter 8 months ago

Thanks, looks much better now.

#4 Updated by laforge 7 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Merged on April 10 as 996dcf3ba672dbf20c14ddbb16efef6c86dc4cef

Also available in: Atom PDF