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 537d480f3947924a2db182bab36a48f0bb42045f (commit)
via d1554ecb78ebf5b13ec72cdf1faf1bbd88121a01 (commit)
via 044ce5fb846bb39645abb9d33e7043957e5a3982 (commit)
via 133e8624efe109f020c15a0411c3eb7c461a61f1 (commit)
via cf151874581aa4cd553f8e066d330066cfca2468 (commit)
from a777c9ee3d4e433c713f7a5c346519aa0321f096 (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=537d480f3947924a2db182bab36a48f0…
commit 537d480f3947924a2db182bab36a48f0bb42045f
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Oct 12 19:36:35 2015 +0200
gprs/gb_proxy: Use RAND_bytes for gbproxy TLLI/TMSI allocation
This change has some implications for the test case. It manipulated
bss_ptmsi_state and sgsn_tlli_state variables to make the output of
rand_r() and thus the TLLI/TMSI used predictable.
This possibility is gone when using RAND_bytes() so instead it is
overridden by a function that returns a deterministic sequence of values
(0x00dead00, 0x00dead01, ...). The test cases are adapted to expect
these values instead of the pseudo random values before.
The gbproxy_test stdout file changes as well, but only where the
TLLI/TMSI is displayed (in the hex dumps as well as the TLLI cache
entries). All other output is the same.
http://cgit.osmocom.org/openbsc/commit/?id=d1554ecb78ebf5b13ec72cdf1faf1bbd…
commit d1554ecb78ebf5b13ec72cdf1faf1bbd88121a01
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Oct 12 19:36:34 2015 +0200
gbproxy/test: Add and call cleanup_test function
This (currently empty) function is meant to contain code that cleans
up the left-overs of the test functions. This is needed by the next
commit to reset the RAND_bytes sequence.
http://cgit.osmocom.org/openbsc/commit/?id=044ce5fb846bb39645abb9d33e704395…
commit 044ce5fb846bb39645abb9d33e7043957e5a3982
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Oct 12 19:36:33 2015 +0200
gprs: Use RAND_bytes for p-tmsi
[hfreyther: Link to libcrypto, include header, add uint8_t* cast]
http://cgit.osmocom.org/openbsc/commit/?id=133e8624efe109f020c15a0411c3eb7c…
commit 133e8624efe109f020c15a0411c3eb7c461a61f1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Oct 12 19:36:32 2015 +0200
sgsn/test: Really parse received DL LLC messages
Currently just the number of intercepted downlink messages is counted
and eventually checked. The contents of the messages is lost. The
PTMSI contained in ATTACH/RAU Accept messages is just 'guessed' by
resetting the random number generator after reference PTMSIs have
been generated. While this works with rand_r, RAND_bytes cannot be
forced to recreate a certain number sequence this way (unless the
backend is replaced).
This commit changes that behaviour so that the last received msgb is
kept and decoded. The PTMSI that has been assigned by the SGSN is
then taken in the affected test cases and used instead of a 'guessed'
one. This is similar to how a real MS would react to the Accept
message.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=cf151874581aa4cd553f8e066d330066…
commit cf151874581aa4cd553f8e066d330066cfca2468
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Oct 12 19:36:31 2015 +0200
sgsn/test: Add and call cleanup_test function
This (currently empty) function is meant to contain code that cleans
up the left-overs of the test functions. This will be needed by the
next commit that will store the last received msgb for later inspection.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gb_proxy.h | 4 -
openbsc/src/gprs/Makefile.am | 7 +-
openbsc/src/gprs/gb_proxy.c | 16 +-
openbsc/src/gprs/gprs_sgsn.c | 6 +-
openbsc/tests/gbproxy/Makefile.am | 4 +-
openbsc/tests/gbproxy/gbproxy_test.c | 110 +++++---
openbsc/tests/gbproxy/gbproxy_test.ok | 514 +++++++++++++++++-----------------
openbsc/tests/sgsn/Makefile.am | 2 +
openbsc/tests/sgsn/sgsn_test.c | 133 +++++++--
9 files changed, 464 insertions(+), 332 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)