This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 8bb6204d50373ad99b769f8cf42850ae30551c08 (commit)
from 2abf2b072d7616ffa760461b6d6bd44a28490066 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=8bb6204d50373ad99b769f8cf42850ae…
commit 8bb6204d50373ad99b769f8cf42850ae30551c08
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Apr 14 21:40:04 2016 -0400
nat/vty: Fix construct not working with python 2.6
Use the simpler approach and just call encode('hex') on the str and
then convert it to lower case to keep the tests working.
reproduce:
Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> d = '\0\0'
>>> d
'\x00\x00'
>>> "".join("{:02x}".format(ord(c)) for c in d)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 1, in <genexpr>
ValueError: zero length field name in format
fixes:
======================================================================
ERROR: testBSCreload (__main__.TestVTYNAT)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./vty_test_runner.py", line 658, in testBSCreload
b0 = nat_bsc_sock_test(0, "lol")
File "./vty_test_runner.py", line 1150, in nat_bsc_sock_test
ipa_handle_small(bsc, verbose)
File "./vty_test_runner.py", line 1116, in ipa_handle_small
s = data2str(x.recv(4))
File "./vty_test_runner.py", line 1100, in data2str
return "".join("{:02x}".format(ord(c)) for c in d)
File "./vty_test_runner.py", line 1100, in <genexpr>
return "".join("{:02x}".format(ord(c)) for c in d)
ValueError: zero length field name in format
----------------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
openbsc/tests/vty_test_runner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 2abf2b072d7616ffa760461b6d6bd44a28490066 (commit)
from e98c9c7136e2612cedf87105eafe12fedff1f9a0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=2abf2b072d7616ffa760461b6d6bd44a…
commit 2abf2b072d7616ffa760461b6d6bd44a28490066
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Apr 14 21:13:51 2016 -0400
nat/vty: Remove second assumption about lo and binding
If we want to separate the BSCs we should separate based on
the source port and not the source ip (at least in the current
test setup).
Fixes:
======================================================================
ERROR: testBSCreload (__main__.TestVTYNAT)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./vty_test_runner.py", line 658, in testBSCreload
b0 = nat_bsc_sock_test(0, "lol")
File "./vty_test_runner.py", line 1145, in nat_bsc_sock_test
bsc.bind(('127.0.0.1' + str(nr), 0))
File "<string>", line 1, in bind
error: [Errno 99] Cannot assign requested address
----------------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
openbsc/tests/vty_test_runner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via e98c9c7136e2612cedf87105eafe12fedff1f9a0 (commit)
from 84ae27e7314ad1743c8fbdb2feae372122355066 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=e98c9c7136e2612cedf87105eafe12fe…
commit e98c9c7136e2612cedf87105eafe12fedff1f9a0
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Apr 14 10:58:58 2016 -0400
nat/vty: And move to a different port..
-----------------------------------------------------------------------
Summary of changes:
openbsc/tests/vty_test_runner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 84ae27e7314ad1743c8fbdb2feae372122355066 (commit)
from 44ed4979c9fc6143023aad796cfd8628b08fc47a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=84ae27e7314ad1743c8fbdb2feae3721…
commit 84ae27e7314ad1743c8fbdb2feae372122355066
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Apr 14 10:40:06 2016 -0400
nat/vty: Convert into str for the VTY command
======================================================================
ERROR: testBSCreload (__main__.TestVTYNAT)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./vty_test_runner.py", line 656, in testBSCreload
nat_msc_ip(self, ip, port)
File "./vty_test_runner.py", line 1096, in nat_msc_ip
x.vty.command("msc port " + port)
TypeError: cannot concatenate 'str' and 'int' objects
----------------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
openbsc/tests/vty_test_runner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 44ed4979c9fc6143023aad796cfd8628b08fc47a (commit)
from f1a61bb99f13b054d912f47dac90a15b2cf56651 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=44ed4979c9fc6143023aad796cfd8628…
commit 44ed4979c9fc6143023aad796cfd8628b08fc47a
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Apr 14 10:05:13 2016 -0400
nat/vty: Use different port for the mock MSC
Update the comment to reflect that the NAT itself will bind to port
5000 and then the mock MSC will fail to bind to it. Try to move the
mock MSC to another port.
Could fix:
======================================================================
ERROR: testBSCreload (__main__.TestVTYNAT)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./vty_test_runner.py", line 654, in testBSCreload
msc = nat_msc_test(self, ip)
File "./vty_test_runner.py", line 1101, in nat_msc_test
msc.bind((ip, 5000))
File "<string>", line 1, in bind
error: [Errno 98] Address already in use
----------------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
openbsc/tests/vty_test_runner.py | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SCCP Library".
The branch, neels/wip has been updated
discards 804a967f36789a85f48fe635e70bd16a40ab83ba (commit)
via 04f22093c1f0b63e6fd513a180e4a2556db88247 (commit)
via bbeac17a9a81ff06cb030bcac185c04b2365d03f (commit)
via 40480700847ecfd0417f6d3a71d7052b7f026684 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (804a967f36789a85f48fe635e70bd16a40ab83ba)
\
N -- N -- N (04f22093c1f0b63e6fd513a180e4a2556db88247)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmo-sccp/commit/?id=04f22093c1f0b63e6fd513a180e…
commit 04f22093c1f0b63e6fd513a180e4a2556db88247
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Apr 13 19:08:18 2016 +0200
wip: parse SCCP src+dst addresses
-----------------------------------------------------------------------
Summary of changes:
src/sccp.c | 6 ++++--
src/sua.c | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
hooks/post-receive
--
SCCP Library
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SCCP Library".
The branch, sysmocom/iu has been updated
via bbeac17a9a81ff06cb030bcac185c04b2365d03f (commit)
via 40480700847ecfd0417f6d3a71d7052b7f026684 (commit)
from 8819742d9635b6266980e38c9d894d54ae0c3595 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmo-sccp/commit/?id=bbeac17a9a81ff06cb030bcac18…
commit bbeac17a9a81ff06cb030bcac185c04b2365d03f
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Apr 14 15:05:49 2016 +0200
sua_accept_cp(): return error on alloc failure (CID #57684)
http://cgit.osmocom.org/libosmo-sccp/commit/?id=40480700847ecfd0417f6d3a71d…
commit 40480700847ecfd0417f6d3a71d7052b7f026684
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Apr 14 15:04:39 2016 +0200
sccp_create_sccp_addr(): fix NULL dereference
Only add gti to msg if gti is present.
Fixes coverity CID #57683
-----------------------------------------------------------------------
Summary of changes:
src/sccp.c | 6 ++++--
src/sua.c | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
hooks/post-receive
--
SCCP Library
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
discards 65c82c432c8796e02cf748353837f344b3d1058a (commit)
via f1a61bb99f13b054d912f47dac90a15b2cf56651 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (65c82c432c8796e02cf748353837f344b3d1058a)
\
N -- N -- N (f1a61bb99f13b054d912f47dac90a15b2cf56651)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=f1a61bb99f13b054d912f47dac90a15b…
commit f1a61bb99f13b054d912f47dac90a15b2cf56651
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Apr 14 08:50:25 2016 -0400
nat/vty: Don't assume one can magically add IPv4 addresses to lo
Don't assume that one can just bind to a local address that has
not been configured. Remove the unspecific comment as I don't know
to which other tests it is referred to.
This should fix:
======================================================================
ERROR: testBSCreload (__main__.TestVTYNAT)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./vty_test_runner.py", line 655, in testBSCreload
msc = nat_msc_test(self, ip)
File "./vty_test_runner.py", line 1102, in nat_msc_test
msc.bind((ip, 5000))
File "<string>", line 1, in bind
error: [Errno 99] Cannot assign requested address
----------------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 65c82c432c8796e02cf748353837f344b3d1058a (commit)
from 4936448761a6ca42ab661d130f5202dfdabca426 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=65c82c432c8796e02cf748353837f344…
commit 65c82c432c8796e02cf748353837f344b3d1058a
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Apr 14 08:50:25 2016 -0400
nat/vty: Don't assume one can magically add IPv4 addresses to lo
Don't assume that one can just bind to a local address that has
not been configured. Remove the unspecific comment as I don't know
to which other tests it is referred to.
-----------------------------------------------------------------------
Summary of changes:
openbsc/tests/vty_test_runner.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 4936448761a6ca42ab661d130f5202dfdabca426 (commit)
via 82f5ecde6a10c3c22980822a892a3fb5c69acf4f (commit)
via 70cf7290da7cfca796eed8ffbd143073d9418dd2 (commit)
from a47b4019900afbf89144d9e9ff9f62ae5d994cea (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=4936448761a6ca42ab661d130f5202df…
commit 4936448761a6ca42ab661d130f5202dfdabca426
Author: Max <msuraev(a)sysmocom.de>
Date: Wed Apr 13 11:36:39 2016 +0200
NAT: reload BSCs config dynamically
Add vty tests for BSC configuration reloading.
Load BSCs configuration on bscs-config-file command:
* remove all runtime configured BSC not in the config file
* close connections to all BSC with updated token value
Fixes: OS#1670
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=82f5ecde6a10c3c22980822a892a3fb5…
commit 82f5ecde6a10c3c22980822a892a3fb5c69acf4f
Author: Max <msuraev(a)sysmocom.de>
Date: Tue Apr 12 16:59:25 2016 +0200
NAT: move BSC config into separate file
Introduce new configuration option bscs-config-file which includes BSC
configuration from the given file. Both absolute and relative (to the
main config file) paths are supported.
Add 'show bscs-config' command to display current BSC configuration.
Note: it is still possible to have BSC configuration in the main
file (provided proper index number is used) and in runtime but BSC
configuration is no longer saved automatically. The management of
included configuration file is left to external tools.
Update configuration examples.
Fixes: OS#1669
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=70cf7290da7cfca796eed8ffbd143073…
commit 70cf7290da7cfca796eed8ffbd143073d9418dd2
Author: Max <msuraev(a)sysmocom.de>
Date: Wed Apr 13 11:36:38 2016 +0200
vty_test_runner: update ipa sending code
Factor out 2, add 3 functions. Those functions are simple wrappers
around hex strings specific to IPA protocol. Not all of them are
utilized at the moment but they were checked with wireshark while
working on the tests. It might come in handy if we'd like to further
expand related test harness in future. The same goes for optional
verbosity argument which is not used right now but will be handy for
future debugging.
-----------------------------------------------------------------------
Summary of changes:
openbsc/doc/examples/osmo-bsc_nat/bscs.config | 13 ++
openbsc/doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg | 8 +-
openbsc/include/openbsc/bsc_nat.h | 10 ++
openbsc/src/osmo-bsc_nat/bsc_nat.c | 5 +-
openbsc/src/osmo-bsc_nat/bsc_nat_vty.c | 78 ++++++++++-
openbsc/tests/vty_test_runner.py | 149 ++++++++++++++++++++-
6 files changed, 249 insertions(+), 14 deletions(-)
create mode 100644 openbsc/doc/examples/osmo-bsc_nat/bscs.config
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)