Project

General

Profile

Actions

Bug #2401

closed

OsmoPCU accepts UDP packets from any source

Added by laforge almost 7 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
-
Start date:
07/25/2017
Due date:
% Done:

100%

Spec Reference:

Description

It doesn't matter to which IP/PORT the NSVC of the PCU have been configured: It seems we only bind to the respective local port without doing a connect() of the socket to the given destination IP. Outbound packets are sent via sendto(). Incoming packets are read using recvfrom() and gprs_ns_rcvmsg() seems to dynamically allocate a NSVC if we don't know any NSVC for that source address.

The above behavior makes a lot of sense for the SGSN, but it isn't the right thing to do on the PCU side. We should either connect() the socket to the known address/port of the SGSN, or we should drop packets in gprs_ns_rcvmsg() if we don't have a configured NSVC for that source ip/port


Related issues

Related to OsmoPCU - Bug #2384: NSVCI=0 seems to cause problemsClosedlynxis07/20/2017

Actions
Related to OsmoPCU - Feature #3372: Support for SNS auto-configuration (SIZE / SNS-CONFIG procedure)Resolvedlaforge07/01/2018

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)