Osmocom BSC NAT: Aggregate multiple BSCs (A interfaces) in one BSC/A-interface
Go to file
Oliver Smith 5c11306e45 bsc_nat_fsm: tweak get_peer_addr
Rename the function from sccp_sap_get_peer_addr_in to get_peer_addr to
make the code using it slightly more readable.  The _in at the end of
the function is not needed anymore, this was used to differentiate from
peer_addr_out which was used in the caller code before the connection
mapping was implemented in I1556aa665fbb0a97507f98794e74820731fa6935.
Now instead of peer_addr_out, subscr_conn->bsc->addr or
subscr_conn->msc->addr are used.

Rename variable arguments to sccp_inst and addr to be consistent with
the variable names in the callers.

Related: SYS#5560
Change-Id: Ie023360724254be54cbaac4490b0341dfe68399f
2022-03-23 09:22:21 +00:00
contrib Add project skeleton 2021-12-23 10:47:21 +01:00
debian Add project skeleton 2021-12-23 10:47:21 +01:00
doc Support forwarding messages with multiple BSCs 2022-03-21 16:36:32 +01:00
include Support forwarding messages with multiple BSCs 2022-03-21 16:36:32 +01:00
src bsc_nat_fsm: tweak get_peer_addr 2022-03-23 09:22:21 +00:00
tests Add project skeleton 2021-12-23 10:47:21 +01:00
.gitignore Add project skeleton 2021-12-23 10:47:21 +01:00
.gitreview Add project skeleton 2021-12-23 10:47:21 +01:00
AUTHORS Add project skeleton 2021-12-23 10:47:21 +01:00
COPYING Add project skeleton 2021-12-23 10:47:21 +01:00
Makefile.am Add project skeleton 2021-12-23 10:47:21 +01:00
README.md README: add Manual Testing With osmo-dev 2022-03-23 09:21:48 +00:00
configure.ac Add project skeleton 2021-12-23 10:47:21 +01:00
git-version-gen Add project skeleton 2021-12-23 10:47:21 +01:00
osmoappdesc.py Add project skeleton 2021-12-23 10:47:21 +01:00

README.md

osmo-bsc-nat

OsmoBSCNAT masquerades multiple BSCs behind one. It is part of the Osmocom Open Source Mobile Communications project.

Homepage

The official homepage of the project is https://osmocom.org/projects/osmo-bscnat/wiki

GIT Repository

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

git clone git://git.osmocom.org/osmo-bsc-nat.git

There is a cgit interface at https://git.osmocom.org/osmo-bsc-nat/

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-bsc-nat 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.

Manual Testing With osmo-dev

With osmo-dev it is possible to build all Osmocom components for a full test network with OsmoBSCNAT, and run the network on your PC. Set up the make directory as described in osmo-dev's README, then build components with:

$ make cn-bsc-nat

Set up a network as described in osmo-dev's net/README, then put the following in your configuration to let it run osmo-bsc-nat with one virtual BSC, BTS and MS (can be used next to a real BSC/BTS/MS):

BSC_COUNT=2
BTS1_RUN_IN_OSMO_DEV=1
STP_RAN_IP="127.0.0.2"
MS_RUN_IN_OSMO_DEV=1

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