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 542cd9bf6930fe10bc5ef6192b594befee165608 (commit)
discards 768b6c0a1c7d1b1c2cebf4d10937ff0d5b31e3bf (commit)
discards edb002881b3ce7aa0b670124558eed1aa5213413 (commit)
discards b780f2ccb9d7f7475e798a222f7715554843d852 (commit)
discards c3770be508faca723b2155bd775401a3ad052cec (commit)
discards a50c77163fc84dab5d137cbfe06335571387fbf1 (commit)
discards fed0c790379929813407108618db7b7143e7be97 (commit)
discards 8efcafd1bd5f825d2e88c8e0ded1e16e9107ca6b (commit)
discards 468eebefdd5e98748c47891c381e0a91b27b8161 (commit)
discards cebc8b091949338b11c69b0d5ec090bc80773ac5 (commit)
discards e70c27ff1174bd43c95ce1f18e64b7ced20889f7 (commit)
discards 6dad5dfb86f36ba9ef152cab8f1116ed8b9ed85e (commit)
discards ae361bf3597f208e36c248b1481e1a52cb163089 (commit)
discards a284f119e360d69805a355f13e037a56a4b61613 (commit)
discards b48e6dd0919fca3a2d311a1fd4bb422f4dfba1c7 (commit)
discards 6484925e96df54873ce2e3eb3b44bd2db86a4341 (commit)
discards 8d3c3c7b8be945b303d221e689e49f07ddeede43 (commit)
discards 55c141829282d7c367922a5ff3505c5671b37015 (commit)
discards 35a058d09e0dcdabf2887608c7e38a73413b7fb1 (commit)
discards f49426120f298adcbacd93635a2b86042d059266 (commit)
discards e45cf6c991905e33bdc8e4c7d3ccd6d4c26f1c5c (commit)
discards 67b6f95811cfa2599e483457fcd3516b815bb7db (commit)
discards 28fe5af26e62e0ac770de4c2d92de6387564eb34 (commit)
discards d32673d270c4331682cd8f9125c8af5e4f220e78 (commit)
discards a0a1cfd7b31296e990c934b3606e69f5b0b0c071 (commit)
discards 707858260d79b533a86b4c055a980a184d3b8339 (commit)
discards ea8279db8b9566d8864c05e13800fa88b0cfc014 (commit)
discards 94b669fa7d70192eb75764d6228c0a5e2a20cede (commit)
discards 89d84efdeb1a26d3294a360ecbcc1ac1012742ee (commit)
via 18d3450120796026837803177a9b39862effdcc3 (commit)
via ac4c60a3df10e436f21a522a0a10e285f8a7b5e1 (commit)
via 8243b2643ec61ea471ff5f57f6c625575d6a8c95 (commit)
via c0d0293319faf0e5d254c6150b18780b462a1e17 (commit)
via d955555e7dccee0eeb8aa4b5300ec0d44f182a9e (commit)
via 7afcad12a5011e121a8c9727efe2954fe9b48033 (commit)
via 37a9de32ab6ead088fad421de0ee82a676fb3f20 (commit)
via cecedbf4478d65d0bf76f3ec922c00ed60f551b4 (commit)
via bb7048fbf731b768f4a982854145b56c616ed0ad (commit)
via e5b78fb52e06d9008ce09f8429bb49c7df9d2401 (commit)
via be5f5cf232e80926b62cd3d42d75a50aa60dbd19 (commit)
via 58affb6cf017e869bd89c6fa04dc4bf539a999d3 (commit)
via d7ee04647aa9d5ad69d86a6bb60e1543e2a1f1a1 (commit)
via 3ef64da79208515ccdd1b707a3e629581537bfa0 (commit)
via ced7abab7695a1c3019933b8dfc838693505d14e (commit)
via ed47c392a848a59f77f973aa578179d9565bf36c (commit)
via 64cae3b725c93d98aff6bc244190df309ea44150 (commit)
via c8b72181fef62e4be671fdba1e075d402cc0841e (commit)
via 4feb7f8f13d64aea5e4fbf7d8f1b104cd3fd4ca4 (commit)
via 57a0ab1b78cce5bc61b738b0066e663362973346 (commit)
via f6f00e526428811286b2cb60779f78a629efc396 (commit)
via 0666b6d027a5674e004be679100510481eb5ce33 (commit)
via 6398f890fdee5a5b8d5c759c62b5d355489a55ad (commit)
via 9dcfad0aaf7dde706b2731ca02dbe435fd23205a (commit)
via 3454b19788cb40e94d8dcc83c79a11190a48479a (commit)
via f90a0222471e81f7795012325ab6975450c78ef9 (commit)
via 68c53a87f6a142b2c2d24b06a2bc4c71802f1751 (commit)
via 0da1846420d7d1e049e30ab04bc37cce7a96a204 (commit)
via 10248d02767e4110c654548b8154b7d3d6806e2e (commit)
via 22fd3cd0de098de3816d687e41d42fe551412a33 (commit)
via d30ed6b6f2d8eb56a035354694d12f4395103edc (commit)
via f7e23c5ff7d28c985d6c1e6d1dc0b9e8f5895a30 (commit)
via c22930e24b8d61cecb1fa7c46fd5dc96355d4978 (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 (542cd9bf6930fe10bc5ef6192b594befee165608)
\
N -- N -- N (18d3450120796026837803177a9b39862effdcc3)
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=18d3450120796026837803177a9b3986…
commit 18d3450120796026837803177a9b39862effdcc3
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=ac4c60a3df10e436f21a522a0a10e285…
commit ac4c60a3df10e436f21a522a0a10e285f8a7b5e1
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=8243b2643ec61ea471ff5f57f6c62557…
commit 8243b2643ec61ea471ff5f57f6c625575d6a8c95
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=c0d0293319faf0e5d254c6150b18780b…
commit c0d0293319faf0e5d254c6150b18780b462a1e17
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=d955555e7dccee0eeb8aa4b5300ec0d4…
commit d955555e7dccee0eeb8aa4b5300ec0d44f182a9e
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 22 17:58:18 2014 +0100
sgsn: Be more tolerant with state and SUSPEND/RESUME
Currently, when a BSSGP SUSPEND is received and the corresponding MM
context is already in the state GMM_REGISTERED_SUSPENDED, a
SUSPEND_NACK is returned which is not covered by GSM 08.18, 7.4.1.
The same goes for RESUME in the state GMM_REGISTERED_NORMAL.
This commit changes gprs_gmm_rx_suspend and gprs_gmm_rx_resume to not
complain (and thus answer a NACK) when the MM context is either in
GMM_REGISTERED_SUSPENDED or GMM_REGISTERED_NORMAL.
Note that GSM 08.18, 7.4.1 and 7.5.1 only mention to send an NACK if
the MS is not known. Even with this patch, the SGSN returns a NACK if
either the MS is unknown _or_ the MM context ist not in one of the
state GMM_REGISTERED_SUSPENDED and GMM_REGISTERED_NORMAL.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=7afcad12a5011e121a8c9727efe2954f…
commit 7afcad12a5011e121a8c9727efe2954fe9b48033
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=37a9de32ab6ead088fad421de0ee82a6…
commit 37a9de32ab6ead088fad421de0ee82a676fb3f20
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=cecedbf4478d65d0bf76f3ec922c00ed…
commit cecedbf4478d65d0bf76f3ec922c00ed60f551b4
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=bb7048fbf731b768f4a982854145b56c…
commit bb7048fbf731b768f4a982854145b56c616ed0ad
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=e5b78fb52e06d9008ce09f8429bb49c7…
commit e5b78fb52e06d9008ce09f8429bb49c7df9d2401
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=be5f5cf232e80926b62cd3d42d75a50a…
commit be5f5cf232e80926b62cd3d42d75a50aa60dbd19
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=58affb6cf017e869bd89c6fa04dc4bf5…
commit 58affb6cf017e869bd89c6fa04dc4bf539a999d3
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=d7ee04647aa9d5ad69d86a6bb60e1543…
commit d7ee04647aa9d5ad69d86a6bb60e1543e2a1f1a1
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=3ef64da79208515ccdd1b707a3e62958…
commit 3ef64da79208515ccdd1b707a3e629581537bfa0
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=ced7abab7695a1c3019933b8dfc83869…
commit ced7abab7695a1c3019933b8dfc838693505d14e
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=ed47c392a848a59f77f973aa578179d9…
commit ed47c392a848a59f77f973aa578179d9565bf36c
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=64cae3b725c93d98aff6bc244190df30…
commit 64cae3b725c93d98aff6bc244190df309ea44150
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=c8b72181fef62e4be671fdba1e075d40…
commit c8b72181fef62e4be671fdba1e075d402cc0841e
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=4feb7f8f13d64aea5e4fbf7d8f1b104c…
commit 4feb7f8f13d64aea5e4fbf7d8f1b104cd3fd4ca4
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
http://cgit.osmocom.org/openbsc/commit/?id=57a0ab1b78cce5bc61b738b0066e6633…
commit 57a0ab1b78cce5bc61b738b0066e663362973346
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Dec 18 12:28:21 2014 +0100
sgsn: Add GSUP client
This commit adds the client code to get subscriber information from a
remote server. It provides an IPA over TCP connection to transmit and
receive GSUP messages.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=f6f00e526428811286b2cb60779f78a6…
commit f6f00e526428811286b2cb60779f78a629efc396
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 15 10:16:02 2014 +0100
sgsn/doc: Add IPA default parameters
This commit adds the default protocol identifiers that should be used
for GSUP by the IPA protocol.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=0666b6d027a5674e004be67910051048…
commit 0666b6d027a5674e004be679100510481eb5ce33
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 12 15:01:37 2014 +0100
gprs: Add subscriber functions to create/handle GSUP messages
This patch extends gprs_subscr_query_auth_info and
gprs_subscr_location_update to create GSUP messages with the help of
a static gprs_subscr_tx_gsup_message function. A corresponding
gprs_subscr_rx_gsup_message is added which takes a messages, gets the
subscr, and updates it accordingly.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=6398f890fdee5a5b8d5c759c62b5d355…
commit 6398f890fdee5a5b8d5c759c62b5d355489a55ad
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Dec 11 16:54:14 2014 +0100
gprs: Add encoder/decoder for the Subscriber Update Protocol
This patch adds functions to encode and decode GSUP messages. This
does not include the layer 1 framing (IPA). The messages so far
supported are: send_auth_info_*, update_location_*,
location_cancellation_*.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=9dcfad0aaf7dde706b2731ca02dbe435…
commit 9dcfad0aaf7dde706b2731ca02dbe435fd23205a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Dec 11 15:14:14 2014 +0100
sgsn/doc: Add protocol specification for remote subscriber update
This is the first version of the specification for the GPRS
Subscriber Update Protocol.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=3454b19788cb40e94d8dcc83c79a1119…
commit 3454b19788cb40e94d8dcc83c79a11190a48479a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Dec 11 12:05:29 2014 +0100
gprs: Add gprs_shift_tlv function
This function is similar to gprs_match_tlv with the exception, that
the tag is not compared but returned in *tag instead.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=f90a0222471e81f7795012325ab69754…
commit f90a0222471e81f7795012325ab6975450c78ef9
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Dec 11 11:01:46 2014 +0100
gprs: Move TLV parser functions to gprs_utils.c and rename them
Currently the parser functions for single information elements are
defined within gprs_gb_parse.c and not exported explicitely. In
addition they are named like libosmocore's TLV parser functions and
do not have a proper name prefix. Since it is planned to use them for
other protocols, they need to be globally accessible.
This patch moves them to gprs_utils.c and renames them.
The new names are:
lv_shift -> gprs_shift_lv
v_fixed_shift -> gprs_shift_v_fixed
lv_shift -> gprs_shift_lv
v_fixed_shift -> gprs_shift_v_fixed
In the long term, these functions should be moved to libosmocore (and
renamed again).
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=68c53a87f6a142b2c2d24b06a2bc4c71…
commit 68c53a87f6a142b2c2d24b06a2bc4c71802f1751
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Dec 18 09:53:07 2014 +0100
sgsn: Add missing LF in log message
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=0da1846420d7d1e049e30ab04bc37cce…
commit 0da1846420d7d1e049e30ab04bc37cce7a96a204
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 28 14:55:25 2014 +0100
sgsn: Add a subscriber based authentication phase
This implements the MAP way of subscriber validation when the MS
tries to perform an Attach Request:
1. perform authentication (optionally invoke the sendAuthInfo
procedure), starts the Auth & Ciph procedure
2. perform update location
3. insert subscriber data
4. finish the update location
5. Attach Accept / Attach Reject
The authentication triplet are used and eventually updated if all of
them have been used.
This is currently accessible via the VTY interface by the following
commands:
- update-subscriber imsi IMSI update-auth-info
- update-subscriber imsi IMSI update-location-result (ok|ERR-CAUSE)
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=10248d02767e4110c654548b8154b7d3…
commit 10248d02767e4110c654548b8154b7d3d6806e2e
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 15:52:00 2014 +0100
sgsn: Add support for authentication triplets
This commit add data structures, functions, initialization, and VTY
commands for per subscriber authentication triplets.
The following VTY command is added:
- update-subscriber imsi IMSI \
insert auth-triplet <1-5> sres SRES rand RAND kc KC
Note that the triplets are not really used by the SGSN yet.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gsm_data.h | 6 +++
openbsc/include/openbsc/gsm_data_shared.h | 3 ++
openbsc/src/libbsc/bsc_vty.c | 63 +++++++++++++++++++++++++++++++
openbsc/src/libbsc/bts_ipaccess_nanobts.c | 23 +++++++++++
openbsc/src/libbsc/handover_logic.c | 31 ++++++++-------
openbsc/src/libcommon/gsm_data.c | 58 ++++++++++++++++++++++++++++
6 files changed, 170 insertions(+), 14 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)