Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
https://osmocom.org/projects/libosmo-ranap
Neels Hofmeyr
f495b2347b
Add config node hnbgw/iuh/bind, taking an IPv4 address. Use this address to bind the Iuh server. This is particularly useful for the ip.access nano3G, which is very sensitive with SCTP addresses that don't respond to SCTP heartbeats. If the hnbgw listens on 0.0.0.0, there will be SCTP heartbeats for all local interfaces on the machine that the hnbgw runs on; the nano3G will interpret the "missing", or rather, redundant heartbeat acks for the interfaces that aren't really related to the Iuh server and assume a broken Iuh link, leading to an Iuh shutdown and reconnection, looping every minute or so. By binding the hnbgw to only one local interface, the SCTP addresses can be reduced and "missing" heartbeat acks can be avoided. Change-Id: Ie2749c152b878e17aa65dfb806826357d5c494f1 |
||
---|---|---|
asn1 | ||
contrib | ||
doc | ||
include | ||
pcap | ||
specs | ||
src | ||
.gitignore | ||
COPYING | ||
Makefile.am | ||
README | ||
configure.ac | ||
git-version-gen | ||
libosmo-ranap.pc.in | ||
move-asn1-header-files.sh |
README
Osmocom Iuh experimentation code (C) 2015 by Harald Welte <laforge@gnumonks.org> This code is a playground for implementing something along the lines of the an Iuh interface of a HNB-GW. The intent is to later integrate this with OsmoNITB + OsmoSGSN, in order to have 3G capable 'network in the box'. h1. Building As external library dependencies, you will need * libosmocore from git://git.osmocom.org/libosmocore * libasn1c from git://git.osmocom.org/libasn1c * libsctp-dev (this is the package name in Debian) * libosmo-netif from git://git.osmocom.org/libosmo-netif (sysmocom/sctp branch) * libosmo-sccp from git://git.osmocom.org/libosmo-sccp (sysmocom/iu branch) To bootstrap the build, in the root directory, run: autoreconf --install After that, run the usual ./configure [options] make [sudo] make install h1. Using Note: osmo-iuh is in active development (December 2015, January 2016) so below statements may outdate rapidly. there's not much to use yet. But if you run the 'hnbgw' executable, it will open a listening SCTP socket and wait for incoming Iuh connections. It will accept any HNB-REGISTER-REQUEST, so the homeNodeB should start to establish RUA and RANAP (which we haven't implemented yet). h1. 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: * APER support (the patch from Eurecom, or its forward-ported version from the aper branch of git://git.osmocom.org/asn1c) * support for prefixing the generated types (aper-prefix branch of git://git.osmocom.org/asn1c)