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 cbfe8ef90a319af5d79b9daf71d2b9b7724b6b8e (commit)
discards f3c47fa3d806c03ded03db2df066d99d02746eb6 (commit)
discards 27615b08821ce28274781c0fdeb3b346790f48f9 (commit)
discards de8cc00347b8a7a6f84a118061ff12f692e13c6b (commit)
discards 64565a42bd0671a0a76ff52067b3f89e84580f88 (commit)
discards d3d8ad8fb942a09b9181d4af4fd1b253228f016a (commit)
discards ca4cd173b7c5967d07f54361516431391c6ec246 (commit)
discards a53f256fc4c60ddc248c706ac78937fdc4bb4626 (commit)
discards ea14a214ce3d0113eb2568d5c1b25c36b43a4c52 (commit)
discards afdd20dfb0dfc744ce36a36bb701ff7e5292886c (commit)
discards c88796ae5543f4ef44cffd818abec4e357606737 (commit)
discards fac8bf97e1efb4edabcd7d216d2077a8e7860517 (commit)
discards 5276257deb22cbb21d9412c5f4314f852dd22e64 (commit)
discards 53031a102b78d5d24ee0bb533062fe35bdf5fd7b (commit)
discards 1ede9ba708b25479c3d339d3275a33996f032ae4 (commit)
discards fbbc4a98998840a98402f75c2caa5e0bd548e724 (commit)
discards 449619df45c76003b3d276b11e3ce03f57caac92 (commit)
discards 1083ca12326f3f51d2822371603a83eb45dbd5e8 (commit)
via 72b54994d68d89ff2cccf3e113d92ebbe0f7ca17 (commit)
via 8a429f4242565cb7b93fe2339ce79b25a0206ca4 (commit)
via cc010b38444238f3492b8863c50d58b43b141c34 (commit)
via 84d82ddbc66ae37a8e275bd4be7d317133d63a4a (commit)
via a50c77163fc84dab5d137cbfe06335571387fbf1 (commit)
via fed0c790379929813407108618db7b7143e7be97 (commit)
via 8efcafd1bd5f825d2e88c8e0ded1e16e9107ca6b (commit)
via 468eebefdd5e98748c47891c381e0a91b27b8161 (commit)
via cebc8b091949338b11c69b0d5ec090bc80773ac5 (commit)
via e70c27ff1174bd43c95ce1f18e64b7ced20889f7 (commit)
via 6dad5dfb86f36ba9ef152cab8f1116ed8b9ed85e (commit)
via ae361bf3597f208e36c248b1481e1a52cb163089 (commit)
via a284f119e360d69805a355f13e037a56a4b61613 (commit)
via b48e6dd0919fca3a2d311a1fd4bb422f4dfba1c7 (commit)
via 6484925e96df54873ce2e3eb3b44bd2db86a4341 (commit)
via 8d3c3c7b8be945b303d221e689e49f07ddeede43 (commit)
via 55c141829282d7c367922a5ff3505c5671b37015 (commit)
via 35a058d09e0dcdabf2887608c7e38a73413b7fb1 (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 (cbfe8ef90a319af5d79b9daf71d2b9b7724b6b8e)
\
N -- N -- N (72b54994d68d89ff2cccf3e113d92ebbe0f7ca17)
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=72b54994d68d89ff2cccf3e113d92ebb…
commit 72b54994d68d89ff2cccf3e113d92ebbe0f7ca17
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=8a429f4242565cb7b93fe2339ce79b25…
commit 8a429f4242565cb7b93fe2339ce79b25a0206ca4
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=cc010b38444238f3492b8863c50d58b4…
commit cc010b38444238f3492b8863c50d58b43b141c34
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 17 14:03:35 2014 +0100
sgsn: Add PDP info to subscriber data (TODO)
TODO:
- commit message
- raw binary representation ???
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=84d82ddbc66ae37a8e275bd4be7d3171…
commit 84d82ddbc66ae37a8e275bd4be7d317133d63a4a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 19:11:20 2014 +0100
sgsn: Add logging to connect_timer_cb (TODO)
TODO:
- LOGLevel ?
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=a50c77163fc84dab5d137cbfe0633557…
commit a50c77163fc84dab5d137cbfe06335571387fbf1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 19:19:46 2014 +0100
sgsn: Show GSUP client info on 'show sgsn'
This commit adds a line to the output of 'show sgsn' if the GSUP
client has been initialized:
- Remote authorization: [not] connected to HOST:PORT via GSUP
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=fed0c790379929813407108618db7b71…
commit fed0c790379929813407108618db7b7143e7be97
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 19:18:54 2014 +0100
sgsn: Send PING and eventually reconnect
Currently, the reconnect mechanism relies on gsup_client_updown_cb
which in turn gets called based on the OS' view of connection state.
This patch adds a timer based PING mechanism that regularly sends
PING messages and forces a reconnect if a PONG message won't be
received until the next PING message is scheduled. The current ping
interval is 20s.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=8efcafd1bd5f825d2e88c8e0ded1e16e…
commit 8efcafd1bd5f825d2e88c8e0ded1e16e9107ca6b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 19:15:55 2014 +0100
sgsn: Handle incoming IPA CCM message in gsup_client_read_cb
Currently the IPA CCM messages are not handled by the GSUP client.
This means, that the client doesn't answer to PING and ID_GET and
logs notices when receiving PONG or ID_ACK. At least the PING
functionality (remotely originated PING) shall be supported.
This patch extends gsup_client_read_cb by a call to
ipaccess_bts_handle_ccm. Only when the return code is 0, the message
is processed further and checked for an OSMO/GSUP message. ID_GET
messages are answered by a dummy description, where only the
unit_name is set to 'SGSN'.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=468eebefdd5e98748c47891c381e0a91…
commit 468eebefdd5e98748c47891c381e0a91b27b8161
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 19:00:56 2014 +0100
sgsn: Handle return code of ipa_client_conn_open correctly
The ipa_client_conn_open function does not distinguish between a
connection being already established or waiting for establishment.
In either case, the application gets informed about the connection
state via the updown_cb. The 'up' parameter is only set, if
poll/select consider the socket as writable.
This patch handles both cases equally and fully relies on the
updown_cb to adjust the gsupc obejct state.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=cebc8b091949338b11c69b0d5ec090bc…
commit cebc8b091949338b11c69b0d5ec090bc80773ac5
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 18:50:05 2014 +0100
sgsn: Avoid sending stale GSUP requests after reconnect
Currently, messages are added to the tx queue even if the connection
is down for some reason and all of these messages are eventually sent
after a re-connect. The MS has probably sent several Attach Requests
while the connection was down and will continue doing so. Therefore
these stored messages could be dropped.
This patch clears the queue before re-connecting and also extends
gprs_gsup_client_send to return immediately, when the connection is
not established instead of calling ipa_client_conn_send.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=e70c27ff1174bd43c95ce1f18e64b7ce…
commit e70c27ff1174bd43c95ce1f18e64b7ced20889f7
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Dec 18 15:00:29 2014 +0100
sgsn: Add automatic re-connect if the GSUP connection is down
Currently the GSUP connection to a server is not restarted if the
connection cannot be established or is terminated during operation.
This commit adds a timer based connection mechanism, basically
consisting of a timer callback that calls gsup_client_connect. The
timer is eventually triggered (up == 0) or cleared (up != 0) by
gsup_client_updown_cb. It adds calls to osmo_timer_del() to
gsup_client_connect and gprs_gsup_client_destroy. The latter is now
called instead of talloc_free in gprs_gsup_client_create on error to
be on the safe side.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=6dad5dfb86f36ba9ef152cab8f1116ed…
commit 6dad5dfb86f36ba9ef152cab8f1116ed8b9ed85e
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 18:30:41 2014 +0100
sgsn/test: Extend tests to simulate lost GSUP requests
This patch extends test_gmm_attach to optionally resend Attach
Requests until the SGSN responds to it instead of calling
OSMO_ASSERT at a few places. The test_gmm_attach_subscr_gsup_auth
test optionally uses this feature. It is called once in either mode.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=ae361bf3597f208e36c248b1481e1a52…
commit ae361bf3597f208e36c248b1481e1a52cb163089
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 18:26:09 2014 +0100
sgsn/test: Add GMM test for a GSUP based attach procedure
This test calls test_gmm_attach() where the mocked subscriber
functions insert GSUP messages instead of manipulating the
subscriber structure directly.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=a284f119e360d69805a355f13e037a56…
commit a284f119e360d69805a355f13e037a56a4b61613
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 18:19:50 2014 +0100
sgsn/test: Add wrapper for gprs_subscr_rx_gsup_message
Currently, several lines of boiler plate are needed around a call to
gprs_subscr_rx_gsup_message.
This patch puts all of this (including the call to
gprs_subscr_rx_gsup_message) into a separate function.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=b48e6dd0919fca3a2d311a1fd4bb422f…
commit b48e6dd0919fca3a2d311a1fd4bb422f4dfba1c7
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 18:17:10 2014 +0100
sgsn: Log requested state change in sgsn_auth_update
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=6484925e96df54873ce2e3eb3b44bd2d…
commit 6484925e96df54873ce2e3eb3b44bd2db86a4341
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 18:08:48 2014 +0100
sgsn: Add global require_update_location flag
This flag is used to determine, whether the Update Location procedure
shall be invoked. This is currently only set, when the 'remote'
authorization policy is set. When the flag is set, sgsn_auth_update
will not never be called directly by sgsn_auth_request, if an Attach
Request procedure is pending, even if the remote connection fails for
some reason.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=8d3c3c7b8be945b303d221e689e49f07…
commit 8d3c3c7b8be945b303d221e689e49f07ddeede43
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 17 13:20:08 2014 +0100
sgsn: Replace subscr.authenticate by global require_authentication flag
Currently the flag 'authenticate' is managed per subscriber.
This patch replaces that flag by a global cfg.require_authentication
flag that enables/disables the use of the Auth & Ciph procedure for
every subscriber. The flag is set by the VTY, if and only if the
authorization policy is 'remote'.
The VTY command
- update-subscriber imsi IMSI insert authenticate <0-1>
is removed.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=55c141829282d7c367922a5ff3505c56…
commit 55c141829282d7c367922a5ff3505c5671b37015
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 16 08:41:34 2014 +0100
openbsc: Ignore generated coverage analysis files
This patch adds *.gcda and *.gcno to .gitignore to skip files that
are generated by gcc --coverage and related tools.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=35a058d09e0dcdabf2887608c7e38a73…
commit 35a058d09e0dcdabf2887608c7e38a73413b7fb1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Dec 18 12:46:47 2014 +0100
sgsn: Integrate the GSUP client into the SGSN
This commit adds GSUP client configuration (via VTY), connection set
up, and real message sending.
The following configuration commands are added:
- gsup remote-ip A.B.C.D set server IP address
- gsup remote-port PORT set server TCP port
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/gprs/gprs_subscriber.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)