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/gprs-patching has been updated
discards 2d1e099f74e43106fd41197133408613f5cc991f (commit)
discards 77af7f21c5531b53c223000857242ff9b60634de (commit)
discards ae28ffd167fd136121c655145e682e9f3503c06f (commit)
discards c43a8c20bc62a03bf6ea6336069f827c53c2d213 (commit)
discards 21e9d9c53ddda7e83277fa9db7868ff5f1126696 (commit)
discards e61098d2440dd1538f276da16ce580834364d5bd (commit)
discards 52d7b8041e3c335780d82c399c4cfde9b419251d (commit)
discards b5ebe22468603b01dba841dc69e231990e612966 (commit)
discards e2a2753a602f8fcfce71b26cb9df570d604b4ecc (commit)
discards 34d1ee49ee6d2c8633c0b08a75d19923d18437e9 (commit)
discards e5974b50c72823ac091d8424d87c7211692aaa2a (commit)
discards ecb22579dd53ad59d217e0f5c2fddfd7fa6f1136 (commit)
discards 6f881b9ff232f766f2e8ac8f10c763f45418f960 (commit)
discards 81bc955a9e9b2313306ad0121f37e37c2fbb1b11 (commit)
via f9d5e4489fbea776f1919b8601cd40d2089b1852 (commit)
via eb1fc4bc4a71431f2b7b5f775837ed1e4159b80b (commit)
via 76f9967ae97a142c09136f6e355077ad7ab39765 (commit)
via f0bb0ca612bb10ff85530e523f18b01dcb0d8fe9 (commit)
via f9392971b5130fc06de50acf2daa2e0e836507aa (commit)
via 00858678c71b5c90aae966bb245aed7aeaa9e3d1 (commit)
via c9ac77e6345dd90589f58bddb1cd6cbfaa83e900 (commit)
via 416c08f9ed340aae21a1d947bcf3a8ab41bb89ce (commit)
via a1e0373224e02784f85eb47306a689fce45fb9e3 (commit)
via 207f4a5deba610b34d5e140f512e538e34a7115f (commit)
via 98647ca0ef59430f3cd7ddb7530d85db7fa2688f (commit)
via be2c8d9358084092281e7d02dc7ae0b7e4c0b4f8 (commit)
via 33b6dadc884ec1060e401ba097523086ac34b552 (commit)
via 70d8e31a748026a92e5739147411dcf512df7205 (commit)
via 901c40f55041d72220403c653646a2e8f82f1924 (commit)
via af792d6bb272e14585d26c6c488d592b20fcf9c4 (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 (2d1e099f74e43106fd41197133408613f5cc991f)
\
N -- N -- N (f9d5e4489fbea776f1919b8601cd40d2089b1852)
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=f9d5e4489fbea776f1919b8601cd40d2…
commit f9d5e4489fbea776f1919b8601cd40d2089b1852
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 28 14:55:25 2014 +0100
sgsn: Work on 2 phase authorization (WIP)
This implements the MAP way of subscriber validation when the MS
tries an Attach Request:
1. perform authentication (optionally invoke the sendAuthInfo
procedure), starts the AuthAndCiph procedure
2. perform update location
3. insert subscriber data
4. finish the update location
5. Attach Accept / Attach Reject
This is currently accessible via the VTY interface.
TODO:
- Apply this to (periodic) RA Update Req
- Delete Subscriber Data
- Improve on procedure collisions (repeated Attach Req is sometimes
not handled properly)
- PDP info
- Commit cleanup
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=eb1fc4bc4a71431f2b7b5f775837ed1e…
commit eb1fc4bc4a71431f2b7b5f775837ed1e4159b80b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:52:00 2014 +0100
sgsn: Add support for authentication triplets (TODO)
TODO:
- commit message
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=76f9967ae97a142c09136f6e355077ad…
commit 76f9967ae97a142c09136f6e355077ad7ab39765
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Sep 30 13:53:26 2014 +0200
sgsn: Added TODOs (TODO)
TODO:
- fix and remove TODOs
- add test cases for Detach(reattach)
- add test cases for PDP context deletion (OW#1311)
- add test cases for Cancel pending timer in sgsn_mm_ctx_free
- remove this commit
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=f0bb0ca612bb10ff85530e523f18b01d…
commit f0bb0ca612bb10ff85530e523f18b01dcb0d8fe9
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Oct 17 10:08:02 2014 +0200
sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO)
Currently an OSMO_ASSERT fails, if the message's and the mmctx's
TLLIs do not match.
This commit turns the assertion into an ERROR log message and uses
the default values for IMSI, DRX, and RA CAP instead of the MM
context values in this case.
TODO:
- find the real source for the problem
- add test cases derived from what is being described in the ticket
Ticket: OW#1322
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=f9392971b5130fc06de50acf2daa2e0e…
commit f9392971b5130fc06de50acf2daa2e0e836507aa
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:26:47 2014 +0100
sgsn: Support subscriber based authentication
This commit mainly extends sgsn_auth.c to use and support the
auth_state SGSN_AUTH_AUTHENTICATE. It will be activated when IMSI and
IMEI are available, authentication is required
(subscr->sgsn_data->authenticate is set), but the MM context is not
marked as authenticated. If the state has been set to
SGSN_AUTH_AUTHENTICATE and sgsn_auth_update() is called, the GMM
layer will be informed by invoking gsm0408_gprs_authenticate().
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=00858678c71b5c90aae966bb245aed7a…
commit 00858678c71b5c90aae966bb245aed7aeaa9e3d1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 09:47:26 2014 +0100
sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize
Currently the Authentication and Ciphering procedure is not yet
invoked by the GMM layer.
This patch starts this procedure from within gsm48_gmm_authorize when
the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call
to gsm0408_gprs_authenticate has been issued directly or indirectly
by the call to sgsn_auth_request.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=c9ac77e6345dd90589f58bddb1cd6cbf…
commit c9ac77e6345dd90589f58bddb1cd6cbfaa83e900
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:01:48 2014 +0100
sgsn: Do not 'commit' implicitely when executing 'insert'
Currently the gprs_subscr_update function is called when the
'update-subscriber ... insert ...' command is executed. This will
eventually notify the GMM layer which is rather the purpose of the
'commit' command.
This patch removes the call from update_subscr_insert.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/tests/ctrl_test_runner.py | 4 ++--
1 file changed, 2 insertions(+), 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 416c08f9ed340aae21a1d947bcf3a8ab41bb89ce (commit)
via a1e0373224e02784f85eb47306a689fce45fb9e3 (commit)
via 207f4a5deba610b34d5e140f512e538e34a7115f (commit)
via 98647ca0ef59430f3cd7ddb7530d85db7fa2688f (commit)
via be2c8d9358084092281e7d02dc7ae0b7e4c0b4f8 (commit)
via 33b6dadc884ec1060e401ba097523086ac34b552 (commit)
via 70d8e31a748026a92e5739147411dcf512df7205 (commit)
via 901c40f55041d72220403c653646a2e8f82f1924 (commit)
via af792d6bb272e14585d26c6c488d592b20fcf9c4 (commit)
from 8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a (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=416c08f9ed340aae21a1d947bcf3a8ab…
commit 416c08f9ed340aae21a1d947bcf3a8ab41bb89ce
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Tue Dec 9 19:13:00 2014 +0100
nat: Fix copy and paste in the test code
The test didn't test that the access-list has been properly
removed. Fix the test to only remove the list once and verify
that it is gone.
http://cgit.osmocom.org/openbsc/commit/?id=a1e0373224e02784f85eb47306a689fc…
commit a1e0373224e02784f85eb47306a689fce45fb9e3
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:28:38 2014 +0100
sgsn: Put SGSN related subscriber data into separate struct
There will be an increasing number of SGSN related fields per
subscriber. Instead of extending gsm_subscriber accordingly, a single
struct sgsn_subscriber_data object is assigned to it. The talloc
context used to allocated that object is the subscr object itself.
Therefore it will be freed automatically along with the subscr
object.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=207f4a5deba610b34d5e140f512e538e…
commit 207f4a5deba610b34d5e140f512e538e34a7115f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:01:48 2014 +0100
sgsn: Add VTY commands to manage subscriber cache
This adds the following commands to the ENABLE node:
- show subscriber cache
- update-subscriber imsi IMSI insert authorized (0|1)
- update-subscriber imsi IMSI cancel
- update-subscriber imsi IMSI commit
These commands are mainly testing tools and maintenance helpers. The
update commands work asynchronously and can be used to complete a
pending update request or to terminate an existing connection. The
'insert' command just update the subscriber records but does not
notify the GMM layer. Invoke the 'commit' command to continue with
pending procedures.
Note that the subscriber cache is not stored persistently and will
always be empty after an SGSN restart.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=98647ca0ef59430f3cd7ddb7530d85db…
commit 98647ca0ef59430f3cd7ddb7530d85db7fa2688f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:47:38 2014 +0100
sgsn: Add gsm0408_gprs_access_cancelled
This function is called to delete an established MM context
silently without invoking a detach procedure.
It is called when a subscriber is cancelled by the HLR. This
generally happens, when an MS has moved to another routing area and
has to use another SGSN.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=be2c8d9358084092281e7d02dc7ae0b7…
commit be2c8d9358084092281e7d02dc7ae0b7e4c0b4f8
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:18:09 2014 +0100
sgsn: Integrate subscriber handling into the SGSN
This commit adds a new authorization policy 'remote' and uses
the subscriber cache for authorization when this policy is being used.
Note that there is no remote backend implemented yet. After the
IMSI/IMEI have been acquired, a request would be sent to the remote
peer. The attach/auth-ciph procedure continues when authorization
info has been received from the peer. This means, that
gprs_subscr_update() must be called then to tell the GMM layer
that it can proceed. A later commit will add VTY commands to do this
manually.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=33b6dadc884ec1060e401ba097523086…
commit 33b6dadc884ec1060e401ba097523086ac34b552
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:12:11 2014 +0100
sgsn: Add gprs_subscriber.c
This patch adds GPRS specific functions for gsm_subscriber objects
(allocation, retrieval, deletion) and subscriber data
requests/updates. The sgsn_update_subscriber_data callback is used to
notify the sgsn about updates and is extended by a parameter that
passes a reference to a gsm_subscriber.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=70d8e31a748026a92e5739147411dcf5…
commit 70d8e31a748026a92e5739147411dcf512df7205
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 11:08:23 2014 +0100
msc: Add per subscriber keep_in_ram flag
Currently the keep_subscr flag in gsm_subscriber_group refers to a
whole group of subscribers which makes it difficult to really delete
single entries if the flag is set.
This patch adds a keep_in_ram field to gsm_subscriber which allows for
keeping subscriber objects in RAM while deleting others.
Note that really deleting an entry requires that both flags
(subscr_group->keep_subscr and subscr->keep_in_ram) are set to 0. So
only the latter should be used if a specification requires the
deletion of a subscriber entry.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=901c40f55041d72220403c653646a2e8…
commit 901c40f55041d72220403c653646a2e8f82f1924
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 11:53:34 2014 +0100
sgsn: Remove warnings
Remove warnings related to the SGSN specific code.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=af792d6bb272e14585d26c6c488d592b…
commit af792d6bb272e14585d26c6c488d592b20fcf9c4
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 14:22:53 2014 +0100
msc: Add net parameter to trans_alloc
The trans_alloc function still uses the subscr object to access the
network object.
This patch adds an explicit net parameter to this function and
removes the access to subscr to obtain it.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gprs_gmm.h | 1 +
openbsc/include/openbsc/gprs_sgsn.h | 18 +-
openbsc/include/openbsc/gsm_subscriber.h | 7 +-
openbsc/include/openbsc/sgsn.h | 3 +-
openbsc/include/openbsc/transaction.h | 3 +-
openbsc/src/gprs/Makefile.am | 2 +-
openbsc/src/gprs/gprs_gmm.c | 27 +++
openbsc/src/gprs/gprs_sgsn.c | 30 ++-
openbsc/src/gprs/gprs_subscriber.c | 156 ++++++++++++++++
openbsc/src/gprs/sgsn_auth.c | 34 +++-
openbsc/src/gprs/sgsn_main.c | 3 -
openbsc/src/gprs/sgsn_vty.c | 151 ++++++++++++++-
openbsc/src/libcommon/gsm_subscriber_base.c | 4 +-
openbsc/src/libmsc/gsm_04_08.c | 5 +-
openbsc/src/libmsc/gsm_04_11.c | 6 +-
openbsc/src/libmsc/transaction.c | 4 +-
openbsc/tests/ctrl_test_runner.py | 4 +-
openbsc/tests/sgsn/Makefile.am | 6 +
openbsc/tests/sgsn/sgsn_test.c | 272 +++++++++++++++++++++++++++-
openbsc/tests/sgsn/sgsn_test.ok | 5 +-
openbsc/tests/subscr/subscr_test.c | 19 +-
openbsc/tests/vty_test_runner.py | 19 ++
22 files changed, 745 insertions(+), 34 deletions(-)
create mode 100644 openbsc/src/gprs/gprs_subscriber.c
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, jerlbeck/wip/gprs-patching has been updated
discards daaa141ed43c54c9413b64b5d4a63454bcfd81ac (commit)
discards 031089299543662d4c6a74ca5c046e3d20c41c5c (commit)
discards d4500a943fe41d7434ee4906f354443cc856022d (commit)
discards d6b5e946f2564a53f231ba5007c020a87f53bbc1 (commit)
discards 28fb6490305f5c792942d8b60d8a6e93573aa364 (commit)
via 2d1e099f74e43106fd41197133408613f5cc991f (commit)
via 77af7f21c5531b53c223000857242ff9b60634de (commit)
via ae28ffd167fd136121c655145e682e9f3503c06f (commit)
via c43a8c20bc62a03bf6ea6336069f827c53c2d213 (commit)
via 21e9d9c53ddda7e83277fa9db7868ff5f1126696 (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 (daaa141ed43c54c9413b64b5d4a63454bcfd81ac)
\
N -- N -- N (2d1e099f74e43106fd41197133408613f5cc991f)
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=2d1e099f74e43106fd41197133408613…
commit 2d1e099f74e43106fd41197133408613f5cc991f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 28 14:55:25 2014 +0100
sgsn: Work on 2 phase authorization (WIP)
This implements the MAP way of subscriber validation when the MS
tries an Attach Request:
1. perform authentication (optionally invoke the sendAuthInfo
procedure), starts the AuthAndCiph procedure
2. perform update location
3. insert subscriber data
4. finish the update location
5. Attach Accept / Attach Reject
This is currently accessible via the VTY interface.
TODO:
- Apply this to (periodic) RA Update Req
- Delete Subscriber Data
- Improve on procedure collisions (repeated Attach Req is sometimes
not handled properly)
- PDP info
- Commit cleanup
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=77af7f21c5531b53c223000857242ff9…
commit 77af7f21c5531b53c223000857242ff9b60634de
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:52:00 2014 +0100
sgsn: Add support for authentication triplets (TODO)
TODO:
- commit message
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=ae28ffd167fd136121c655145e682e9f…
commit ae28ffd167fd136121c655145e682e9f3503c06f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Sep 30 13:53:26 2014 +0200
sgsn: Added TODOs (TODO)
TODO:
- fix and remove TODOs
- add test cases for Detach(reattach)
- add test cases for PDP context deletion (OW#1311)
- add test cases for Cancel pending timer in sgsn_mm_ctx_free
- remove this commit
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=c43a8c20bc62a03bf6ea6336069f827c…
commit c43a8c20bc62a03bf6ea6336069f827c53c2d213
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Oct 17 10:08:02 2014 +0200
sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO)
Currently an OSMO_ASSERT fails, if the message's and the mmctx's
TLLIs do not match.
This commit turns the assertion into an ERROR log message and uses
the default values for IMSI, DRX, and RA CAP instead of the MM
context values in this case.
TODO:
- find the real source for the problem
- add test cases derived from what is being described in the ticket
Ticket: OW#1322
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=21e9d9c53ddda7e83277fa9db7868ff5…
commit 21e9d9c53ddda7e83277fa9db7868ff5f1126696
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:26:47 2014 +0100
sgsn: Support subscriber based authentication
This commit mainly extends sgsn_auth.c to use and support the
auth_state SGSN_AUTH_AUTHENTICATE. It will be activated when IMSI and
IMEI are available, authentication is required
(subscr->sgsn_data->authenticate is set), but the MM context is not
marked as authenticated. If the state has been set to
SGSN_AUTH_AUTHENTICATE and sgsn_auth_update() is called, the GMM
layer will be informed by invoking gsm0408_gprs_authenticate().
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/gprs/gprs_subscriber.c | 9 ----
openbsc/tests/sgsn/sgsn_test.c | 102 +++++++++++++++++++++++++++++++++++--
openbsc/tests/sgsn/sgsn_test.ok | 2 +
3 files changed, 100 insertions(+), 13 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, jerlbeck/wip/gprs-patching has been updated
discards e0634bdcc5c44ffa05ab84c7c07e48333493d71c (commit)
discards 714a165682349e9606261d82c7a1ce615716a538 (commit)
discards 69f49e9a4c0427d29000f08e6ea8958b16e38420 (commit)
discards 7f98b53262f46bcbdfc3bb16c4d527bb086c6445 (commit)
discards 12bf9cbbc0545eeb7482bac1c0a73768c4e77640 (commit)
discards fcfad973a9941c346f88fb901107e6ef90a59e89 (commit)
discards f6a5507f6804e33ecf2bcd2dfddff34768d499ee (commit)
discards 6ae51906333fc4756982f7f98d0f6bc882ae099b (commit)
via daaa141ed43c54c9413b64b5d4a63454bcfd81ac (commit)
via 031089299543662d4c6a74ca5c046e3d20c41c5c (commit)
via d4500a943fe41d7434ee4906f354443cc856022d (commit)
via d6b5e946f2564a53f231ba5007c020a87f53bbc1 (commit)
via 28fb6490305f5c792942d8b60d8a6e93573aa364 (commit)
via e61098d2440dd1538f276da16ce580834364d5bd (commit)
via 52d7b8041e3c335780d82c399c4cfde9b419251d (commit)
via b5ebe22468603b01dba841dc69e231990e612966 (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 (e0634bdcc5c44ffa05ab84c7c07e48333493d71c)
\
N -- N -- N (daaa141ed43c54c9413b64b5d4a63454bcfd81ac)
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=daaa141ed43c54c9413b64b5d4a63454…
commit daaa141ed43c54c9413b64b5d4a63454bcfd81ac
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 28 14:55:25 2014 +0100
sgsn: Work on 2 phase authorization (WIP)
This implements the MAP way of subscriber validation when the MS
tries an Attach Request:
1. perform authentication (optionally invoke the sendAuthInfo
procedure), starts the AuthAndCiph procedure
2. perform update location
3. insert subscriber data
4. finish the update location
5. Attach Accept / Attach Reject
This is currently accessible via the VTY interface.
TODO:
- Apply this to (periodic) RA Update Req
- Delete Subscriber Data
- Improve on procedure collisions (repeated Attach Req is sometimes
not handled properly)
- PDP info
- Commit cleanup
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=031089299543662d4c6a74ca5c046e3d…
commit 031089299543662d4c6a74ca5c046e3d20c41c5c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:52:00 2014 +0100
sgsn: Add support for authentication triplets (TODO)
TODO:
- commit message
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=d4500a943fe41d7434ee4906f354443c…
commit d4500a943fe41d7434ee4906f354443cc856022d
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:26:47 2014 +0100
sgsn: Support authentication (TODO)
TODO:
- title
- commit message
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=d6b5e946f2564a53f231ba5007c020a8…
commit d6b5e946f2564a53f231ba5007c020a87f53bbc1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Sep 30 13:53:26 2014 +0200
sgsn: Added TODOs (TODO)
TODO:
- fix and remove TODOs
- add test cases for Detach(reattach)
- add test cases for PDP context deletion (OW#1311)
- add test cases for Cancel pending timer in sgsn_mm_ctx_free
- remove this commit
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=28fb6490305f5c792942d8b60d8a6e93…
commit 28fb6490305f5c792942d8b60d8a6e93573aa364
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Oct 17 10:08:02 2014 +0200
sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO)
Currently an OSMO_ASSERT fails, if the message's and the mmctx's
TLLIs do not match.
This commit turns the assertion into an ERROR log message and uses
the default values for IMSI, DRX, and RA CAP instead of the MM
context values in this case.
TODO:
- find the real source for the problem
- add test cases derived from what is being described in the ticket
Ticket: OW#1322
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=e61098d2440dd1538f276da16ce58083…
commit e61098d2440dd1538f276da16ce580834364d5bd
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:28:38 2014 +0100
sgsn: Put SGSN related subscriber data into separate struct
There will be an increasing number of SGSN related fields per
subscriber. Instead of extending gsm_subscriber accordingly, a single
struct sgsn_subscriber_data object is assigned to it. The talloc
context used to allocated that object is the subscr object itself.
Therefore it will be freed automatically along with the subscr
object.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=52d7b8041e3c335780d82c399c4cfde9…
commit 52d7b8041e3c335780d82c399c4cfde9b419251d
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 09:47:26 2014 +0100
sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize
Currently the Authentication and Ciphering procedure is not yet
invoked by the GMM layer.
This patch starts this procedure from within gsm48_gmm_authorize when
the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call
to gsm0408_gprs_authenticate has been issued directly or indirectly
by the call to sgsn_auth_request.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=b5ebe22468603b01dba841dc69e23199…
commit b5ebe22468603b01dba841dc69e231990e612966
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:01:48 2014 +0100
sgsn: Add VTY commands to manage subscriber cache
This adds the following commands to the ENABLE node:
- show subscriber cache
- update-subscriber imsi IMSI insert authorized (0|1)
- update-subscriber imsi IMSI cancel
- update-subscriber imsi IMSI commit
These commands are mainly testing tools and maintenance helpers. The
update commands work asynchronously and can be used to complete a
pending update request or to terminate an existing connection. The
'insert' command just update the subscriber records but does not
notify the GMM layer. Invoke the 'commit' command to continue with
pending procedures.
Note that the subscriber cache is not stored persistently and will
always be empty after an SGSN restart.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/gprs/sgsn_vty.c | 2 --
1 file changed, 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, jerlbeck/wip/gprs-patching has been updated
discards 9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5 (commit)
discards 0cabe676b15a82d2eaf6b298ee2c38b5ea0533f6 (commit)
discards 1ba89ae5029fb0f3778d4cdc10bc2743502ac13f (commit)
discards b7084e3c4e33335d2309fd273c1727138b721dcc (commit)
discards 66b8c3d14fb21dd1540e37f58d5db160460ad333 (commit)
discards aad7de8f3b00dec210021c11cf968da2147d9aaa (commit)
discards 43aa366a08d67654ac17452d8c2b5078d4294c24 (commit)
discards 82eda228b23569374eedc304dd2178e3fb04084b (commit)
discards 626357bc3c086735d2742266b6b3d637fc045a6c (commit)
via e0634bdcc5c44ffa05ab84c7c07e48333493d71c (commit)
via 714a165682349e9606261d82c7a1ce615716a538 (commit)
via 69f49e9a4c0427d29000f08e6ea8958b16e38420 (commit)
via 7f98b53262f46bcbdfc3bb16c4d527bb086c6445 (commit)
via 12bf9cbbc0545eeb7482bac1c0a73768c4e77640 (commit)
via fcfad973a9941c346f88fb901107e6ef90a59e89 (commit)
via f6a5507f6804e33ecf2bcd2dfddff34768d499ee (commit)
via 6ae51906333fc4756982f7f98d0f6bc882ae099b (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 (9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5)
\
N -- N -- N (e0634bdcc5c44ffa05ab84c7c07e48333493d71c)
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=e0634bdcc5c44ffa05ab84c7c07e4833…
commit e0634bdcc5c44ffa05ab84c7c07e48333493d71c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 28 14:55:25 2014 +0100
sgsn: Work on 2 phase authorization (WIP)
This implements the MAP way of subscriber validation when the MS
tries an Attach Request:
1. perform authentication (optionally invoke the sendAuthInfo
procedure), starts the AuthAndCiph procedure
2. perform update location
3. insert subscriber data
4. finish the update location
5. Attach Accept / Attach Reject
This is currently accessible via the VTY interface.
TODO:
- Apply this to (periodic) RA Update Req
- Delete Subscriber Data
- Improve on procedure collisions (repeated Attach Req is sometimes
not handled properly)
- PDP info
- Commit cleanup
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=714a165682349e9606261d82c7a1ce61…
commit 714a165682349e9606261d82c7a1ce615716a538
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:52:00 2014 +0100
sgsn: Add support for authentication triplets (TODO)
TODO:
- commit message
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=69f49e9a4c0427d29000f08e6ea8958b…
commit 69f49e9a4c0427d29000f08e6ea8958b16e38420
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:26:47 2014 +0100
sgsn: Support authentication (TODO)
TODO:
- title
- commit message
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=7f98b53262f46bcbdfc3bb16c4d527bb…
commit 7f98b53262f46bcbdfc3bb16c4d527bb086c6445
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Sep 30 13:53:26 2014 +0200
sgsn: Added TODOs (TODO)
TODO:
- fix and remove TODOs
- add test cases for Detach(reattach)
- add test cases for PDP context deletion (OW#1311)
- add test cases for Cancel pending timer in sgsn_mm_ctx_free
- remove this commit
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=12bf9cbbc0545eeb7482bac1c0a73768…
commit 12bf9cbbc0545eeb7482bac1c0a73768c4e77640
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Oct 17 10:08:02 2014 +0200
sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO)
Currently an OSMO_ASSERT fails, if the message's and the mmctx's
TLLIs do not match.
This commit turns the assertion into an ERROR log message and uses
the default values for IMSI, DRX, and RA CAP instead of the MM
context values in this case.
TODO:
- find the real source for the problem
- add test cases derived from what is being described in the ticket
Ticket: OW#1322
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=fcfad973a9941c346f88fb901107e6ef…
commit fcfad973a9941c346f88fb901107e6ef90a59e89
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:28:38 2014 +0100
sgsn: Put SGSN related subscriber data into separate struct
There will be an increasing number of SGSN related fields per
subscriber. Instead of extending gsm_subscriber accordingly, a single
struct sgsn_subscriber_data object is assigned to it. The talloc
context used to allocated that object is the subscr object itself.
Therefore it will be freed automatically along with the subscr
object.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=f6a5507f6804e33ecf2bcd2dfddff347…
commit f6a5507f6804e33ecf2bcd2dfddff34768d499ee
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 09:47:26 2014 +0100
sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize
Currently the Authentication and Ciphering procedure is not yet
invoked by the GMM layer.
This patch starts this procedure from within gsm48_gmm_authorize when
the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call
to gsm0408_gprs_authenticate has been issued directly or indirectly
by the call to sgsn_auth_request.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=6ae51906333fc4756982f7f98d0f6bc8…
commit 6ae51906333fc4756982f7f98d0f6bc882ae099b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:01:48 2014 +0100
sgsn: Add VTY commands to manage subscriber cache
This adds the following commands to the ENABLE node:
- show subscriber cache
- update-subscriber imsi IMSI insert authorized (0|1)
- update-subscriber imsi IMSI cancel
- update-subscriber imsi IMSI commit
These commands are mainly testing tools and maintenance helpers. The
update commands work asynchronously and can be used to complete a
pending update request or to terminate an existing connection. The
'insert' command just update the subscriber records but does not
notify the GMM layer. Invoke the 'commit' command to continue with
pending procedures.
Note that the subscriber cache is not stored persistently and will
always be empty after an SGSN restart.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/tests/vty_test_runner.py | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
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, jerlbeck/wip/gprs-patching has been updated
discards f279de7e4c33f602a23badf71b2c17adfcb2d9e2 (commit)
discards 410e93c21a8b695e818d65af39f7e3600c73d677 (commit)
discards 65682b62e770cd7cc2dd70880d0742a789e7b296 (commit)
discards 0350211ecc0542f5d3c921bd1b130af1b1ad6111 (commit)
discards 4679832a916c5ea792c3312575bb5e4209365a77 (commit)
discards 85a3619c1ce96d9a81776b7e3776a952ee61fb54 (commit)
discards ad8a578d6a6a2ae9ac693675946e4870170c601c (commit)
discards 6a59acb3709f781517a245f6bdf89555272bf580 (commit)
discards bc903825595047e970a74064e548930b5bff68ec (commit)
discards 877b98bb1664fadecf59fc23ec4d75b9711c0262 (commit)
discards 10a10844c85682ae9582cab66dbfa729b408b5ae (commit)
discards 5d67f73eb71ac578254ef2cabd8d9db6d18c7a42 (commit)
discards d9beed523036eeec7872342c5ecc0452501d2a5a (commit)
discards 045f8f3dfa810ecfd7f528c32ebbef128f169797 (commit)
discards da03b777c23654dcf14b294c62cad2d781eeb93b (commit)
discards b66502c27779853ee5556e1bf9e8e41a138a2a87 (commit)
via 9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5 (commit)
via 0cabe676b15a82d2eaf6b298ee2c38b5ea0533f6 (commit)
via 1ba89ae5029fb0f3778d4cdc10bc2743502ac13f (commit)
via b7084e3c4e33335d2309fd273c1727138b721dcc (commit)
via 66b8c3d14fb21dd1540e37f58d5db160460ad333 (commit)
via aad7de8f3b00dec210021c11cf968da2147d9aaa (commit)
via 43aa366a08d67654ac17452d8c2b5078d4294c24 (commit)
via 82eda228b23569374eedc304dd2178e3fb04084b (commit)
via 626357bc3c086735d2742266b6b3d637fc045a6c (commit)
via e2a2753a602f8fcfce71b26cb9df570d604b4ecc (commit)
via 34d1ee49ee6d2c8633c0b08a75d19923d18437e9 (commit)
via e5974b50c72823ac091d8424d87c7211692aaa2a (commit)
via ecb22579dd53ad59d217e0f5c2fddfd7fa6f1136 (commit)
via 6f881b9ff232f766f2e8ac8f10c763f45418f960 (commit)
via 81bc955a9e9b2313306ad0121f37e37c2fbb1b11 (commit)
via 8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a (commit)
via bd0cf1190a839bbaad38b86157eaa13b7c3f7ec4 (commit)
via 65d8273bf342944db12fecff9140bf4b9d3e6ad2 (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 (f279de7e4c33f602a23badf71b2c17adfcb2d9e2)
\
N -- N -- N (9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5)
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=9b0ac55bf618809a1c1b7a4657dc8040…
commit 9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 28 14:55:25 2014 +0100
sgsn: Work on 2 phase authorization (WIP)
This implements the MAP way of subscriber validation when the MS
tries an Attach Request:
1. perform authentication (optionally invoke the sendAuthInfo
procedure), starts the AuthAndCiph procedure
2. perform update location
3. insert subscriber data
4. finish the update location
5. Attach Accept / Attach Reject
This is currently accessible via the VTY interface.
TODO:
- Apply this to (periodic) RA Update Req
- Delete Subscriber Data
- Improve on procedure collisions (repeated Attach Req is sometimes
not handled properly)
- PDP info
- Commit cleanup
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=0cabe676b15a82d2eaf6b298ee2c38b5…
commit 0cabe676b15a82d2eaf6b298ee2c38b5ea0533f6
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:52:00 2014 +0100
sgsn: Add support for authentication triplets (TODO)
TODO:
- commit message
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=1ba89ae5029fb0f3778d4cdc10bc2743…
commit 1ba89ae5029fb0f3778d4cdc10bc2743502ac13f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:50:12 2014 +0100
sgsn: Add VTY commitcommand (TODO)
TODO:
- merge with later changes
- move this before last commit
Ticket: OW#????
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=b7084e3c4e33335d2309fd273c172713…
commit b7084e3c4e33335d2309fd273c1727138b721dcc
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:26:47 2014 +0100
sgsn: Support authentication (TODO)
TODO:
- title
- commit message
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=66b8c3d14fb21dd1540e37f58d5db160…
commit 66b8c3d14fb21dd1540e37f58d5db160460ad333
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Sep 30 13:53:26 2014 +0200
sgsn: Added TODOs (TODO)
TODO:
- fix and remove TODOs
- add test cases for Detach(reattach)
- add test cases for PDP context deletion (OW#1311)
- add test cases for Cancel pending timer in sgsn_mm_ctx_free
- remove this commit
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=aad7de8f3b00dec210021c11cf968da2…
commit aad7de8f3b00dec210021c11cf968da2147d9aaa
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Oct 17 10:08:02 2014 +0200
sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO)
Currently an OSMO_ASSERT fails, if the message's and the mmctx's
TLLIs do not match.
This commit turns the assertion into an ERROR log message and uses
the default values for IMSI, DRX, and RA CAP instead of the MM
context values in this case.
TODO:
- find the real source for the problem
- add test cases derived from what is being described in the ticket
Ticket: OW#1322
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=43aa366a08d67654ac17452d8c2b5078…
commit 43aa366a08d67654ac17452d8c2b5078d4294c24
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:28:38 2014 +0100
sgsn: Put SGSN related subscriber data into separate struct
There will be an increasing number of SGSN related fields per
subscriber. Instead of extending gsm_subscriber accordingly, a single
struct sgsn_subscriber_data object is assigned to it. The talloc
context used to allocated that object is the subscr object itself.
Therefore it will be freed automatically along with the subscr
object.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=82eda228b23569374eedc304dd2178e3…
commit 82eda228b23569374eedc304dd2178e3fb04084b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 09:47:26 2014 +0100
sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize
Currently the Authentication and Ciphering procedure is not yet
invoked by the GMM layer.
This patch starts this procedure from within gsm48_gmm_authorize when
the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call
to gsm0408_gprs_authenticate has been issued directly or indirectly
by the call to sgsn_auth_request.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=626357bc3c086735d2742266b6b3d637…
commit 626357bc3c086735d2742266b6b3d637fc045a6c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:01:48 2014 +0100
sgsn: Add VTY commands to manage subscriber cache
This adds the following commands to the ENABLE node:
- show subscriber cache
- update-subscriber imsi IMSI insert authorized (0|1)
- update-subscriber imsi IMSI cancel
These commands are mainly testing tools and maintenance helpers. The
update commands work asynchronously and can be used to complete a
pending update request or to terminate an existing connection.
Note that the subscriber cache is not stored persistently and will
always be empty after an SGSN restart.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=e2a2753a602f8fcfce71b26cb9df570d…
commit e2a2753a602f8fcfce71b26cb9df570d604b4ecc
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:47:38 2014 +0100
sgsn: Add gsm0408_gprs_access_cancelled
This function is called to delete an established MM context
silently without invoking a detach procedure.
It is called when a subscriber is cancelled by the HLR. This
generally happens, when an MS has moved to another routing area and
has to use another SGSN.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=34d1ee49ee6d2c8633c0b08a75d19923…
commit 34d1ee49ee6d2c8633c0b08a75d19923d18437e9
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:18:09 2014 +0100
sgsn: Integrate subscriber handling into the SGSN
This commit adds a new authorization policy 'remote' and uses
the subscriber cache for authorization when this policy is being used.
Note that there is no remote backend implemented yet. After the
IMSI/IMEI have been acquired, a request would be sent to the remote
peer. The attach/auth-ciph procedure continues when authorization
info has been received from the peer. This means, that
gprs_subscr_update() must be called then to tell the GMM layer
that it can proceed. A later commit will add VTY commands to do this
manually.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=e5974b50c72823ac091d8424d87c7211…
commit e5974b50c72823ac091d8424d87c7211692aaa2a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:12:11 2014 +0100
sgsn: Add gprs_subscriber.c
This patch adds GPRS specific functions for gsm_subscriber objects
(allocation, retrieval, deletion) and subscriber data
requests/updates. The sgsn_update_subscriber_data callback is used to
notify the sgsn about updates and is extended by a parameter that
passes a reference to a gsm_subscriber.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=ecb22579dd53ad59d217e0f5c2fddfd7…
commit ecb22579dd53ad59d217e0f5c2fddfd7fa6f1136
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 11:08:23 2014 +0100
msc: Add per subscriber keep_in_ram flag
Currently the keep_subscr flag in gsm_subscriber_group refers to a
whole group of subscribers which makes it difficult to really delete
single entries if the flag is set.
This patch adds a keep_in_ram field to gsm_subscriber which allows for
keeping subscriber objects in RAM while deleting others.
Note that really deleting an entry requires that both flags
(subscr_group->keep_subscr and subscr->keep_in_ram) are set to 0. So
only the latter should be used if a specification requires the
deletion of a subscriber entry.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=6f881b9ff232f766f2e8ac8f10c763f4…
commit 6f881b9ff232f766f2e8ac8f10c763f45418f960
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 11:53:34 2014 +0100
sgsn: Remove warnings
Remove warnings related to the SGSN specific code.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=81bc955a9e9b2313306ad0121f37e37c…
commit 81bc955a9e9b2313306ad0121f37e37c2fbb1b11
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 14:22:53 2014 +0100
msc: Add net parameter to trans_alloc
The trans_alloc function still uses the subscr object to access the
network object.
This patch adds an explicit net parameter to this function and
removes the access to subscr to obtain it.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gprs_sgsn.h | 1 +
openbsc/include/openbsc/gsm_subscriber.h | 1 -
openbsc/src/gprs/gprs_sgsn.c | 6 +++---
openbsc/src/gprs/gprs_subscriber.c | 25 +++++++++++++------------
openbsc/src/gprs/sgsn_auth.c | 21 ++++++++++-----------
openbsc/src/gprs/sgsn_vty.c | 2 ++
openbsc/tests/sgsn/Makefile.am | 3 ++-
openbsc/tests/sgsn/sgsn_test.c | 21 +++++++++++++++++++++
8 files changed, 52 insertions(+), 28 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, jerlbeck/wip/gprs-patching has been updated
via f279de7e4c33f602a23badf71b2c17adfcb2d9e2 (commit)
via 410e93c21a8b695e818d65af39f7e3600c73d677 (commit)
via 65682b62e770cd7cc2dd70880d0742a789e7b296 (commit)
via 0350211ecc0542f5d3c921bd1b130af1b1ad6111 (commit)
via 4679832a916c5ea792c3312575bb5e4209365a77 (commit)
from 85a3619c1ce96d9a81776b7e3776a952ee61fb54 (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=f279de7e4c33f602a23badf71b2c17ad…
commit f279de7e4c33f602a23badf71b2c17adfcb2d9e2
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 28 14:55:25 2014 +0100
sgsn: Work on 2 phase authorization (WIP)
This implements the MAP way of subscriber validation when the MS
tries an Attach Request:
1. perform authentication (optionally invoke the sendAuthInfo
procedure), starts the AuthAndCiph procedure
2. perform update location
3. insert subscriber data
4. finish the update location
5. Attach Accept / Attach Reject
This is currently accessible via the VTY interface.
TODO:
- Apply this to (periodic) RA Update Req
- Delete Subscriber Data
- Improve on procedure collisions (repeated Attach Req is sometimes
not handled properly)
- PDP info
- Commit cleanup
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=410e93c21a8b695e818d65af39f7e360…
commit 410e93c21a8b695e818d65af39f7e3600c73d677
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:35:41 2014 +0100
gsn: Auth and Ciph (WIP)
TODO:
- split this commit into several smaller ones (fixes, integration,
triplet management, ...)
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=65682b62e770cd7cc2dd70880d0742a7…
commit 65682b62e770cd7cc2dd70880d0742a789e7b296
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:28:38 2014 +0100
sgsn: Put SGSN related subscriber data into separate struct (TODO)
TODO:
- commit message
- remove _alloc entirely (also in 'Add gprs_subscriber.c' patch)
- also move mm into this struct
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=0350211ecc0542f5d3c921bd1b130af1…
commit 0350211ecc0542f5d3c921bd1b130af1b1ad6111
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Sep 30 13:53:26 2014 +0200
sgsn: Added TODOs (TODO)
TODO:
- fix and remove TODOs
- add test cases for Detach(reattach)
- add test cases for PDP context deletion (OW#1311)
- add test cases for Cancel pending timer in sgsn_mm_ctx_free
- remove this commit
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=4679832a916c5ea792c3312575bb5e42…
commit 4679832a916c5ea792c3312575bb5e4209365a77
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Oct 17 10:08:02 2014 +0200
sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO)
Currently an OSMO_ASSERT fails, if the message's and the mmctx's
TLLIs do not match.
This commit turns the assertion into an ERROR log message and uses
the default values for IMSI, DRX, and RA CAP instead of the MM
context values in this case.
TODO:
- find the real source for the problem
- add test cases derived from what is being described in the ticket
Ticket: OW#1322
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gprs_sgsn.h | 38 ++++++-
openbsc/include/openbsc/gsm_subscriber.h | 2 +
openbsc/src/gprs/gprs_llc.c | 29 +++--
openbsc/src/gprs/gprs_sgsn.c | 2 +-
openbsc/src/gprs/gprs_subscriber.c | 125 +++++++++++++++++-----
openbsc/src/gprs/sgsn_auth.c | 118 +++++++++++++++++++-
openbsc/src/gprs/sgsn_vty.c | 178 +++++++++++++++++++++++++++++--
openbsc/tests/sgsn/sgsn_test.c | 6 ++
8 files changed, 445 insertions(+), 53 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, jerlbeck/wip/gprs-patching has been updated
discards 0e1f5ad735ca326c34fd7758e1f1304341eacde7 (commit)
discards 6f3f49f0e8a56763033d525eaac1904c716eb014 (commit)
discards 7d91723132285170d012caf5b8bb6fd6fb9fe051 (commit)
discards 5115593a1691de7435e06ca9c2a501e7105ba73a (commit)
discards f416810ffb3a3c224705fa12d97b3eb7f541eb5d (commit)
discards 94668b91701108382798d1d41f01fbada1c3345e (commit)
discards 85351066bec2d23fd5a27bc0081475ca649c30ae (commit)
discards ee0a289a1bd1db2d7883bfe799b450c64659abc5 (commit)
discards f565ef74ac74a3d78b796fac9579846c1f0e73a7 (commit)
discards aa4f556f669be4976b955df1ead4991a0497173e (commit)
discards fd1983f37608169199e0d260452c36ca3f993c07 (commit)
discards e1cead48ce8678b5d9f6bda503d8b2eecc708363 (commit)
discards 69b4280e38a3e575beb4a687dbb83393bb1f26a1 (commit)
discards ee2db53e97841b165f68441f4f4347c06f351c85 (commit)
discards 27b6dd2ad05f4837500ca91a6e9efe09fe351cb2 (commit)
discards fd56e58f1383d36caf35f5eea979a71266f474d7 (commit)
discards 521ece039e1d540189a1cbf2f7b6ba9c1ad3d314 (commit)
discards d3e3eeb00557c9dbd10fef8c62556efc631cf5d6 (commit)
discards f95603d7e77982ecb2e63704b1276ae23136d695 (commit)
via 85a3619c1ce96d9a81776b7e3776a952ee61fb54 (commit)
via ad8a578d6a6a2ae9ac693675946e4870170c601c (commit)
via 6a59acb3709f781517a245f6bdf89555272bf580 (commit)
via bc903825595047e970a74064e548930b5bff68ec (commit)
via 877b98bb1664fadecf59fc23ec4d75b9711c0262 (commit)
via 10a10844c85682ae9582cab66dbfa729b408b5ae (commit)
via 5d67f73eb71ac578254ef2cabd8d9db6d18c7a42 (commit)
via d9beed523036eeec7872342c5ecc0452501d2a5a (commit)
via 045f8f3dfa810ecfd7f528c32ebbef128f169797 (commit)
via da03b777c23654dcf14b294c62cad2d781eeb93b (commit)
via b66502c27779853ee5556e1bf9e8e41a138a2a87 (commit)
via 0acc0018d9a395ded0408f5c95061562d0c528b3 (commit)
via 1e30a28e51b5e8a14b977233858f267f839197d5 (commit)
via dae1f64ba688eaa24aad6ce15a8529bdef788146 (commit)
via f07c605361d21b7bc36b741297c6ecf8e4162782 (commit)
via 1f6cce772ef1aac0ef8a66a3327d0ed9d4572366 (commit)
via 5eebb7a814f0006c8ccba09e53f8b60e57d3fd2a (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 (0e1f5ad735ca326c34fd7758e1f1304341eacde7)
\
N -- N -- N (85a3619c1ce96d9a81776b7e3776a952ee61fb54)
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=85a3619c1ce96d9a81776b7e3776a952…
commit 85a3619c1ce96d9a81776b7e3776a952ee61fb54
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 09:47:26 2014 +0100
sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize
Currently the Authentication and Ciphering procedure is not yet
invoked by the GMM layer.
This patch starts this procedure from within gsm48_gmm_authorize when
the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call
to gsm0408_gprs_authenticate has been issued directly or indirectly
by the call to sgsn_auth_request.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=ad8a578d6a6a2ae9ac693675946e4870…
commit ad8a578d6a6a2ae9ac693675946e4870170c601c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 12:44:24 2014 +0100
sgsn: Do authentication based on SRES values
Currently the SRES value in the Auth & Ciph Response is ignored.
This patch checks the SRES value in response against the value stored
in mm->auth_triplet.sres. If they don't match, an Auth & Ciph Reject
message is sent to the MS. If they match, the mm->is_authenticated
flag is set.
Note that the procedure will not be started yet.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=6a59acb3709f781517a245f6bdf89555…
commit 6a59acb3709f781517a245f6bdf89555272bf580
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 12:33:33 2014 +0100
sgsn: Change Auth&Ciph timer handling
Currently mmctx_timer_start is called from within
gsm48_tx_gmm_auth_ciph_req which differs from the way e.g. the
identification procedure is implemented. It also makes it more
difficult to restart the procedure after timeout, which is not
implemented yet. In addition, the timer is not properly stopped when
an AUTH & CIPH response is received.
This patch removes this timer start from gsm48_tx_gmm_auth_ciph_req,
adds the retransmission of Auth & Ciph requests to the timer callback
function, and properly stops the timer in
gsm48_rx_gmm_auth_ciph_resp.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=bc903825595047e970a74064e548930b…
commit bc903825595047e970a74064e548930b5bff68ec
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 10:36:17 2014 +0100
sgsn: Fix and enable auth/ciph message generation
Currently gsm48_tx_gmm_auth_ciph_req/_rej are commented out. In
addition, gsm48_tx_gmm_auth_ciph_req uses a wrong encoding (two byte TV instead of two nibbles TV) of the CKSN information element.
This patch fixes the encoding of the CKSN IE and enables the
functions mentioned above.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=877b98bb1664fadecf59fc23ec4d75b9…
commit 877b98bb1664fadecf59fc23ec4d75b9711c0262
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:01:48 2014 +0100
sgsn: Add VTY commands to manage subscriber cache
This adds the following commands to the ENABLE node:
- show subscriber cache
- update-subscriber imsi IMSI insert authorized (0|1)
- update-subscriber imsi IMSI cancel
These commands are mainly testing tools and maintenance helpers. The
update commands work asynchronously and can be used to complete a
pending update request or to terminate an existing connection.
Note that the subscriber cache is not stored persistently and will
always be empty after an SGSN restart.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=10a10844c85682ae9582cab66dbfa729…
commit 10a10844c85682ae9582cab66dbfa729b408b5ae
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:47:38 2014 +0100
sgsn: Add gsm0408_gprs_access_cancelled
This function is called to delete an established MM context
silently without invoking a detach procedure.
It is called when a subscriber is cancelled by the HLR. This
generally happens, when an MS has moved to another routing area and
has to use another SGSN.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=5d67f73eb71ac578254ef2cabd8d9db6…
commit 5d67f73eb71ac578254ef2cabd8d9db6d18c7a42
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:18:09 2014 +0100
sgsn: Integrate subscriber handling into the SGSN
This commit adds a new authorization policy 'remote' and uses
the subscriber cache for authorization when this policy is being used.
Note that there is no remote backend implemented yet. After the
IMSI/IMEI have been acquired, a request would be sent to the remote
peer. The attach/auth-ciph procedure continues when authorization
info has been received from the peer. This means, that
gprs_subscr_update() must be called then to tell the GMM layer
that it can proceed. A later commit will add VTY commands to do this
manually.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=d9beed523036eeec7872342c5ecc0452…
commit d9beed523036eeec7872342c5ecc0452501d2a5a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:12:11 2014 +0100
sgsn: Add gprs_subscriber.c
This patch adds GPRS specific functions for gsm_subscriber objects
(allocation, retrieval, deletion) and subscriber data
requests/updates. The sgsn_update_subscriber_data callback is used to
notify the sgsn about updates and is extended by a parameter that
passes a reference to a gsm_subscriber.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=045f8f3dfa810ecfd7f528c32ebbef12…
commit 045f8f3dfa810ecfd7f528c32ebbef128f169797
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 11:08:23 2014 +0100
msc: Add per subscriber keep_in_ram flag
Currently the keep_subscr flag in gsm_subscriber_group refers to a
whole group of subscribers which makes it difficult to really delete
single entries if the flag is set.
This patch adds a keep_in_ram field to gsm_subscriber which allows for
keeping subscriber objects in RAM while deleting others.
Note that really deleting an entry requires that both flags
(subscr_group->keep_subscr and subscr->keep_in_ram) are set to 0. So
only the latter should be used if a specification requires the
deletion of a subscriber entry.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=da03b777c23654dcf14b294c62cad2d7…
commit da03b777c23654dcf14b294c62cad2d781eeb93b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 11:53:34 2014 +0100
sgsn: Remove warnings
Remove warnings related to the SGSN specific code.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=b66502c27779853ee5556e1bf9e8e41a…
commit b66502c27779853ee5556e1bf9e8e41a138a2a87
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 14:22:53 2014 +0100
msc: Add net parameter to trans_alloc
The trans_alloc function still uses the subscr object to access the
network object.
This patch adds an explicit net parameter to this function and
removes the access to subscr to obtain it.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/.gitignore | 1 +
openbsc/include/openbsc/gprs_sgsn.h | 38 +-----
openbsc/include/openbsc/gsm_subscriber.h | 6 +-
openbsc/include/openbsc/transaction.h | 3 +-
openbsc/src/gprs/gprs_llc.c | 29 ++---
openbsc/src/gprs/gprs_sgsn.c | 2 +-
openbsc/src/gprs/gprs_subscriber.c | 138 ++++++---------------
openbsc/src/gprs/sgsn_auth.c | 126 +------------------
openbsc/src/gprs/sgsn_vty.c | 185 ++--------------------------
openbsc/src/libbsc/bsc_ctrl_commands.c | 80 ++++++++++++
openbsc/src/libcommon/gsm_subscriber_base.c | 4 +-
openbsc/src/libmsc/gsm_04_08.c | 5 +-
openbsc/src/libmsc/gsm_04_11.c | 6 +-
openbsc/src/libmsc/transaction.c | 4 +-
openbsc/tests/ctrl_test_runner.py | 21 ++++
openbsc/tests/sgsn/Makefile.am | 3 +-
openbsc/tests/sgsn/sgsn_test.c | 180 +++++++++++++++++++++++++--
openbsc/tests/sgsn/sgsn_test.ok | 4 +-
openbsc/tests/subscr/subscr_test.c | 9 +-
19 files changed, 360 insertions(+), 484 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 8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a (commit)
via bd0cf1190a839bbaad38b86157eaa13b7c3f7ec4 (commit)
via 65d8273bf342944db12fecff9140bf4b9d3e6ad2 (commit)
from 0acc0018d9a395ded0408f5c95061562d0c528b3 (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=8ff3fb04f2e3ea192cb337c8a6dcee19…
commit 8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 12:44:24 2014 +0100
sgsn: Do authentication based on SRES values
Currently the SRES value in the Auth & Ciph Response is ignored.
This patch checks the SRES value in response against the value stored
in mm->auth_triplet.sres. If they don't match, an Auth & Ciph Reject
message is sent to the MS. If they match, the mm->is_authenticated
flag is set.
Note that the procedure will not be started yet.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=bd0cf1190a839bbaad38b86157eaa13b…
commit bd0cf1190a839bbaad38b86157eaa13b7c3f7ec4
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 12:33:33 2014 +0100
sgsn: Change Auth&Ciph timer handling
Currently mmctx_timer_start is called from within
gsm48_tx_gmm_auth_ciph_req which differs from the way e.g. the
identification procedure is implemented. It also makes it more
difficult to restart the procedure after timeout, which is not
implemented yet. In addition, the timer is not properly stopped when
an AUTH & CIPH response is received.
This patch removes this timer start from gsm48_tx_gmm_auth_ciph_req,
adds the retransmission of Auth & Ciph requests to the timer callback
function, and properly stops the timer in
gsm48_rx_gmm_auth_ciph_resp.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=65d8273bf342944db12fecff9140bf4b…
commit 65d8273bf342944db12fecff9140bf4b9d3e6ad2
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 10:36:17 2014 +0100
sgsn: Fix and enable auth/ciph message generation
Currently gsm48_tx_gmm_auth_ciph_req/_rej are commented out. In
addition, gsm48_tx_gmm_auth_ciph_req uses a wrong encoding (two byte TV instead of two nibbles TV) of the CKSN information element.
This patch fixes the encoding of the CKSN IE and enables the
functions mentioned above.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gprs_sgsn.h | 6 +++-
openbsc/src/gprs/gprs_gmm.c | 59 +++++++++++++++++++++++++++++--------
openbsc/src/gprs/gprs_sgsn.c | 1 +
3 files changed, 53 insertions(+), 13 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 "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, zecke/power-control has been created
at 09401832365953469cdb708ec8d950295eeec896 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-bts/commit/?id=09401832365953469cdb708ec8d9502…
commit 09401832365953469cdb708ec8d950295eeec896
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Sat Dec 6 20:30:52 2014 +0100
WIP power control
* Decide if we want to wait for the MS to take the new power
level or order changes based on measurement values
* Add unit tests.. e.g. for the newdb < 0 case or > 30 for GSM1800
-----------------------------------------------------------------------
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
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 0acc0018d9a395ded0408f5c95061562d0c528b3 (commit)
via 1e30a28e51b5e8a14b977233858f267f839197d5 (commit)
via dae1f64ba688eaa24aad6ce15a8529bdef788146 (commit)
via f07c605361d21b7bc36b741297c6ecf8e4162782 (commit)
via 1f6cce772ef1aac0ef8a66a3327d0ed9d4572366 (commit)
via 5eebb7a814f0006c8ccba09e53f8b60e57d3fd2a (commit)
from de4bbc714600b9db0b913705efc3064defacae18 (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=0acc0018d9a395ded0408f5c95061562…
commit 0acc0018d9a395ded0408f5c95061562d0c528b3
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 13:05:16 2014 +0100
bsc/test: Add tests for gsm_subscriber base
This commit adds test for the generic part of gsm_subscriber like
reference counting and flag usage.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=1e30a28e51b5e8a14b977233858f267f…
commit 1e30a28e51b5e8a14b977233858f267f839197d5
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 09:28:24 2014 +0100
msc: Add and use gsm_subscriber_group
Currently every subcriber object directly refers to the gsm_network
which contains a flag shared by every related subscriber
(keep_subscr). This adds a dependency on gsm_network even if only the
function defined in gsm_subscriber_base.c are used.
This patch adds a new struct gsm_subscriber_group which contains the
keep_subscr flag and a back reference to the network object. The
latter is not dereferenced in gsm_subscriber_base.c, so it can safely
be set to NULL when only that part of the gsm_subscriber API is being
used. It also changes that API to use gsm_subscriber_group instead of
gsm_network parameters.
Since there are some places where a pointer to the gsm_network is
needed but where only a gsm_subscriber is available, a 'net' back
pointer is added to the group struct, too. Nevertheless subscr group
and network could be separated completely, but this is not the topic
of this commit.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=dae1f64ba688eaa24aad6ce15a8529bd…
commit dae1f64ba688eaa24aad6ce15a8529bdef788146
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 14:22:53 2014 +0100
msc: Don't use the subscriber to access the net object
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=f07c605361d21b7bc36b741297c6ecf8…
commit f07c605361d21b7bc36b741297c6ecf8e4162782
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:58:00 2014 +0100
msc: Add net back pointer to gsm_trans
Currently the net pointer is obtained from trans->subscr->net. On the
other hand, the list gsm_trans object is managed by the net object.
This patch adds the back pointer to the structure and replaces all
trans->subscr->net by trans->net expressions. In trans_alloc() the
trans->net pointer is obtained from the subscr object.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=1f6cce772ef1aac0ef8a66a3327d0ed9…
commit 1f6cce772ef1aac0ef8a66a3327d0ed9d4572366
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Fri Dec 5 14:44:21 2014 +0100
ctrl: Allow to query if the OML link is connected or not
Related: SYS#798
http://cgit.osmocom.org/openbsc/commit/?id=5eebb7a814f0006c8ccba09e53f8b60e…
commit 5eebb7a814f0006c8ccba09e53f8b60e57d3fd2a
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Fri Dec 5 12:03:24 2014 +0100
ctrl: Add command to get the current load of a BTS
Add a command and test to see the current channel load and
available channels per BTS.
Related: SYS#798
-----------------------------------------------------------------------
Summary of changes:
openbsc/.gitignore | 1 +
openbsc/configure.ac | 1 +
openbsc/include/openbsc/gsm_data.h | 3 +-
openbsc/include/openbsc/gsm_subscriber.h | 28 +++++---
openbsc/include/openbsc/transaction.h | 7 +-
openbsc/src/libbsc/bsc_ctrl_commands.c | 80 +++++++++++++++++++++
openbsc/src/libbsc/bsc_vty.c | 4 +-
openbsc/src/libbsc/chan_alloc.c | 2 +-
openbsc/src/libbsc/net_init.c | 8 +++
openbsc/src/libbsc/paging.c | 2 +-
openbsc/src/libcommon/gsm_subscriber_base.c | 22 +++---
openbsc/src/libmsc/ctrl_commands.c | 6 +-
openbsc/src/libmsc/db.c | 4 +-
openbsc/src/libmsc/gsm_04_08.c | 104 +++++++++++++++-------------
openbsc/src/libmsc/gsm_04_11.c | 12 ++--
openbsc/src/libmsc/gsm_subscriber.c | 35 +++++-----
openbsc/src/libmsc/silent_call.c | 2 +-
openbsc/src/libmsc/smpp_openbsc.c | 4 +-
openbsc/src/libmsc/sms_queue.c | 8 +--
openbsc/src/libmsc/token_auth.c | 6 +-
openbsc/src/libmsc/transaction.c | 14 ++--
openbsc/src/libmsc/vty_interface_layer3.c | 14 ++--
openbsc/src/osmo-bsc/osmo_bsc_bssap.c | 2 +-
openbsc/src/osmo-bsc/osmo_bsc_filter.c | 5 +-
openbsc/src/osmo-bsc/osmo_bsc_grace.c | 7 +-
openbsc/src/osmo-nitb/bsc_hack.c | 2 +-
openbsc/tests/Makefile.am | 2 +-
openbsc/tests/channel/channel_test.c | 5 +-
openbsc/tests/ctrl_test_runner.py | 21 ++++++
openbsc/tests/db/db_test.c | 10 ++-
openbsc/tests/subscr/Makefile.am | 18 +++++
openbsc/tests/subscr/subscr_test.c | 104 ++++++++++++++++++++++++++++
openbsc/tests/subscr/subscr_test.ok | 3 +
openbsc/tests/testsuite.at | 6 ++
34 files changed, 413 insertions(+), 139 deletions(-)
create mode 100644 openbsc/tests/subscr/Makefile.am
create mode 100644 openbsc/tests/subscr/subscr_test.c
create mode 100644 openbsc/tests/subscr/subscr_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, jerlbeck/wip/gprs-patching has been updated
discards 70c53a622635f1770b2eef375c260ac731d40780 (commit)
discards 674fe423e6e9eb11bc787a5976943554d3f0fb82 (commit)
discards 5d97e6bf73833e024ee84cb348a2680c3ecc112b (commit)
discards 9c98d0a61cf5ca78e21031c5bcad86b778a054cb (commit)
discards c973693742619eaf999f56c5e3a9c08c1190eb9d (commit)
discards 6e80ec48a7dbe901072695876f2df6f1876cf79c (commit)
discards 9b083d517b832440b9245781180c946940673d11 (commit)
discards 590b5bd38ca5def9ff9e05f3e9f4dd6ba4baa792 (commit)
discards b1a65e9430115771a9ae14a06b21172910011937 (commit)
discards 62c9877ecd1586769eb354a047938a84e194fcd6 (commit)
discards 7b84828af0982f52de7eb8327d874cb97560605b (commit)
discards 0dffd57ce21d3966677097ac6fce831f9ece97cb (commit)
discards 31780d3e9eb0a901178368efee950fffdfbe76d6 (commit)
discards f76452152dcfae0982446c7188a06e6288557ada (commit)
discards a52ec93f5a243e72a4951c3c8dc8d6d8a0afd2d5 (commit)
discards 0185390bec605d0b9f024259fc27c6acc09bd332 (commit)
discards 2aa3e6c3f74f9b6353cd8b484615481ff8ba207a (commit)
via 0e1f5ad735ca326c34fd7758e1f1304341eacde7 (commit)
via 6f3f49f0e8a56763033d525eaac1904c716eb014 (commit)
via 7d91723132285170d012caf5b8bb6fd6fb9fe051 (commit)
via 5115593a1691de7435e06ca9c2a501e7105ba73a (commit)
via f416810ffb3a3c224705fa12d97b3eb7f541eb5d (commit)
via 94668b91701108382798d1d41f01fbada1c3345e (commit)
via 85351066bec2d23fd5a27bc0081475ca649c30ae (commit)
via ee0a289a1bd1db2d7883bfe799b450c64659abc5 (commit)
via f565ef74ac74a3d78b796fac9579846c1f0e73a7 (commit)
via aa4f556f669be4976b955df1ead4991a0497173e (commit)
via fd1983f37608169199e0d260452c36ca3f993c07 (commit)
via e1cead48ce8678b5d9f6bda503d8b2eecc708363 (commit)
via 69b4280e38a3e575beb4a687dbb83393bb1f26a1 (commit)
via ee2db53e97841b165f68441f4f4347c06f351c85 (commit)
via 27b6dd2ad05f4837500ca91a6e9efe09fe351cb2 (commit)
via fd56e58f1383d36caf35f5eea979a71266f474d7 (commit)
via 521ece039e1d540189a1cbf2f7b6ba9c1ad3d314 (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 (70c53a622635f1770b2eef375c260ac731d40780)
\
N -- N -- N (0e1f5ad735ca326c34fd7758e1f1304341eacde7)
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=0e1f5ad735ca326c34fd7758e1f13043…
commit 0e1f5ad735ca326c34fd7758e1f1304341eacde7
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 28 14:55:25 2014 +0100
sgsn: Work on 2 phase authorization (WIP)
This implements the MAP way of subscriber validation when the MS
tries an Attach Request:
1. perform authentication (optionally invoke the sendAuthInfo
procedure), starts the AuthAndCiph procedure
2. perform update location
3. insert subscriber data
4. finish the update location
5. Attach Accept / Attach Reject
This is currently accessible via the VTY interface.
TODO:
- Apply this to (periodic) RA Update Req
- Delete Subscriber Data
- Improve on procedure collisions (repeated Attach Req is sometimes
not handled properly)
- PDP info
- Commit cleanup
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=6f3f49f0e8a56763033d525eaac1904c…
commit 6f3f49f0e8a56763033d525eaac1904c716eb014
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:35:41 2014 +0100
gsn: Auth and Ciph (WIP)
TODO:
- split this commit into several smaller ones (fixes, integration,
triplet management, ...)
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=7d91723132285170d012caf5b8bb6fd6…
commit 7d91723132285170d012caf5b8bb6fd6fb9fe051
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:28:38 2014 +0100
sgsn: Put SGSN related subscriber data into separate struct (TODO)
TODO:
- commit message
- remove _alloc entirely (also in 'Add gprs_subscriber.c' patch)
- also move mm into this struct
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=5115593a1691de7435e06ca9c2a501e7…
commit 5115593a1691de7435e06ca9c2a501e7105ba73a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 09:47:26 2014 +0100
sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize
Currently the Authentication and Ciphering procedure is not yet
invoked by the GMM layer.
This patch starts this procedure from within gsm48_gmm_authorize when
the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call
to gsm0408_gprs_authenticate has been issued directly or indirectly
by the call to sgsn_auth_request.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=f416810ffb3a3c224705fa12d97b3eb7…
commit f416810ffb3a3c224705fa12d97b3eb7f541eb5d
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 12:44:24 2014 +0100
sgsn: Do authentication based on SRES values
Currently the SRES value in the Auth & Ciph Response is ignored.
This patch checks the SRES value in response against the value stored
in mm->auth_triplet.sres. If they don't match, an Auth & Ciph Reject
message is sent to the MS. If they match, the mm->is_authenticated
flag is set.
Note that the procedure will not be started yet.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=94668b91701108382798d1d41f01fbad…
commit 94668b91701108382798d1d41f01fbada1c3345e
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 12:33:33 2014 +0100
sgsn: Change Auth&Ciph timer handling
Currently mmctx_timer_start is called from within
gsm48_tx_gmm_auth_ciph_req which differs from the way e.g. the
identification procedure is implemented. It also makes it more
difficult to restart the procedure after timeout, which is not
implemented yet. In addition, the timer is not properly stopped when
an AUTH & CIPH response is received.
This patch removes this timer start from gsm48_tx_gmm_auth_ciph_req,
adds the retransmission of Auth & Ciph requests to the timer callback
function, and properly stops the timer in
gsm48_rx_gmm_auth_ciph_resp.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=85351066bec2d23fd5a27bc0081475ca…
commit 85351066bec2d23fd5a27bc0081475ca649c30ae
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 10:36:17 2014 +0100
sgsn: Fix and enable auth/ciph message generation
Currently gsm48_tx_gmm_auth_ciph_req/_rej are commented out. In
addition, gsm48_tx_gmm_auth_ciph_req uses a wrong encoding (two byte TV instead of two nibbles TV) of the CKSN information element.
This patch fixes the encoding of the CKSN IE and enables the
functions mentioned above.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=ee0a289a1bd1db2d7883bfe799b450c6…
commit ee0a289a1bd1db2d7883bfe799b450c64659abc5
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Sep 30 13:53:26 2014 +0200
sgsn: Added TODOs (TODO)
TODO:
- fix and remove TODOs
- add test cases for Detach(reattach)
- add test cases for PDP context deletion (OW#1311)
- add test cases for Cancel pending timer in sgsn_mm_ctx_free
- remove this commit
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=f565ef74ac74a3d78b796fac9579846c…
commit f565ef74ac74a3d78b796fac9579846c1f0e73a7
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 4 12:44:15 2014 +0100
sgsn: Notify an affected MM context if an ACL rule is removed (TODO)
Currently if an ACL access rule is removed, MS already attached are
not affected until they try to reattach to the SGSN.
This patch adds sgsn_auth_update_all() that iterates through allMM
contexts and calls sgsn_auth_update() on each of them. This function
is then called when 'imsi-acl del IMSI' is executed after the ACL has
been removed.
TODO:
- decide, whether ito replace that by a dedicated update command in
the VTY ENABLE node
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=aa4f556f669be4976b955df1ead4991a…
commit aa4f556f669be4976b955df1ead4991a0497173e
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Oct 17 10:08:02 2014 +0200
sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO)
Currently an OSMO_ASSERT fails, if the message's and the mmctx's
TLLIs do not match.
This commit turns the assertion into an ERROR log message and uses
the default values for IMSI, DRX, and RA CAP instead of the MM
context values in this case.
TODO:
- find the real source for the problem
- add test cases derived from what is being described in the ticket
Ticket: OW#1322
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=fd1983f37608169199e0d260452c36ca…
commit fd1983f37608169199e0d260452c36ca3f993c07
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:01:48 2014 +0100
sgsn: Add VTY commands to manage subscriber cache
This adds the following commands to the ENABLE node:
- show subscriber cache
- update-subscriber imsi IMSI insert authorized (0|1)
- update-subscriber imsi IMSI cancel
These commands are mainly testing tools and maintenance helpers. The
update commands work asynchronously and can be used to complete a
pending update request or to terminate an existing connection.
Note that the subscriber cache is not stored persistently and will
always be empty after an SGSN restart.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=e1cead48ce8678b5d9f6bda503d8b2ee…
commit e1cead48ce8678b5d9f6bda503d8b2eecc708363
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:47:38 2014 +0100
sgsn: Add gsm0408_gprs_access_cancelled (TODO)
This function is called to delete an established MM context
without invoking a detach procedure that could disable the GPRS
functionality of the MS until the next power cycle.
It is called when a subscriber is cancelled.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=69b4280e38a3e575beb4a687dbb83393…
commit 69b4280e38a3e575beb4a687dbb83393bb1f26a1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:18:09 2014 +0100
sgsn: Integrate subscriber handling into the SGSN (TODO)
This commit adds a new authorization policy 'remote' and uses
the subscriber cache for authorization when this policy is being used.
Note that there is no remote backend implemented yet.
TODO:
- tests
- decide, whether 'remote' could be named better, e.g. sth based on
'subscriber'
Ticket: OW#????
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=ee2db53e97841b165f68441f4f4347c0…
commit ee2db53e97841b165f68441f4f4347c06f351c85
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:12:11 2014 +0100
sgsn: Add gprs_subscriber.c
This patch adds GPRS specific functions for gsm_subscriber objects
(allocation, retrieval, deletion) and subscriber data
requests/updates. The sgsn_update_subscriber_data callback is used to
notify the sgsn about updates and is extended by a parameter that
passes a reference to a gsm_subscriber.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=27b6dd2ad05f4837500ca91a6e9efe09…
commit 27b6dd2ad05f4837500ca91a6e9efe09fe351cb2
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 11:08:23 2014 +0100
msc: Add per subscriber keep flag
Currently the keep_subscr flag refers to a whole group of subscribers
which makes it difficult to really delete single entries if the flag
is set.
This patch adds a force_no_keep field to gsm_subscriber which allows for
deleting single subscribers even if group->keep_subscr is set.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=fd56e58f1383d36caf35f5eea979a712…
commit fd56e58f1383d36caf35f5eea979a71266f474d7
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 13:05:16 2014 +0100
bsc/test: Add tests for gsm_subscriber base
This commit adds test for the generic part of gsm_subscriber like
reference counting and flag usage.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=521ece039e1d540189a1cbf2f7b6ba9c…
commit 521ece039e1d540189a1cbf2f7b6ba9c1ad3d314
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 09:28:24 2014 +0100
msc: Add and use gsm_subscriber_group
Currently every subcriber object directly refers to the gsm_network
which contains a flag shared by every related subscriber
(keep_subscr). This adds a dependency on gsm_network even if only the
function defined in gsm_subscriber_base.c are used.
This patch adds a new struct gsm_subscriber_group which contains the
keep_subscr flag and a back reference to the network object. The
latter is not dereferenced in gsm_subscriber_base.c, so it can safely
be set to NULL when only that part of the gsm_subscriber API is being
used. It also changes that API to use gsm_subscriber_group instead of
gsm_network parameters.
Since there are some places where a pointer to the gsm_network is
needed but where only a gsm_subscriber is available, a 'net' back
pointer is added to the group struct, too. Nevertheless subscr group
and network could be separated completely, but this is not the topic
of this commit.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/libbsc/net_init.c | 1 +
openbsc/tests/channel/channel_test.c | 3 +++
2 files changed, 4 insertions(+)
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 OpenGGSN project".
The branch, sysmocom/libosmocore has been updated
via 6ab58b466aed0a19db59689eb76e252a6b844963 (commit)
via 8e7e3ef686ff18eeeb11d9de8ca48fd4bb001383 (commit)
from c38bf64e3fb97f92e603fec24760b1ef856cd08d (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/openggsn/commit/?id=6ab58b466aed0a19db59689eb76e252…
commit 6ab58b466aed0a19db59689eb76e252a6b844963
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Dec 4 19:29:57 2014 +0100
ggsn: Move printf to DEBUGP statements in the ggsn as well
The specific log statements are not great yet but at least they
will end up in the log file. In the future everything should be
related to the IMSI or at least the tunnel id.
http://cgit.osmocom.org/openggsn/commit/?id=8e7e3ef686ff18eeeb11d9de8ca48fd…
commit 8e7e3ef686ff18eeeb11d9de8ca48fd4bb001383
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Dec 4 19:19:33 2014 +0100
ggsn: Remove unused dump/logging method
-----------------------------------------------------------------------
Summary of changes:
ggsn/ggsn.c | 51 +++++++++++----------------------------------------
1 file changed, 11 insertions(+), 40 deletions(-)
hooks/post-receive
--
The OpenGGSN 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 OpenGGSN project".
The branch, sysmocom/libosmocore has been updated
via c38bf64e3fb97f92e603fec24760b1ef856cd08d (commit)
from 9c7fd8edc4f114ea77b955fb7aaac51fb5c828d4 (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/openggsn/commit/?id=c38bf64e3fb97f92e603fec24760b1e…
commit c38bf64e3fb97f92e603fec24760b1ef856cd08d
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Dec 4 18:54:58 2014 +0100
ggsn: Be able to set the log level for the text file
Fixes: SYS#599
-----------------------------------------------------------------------
Summary of changes:
ggsn/cmdline.c | 26 ++++++++++++++++++++++++++
ggsn/cmdline.ggo | 2 +-
ggsn/cmdline.h | 4 ++++
ggsn/ggsn.c | 12 ++++++++++++
4 files changed, 43 insertions(+), 1 deletion(-)
hooks/post-receive
--
The OpenGGSN 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 OpenGGSN project".
The branch, sysmocom/libosmocore has been created
at 9c7fd8edc4f114ea77b955fb7aaac51fb5c828d4 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openggsn/commit/?id=9c7fd8edc4f114ea77b955fb7aaac51…
commit 9c7fd8edc4f114ea77b955fb7aaac51fb5c828d4
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Dec 4 16:32:37 2014 +0100
logging: Switch to using libosmocore logging for all the code
http://cgit.osmocom.org/openggsn/commit/?id=e527ef105f8742b1e37677e58c5b695…
commit e527ef105f8742b1e37677e58c5b69530e674cce
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Dec 4 15:08:50 2014 +0100
syserr: Remove unused error packet logging code
http://cgit.osmocom.org/openggsn/commit/?id=01b40d069083c8063b199976e635ffb…
commit 01b40d069083c8063b199976e635ffb85e70db82
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Dec 4 15:01:53 2014 +0100
gtp: Make these regions runtime debuggable
http://cgit.osmocom.org/openggsn/commit/?id=752314ac432785df0a90b4eae179252…
commit 752314ac432785df0a90b4eae1792525b120ecde
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Dec 4 14:43:46 2014 +0100
gtp: Kill unused and non public method
http://cgit.osmocom.org/openggsn/commit/?id=42ca1d1a38a41f0377145c6243d42d1…
commit 42ca1d1a38a41f0377145c6243d42d1782dc304b
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Wed Dec 3 20:18:43 2014 +0100
gtp: Move to using LOGP for logging GTP packages
Make libgtp depend on libosmocore and use the generic logging
infrastructure for it.
http://cgit.osmocom.org/openggsn/commit/?id=ca524ef344edcecf07d84a2cff7d14a…
commit ca524ef344edcecf07d84a2cff7d14acd018486c
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Wed Dec 3 19:59:15 2014 +0100
Begin to require libosmocore and libosmovty
We are not too specific about the version yet
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenGGSN 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 "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via a5dc19dc4053e45a4a9ae8facfbdb7393ad5fe69 (commit)
via 9f0f978c8daa764d01f0892ef7b5e443f7c551a8 (commit)
from e15ac060e7ae78d4c3569d7fc9071bcf49807e05 (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=a5dc19dc4053e45a4a9ae8facfbd…
commit a5dc19dc4053e45a4a9ae8facfbdb7393ad5fe69
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Dec 4 14:35:21 2014 +0100
gtp: Add a global region for the gtp library of OpenGGSN
We want to use libosmocore/libosmovty in the GGSN sourcecode
and reserve a global region here.
http://cgit.osmocom.org/libosmocore/commit/?id=9f0f978c8daa764d01f0892ef7b5…
commit 9f0f978c8daa764d01f0892ef7b5e443f7c551a8
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Fri Nov 21 10:40:07 2014 +0100
vty: Check with the application before writing the config
For the BSC/NITB application we see that people modify the band
without modifying the ARFCN. This creates an unbootable config.
Using the new hook the BSC/NITB can check if the config is
consistent and prevent the config file being written.
Related: SYS#739
-----------------------------------------------------------------------
Summary of changes:
TODO-RELEASE | 2 ++
include/osmocom/core/logging.h | 3 ++-
include/osmocom/vty/vty.h | 2 ++
src/logging.c | 5 +++++
src/vty/command.c | 9 +++++++++
5 files changed, 20 insertions(+), 1 deletion(-)
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 "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via e15ac060e7ae78d4c3569d7fc9071bcf49807e05 (commit)
from 20144f7bc5c04e57da36cd7d7883f576510f0298 (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=e15ac060e7ae78d4c3569d7fc907…
commit e15ac060e7ae78d4c3569d7fc9071bcf49807e05
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Dec 4 14:15:36 2014 +0100
fix libosmocore build for NuttX target
this fixes some compilation issues with libosmocore under NuttX,
particularly as some #defines are missing or some header files are
slightly different.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 2 +-
src/application.c | 6 ++++++
src/ctrl/control_if.c | 8 ++++++--
src/gsm/a5.c | 5 +++++
src/macaddr.c | 1 +
5 files changed, 19 insertions(+), 3 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 "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, jerlbeck/wip/gprs-patching has been updated
discards e0169171146427b06d6c20759a6f3046cfb11f70 (commit)
discards a3e82404e23458222d2ef9209a2e0dfcd645bc99 (commit)
discards 266b34c4f1fe97c9547c5290f0351b18ed476e2a (commit)
discards dc30dedcb857c9cfa9efb451a725ed83c0774def (commit)
discards aa78094b4bc11caff7b3c3c90366448a75269d84 (commit)
discards 4d1f467f4b78c5d630dc5aa0da847d7124e5b645 (commit)
discards 2b8b8aeb85f20782be66e7968b63f0bb94139483 (commit)
discards e920272bb4ef66dbc662c81ef852dec03bf3c124 (commit)
discards 230c37ff165ee2cff7d9098fd15c7989861421df (commit)
discards a464776f1513218645c5b4284c0b1fc1e1a17b59 (commit)
discards 51ad560afe535d4c7528eca2aebb9e9de8a12df7 (commit)
discards deddfdb54f878e64df11a8151239efd70b975015 (commit)
discards 95617192e94c178ac36f3f379cbbcbfbaadb9939 (commit)
via 70c53a622635f1770b2eef375c260ac731d40780 (commit)
via 674fe423e6e9eb11bc787a5976943554d3f0fb82 (commit)
via 5d97e6bf73833e024ee84cb348a2680c3ecc112b (commit)
via 9c98d0a61cf5ca78e21031c5bcad86b778a054cb (commit)
via c973693742619eaf999f56c5e3a9c08c1190eb9d (commit)
via 6e80ec48a7dbe901072695876f2df6f1876cf79c (commit)
via 9b083d517b832440b9245781180c946940673d11 (commit)
via 590b5bd38ca5def9ff9e05f3e9f4dd6ba4baa792 (commit)
via b1a65e9430115771a9ae14a06b21172910011937 (commit)
via 62c9877ecd1586769eb354a047938a84e194fcd6 (commit)
via 7b84828af0982f52de7eb8327d874cb97560605b (commit)
via 0dffd57ce21d3966677097ac6fce831f9ece97cb (commit)
via 31780d3e9eb0a901178368efee950fffdfbe76d6 (commit)
via f76452152dcfae0982446c7188a06e6288557ada (commit)
via a52ec93f5a243e72a4951c3c8dc8d6d8a0afd2d5 (commit)
via 0185390bec605d0b9f024259fc27c6acc09bd332 (commit)
via 2aa3e6c3f74f9b6353cd8b484615481ff8ba207a (commit)
via d3e3eeb00557c9dbd10fef8c62556efc631cf5d6 (commit)
via f95603d7e77982ecb2e63704b1276ae23136d695 (commit)
via de4bbc714600b9db0b913705efc3064defacae18 (commit)
via aec03a1f136abcd9bf59f4ec7cce9bd490fe8c81 (commit)
via 59ac49dc1fd3b1435ef2eeb0b5daf555a946cde6 (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 (e0169171146427b06d6c20759a6f3046cfb11f70)
\
N -- N -- N (70c53a622635f1770b2eef375c260ac731d40780)
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=70c53a622635f1770b2eef375c260ac7…
commit 70c53a622635f1770b2eef375c260ac731d40780
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 28 14:55:25 2014 +0100
sgsn: Work on 2 phase authorization (WIP)
This implements the MAP way of subscriber validation when the MS
tries an Attach Request:
1. perform authentication (optionally invoke the sendAuthInfo
procedure), starts the AuthAndCiph procedure
2. perform update location
3. insert subscriber data
4. finish the update location
5. Attach Accept / Attach Reject
This is currently accessible via the VTY interface.
TODO:
- Apply this to (periodic) RA Update Req
- Delete Subscriber Data
- Improve on procedure collisions (repeated Attach Req is sometimes
not handled properly)
- PDP info
- Commit cleanup
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=674fe423e6e9eb11bc787a5976943554…
commit 674fe423e6e9eb11bc787a5976943554d3f0fb82
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:35:41 2014 +0100
gsn: Auth and Ciph (WIP)
TODO:
- split this commit into several smaller ones (fixes, integration,
triplet management, ...)
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=5d97e6bf73833e024ee84cb348a2680c…
commit 5d97e6bf73833e024ee84cb348a2680c3ecc112b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:28:38 2014 +0100
sgsn: Put SGSN related subscriber data into separate struct (TODO)
TODO:
- commit message
- remove _alloc entirely (also in 'Add gprs_subscriber.c' patch)
- also move mm into this struct
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=9c98d0a61cf5ca78e21031c5bcad86b7…
commit 9c98d0a61cf5ca78e21031c5bcad86b778a054cb
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 09:47:26 2014 +0100
sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize
Currently the Authentication and Ciphering procedure is not yet
invoked by the GMM layer.
This patch starts this procedure from within gsm48_gmm_authorize when
the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call
to gsm0408_gprs_authenticate has been issued directly or indirectly
by the call to sgsn_auth_request.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=c973693742619eaf999f56c5e3a9c08c…
commit c973693742619eaf999f56c5e3a9c08c1190eb9d
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 12:44:24 2014 +0100
sgsn: Do authentication based on SRES values
Currently the SRES value in the Auth & Ciph Response is ignored.
This patch checks the SRES value in response against the value stored
in mm->auth_triplet.sres. If they don't match, an Auth & Ciph Reject
message is sent to the MS. If they match, the mm->is_authenticated
flag is set.
Note that the procedure will not be started yet.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=6e80ec48a7dbe901072695876f2df6f1…
commit 6e80ec48a7dbe901072695876f2df6f1876cf79c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 12:33:33 2014 +0100
sgsn: Change Auth&Ciph timer handling
Currently mmctx_timer_start is called from within
gsm48_tx_gmm_auth_ciph_req which differs from the way e.g. the
identification procedure is implemented. It also makes it more
difficult to restart the procedure after timeout, which is not
implemented yet. In addition, the timer is not properly stopped when
an AUTH & CIPH response is received.
This patch removes this timer start from gsm48_tx_gmm_auth_ciph_req,
adds the retransmission of Auth & Ciph requests to the timer callback
function, and properly stops the timer in
gsm48_rx_gmm_auth_ciph_resp.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=9b083d517b832440b9245781180c9469…
commit 9b083d517b832440b9245781180c946940673d11
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 1 10:36:17 2014 +0100
sgsn: Fix and enable auth/ciph message generation
Currently gsm48_tx_gmm_auth_ciph_req/_rej are commented out. In
addition, gsm48_tx_gmm_auth_ciph_req uses a wrong encoding (two byte TV instead of two nibbles TV) of the CKSN information element.
This patch fixes the encoding of the CKSN IE and enables the
functions mentioned above.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=590b5bd38ca5def9ff9e05f3e9f4dd6b…
commit 590b5bd38ca5def9ff9e05f3e9f4dd6ba4baa792
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Sep 30 13:53:26 2014 +0200
sgsn: Added TODOs (TODO)
TODO:
- fix and remove TODOs
- add test cases for Detach(reattach)
- add test cases for PDP context deletion (OW#1311)
- add test cases for Cancel pending timer in sgsn_mm_ctx_free
- remove this commit
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=b1a65e9430115771a9ae14a06b211729…
commit b1a65e9430115771a9ae14a06b21172910011937
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 4 12:44:15 2014 +0100
sgsn: Notify an affected MM context if an ACL rule is removed (TODO)
Currently if an ACL access rule is removed, MS already attached are
not affected until they try to reattach to the SGSN.
This patch adds sgsn_auth_update_all() that iterates through allMM
contexts and calls sgsn_auth_update() on each of them. This function
is then called when 'imsi-acl del IMSI' is executed after the ACL has
been removed.
TODO:
- decide, whether ito replace that by a dedicated update command in
the VTY ENABLE node
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=62c9877ecd1586769eb354a047938a84…
commit 62c9877ecd1586769eb354a047938a84e194fcd6
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Oct 17 10:08:02 2014 +0200
sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO)
Currently an OSMO_ASSERT fails, if the message's and the mmctx's
TLLIs do not match.
This commit turns the assertion into an ERROR log message and uses
the default values for IMSI, DRX, and RA CAP instead of the MM
context values in this case.
TODO:
- find the real source for the problem
- add test cases derived from what is being described in the ticket
Ticket: OW#1322
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=7b84828af0982f52de7eb8327d874cb9…
commit 7b84828af0982f52de7eb8327d874cb97560605b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:01:48 2014 +0100
sgsn: Add VTY commands to manage subscriber cache
This adds the following commands to the ENABLE node:
- show subscriber cache
- update-subscriber imsi IMSI insert authorized (0|1)
- update-subscriber imsi IMSI cancel
These commands are mainly testing tools and maintenance helpers. The
update commands work asynchronously and can be used to complete a
pending update request or to terminate an existing connection.
Note that the subscriber cache is not stored persistently and will
always be empty after an SGSN restart.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=0dffd57ce21d3966677097ac6fce831f…
commit 0dffd57ce21d3966677097ac6fce831f9ece97cb
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:47:38 2014 +0100
sgsn: Add gsm0408_gprs_access_cancelled (TODO)
This function is called to delete an established MM context
without invoking a detach procedure that could disable the GPRS
functionality of the MS until the next power cycle.
It is called when a subscriber is cancelled.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=31780d3e9eb0a901178368efee950fff…
commit 31780d3e9eb0a901178368efee950fffdfbe76d6
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:18:09 2014 +0100
sgsn: Integrate subscriber handling into the SGSN (TODO)
This commit adds a new authorization policy 'remote' and uses
the subscriber cache for authorization when this policy is being used.
Note that there is no remote backend implemented yet.
TODO:
- tests
- decide, whether 'remote' could be named better, e.g. sth based on
'subscriber'
Ticket: OW#????
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=f76452152dcfae0982446c7188a06e62…
commit f76452152dcfae0982446c7188a06e6288557ada
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:12:11 2014 +0100
sgsn: Add gprs_subscriber.c
This patch adds GPRS specific functions for gsm_subscriber objects
(allocation, retrieval, deletion) and subscriber data
requests/updates. The sgsn_update_subscriber_data callback is used to
notify the sgsn about updates and is extended by a parameter that
passes a reference to a gsm_subscriber.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=a52ec93f5a243e72a4951c3c8dc8d6d8…
commit a52ec93f5a243e72a4951c3c8dc8d6d8a0afd2d5
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 11:08:23 2014 +0100
msc: Add per subscriber keep flag
Currently the keep_subscr flag refers to a whole group of subscribers
which makes it difficult to really delete single entries if the flag
is set.
This patch adds a force_no_keep field to gsm_subscriber which allows for
deleting single subscribers even if group->keep_subscr is set.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=0185390bec605d0b9f024259fc27c6ac…
commit 0185390bec605d0b9f024259fc27c6acc09bd332
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 13:05:16 2014 +0100
bsc/test: Add tests for gsm_subscriber base
This commit adds test for the generic part of gsm_subscriber like
reference counting and flag usage.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=2aa3e6c3f74f9b6353cd8b484615481f…
commit 2aa3e6c3f74f9b6353cd8b484615481ff8ba207a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 09:28:24 2014 +0100
msc: Add and use gsm_subscriber_group
Currently every subcriber object directly refers to the gsm_network
which contains a flag shared by every related subscriber
(keep_subscr). This adds a dependency on gsm_network even if only the
function defined in gsm_subscriber_base.c are used.
This patch adds a new struct gsm_subscriber_group which contains the
keep_subscr flag and a back reference to the network object. The
latter is not dereferenced in gsm_subscriber_base.c, so it can safely
be set to NULL when only that part of the gsm_subscriber API is being
used. It also changes that API to use gsm_subscriber_group instead of
gsm_network parameters.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=d3e3eeb00557c9dbd10fef8c62556efc…
commit d3e3eeb00557c9dbd10fef8c62556efc631cf5d6
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 14:22:53 2014 +0100
msc: Don't use the subscriber to access the net object (TODO)
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=f95603d7e77982ecb2e63704b1276ae2…
commit f95603d7e77982ecb2e63704b1276ae23136d695
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:58:00 2014 +0100
msc: Add net back pointer to gsm_trans
Currently the net pointer is obtained from trans->subscr->net. On the
other hand, the list gsm_trans object is managed by the net object.
This patch adds the back pointer to the structure and replaces all
trans->subscr->net by trans->net expressions. In trans_alloc() the
trans->net pointer is obtained from the subscr object.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/configure.ac | 1 +
openbsc/include/openbsc/gprs_sgsn.h | 2 -
openbsc/include/openbsc/gsm_data.h | 3 +-
openbsc/include/openbsc/gsm_subscriber.h | 31 +++++---
openbsc/include/openbsc/transaction.h | 7 +-
openbsc/src/gprs/gprs_gmm.c | 6 +-
openbsc/src/gprs/gprs_subscriber.c | 22 +-----
openbsc/src/libbsc/bsc_vty.c | 4 +-
openbsc/src/libbsc/chan_alloc.c | 2 +-
openbsc/src/libbsc/net_init.c | 7 ++
openbsc/src/libbsc/paging.c | 2 +-
openbsc/src/libcommon/gsm_subscriber_base.c | 24 +++---
openbsc/src/libmsc/ctrl_commands.c | 6 +-
openbsc/src/libmsc/db.c | 4 +-
openbsc/src/libmsc/gsm_04_08.c | 104 +++++++++++++-----------
openbsc/src/libmsc/gsm_04_11.c | 12 +--
openbsc/src/libmsc/gsm_subscriber.c | 35 +++++----
openbsc/src/libmsc/silent_call.c | 2 +-
openbsc/src/libmsc/smpp_openbsc.c | 4 +-
openbsc/src/libmsc/sms_queue.c | 8 +-
openbsc/src/libmsc/token_auth.c | 6 +-
openbsc/src/libmsc/transaction.c | 14 ++--
openbsc/src/libmsc/vty_interface_layer3.c | 14 ++--
openbsc/src/osmo-bsc/osmo_bsc_bssap.c | 2 +-
openbsc/src/osmo-bsc/osmo_bsc_filter.c | 5 +-
openbsc/src/osmo-bsc/osmo_bsc_grace.c | 7 +-
openbsc/src/osmo-nitb/bsc_hack.c | 2 +-
openbsc/tests/Makefile.am | 2 +-
openbsc/tests/channel/channel_test.c | 2 +-
openbsc/tests/db/db_test.c | 10 ++-
openbsc/tests/sgsn/sgsn_test.c | 6 +-
openbsc/tests/subscr/Makefile.am | 18 +++++
openbsc/tests/subscr/subscr_test.c | 118 ++++++++++++++++++++++++++++
openbsc/tests/subscr/subscr_test.ok | 3 +
openbsc/tests/testsuite.at | 6 ++
35 files changed, 336 insertions(+), 165 deletions(-)
create mode 100644 openbsc/tests/subscr/Makefile.am
create mode 100644 openbsc/tests/subscr/subscr_test.c
create mode 100644 openbsc/tests/subscr/subscr_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 "OpenBTS' transceiver retro-fit".
The branch, stop has been updated
discards 53a1e2445b5dbcf6b8f400b39a72380f87363b1f (commit)
via 7addb8ee25a6ee13a3cb1ec10d2b9dc9f8946c98 (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 (53a1e2445b5dbcf6b8f400b39a72380f87363b1f)
\
N -- N -- N (7addb8ee25a6ee13a3cb1ec10d2b9dc9f8946c98)
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/osmo-trx/commit/?id=7addb8ee25a6ee13a3cb1ec10d2b9dc…
commit 7addb8ee25a6ee13a3cb1ec10d2b9dc9f8946c98
Author: Tom Tsou <tom(a)tsou.cc>
Date: Tue Nov 25 16:06:32 2014 -0800
Transceiver52M: Implement POWEROFF command
Add stop and restart capability through the POWEROFF and POWERON
commands. Calling stop causes receive streaming to cease, and I/O
threads to shutdown leaving only the control handling thread running.
Upon receiving a POWERON command, I/O threads and device streaming are
restarted.
Proper shutdown of the transceiver is now initiated by the destructor,
which calls the stop command internally to wind down and deallocate
threads.
Signed-off-by: Tom Tsou <tom(a)tsou.cc>
-----------------------------------------------------------------------
Summary of changes:
Transceiver52M/Transceiver.cpp | 4 ++++
1 file changed, 4 insertions(+)
hooks/post-receive
--
OpenBTS' transceiver retro-fit
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 "OpenBTS' transceiver retro-fit".
The branch, stop has been created
at 53a1e2445b5dbcf6b8f400b39a72380f87363b1f (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-trx/commit/?id=53a1e2445b5dbcf6b8f400b39a72380…
commit 53a1e2445b5dbcf6b8f400b39a72380f87363b1f
Author: Tom Tsou <tom(a)tsou.cc>
Date: Tue Nov 25 16:06:32 2014 -0800
Transceiver52M: Implement POWEROFF command
Add stop and restart capability through the POWEROFF and POWERON
commands. Calling stop causes receive streaming to cease, and I/O
threads to shutdown leaving only the control handling thread running.
Upon receiving a POWERON command, I/O threads and device streaming are
restarted.
Proper shutdown of the transceiver is now initiated by the destructor,
which calls the stop command internally to wind down and deallocate
threads.
Signed-off-by: Tom Tsou <tom(a)tsou.cc>
http://cgit.osmocom.org/osmo-trx/commit/?id=9f5b452bd74a51dfad133bde4c3d6f2…
commit 9f5b452bd74a51dfad133bde4c3d6f24a253ea49
Author: Tom Tsou <tom(a)tsou.cc>
Date: Tue Nov 25 15:46:56 2014 -0800
Transceiver52M: Allow setting gain before POWERON
There is no reason gain settings should not be modifiable when the radio
is running or not.
Signed-off-by: Tom Tsou <tom(a)tsou.cc>
http://cgit.osmocom.org/osmo-trx/commit/?id=cc31807661f531366d4b42ea52039d6…
commit cc31807661f531366d4b42ea52039d6b03bf26d5
Author: Tom Tsou <tom(a)tsou.cc>
Date: Fri Nov 21 12:25:22 2014 -0800
CommonLibs: Add thread cancellation capability
For clean shutdown in the transceiver we need to cancel and join
running threads for orderly unwinding. Thread cancellation points
already exist, so we just need to be able to call on the threads to
exit out when stopping or shutting down.
Don't error when joining a NULL thread, which would be the case if a
thread was stopped before ever being started to begin with.
Signed-off-by: Tom Tsou <tom(a)tsou.cc>
-----------------------------------------------------------------------
hooks/post-receive
--
OpenBTS' transceiver retro-fit
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 de4bbc714600b9db0b913705efc3064defacae18 (commit)
via aec03a1f136abcd9bf59f4ec7cce9bd490fe8c81 (commit)
via 59ac49dc1fd3b1435ef2eeb0b5daf555a946cde6 (commit)
from 175a240285897317fff4a94e4f9b62408797b4b6 (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=de4bbc714600b9db0b913705efc3064d…
commit de4bbc714600b9db0b913705efc3064defacae18
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 24 15:04:15 2014 +0100
sgsn/test: Add test case for unexpected Detach Accepts
The commit "sgsn: Don't send XID reset after Detach Accept" fixed the
SGSN to not respond to a Detach Accept message when there is no MM
context.
This patch adds a test case to verify, that there is really no
message sent in that case.
The test fails when the commit mentioned aboved is reverted.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=aec03a1f136abcd9bf59f4ec7cce9bd4…
commit aec03a1f136abcd9bf59f4ec7cce9bd490fe8c81
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 24 14:40:28 2014 +0100
sgsn/test: Don't rely on the actual PRNG sequence
Currently the expected P-TMSI generated by the SGSN is hard-coded
into the test. This adds a dependency on the implementation of rand()
and thus the libc used. This breaks the test e.g. on FreeBSD.
This patch modifies test_gmm_attach() to srand(1) first, generate the
P-TMSI, and finally srand(1) again before starting the test.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=59ac49dc1fd3b1435ef2eeb0b5daf555…
commit 59ac49dc1fd3b1435ef2eeb0b5daf555a946cde6
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Oct 30 17:15:43 2014 +0100
gbproxy: Reset TLLIs when the link_info is found by IMSI/P-TMSI
Currently when the MS does a re-attach without doing a proper detach
first, the gbproxy uses the old local TLLI if patching and the keep
mode are enabled. This leads to a failing attachment procedure when
TLLI patching is also enabled.
This patch changes gbproxy_update_link_state_ul to reset all TLLIs
within the link_info if the message contains an unknown TLLI and an
MI. This is generally the case with Attach Request messages.
The gbproxy_get_link_info_ul gets an additional tlli_is_valid
output parameter that is set, when a TLLI was present and found.
This flag is then used instead of checking tlli.current == 0 to
set TLLI/P-TMSI e.g. Attach Requests when a link_info was already
present for the P-TMSI/IMSI used in such a request.
Ticket: OW#1324
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/gprs/gb_proxy_tlli.c | 30 +++++++++++++++++------
openbsc/tests/gbproxy/gbproxy_test.c | 16 ++++---------
openbsc/tests/gbproxy/gbproxy_test.ok | 4 ++--
openbsc/tests/sgsn/sgsn_test.c | 45 ++++++++++++++++++++++++++++++++++-
openbsc/tests/sgsn/sgsn_test.ok | 1 +
5 files changed, 74 insertions(+), 22 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)