commit | 236d1d486541c58131f6282b50158602a32992b7 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <neels@hofmeyr.de> | Mon Aug 20 17:28:33 2018 +0200 |
committer | Neels Hofmeyr <neels@hofmeyr.de> | Mon Aug 20 17:31:58 2018 +0200 |
tree | b8f1163442f7067ab9ce45666d1e5f2baf30c8da | |
parent | 2d3fae7e3699ba339d83464ee4c67cbe76cd167d [diff] |
fix decoding of incoming X.213 NSAP addr Fix ranap_transp_layer_addr_decode() to test == 7 instead of > 7: If a femto cell sends its Transport Layer Address as X.213 NSAP IPv4, we receive 3 header bytes and four IP-address bytes, so the length is exactly 7. This function is very vague on numerous other decoding details, but this patch only fixes the vital length check that makes 3G usable with X.213 NSAP. Related: OS#3420 Change-Id: I2cd1b2d8e1c1ae707cfc0dc7961a2b31ecdf29e0
This repository contains a C-language implementation of the 3GPP Iuh interface, together with a HNB-GW (Home NodeB Gateway). 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
You can clone from the official libosmocore.git repository using
git clone git://git.osmocom.org/osmo-iuh.git
There is a cgit interface at http://git.osmocom.org/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.
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] make [sudo] make install
Note: osmo-iuh just left very active development (December 2015, January 2016), so your mileage may vary.
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, and it will establish Iu (over SUA) connections towards the MSC and SGSN.
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: