openbsc.git branch jerlbeck/wip/sgsn-rand created. 0.15.0-3-gbf75079

gitosis at gitosis at
Mon Oct 12 13:08:53 UTC 2015

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, jerlbeck/wip/sgsn-rand has been created
        at  bf75079907d8c7db347d763927303fc624e97ec4 (commit)

- Log -----------------------------------------------------------------

commit bf75079907d8c7db347d763927303fc624e97ec4
Author: Jacob Erlbeck <jerlbeck at>
Date:   Mon Oct 12 14:53:05 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' be
    resetting the random number generator after reference PTMSIs have
    been generated. While this works with rand_r, RAND_bytes cannot be
    forced this way to recreate a certain number sequence (unless the
    backend is replaced).
    This commit changes this 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
    Sponsored-by: On-Waves ehf

commit 373e2440a428b604126a3f375672fa8256c229e0
Author: Jacob Erlbeck <jerlbeck at>
Date:   Mon Oct 12 14:49: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


The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)

More information about the osmocom-commitlog mailing list