Osmocom Home NodeB Gateway, for attaching femtocells to the 3G CN (OsmoMSC, OsmoSGSN) https://osmocom.org/projects/osmohnbgw
Go to file
Neels Hofmeyr 8eefcbee92 UE state leak: when HNB re-registers, discard previous UE state
User reports show leaked UE contexts over time, in a scenario where HNB
regularly disconnect and reconnect.

So far, when we receive a HNB REGISTER REQ, we log as "duplicated" and
continue to use the hnb_context unchanged. But it seems obvious that a
HNB that registers does not expect any UE state to remain. It will
obviously not tear down UE contexts (HNBAP or RUA) that have been
established before the HNB REGISTER REQUEST. These hence remain in
osmo-hnbgw indefinitely.

When receiving a HNB REGISTER REQUEST, release all its previous UE
state. Allow the HNB to register with a clean slate.

The aim is to alleviate the observed build-up of apparently orphaned UE
contexts, in order to avoid gradual memory exhaustion.

Related: SYS#6297
Change-Id: I7fa8a04cc3b2dfba263bda5b410961c77fbed332
2023-02-11 03:32:34 +01:00
contrib Bump version: 1.3.0.59-d4111-dirty → 1.4.0 2023-02-07 18:05:47 +01:00
debian Bump version: 1.3.0.59-d4111-dirty → 1.4.0 2023-02-07 18:05:47 +01:00
doc doc: Include mgwpool.adoc from osmo-gsm-manuals 2022-10-20 17:15:16 +02:00
include UE state leak: when HNB re-registers, discard previous UE state 2023-02-11 03:32:34 +01:00
src UE state leak: when HNB re-registers, discard previous UE state 2023-02-11 03:32:34 +01:00
tests Introduce support for libosmo-mgcp-client MGW pooling 2022-10-20 17:03:06 +02:00
.gitignore Initial structure + import code from osmo-iuh.git 2022-01-04 19:48:52 +01:00
.gitreview Initial structure + import code from osmo-iuh.git 2022-01-04 19:48:52 +01:00
AUTHORS Initial structure + import code from osmo-iuh.git 2022-01-04 19:48:52 +01:00
COPYING Initial structure + import code from osmo-iuh.git 2022-01-04 19:48:52 +01:00
Makefile.am Initial structure + import code from osmo-iuh.git 2022-01-04 19:48:52 +01:00
README.md update URLs (git -> https; gitea) 2022-06-18 14:02:41 +02:00
TODO-RELEASE Bump version: 1.3.0.59-d4111-dirty → 1.4.0 2023-02-07 18:05:47 +01:00
configure.ac Bump version: 1.3.0.59-d4111-dirty → 1.4.0 2023-02-07 18:05:47 +01:00
git-version-gen Initial structure + import code from osmo-iuh.git 2022-01-04 19:48:52 +01:00
osmoappdesc.py Initial structure + import code from osmo-iuh.git 2022-01-04 19:48:52 +01:00

README.md

osmo-hnbgw - Osmocom hNodeB Implementation

This repository contains a C-language implementation of a 3G Home NodeB Gateway (OsmoHNBGW). It is part of the Osmocom Open Source Mobile Communications project.

You can use it to interface Iuh-speaking Home NodeB (HnodeB), such as osmo-hnodeb or ip.access nano3g, to Iu-speaking MSCs and SGSNs.

Homepage

The official homepage of the project is https://osmocom.org/projects/osmohnbgw/wiki

GIT Repository

You can clone from the official osmo-hnbgw.git repository using

git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-hnbgw

There is a web interface at https://gitea.osmocom.org/cellular-infrastructure/osmo-hnbgw

Documentation

User Manuals and VTY reference manuals are [optionally] built in PDF form as part of the build process.

Pre-rendered PDF version of the current "master" can be found at User Manual as well as the VTY Reference Manual

Mailing List

Discussions related to osmo-hnbgw are happening on the openbsc@lists.osmocom.org mailing list, please see https://lists.osmocom.org/mailman/listinfo/openbsc for subscription options and the list archive.

Please observe the Osmocom Mailing List Rules when posting.

Contributing

Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards

We us a gerrit based patch submission/review process for managing contributions. Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit for more details

The current patch queue for osmo-hnbgw can be seen at https://gerrit.osmocom.org/#/q/project:osmo-hnbgw+status:open