Project

General

Profile

Actions

Bug #3288

closed

osmo-ggsn hangs on certain CREATE PDP CONTEXT gtp packets

Added by dexter almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
05/24/2018
Due date:
% Done:

100%

Spec Reference:

Description

The function ipcp_contains_option() in ggsn.c hangs because some options seem to contain zero length. This causes cur += cur_opt->len to stay at a constant value. Unfortunately cur is also used in the abortion condition of the while loop. This causes osmo-ggsn to hang with 100% CPU load eventually.

The problem can be reproduced locally by a simple osmo-ggsn/osmo-sgsn/osmo-nitb setup and a blackberry 9780.


Files

test.c test.c 1.26 KB dexter, 05/24/2018 04:26 PM
problematic_packet.pcapng problematic_packet.pcapng 548 Bytes dexter, 05/25/2018 08:07 AM
test.c test.c 1.59 KB dexter, 05/25/2018 08:07 AM

Related issues

Related to OsmoGGSN (former OpenGGSN) - Bug #3319: also handle PCOs that contain primary and secondary DNS in two separate IPCP containersResolvedpespin06/04/2018

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)