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 "MNCC <-> SIP bridge".
The branch, master has been updated
via 0e9434184e7d324be13910acc4bc301dfcb8bf05 (commit)
from bec32eb2073a5ae669260a7634bd91a245ce3e30 (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/osmo-sip-connector/commit/?id=0e9434184e7d324be1391…
commit 0e9434184e7d324be13910acc4bc301dfcb8bf05
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Mar 31 20:04:54 2016 +0200
debian: Add dh-autoreconf required by the debian packaging
-----------------------------------------------------------------------
Summary of changes:
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
MNCC <-> SIP bridge
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 "MNCC <-> SIP bridge".
The branch, master has been updated
via bec32eb2073a5ae669260a7634bd91a245ce3e30 (commit)
from adc7484a0c65caf01278759804535e4072e27fa2 (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/osmo-sip-connector/commit/?id=bec32eb2073a5ae669260…
commit bec32eb2073a5ae669260a7634bd91a245ce3e30
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Mar 31 19:36:27 2016 +0200
coverity: Address two issues found by coverity
Add NULL check in the case of MNCC disconnect that was missing and
add an assert to show that at this point the other leg must exist.
Fixes: CID#80799, CID#80800, 80801
-----------------------------------------------------------------------
Summary of changes:
src/app.c | 6 ++++--
src/mncc.c | 1 +
2 files changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive
--
MNCC <-> SIP bridge
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 "MNCC <-> SIP bridge".
The branch, master has been updated
via adc7484a0c65caf01278759804535e4072e27fa2 (commit)
from 2a7cfb5c93ed4ceb4f193d7cca037e894a4d5212 (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/osmo-sip-connector/commit/?id=adc7484a0c65caf012787…
commit adc7484a0c65caf01278759804535e4072e27fa2
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Mar 31 19:04:14 2016 +0200
debian: Initial packaging of the osmo-sip-connector
It installs a service file but requires a user to create a config
file. We will not provide a sysv start script.
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 23 +++++++++++++++++++++++
debian/osmo-sip-connector.install | 1 +
debian/osmo-sip-connector.service | 11 +++++++++++
debian/rules | 19 +++++++++++++++++++
debian/source/format | 1 +
7 files changed, 61 insertions(+)
create mode 100644 debian/changelog
create mode 100644 debian/compat
create mode 100644 debian/control
create mode 100644 debian/osmo-sip-connector.install
create mode 100644 debian/osmo-sip-connector.service
create mode 100755 debian/rules
create mode 100644 debian/source/format
hooks/post-receive
--
MNCC <-> SIP bridge
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 "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via 793a2907d553095d77d73e8bf7cc132667ee7240 (commit)
via 61f28880d5dc3f08689bef61a54fa2035928ffaa (commit)
from fb348eeff25e8e66a4a8651dc94901c7a004343a (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/libosmocore/commit/?id=793a2907d553095d77d73e8bf7cc…
commit 793a2907d553095d77d73e8bf7cc132667ee7240
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Wed Mar 23 14:48:39 2016 +0100
vty: Make a reservation for the osmo-sip-connector
The osmo-sip-connector is a new application and is a MNCC to SIP
bridge. It is not implementing transcoding or RTP proxying at all.
http://cgit.osmocom.org/libosmocore/commit/?id=61f28880d5dc3f08689bef61a54f…
commit 61f28880d5dc3f08689bef61a54fa2035928ffaa
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Mar 21 09:55:05 2016 +0100
select: Externalize fd_set filling and dispatch
To integrate with an external event loop (in this case glib) we
need to allow an application to get a filled out fd_set and then
dispatch it. osmo_fds and maxfds are static and I decided to keep
it that way and instead create two routines to fill the fdset and
then one to dispatch the result.
The public header file does not include sys/select.h and we can
compile the library without select, so I didn't want to require
having to include this file, and used void * for the parameter.
Mark the routines as inline to avoid a call from the select
function. I have confirmed that inlining has an effect on x86
using Debian's gcc-4.9.2-10 compiler
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/select.h | 6 ++++
include/osmocom/vty/ports.h | 1 +
src/select.c | 83 ++++++++++++++++++++++++++-----------------
3 files changed, 58 insertions(+), 32 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications
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 "MNCC <-> SIP bridge".
The branch, master has been updated
via 2a7cfb5c93ed4ceb4f193d7cca037e894a4d5212 (commit)
via c2474dc0beffc67478383410aa09846cbf6b44dd (commit)
via 8763cf8850f879cb0fd6120bdc60e5fbd4c2534d (commit)
via 275571ff20090030c2bc8b9fca81dc1c89424c8b (commit)
via 4bfaf60ed251b12cf90917bdb33c99657dbfc640 (commit)
via b8e802851dd586b3e08799886cf4b144463b970f (commit)
via a4970327f2e050f697dd4e75fa1931902aa6c1de (commit)
via 00a43e20ab4e16ac3822d204d98f7d8e2f11b7c2 (commit)
via 916348b7dcbd3f5fb4b672c3e18f6dd092cea146 (commit)
from 80880d45b7091dfbf5c722e2b9e79b60e7a9aba7 (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/osmo-sip-connector/commit/?id=2a7cfb5c93ed4ceb4f193…
commit 2a7cfb5c93ed4ceb4f193d7cca037e894a4d5212
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Mar 31 16:28:21 2016 +0200
sip/sdp: Hack to get a GSM codec call connected
Extract IP and port once we have received the INVITE. In the near
future we need to improve this!
http://cgit.osmocom.org/osmo-sip-connector/commit/?id=c2474dc0beffc67478383…
commit c2474dc0beffc67478383410aa09846cbf6b44dd
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Mar 31 16:06:04 2016 +0200
mncc: Add handling to connect a MNCC MT call
This will go through the stage of:
* MNCC_CALL_CONF_IND (to which we create a RTP socket)
* then we might receive a MNCC_ALERT_IND
* and finally the MNCC_SETUP_CNF
For the last two we inform the other leg about the progress.
http://cgit.osmocom.org/osmo-sip-connector/commit/?id=8763cf8850f879cb0fd61…
commit 8763cf8850f879cb0fd6120bdc60e5fbd4c2534d
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Mar 31 16:04:47 2016 +0200
sip: Pass to not enable media on our 200 response
In case we send a 200 but don't have this tag, a 500 response will
be sent and the call will be dropped.
http://cgit.osmocom.org/osmo-sip-connector/commit/?id=275571ff20090030c2bc8…
commit 275571ff20090030c2bc8b9fca81dc1c89424c8b
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Mar 31 14:17:58 2016 +0200
mncc: Introduce direction and start to handle it separetely
For releasing a MT-Call we will need to send a release request
and then wait for the release confirmation. Add if/else to it.
If this turns out to be too ugly we will be able to create one
MO and one MT leg.
http://cgit.osmocom.org/osmo-sip-connector/commit/?id=4bfaf60ed251b12cf9091…
commit 4bfaf60ed251b12cf90917bdb33c99657dbfc640
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Mar 31 14:17:33 2016 +0200
mncc: Convert ip address so BTS sends it to the right place
-----------------------------------------------------------------------
Summary of changes:
src/app.c | 14 ++--
src/call.h | 7 ++
src/mncc.c | 223 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
src/mncc.h | 4 ++
src/sdp.c | 4 +-
src/sdp.h | 2 +-
src/sip.c | 18 ++++-
7 files changed, 250 insertions(+), 22 deletions(-)
hooks/post-receive
--
MNCC <-> SIP bridge
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, sysmocom/iu has been updated
via b70dfa610d89786aa72a4adb4ffc1ba27a5f8af4 (commit)
via cf1302e4cb4875816615a23e5d7e2e9f7bcb5bca (commit)
via 0d929be8264ba592313f2cdd9bc4bd9b2579df00 (commit)
via 4e875aec0fda55bc93ea76c6992aaf3d90931d2d (commit)
via f9b212fabd0d5c37dac9639fc9d9ecd73688e3a3 (commit)
via d617c5d3ac65b5090f787da3e2911fb6742f515c (commit)
via 4554a62c4d16bd95ae4fb38ede0fd9f64a4d1429 (commit)
via 37984bdb1b507446421e5aa6131ccdf117dd269f (commit)
via 56ea30ff3f9f98a4903d060196b185ce124d7eaa (commit)
via 3ad0346f00c4d135f7d4d15017ce2941e13e2c54 (commit)
via 044fbe6568f82a12bf4e3addc7e3d6db529b6548 (commit)
via d2fa7a509a989bb775b56932502d128ec974330d (commit)
via f4afcf0b2345a51d3e69c4dbb61279af233388cf (commit)
via 10cd11345c2dd3f38793e7dd7456e7882ab95dd9 (commit)
via 8c515272c3e82c2400b15b5bfefa9dd883b86b96 (commit)
via 961bd0b121d604612ea27bd2c83edd73290b2cb6 (commit)
via 531734a547f16de08ce94ec64d58cf94c2230893 (commit)
from 4b940126a3132ac6d6da4194229f2b8cb642c2ec (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
openbsc/.gitignore | 1 +
openbsc/configure.ac | 1 +
openbsc/include/openbsc/auth.h | 9 +
openbsc/src/gprs/gprs_gmm.c | 2 +-
openbsc/src/libmgcp/mgcp_transcode.c | 8 +-
openbsc/src/libmsc/auth.c | 33 +++-
openbsc/src/osmo-bsc/osmo_bsc_vty.c | 4 +-
openbsc/src/utils/meas_db.c | 13 +-
openbsc/tests/Makefile.am | 2 +-
openbsc/tests/mm_auth/Makefile.am | 21 +++
openbsc/tests/mm_auth/mm_auth_test.c | 340 ++++++++++++++++++++++++++++++++++
openbsc/tests/mm_auth/mm_auth_test.ok | 40 ++++
openbsc/tests/testsuite.at | 7 +
13 files changed, 455 insertions(+), 26 deletions(-)
create mode 100644 openbsc/tests/mm_auth/Makefile.am
create mode 100644 openbsc/tests/mm_auth/mm_auth_test.c
create mode 100644 openbsc/tests/mm_auth/mm_auth_test.ok
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, neels/cscn has been updated
discards afd051c62a45bc645fe545a8245fb5fad893b06c (commit)
discards 6f7750b134e6efae4bab08006c2a8a483f942166 (commit)
discards 5672d0b02f3a6ae8c19a019ab2997db2bb25c4b9 (commit)
discards 8652005807d3f8cf9d24d880d9161655358fbb6a (commit)
discards 436c207b710f1ae3ab51f19378be44f8f662b749 (commit)
via 54df2e4576fd0b11d31a76e5291a910f7e7fe7f9 (commit)
via fe9950fc7250f56d9be0d6d546da79ac27a714a1 (commit)
via 3aea8193e0f1864c29334720e267bad7e243b5be (commit)
via 276192d27c92163ab8b4d4703697ec2cbdd3cb0a (commit)
via c4b9b4edbb63d0dd17e2587f1dd1e7e66041db00 (commit)
via b70dfa610d89786aa72a4adb4ffc1ba27a5f8af4 (commit)
via cf1302e4cb4875816615a23e5d7e2e9f7bcb5bca (commit)
via 0d929be8264ba592313f2cdd9bc4bd9b2579df00 (commit)
via 4e875aec0fda55bc93ea76c6992aaf3d90931d2d (commit)
via f9b212fabd0d5c37dac9639fc9d9ecd73688e3a3 (commit)
via d617c5d3ac65b5090f787da3e2911fb6742f515c (commit)
via 4554a62c4d16bd95ae4fb38ede0fd9f64a4d1429 (commit)
via 37984bdb1b507446421e5aa6131ccdf117dd269f (commit)
via 56ea30ff3f9f98a4903d060196b185ce124d7eaa (commit)
via 3ad0346f00c4d135f7d4d15017ce2941e13e2c54 (commit)
via 044fbe6568f82a12bf4e3addc7e3d6db529b6548 (commit)
via d2fa7a509a989bb775b56932502d128ec974330d (commit)
via f4afcf0b2345a51d3e69c4dbb61279af233388cf (commit)
via 10cd11345c2dd3f38793e7dd7456e7882ab95dd9 (commit)
via 8c515272c3e82c2400b15b5bfefa9dd883b86b96 (commit)
via 961bd0b121d604612ea27bd2c83edd73290b2cb6 (commit)
via 531734a547f16de08ce94ec64d58cf94c2230893 (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 (afd051c62a45bc645fe545a8245fb5fad893b06c)
\
N -- N -- N (54df2e4576fd0b11d31a76e5291a910f7e7fe7f9)
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=54df2e4576fd0b11d31a76e5291a910f…
commit 54df2e4576fd0b11d31a76e5291a910f7e7fe7f9
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Mar 29 18:58:10 2016 +0200
wip: paging
http://cgit.osmocom.org/openbsc/commit/?id=fe9950fc7250f56d9be0d6d546da79ac…
commit fe9950fc7250f56d9be0d6d546da79ac27a714a1
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Mar 22 19:25:58 2016 +0100
hack for testing: hardcoded LAC on LU Accept
http://cgit.osmocom.org/openbsc/commit/?id=3aea8193e0f1864c29334720e267bad7…
commit 3aea8193e0f1864c29334720e267bad7e243b5be
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Mar 22 19:26:52 2016 +0100
Add registry of RNC-Ids in LACs
Introduce struct gsm_rnc and store in a list. Make it so that the code can be
used from both MSC and GPRS.
Add VTY commands 'lac <id>' and 'rnc <id>', which populate above list.
Semantics: when an RNC registers with the MSC or SGSN, it tells us its RNC Id.
During paging, we need to find an RNC for a given LAC. The association of RNCs
to a particular LAC needs to be configured on the CN side.
http://cgit.osmocom.org/openbsc/commit/?id=276192d27c92163ab8b4d4703697ec2c…
commit 276192d27c92163ab8b4d4703697ec2cbdd3cb0a
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Mar 23 18:19:38 2016 +0100
cosmetic: comments, debug log, msgb alloc name
http://cgit.osmocom.org/openbsc/commit/?id=c4b9b4edbb63d0dd17e2587f1dd1e7e6…
commit c4b9b4edbb63d0dd17e2587f1dd1e7e66041db00
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Mar 23 18:20:12 2016 +0100
mscsplit: rewire MSC gsm0808_submit_dtap() to msc_tx_dtap()
http://cgit.osmocom.org/openbsc/commit/?id=b70dfa610d89786aa72a4adb4ffc1ba2…
commit b70dfa610d89786aa72a4adb4ffc1ba27a5f8af4
Merge: 4b94012 cf1302e
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Mar 31 16:14:13 2016 +0200
Merge branch 'master' into sysmocom/iu
Conflicts:
openbsc/src/libmsc/auth.c
openbsc/src/libmsc/gsm_04_08.c
openbsc/src/osmo-bsc/osmo_bsc_vty.c
openbsc/tests/Makefile.am
-----------------------------------------------------------------------
Summary of changes:
openbsc/.gitignore | 1 +
openbsc/configure.ac | 1 +
openbsc/include/openbsc/auth.h | 9 +
openbsc/src/gprs/gprs_gmm.c | 2 +-
openbsc/src/libmgcp/mgcp_transcode.c | 8 +-
openbsc/src/libmsc/auth.c | 33 +++-
openbsc/src/osmo-bsc/osmo_bsc_vty.c | 4 +-
openbsc/src/utils/meas_db.c | 13 +-
openbsc/tests/Makefile.am | 2 +-
openbsc/tests/mm_auth/Makefile.am | 21 +++
openbsc/tests/mm_auth/mm_auth_test.c | 340 ++++++++++++++++++++++++++++++++++
openbsc/tests/mm_auth/mm_auth_test.ok | 40 ++++
openbsc/tests/testsuite.at | 7 +
13 files changed, 455 insertions(+), 26 deletions(-)
create mode 100644 openbsc/tests/mm_auth/Makefile.am
create mode 100644 openbsc/tests/mm_auth/mm_auth_test.c
create mode 100644 openbsc/tests/mm_auth/mm_auth_test.ok
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 "UNNAMED PROJECT".
The branch, master has been updated
via 5f4567b2a224cebf9ac9adebf9f6647a5ff489e5 (commit)
via d401cc13aefeea45fd2514466998dd62e6c5fabe (commit)
via 32d0fd88727c8038466afdea748862d4c8eac1d4 (commit)
via 44f5163c5091eda2e269e7557bcceb7211431bc6 (commit)
from 2f48313ed6c598d38a59332166823ddc7fe309ef (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/python/osmo-python-tests/commit/?id=5f4567b2a224ceb…
commit 5f4567b2a224cebf9ac9adebf9f6647a5ff489e5
Author: Max <msuraev(a)sysmocom.de>
Date: Wed Mar 30 14:58:17 2016 +0200
Extend apps attribute
In addition to binary name it's now possible to provide extra
command-line arguments in osmoappdesc.py for application under
test. This change is fully optional and backward compatible.
http://cgit.osmocom.org/python/osmo-python-tests/commit/?id=d401cc13aefeea4…
commit d401cc13aefeea45fd2514466998dd62e6c5fabe
Author: Max <msuraev(a)sysmocom.de>
Date: Wed Mar 30 14:58:16 2016 +0200
Add optional ignore_configs attribute
This attribute in osmoappdesc.py allows to ignore certain configs while
running vty tests. It's handy for hardware-specific or otherwise special
configuration examples.
http://cgit.osmocom.org/python/osmo-python-tests/commit/?id=32d0fd88727c803…
commit 32d0fd88727c8038466afdea748862d4c8eac1d4
Author: Max <msuraev(a)sysmocom.de>
Date: Wed Mar 30 14:58:15 2016 +0200
Expand installation instructions
http://cgit.osmocom.org/python/osmo-python-tests/commit/?id=44f5163c5091eda…
commit 44f5163c5091eda2e269e7557bcceb7211431bc6
Author: Max <msuraev(a)sysmocom.de>
Date: Wed Mar 30 14:58:14 2016 +0200
Add .gitignore
Ignore install leftovers.
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 1 +
README | 1 +
osmopy/osmotestconfig.py | 17 +++++++++--------
3 files changed, 11 insertions(+), 8 deletions(-)
create mode 100644 .gitignore
hooks/post-receive
--
UNNAMED PROJECT
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 cf1302e4cb4875816615a23e5d7e2e9f7bcb5bca (commit)
via 0d929be8264ba592313f2cdd9bc4bd9b2579df00 (commit)
via 4e875aec0fda55bc93ea76c6992aaf3d90931d2d (commit)
via f9b212fabd0d5c37dac9639fc9d9ecd73688e3a3 (commit)
via d617c5d3ac65b5090f787da3e2911fb6742f515c (commit)
via 4554a62c4d16bd95ae4fb38ede0fd9f64a4d1429 (commit)
via 37984bdb1b507446421e5aa6131ccdf117dd269f (commit)
from 56ea30ff3f9f98a4903d060196b185ce124d7eaa (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=cf1302e4cb4875816615a23e5d7e2e9f…
commit cf1302e4cb4875816615a23e5d7e2e9f7bcb5bca
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Mar 30 11:22:30 2016 +0200
Fix MM Auth: zero-initialize auth tuple before first use
Make sure a new auth tuple is initialized after
db_get_lastauthtuple_for_subscr() returns an error, i.e. if no tuple is present
for the subscriber yet.
Before this patch, the first key_seq depended on the typically uninitialized
value that was present in auth tuple's key_seq upon calling
auth_get_tuple_for_subscr().
The very first key_seq used for a new subscriber will now always be 0. Before,
it used to be mostly 1 ("(0 + 1) % 7"), but depended on whether the key_seq was
indeed initialized with 0, actually by random.
http://cgit.osmocom.org/openbsc/commit/?id=0d929be8264ba592313f2cdd9bc4bd9b…
commit 0d929be8264ba592313f2cdd9bc4bd9b2579df00
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Mar 30 11:22:29 2016 +0200
Fix MM Auth: disallow key_seq mismatch
In auth_get_tuple_for_subscr(), add missing condition to match incoming
key_seq with stored key_seq, so that re-authentication is requested for
mismatching key_seqs.
Add test for this issue.
http://cgit.osmocom.org/openbsc/commit/?id=4e875aec0fda55bc93ea76c6992aaf3d…
commit 4e875aec0fda55bc93ea76c6992aaf3d90931d2d
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Mar 30 11:22:28 2016 +0200
MM Auth: return AUTH_NOT_AVAIL instead of hardcoded zero
AUTH_NOT_AVAIL == 0, so this is no functional change.
http://cgit.osmocom.org/openbsc/commit/?id=f9b212fabd0d5c37dac9639fc9d9ecd7…
commit f9b212fabd0d5c37dac9639fc9d9ecd73688e3a3
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Mar 30 11:22:27 2016 +0200
MM Auth: introduce AUTH_ERROR constant.
Instead of using hardcoded -1 for errors, include -1 in the enum auth_action
type; apply its use.
In the mm_auth test, the string output changes from '(internal error)' to
'AUTH_ERROR', since now the proper enum value is used in auth_action_names[].
http://cgit.osmocom.org/openbsc/commit/?id=d617c5d3ac65b5090f787da3e2911fb6…
commit d617c5d3ac65b5090f787da3e2911fb6742f515c
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Mar 30 11:22:26 2016 +0200
MM Auth test: add test to re-use existing auth
http://cgit.osmocom.org/openbsc/commit/?id=4554a62c4d16bd95ae4fb38ede0fd9f6…
commit 4554a62c4d16bd95ae4fb38ede0fd9f64a4d1429
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Mar 30 11:22:25 2016 +0200
MM Auth test: add two tests for AUTH_THEN_CIPH
Test two situations for AUTH_DO_AUTH_THEN_CIPH:
- when no auth tuple is available
- when the key sequence from LU is marked invalid
Add convenience auth tuple comparison function using stringification.
http://cgit.osmocom.org/openbsc/commit/?id=37984bdb1b507446421e5aa6131ccdf1…
commit 37984bdb1b507446421e5aa6131ccdf117dd269f
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Mar 30 11:22:24 2016 +0200
Add MM Auth test; add auth_action_str() function
Add basic MM Authentication test setup, with fake DB access and RAND_bytes().
So far implement simple tests for IO error during DB access and missing auth
entry.
To print the auth action during tests, add struct auth_action_names and
auth_action_str() inline function in auth.[hc].
-----------------------------------------------------------------------
Summary of changes:
openbsc/.gitignore | 1 +
openbsc/configure.ac | 1 +
openbsc/include/openbsc/auth.h | 9 +
openbsc/src/libmsc/auth.c | 33 +++-
openbsc/tests/Makefile.am | 2 +-
openbsc/tests/mm_auth/Makefile.am | 21 +++
openbsc/tests/mm_auth/mm_auth_test.c | 340 ++++++++++++++++++++++++++++++++++
openbsc/tests/mm_auth/mm_auth_test.ok | 40 ++++
openbsc/tests/testsuite.at | 7 +
9 files changed, 446 insertions(+), 8 deletions(-)
create mode 100644 openbsc/tests/mm_auth/Makefile.am
create mode 100644 openbsc/tests/mm_auth/mm_auth_test.c
create mode 100644 openbsc/tests/mm_auth/mm_auth_test.ok
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 "Osmocom code for Iuh interface".
The branch, neels/wip has been created
at 0e5d6442c6eb0c7fe091a312c418cf3f4db01317 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-iuh/commit/?id=0e5d6442c6eb0c7fe091a312c418cf3…
commit 0e5d6442c6eb0c7fe091a312c418cf3f4db01317
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Mar 30 14:04:30 2016 +0200
wip
-----------------------------------------------------------------------
hooks/post-receive
--
Osmocom code for Iuh interface