Following the previous patch sets for libosmo-abis and libosmocore, this patch
set allows configuring almost all of the osmo-nitb IP addresses. The goal is to
allow several osmo-nitb processes to run alongside each other.
(1) Abis/IP (from the libosmo-abis patch)
in the config file, have:
e1_input
ipa bind 10.9.8.7
(2) telnet VTY (prepared by libosmocore patch set)
in the config file, have:
line vty
bind 127.0.0.99
(3) ctrl interface (prepared by libosmocore patch set)
in the config file, have:
ctrl
bind 127.0.0.99
(4) MNCC socket
In addition to the old -m option with a fixed socket path, you may now
supply a cmdline argument with explicit path:
-M /path/to/socket/file
(5) still TODO: SMPP SMSC
libsmpp34 is still listening on 0.0.0.0:2775, requires a change in libsmpp34.
Will follow in a subsequent patch.
Neels Hofmeyr (6):
enable telnet VTY bind address config for various programs
osmo-nitb: add -M to pass specific MNCC socket path
osmo-nitb: cosmetic: rename to rf_ctrl_path, following mncc_sock_path
osmo-nitb: be strict about cmdline args
enable ctrl bind config for various programs
bsc_nat: fail if VTY telnet port cannot be bound
openbsc/include/openbsc/bsc_nat.h | 3 ++-
openbsc/include/openbsc/ctrl.h | 3 ++-
openbsc/include/openbsc/gprs_sgsn.h | 3 ++-
openbsc/include/openbsc/mncc.h | 2 +-
openbsc/src/gprs/gb_proxy_main.c | 12 ++++++----
openbsc/src/gprs/gtphub_main.c | 11 ++++++---
openbsc/src/gprs/sgsn_ctrl.c | 5 ++--
openbsc/src/gprs/sgsn_main.c | 42 ++++++++++++++++++++++-----------
openbsc/src/libbsc/bsc_ctrl_lookup.c | 6 +++--
openbsc/src/libbsc/bsc_init.c | 6 ++++-
openbsc/src/libmsc/mncc_sock.c | 9 +++----
openbsc/src/osmo-bsc/osmo_bsc_main.c | 10 +++++++-
openbsc/src/osmo-bsc_mgcp/mgcp_main.c | 6 ++++-
openbsc/src/osmo-bsc_nat/bsc_nat.c | 21 ++++++++++++++---
openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c | 5 ++--
openbsc/src/osmo-nitb/bsc_hack.c | 39 ++++++++++++++++++++----------
16 files changed, 130 insertions(+), 53 deletions(-)
--
2.1.4