Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) https://osmocom.org/projects/libosmo-ranap
Go to file
Pau Espin 5484d958c6 ranap_transp_layer_addr_decode2(): Fix decoding X.213 IPv4 address len=7
It was found in the field that some peers sends an X.213 IP address
consisting of 7 bytes (1byte IDP/AFI, 2byte ICP, 4 byte IPv4 address) insetad
of 20 bytes.

This is indeed possible when reading ITU Rec X.213 A.5.2.3, where it
states that Table A5 defining the 17 bytes DSP len for IANA ICP
"gives the maximum length of the DSP". So smaller values are still

Related: SYS#6623
Change-Id: I507fb1605d976bd8573162e4fa81721245330184
2023-11-03 17:57:32 +01:00
asn1 asn1tostruct.py: fix leak in error paths of iesDefs 2023-04-27 16:41:49 +00:00
contrib Bump version: → 1.5.0 2023-09-12 14:14:07 +02:00
debian Bump version: → 1.5.0 2023-09-12 14:14:07 +02:00
doc Drop osmo-hnbgw 2022-01-04 18:59:46 +01:00
include add ranap_new_msg_reset2() with GlobalRNC-ID 2023-05-11 22:26:07 +02:00
pcap Better capture for PS Data 2016-02-18 13:21:30 +01:00
specs import TR 25.931 with examples of signalling procedures 2016-02-22 09:17:15 +01:00
src ranap_transp_layer_addr_decode2(): Fix decoding X.213 IPv4 address len=7 2023-11-03 17:57:32 +01:00
tests hnb-test.c: Update to libosmocore osmo_auth_gen_vec2 2023-06-21 11:03:57 +00:00
.gitignore Move testdir src/tests/ -> tests/ 2023-05-15 10:01:45 +00:00
.gitreview add .gitreview to support git review plugin 2017-08-08 17:02:18 +00:00
COPYING move COPYING file to root directory 2015-12-21 21:01:00 +01:00
Makefile.am Move testdir src/tests/ -> tests/ 2023-05-15 10:01:45 +00:00
README.md README.md: remove obsolete notice from 7 years ago 2022-06-18 14:01:45 +02:00
TODO-RELEASE Bump version: → 1.5.0 2023-09-12 14:14:07 +02:00
configure.ac Bump version: → 1.5.0 2023-09-12 14:14:07 +02:00
git-version-gen add git-version-gen to auto-generate git based version number 2016-01-03 18:08:05 +01:00
libosmo-hnbap.pc.in Provide libosmo-hnbap as a public shared library 2021-10-22 15:42:27 +02:00
libosmo-ranap.pc.in add pkg-config file for libosmo-ranap 2016-01-03 18:12:22 +01:00
libosmo-rua.pc.in Provide libosmo-rua as a public shared library 2021-10-22 15:43:17 +02:00
libosmo-sabp.pc.in sabp: Generate C/H files for SABP; create libosmo-sabp 2019-09-23 20:23:51 +02:00
move-asn1-header-files.sh move-asn1-header-files: error for wrong asn1c 2022-11-11 17:40:13 +01:00


osmo-iuh - Osmocom Iuh implementation

This repository contains a C-language implementation of the 3GPP Iuh interface. You can use it to interface Iuh-speaking femtocells/small cells to Iu-speaking MSCs and SGSNs.

It is part of the Osmocom Open Source Mobile Communications project.


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

GIT Repository

You can clone from the official libosmocore.git repository using

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

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


There is currently no documentation beyond the wiki available on the homepage. We would love to see somebody contributing a manual that can be part of the osmo-gsm-manuals suite.

Mailing List

Discussions related to osmo-iuh 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.


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-iuh can be seen at https://gerrit.osmocom.org/#/q/project:osmo-iuh+status:open


It is generally best to check the wiki for the most up-to-date build instructions.

As external library dependencies, you will need

To bootstrap the build, in the root directory, run:

autoreconf --install

After that, run the usual

./configure [options]
[sudo] make install

Regenerating C code from ASN.1 source

In order to re-generate the C source code from the ASN.1 source, you will need a modified asn1c which has the following features: