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 "UNNAMED PROJECT".
The branch, master has been updated
via 2e86ab3a8704462c55245370ebdce9f6b134792d (commit)
from c5122f28292e4923f02bb645c6bb7fa4c270a5d5 (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/osmo-hlr/commit/?id=2e86ab3a8704462c55245370ebdce9f…
commit 2e86ab3a8704462c55245370ebdce9f6b134792d
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 13 00:52:48 2017 +0200
debian: 'make check' needs sqlite3, add to Build-Depends
At some point we should rather offer DB bootstrap as a DB API function instead
of an external .sql file, which would remove the dep on the sqlite3 binary.
For now, we need the binary to build debian packages for the 'make check' step.
Change-Id: I71938dff688675dcf1dbfbce2feb8b72b1de0910
-----------------------------------------------------------------------
Summary of changes:
debian/control | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
UNNAMED 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, laforge/sgsnemu-v6 has been updated
discards a05e6052a95dccbf63a2a828ffd0e39c662cd2ff (commit)
discards 3e4556ba6cfed8f91bfb1832ba10c5c735d650de (commit)
discards 485628283372a6d4b4115821d56469f00cae6552 (commit)
via 43ebce4107a7232b27b91a58f0c3a8208dccfeb8 (commit)
via f9cbe96b9b693dc7e4d57d8c0f2b8272e50ffd00 (commit)
via 370335c6e284e2508806455cfac665087abaafae (commit)
via 80499fcaf5c3d0a56596f8b96f30b837343e3d29 (commit)
via 3ffe4d8a4542372acc66919fff6a62a041681b38 (commit)
via ecb6786afc172418b028cef413545f774c82eac4 (commit)
via 8bebc794920bf27afd2ec62812390f44e9668c25 (commit)
via 1f5370db5f1aa342a30882ca55b93f09adb284eb (commit)
via d13a9254d2dd6ad5d1b76e86fe2836f1faf78656 (commit)
via 6dd3d3e4fed8505ed54c2a8be64c80612044da26 (commit)
via 519044f980e8bb32a654dd44b96611382bf17d8d (commit)
via ff037b7a4156980f34e8bde1d50527f2d5ac7c00 (commit)
via 6748dc90b8c2a0ec57a5d05eb28c20a5002afbbc (commit)
via 7bd7b6815aa937bba12c1cd82a0abbb58aab1fc6 (commit)
via b16c46b4c36383368eb1581e40d0a8ca751ddc53 (commit)
via 840a8e9713f1e1c60e3b38ba51847355555cafd9 (commit)
via cee7546f15bc66443c17a0b2cbca2570d85e3517 (commit)
via ed1ba2c902624a1bc97d73bc29e64f3fab8658ac (commit)
via ed08eb1c5a5a9efa84b3a9111d8e5538da132ce1 (commit)
via 2e84d2c29a75db6412a66356b81037508a7ef248 (commit)
via dd266066c7cc96c797034da352cc9d72177c5780 (commit)
via b5624c3d4838cd774c3a6df4208b709890174a25 (commit)
via 6a21527a2d417eca602cd0af3461dfa285da8767 (commit)
via 1a8bc9839a69566e756c691ebd2d676082838c52 (commit)
via 79aa4bd8378748ef1a264b6ae0c64f1eca0ab6df (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 (a05e6052a95dccbf63a2a828ffd0e39c662cd2ff)
\
N -- N -- N (43ebce4107a7232b27b91a58f0c3a8208dccfeb8)
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-ggsn/commit/?id=43ebce4107a7232b27b91a58f0c3a8…
commit 43ebce4107a7232b27b91a58f0c3a8208dccfeb8
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 20:01:54 2017 +0800
add Unit test for lib/in46_addr.c code
Change-Id: Id032c330405e5dca8ecfc0970d128341ed75c675
http://cgit.osmocom.org/osmo-ggsn/commit/?id=f9cbe96b9b693dc7e4d57d8c0f2b82…
commit f9cbe96b9b693dc7e4d57d8c0f2b8272e50ffd00
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:37:14 2017 +0800
update .gitignore
Change-Id: I030bd616dd27d49e55b5bdcc7c0b4fa3eb523da4
http://cgit.osmocom.org/osmo-ggsn/commit/?id=370335c6e284e2508806455cfac665…
commit 370335c6e284e2508806455cfac665087abaafae
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:30:49 2017 +0800
Add ippool unit-test for 'make check' runs
This test creates a variety of v4 (and one v6) pool and performs
allocations until the pool is full, then frees a random number of
randomly distributed addresses, re-allocates them and again checks that
they're all available and finally once the pool is full allocations
fail.
Change-Id: Ibf4588e8f3ae71684e5262c0caaa2689aee73a94
http://cgit.osmocom.org/osmo-ggsn/commit/?id=80499fcaf5c3d0a56596f8b96f30b8…
commit 80499fcaf5c3d0a56596f8b96f30b837343e3d29
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 17:36:53 2017 +0800
remove dead/old Makefile.in from src/ and test/ directory
Change-Id: I399e9ab54ac9d62e0e2f2bc2eaaf6610374d56f6
http://cgit.osmocom.org/osmo-ggsn/commit/?id=3ffe4d8a4542372acc66919fff6a62…
commit 3ffe4d8a4542372acc66919fff6a62a041681b38
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Oct 9 10:15:04 2017 +0800
gtpie.h: Add IE identifier definitions up to 29.60 v11.8.0 Release 11
Change-Id: I6ab7bfb31f93f52f9f6b1b5880dcb2c232bba794
http://cgit.osmocom.org/osmo-ggsn/commit/?id=ecb6786afc172418b028cef413545f…
commit ecb6786afc172418b028cef413545f774c82eac4
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Oct 8 07:50:20 2017 +0800
Allow Common flags 0x94 and ignore them in PDP activation
from https://github.com/osmocom/openggsn/pull/2
Change-Id: I31b3e4b378e74bb5a0a2f54af6d2a15b629876cf
http://cgit.osmocom.org/osmo-ggsn/commit/?id=8bebc794920bf27afd2ec62812390f…
commit 8bebc794920bf27afd2ec62812390f44e9668c25
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:05:50 2017 +0800
sgsnemu: Use getprotobynumber() in print_ipprot()
There's no point in sgsnemu doing a poor mans reimplementation
of what the C library provides already by means of getprotobynumber()
Change-Id: I8cdc460e4fa5d86d80addf6e5f341d2d80093a35
http://cgit.osmocom.org/osmo-ggsn/commit/?id=1f5370db5f1aa342a30882ca55b93f…
commit 1f5370db5f1aa342a30882ca55b93f09adb284eb
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:03:25 2017 +0800
sgsnemu: Remove dead code: encaps_printf()
This function is never used/called, remove it.
Change-Id: I37a447e4d5387e3fc5f4433ab20ceba7c446684b
http://cgit.osmocom.org/osmo-ggsn/commit/?id=d13a9254d2dd6ad5d1b76e86fe2836…
commit d13a9254d2dd6ad5d1b76e86fe2836f1faf78656
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:02:45 2017 +0800
sgsnemu: Mark local functions 'static'
We don't need to export those to the global name space as they're
not called from code in other files.
Change-Id: I454249335ba46abdb3afbc669c4a06a06f39ae72
http://cgit.osmocom.org/osmo-ggsn/commit/?id=6dd3d3e4fed8505ed54c2a8be64c80…
commit 6dd3d3e4fed8505ed54c2a8be64c80612044da26
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 08:54:04 2017 +0800
sgsnemu: Make use of "dependon" feature in gengetopt
The gengetopt syntax can specify that a particular command line argument
depends on some other argument/option present. We can use this to
provide useful feedback to the user at the command line parsing state,
like --pingrate making no sense without --pinghost being specified.
Change-Id: Ief27275e90e6bce23aed1e83874dbac98dd0926b
http://cgit.osmocom.org/osmo-ggsn/commit/?id=519044f980e8bb32a654dd44b96611…
commit 519044f980e8bb32a654dd44b96611382bf17d8d
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:36:35 2017 +0800
sgsnemu: Print warnings on broken IPv6 configuration (acept_ra)
When sgsnemu is used for an IPv6 pdp context, we rely on the router
discovery procedure and SLAAC to set the correct IPv6 address/prefix
on the tun device. This requires the system to be configure to accept
router-advertisements on the tun device. Let's print a warning
if accept_ra for the specific tun device is set to a wrong value.
We're leaving it up to the user to either set a system-wide
/proc/sys/net/ipv6/conf/default/accept_ra or to configure this in an
ip-up script used together with sgsnemu.
Change-Id: I563092ca35bc74f035a5023e11256779aac46e11
http://cgit.osmocom.org/osmo-ggsn/commit/?id=ff037b7a4156980f34e8bde1d50527…
commit ff037b7a4156980f34e8bde1d50527f2d5ac7c00
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 08:50:11 2017 +0800
sgsnemu: Add '--tun-device' option to specify TUN device name
This way, multiple sgsnemu instances can be runnig in parallel, each
of them creating a different tun device for their respective PDP context
Change-Id: Id12fbadf924a60db255b6d51b9f647aa51dd2e16
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 48 +-
Makefile.am | 2 +-
TODO-RELEASE | 1 +
configure.ac | 2 +
contrib/osmo-ggsn.service | 2 +-
ggsn/ggsn.c | 19 +-
gtp/gtpie.c | 67 +-
gtp/gtpie.h | 75 +-
gtp/pdp.h | 3 +
sgsnemu/cmdline.c | 132 +-
sgsnemu/cmdline.ggo | 18 +-
sgsnemu/cmdline.h | 8 +
sgsnemu/sgsnemu.c | 138 +-
src/Makefile.in | 0
tests/Makefile.am | 40 +
tests/Makefile.in | 0
tests/lib/Makefile.am | 22 +
tests/lib/in46a_test.c | 93 +
tests/lib/ippool_test.c | 120 +
tests/lib/ippool_test.err | 10 +
tests/lib/ippool_test.ok | 66555 ++++++++++++++++++++++++++++++++++++++++++++
tests/testsuite.at | 15 +
22 files changed, 67283 insertions(+), 87 deletions(-)
delete mode 100644 src/Makefile.in
create mode 100644 tests/Makefile.am
delete mode 100644 tests/Makefile.in
create mode 100644 tests/lib/Makefile.am
create mode 100644 tests/lib/in46a_test.c
create mode 100644 tests/lib/ippool_test.c
create mode 100644 tests/lib/ippool_test.err
create mode 100644 tests/lib/ippool_test.ok
create mode 100644 tests/testsuite.at
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, master has been updated
via 958256f5cfd19610ecec8b1130f726b7a6bb17fc (commit)
from 6748dc90b8c2a0ec57a5d05eb28c20a5002afbbc (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
ggsn/ggsn.c | 4 ++--
1 file changed, 2 insertions(+), 2 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 "UNNAMED PROJECT".
The branch, master has been updated
via c5122f28292e4923f02bb645c6bb7fa4c270a5d5 (commit)
via 1cbdb70b27599b3a233184d01cee63cea5e8fee3 (commit)
via 76328e57d1d9c7df8763b2b8be6fce39e5822731 (commit)
via 57a8792f230f2ec6db72f3b6249b702428ab5d6e (commit)
via 1332a17a3db46bae7e2ee720baf21c594e1b2331 (commit)
via e50121ec96c2457c66501d7b6e1fcd539ee3c5e1 (commit)
via dd783056f7ede461dd27347fa86743a24c4c4eed (commit)
via e8ccd5013abe0e04b2400661405fd9e18e88cd89 (commit)
via 9c2bbc840f3678489d744d69a718afacafa60ad3 (commit)
via 32633e2b895233892a238095e21b89b12ed94d14 (commit)
via d7d9697d85cba6bb18bcb767ebd0005b1ae73e1c (commit)
via 985094601315c45c2e0a2ac8292df4c2f646c698 (commit)
via f7c3e6e3a29f67398fdb8790629d0e951a494bc1 (commit)
via 28da26ec191b176028c6bad6a43749a8c8926cb2 (commit)
via cd83b8a44c2824cfc9dfdca685fea28f9221f60e (commit)
from d3cd102505bdc78c92daed325ee824071fa48403 (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/osmo-hlr/commit/?id=c5122f28292e4923f02bb645c6bb7fa…
commit c5122f28292e4923f02bb645c6bb7fa4c270a5d5
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 9 23:12:57 2017 +0200
code undup: use db_bind_text() in db_get_auth_data()
To make the db_bind_text() error reporting mention "imsi", change the
DB_STMT_AUC_BY_IMSI to use a named parameter.
Change-Id: I49bd5eb78170cf4cdf8abb386c766d20d9f1cf73
http://cgit.osmocom.org/osmo-hlr/commit/?id=1cbdb70b27599b3a233184d01cee63c…
commit 1cbdb70b27599b3a233184d01cee63cea5e8fee3
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 9 23:03:57 2017 +0200
fix db_update_sqn(): reset stmt in all error cases
Use the common db_bind_int64() so that the stmt bindings are cleared for any
errors and to get error logging for free.
On error with sqlite3_step(), log the SQL error message, and make sure the stmt
is cleared of bindings and reset.
After sqlite3_step(), verify that exactly one row was modifed, log and return
errors otherwise.
After this patch, the DB interaction closely matches the other (refactored) DB
functions.
Change-Id: I0d870d405e2e0a830360d9ad19f0a3f9e09d8cf2
http://cgit.osmocom.org/osmo-hlr/commit/?id=76328e57d1d9c7df8763b2b8be6fce3…
commit 76328e57d1d9c7df8763b2b8be6fce39e5822731
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 9 22:49:25 2017 +0200
code undup: use db_remove_reset() in db_auc.c
Change-Id: I32d728e2b8a9771421c097647aa0e060e29a601f
http://cgit.osmocom.org/osmo-hlr/commit/?id=57a8792f230f2ec6db72f3b6249b702…
commit 57a8792f230f2ec6db72f3b6249b702428ab5d6e
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 9 17:51:13 2017 +0200
refactor db_get_auth_data return val
Adopt the error handling of the other db functions: return -ENOENT on unknown
subscriber and -EIO on SQL failure. Return 0 for no error, instead of the
number of rows modified.
Adjust the single caller: db_get_auc()
(and db_test.c).
Change-Id: I006f471962bdad95d00a3a4c41a28ebbc9740884
http://cgit.osmocom.org/osmo-hlr/commit/?id=1332a17a3db46bae7e2ee720baf21c5…
commit 1332a17a3db46bae7e2ee720baf21c594e1b2331
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Oct 10 02:25:00 2017 +0200
add db_subscr_update_aud_by_id(), complete db_subscr_delete_by_id()
Add ability to add and remove auc_2g and auc_3g table rows with
db_subscr_update_aud_by_id().
In db_subscr_delete_by_id(), make sure that when deleting a subscriber, also
all auth data associated with that user ID is removed as well. A newly created
subscriber must not obtain the same auth tokens just by getting the same id.
Depends: libosmocore Idf75946eb0a84e145adad13fc7c78bb7a267aa0a
Change-Id: Icb11b5e059fb920447a9aa414db1819a0c020529
http://cgit.osmocom.org/osmo-hlr/commit/?id=e50121ec96c2457c66501d7b6e1fcd5…
commit e50121ec96c2457c66501d7b6e1fcd539ee3c5e1
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 9 17:48:51 2017 +0200
refactor db_subscr_purge
Use named parameters in the SQL statements.
Use db_bind_* functions to drop some code dup.
Adopt error handling (rc and logging) to match the other db functions: return
-ENOENT for unknown subscriber, -EIO for SQL failures.
Change-Id: Iad49d29b90a708c6cf55bfb3bcc02d9e29001a15
http://cgit.osmocom.org/osmo-hlr/commit/?id=dd783056f7ede461dd27347fa86743a…
commit dd783056f7ede461dd27347fa86743a24c4c4eed
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 9 17:36:08 2017 +0200
refactor db_subscr_lu()
Use named parameters in the SQL statement.
Use db_bind_* functions to drop some code dup.
Use explicit subscriber id arg instead of subscriber struct.
Match return values and error logging to other db functions.
Change-Id: I35665e84ddbe54a6f218b24033df969ad2e669a0
http://cgit.osmocom.org/osmo-hlr/commit/?id=e8ccd5013abe0e04b2400661405fd9e…
commit e8ccd5013abe0e04b2400661405fd9e18e88cd89
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 6 04:10:06 2017 +0200
refactor db_subscr_ps() to db_subscr_nam()
Allow to set nam_ps and nam_cs from this same function, by adding the is_ps
arg.
Combine both NAM_PS stmts to DB_STMT_UPD_NAM_PS_BY_IMSI, add another such stmt
for CS. Use named parameters instead of parameter indexes.
Improve error return values as well as error logging to clearly indicate
whether the operation could not find the requested IMSI, or other errors
occured.
Adjust the single caller.
This prepares for upcoming VTY and possibly CTRL commands, and the error
handling introduced here has been or will be adopted by other functions in
previous or subsequent patches.
Change-Id: I6e70e15228f5bb10bee6758ae5dc9687d65839bd
http://cgit.osmocom.org/osmo-hlr/commit/?id=9c2bbc840f3678489d744d69a718afa…
commit 9c2bbc840f3678489d744d69a718afacafa60ad3
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 9 17:30:32 2017 +0200
add db_subscr_get_by_msisdn() and db_subscr_get_by_id()
Factor out the selected SQL columns as SEL_COLUMNS macro, so that each of the
new DB_STMTs will select identical columns: the old DB_STMT_SEL_BY_IMSI as well
as the new DB_STMT_SEL_BY_MSISDN and DB_STMT_SEL_BY_ID.
Add the new functions db_subscr_get_by_msisdn() and db_subscr_get_by_id() and
factor out common parts with db_subscr_get_by_imsi() to static db_sel().
Change-Id: I6d0ddd1b7e3f6b180b4b1b2663c5725d2a4a9428
http://cgit.osmocom.org/osmo-hlr/commit/?id=32633e2b895233892a238095e21b89b…
commit 32633e2b895233892a238095e21b89b12ed94d14
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 6 04:26:21 2017 +0200
db: use int64_t as subscriber id
The SQLite db does not support uint64_t, and we are always binding the uint64_t
id actually as signed int64_t. Hence be consistent and actually handle it as
int64_t in the code as well.
This means that if we ever see a negative subscriber ID in the SQL database
(however unlikely), we will also see it negative in our log output.
The SQN handled in osmo_auth* is actually of unsigned type, and, unless we
store the SQN as 64bit hex string, we are forced to feed this unsigned value as
signed int64_t to the SQLite API. The upcoming db regression test for SQN in
change-id I0d870d405e2e0a830360d9ad19f0a3f9e09d8cf2 verifies that the SQN
uint64_t translates to signed int64_t and back as expected.
Change-Id: I83a47289a48ac37da0f712845d422e897a5e8171
http://cgit.osmocom.org/osmo-hlr/commit/?id=d7d9697d85cba6bb18bcb767ebd0005…
commit d7d9697d85cba6bb18bcb767ebd0005b1ae73e1c
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 6 03:50:30 2017 +0200
less noise: simplify db_remove_reset()
db_remove_reset() needs to be called after each stmt run, whether it succeeded
or not.
In case sqlite3_clear_bindings() would fail to unbind a stmt, we would anyway
be beyond recovery. There seem to be no plausible situations where such failure
would occur, unless there have been no bindings in the first place.
In case there was an SQL stmt failure, sqlite3_reset() will re-barf the same
error message, we will always have logged it earlier already in the proper
context.
We are never evaluating the return value, nor would we know how to recover from
non-success.
The conclusions:
- db_remove_reset() does not need to log any errors.
- db_remove_reset() does not need to return success.
Change-Id: I21678463e59f607f5f5c5732963e274392f0fffd
http://cgit.osmocom.org/osmo-hlr/commit/?id=985094601315c45c2e0a2ac8292df4c…
commit 985094601315c45c2e0a2ac8292df4c2f646c698
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 9 17:28:53 2017 +0200
add initial db_test: creating and deleting subscribers
Change-Id: I2a0d277f55162bf5ceb0fc7d50390f2994daed71
http://cgit.osmocom.org/osmo-hlr/commit/?id=f7c3e6e3a29f67398fdb8790629d0e9…
commit f7c3e6e3a29f67398fdb8790629d0e951a494bc1
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 9 17:55:16 2017 +0200
add db_subscr_create(), db_subscr_delete(), db_subscr_update_msisdn_by_imsi()
These will be needed by VTY commands to create, delete and modify subscribers.
Auth data editing will follow in another patch.
The FIXME "also remove authentication data from auc_2g and auc_3g" will get
fixed in change-id Icb11b5e059fb920447a9aa414db1819a0c020529.
Change-Id: I725273d36234331093e7fff7d5f12f6be6ab2623
http://cgit.osmocom.org/osmo-hlr/commit/?id=28da26ec191b176028c6bad6a43749a…
commit 28da26ec191b176028c6bad6a43749a8c8926cb2
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 6 03:44:57 2017 +0200
add db_bind_int() and db_bind_int64()
Will be used in upcoming patches, e.g. change-IDs
- I6e70e15228f5bb10bee6758ae5dc9687d65839bd
- I83a47289a48ac37da0f712845d422e897a5e8171
Change-Id: I705a15eef242c98feb6e95a883916f6cf8173d70
http://cgit.osmocom.org/osmo-hlr/commit/?id=cd83b8a44c2824cfc9dfdca685fea28…
commit cd83b8a44c2824cfc9dfdca685fea28f9221f60e
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 6 04:20:37 2017 +0200
cosmetic: don't log about missing SQLite log cb
SQLite3 seems to be commonly compiled without log callback support. It is then
misleading to see a seeming error message about this on each osmo-hlr startup.
Avoid the impression that we would miss out on important logging: query
sqlit3_compileoption_get() whether SQLITE_CONFIG_SQLLOG is enabled. Try to
register the callback only if present, if not, say so on DEBUG log.
See https://sqlite.org/compile.html "SQLITE_ENABLE_SQLLOG"
Change-Id: I78d75dc351eb587b0a022f82f147e9a31c0324c5
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
src/ctrl.c | 2 +-
src/db.c | 112 +++-
src/db.h | 72 ++-
src/db_auc.c | 86 ++-
src/db_hlr.c | 557 +++++++++++++++++---
src/hlr.c | 2 +-
tests/Makefile.am | 1 +
tests/db/Makefile.am | 53 ++
tests/db/db_test.c | 826 +++++++++++++++++++++++++++++
tests/db/db_test.err | 1410 ++++++++++++++++++++++++++++++++++++++++++++++++++
tests/db/db_test.ok | 2 +
tests/testsuite.at | 8 +
13 files changed, 2983 insertions(+), 149 deletions(-)
create mode 100644 tests/db/Makefile.am
create mode 100644 tests/db/db_test.c
create mode 100644 tests/db/db_test.err
create mode 100644 tests/db/db_test.ok
hooks/post-receive
--
UNNAMED 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 "Software-defined analyzer for APCO P25".
The branch, max has been updated
via 15f0acfa1794533230f42ee2ec315ce8a610a6fa (commit)
via 37f2c3bbfc09bca304236b98bec1e85ea3e15c18 (commit)
from 68476ab6c1001702192f93f2abcfed11fdb47bd2 (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/op25/commit/?id=15f0acfa1794533230f42ee2ec315ce8a61…
commit 15f0acfa1794533230f42ee2ec315ce8a610a6fa
Author: Max <ikj1234i(a)yahoo.com>
Date: Wed Oct 11 16:28:32 2017 -0400
patch to fix compile errors thx Graham
http://cgit.osmocom.org/op25/commit/?id=37f2c3bbfc09bca304236b98bec1e85ea3e…
commit 37f2c3bbfc09bca304236b98bec1e85ea3e15c18
Author: Max <ikj1234i(a)yahoo.com>
Date: Wed Oct 11 14:59:24 2017 -0400
modulator filter updates
-----------------------------------------------------------------------
Summary of changes:
op25/gr-op25_repeater/apps/tx/dv_tx.py | 5 ++++-
op25/gr-op25_repeater/apps/tx/op25_c4fm_mod.py | 10 ++++++++--
op25/gr-op25_repeater/lib/ambe_encoder.cc | 4 ++--
op25/gr-op25_repeater/lib/gardner_costas_cc_impl.cc | 2 +-
op25/gr-op25_repeater/lib/imbe_vocoder/aux_sub.cc | 4 ++--
op25/gr-op25_repeater/lib/imbe_vocoder/aux_sub.h | 2 +-
op25/gr-op25_repeater/lib/imbe_vocoder/tbls.cc | 4 ++--
op25/gr-op25_repeater/lib/imbe_vocoder/tbls.h | 4 ++--
8 files changed, 22 insertions(+), 13 deletions(-)
hooks/post-receive
--
Software-defined analyzer for APCO P25
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 "UNNAMED PROJECT".
The branch, master has been updated
via d3cd102505bdc78c92daed325ee824071fa48403 (commit)
via d4bb51ba1fbd0e3580fb994b6b2200c093e75d46 (commit)
via 1e31d18822c919896d26246950f5bca2e52dfeb5 (commit)
via e9c0c5b2724e9e0f749e9c24d77e73d7cbe3ede6 (commit)
from 3522819d8bf9d6634a504effe4f171975439e77d (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/osmo-hlr/commit/?id=d3cd102505bdc78c92daed325ee8240…
commit d3cd102505bdc78c92daed325ee824071fa48403
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Wed Oct 11 01:20:55 2017 +0200
gitignore: tests/package.m4
Change-Id: Ida4a61d4786d7db63dc59a641f44afb2ec2edd97
http://cgit.osmocom.org/osmo-hlr/commit/?id=d4bb51ba1fbd0e3580fb994b6b2200c…
commit d4bb51ba1fbd0e3580fb994b6b2200c093e75d46
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Oct 10 21:59:02 2017 +0200
ctrl_test_runner.py: use proper constant as test db path
Change-Id: I9533a9ff8c0f8d24c678583a9197143a187908f3
http://cgit.osmocom.org/osmo-hlr/commit/?id=1e31d18822c919896d26246950f5bca…
commit 1e31d18822c919896d26246950f5bca2e52dfeb5
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Oct 10 23:20:09 2017 +0200
cosmetic: db_hlr: SL3_TXT: clarify indenting
Before, it looked like the nul term was within the if () body (despite no body
being present).
While at it, also remove one of the two tabs of indenting and put the opening
'do {' on its own line.
Change-Id: I8d03433b6fba90f4e46814bc54636bc3a444cc46
http://cgit.osmocom.org/osmo-hlr/commit/?id=e9c0c5b2724e9e0f749e9c24d77e73d…
commit e9c0c5b2724e9e0f749e9c24d77e73d7cbe3ede6
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Oct 10 16:52:22 2017 +0200
cosmetic: log: "SQLite" with capital L
Change-Id: I43a6ea646f14cfea3a7cd4eb88237ada6d47f5f1
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 1 +
src/db.c | 8 ++++----
src/db_hlr.c | 13 +++++++------
tests/ctrl_test_runner.py | 2 +-
4 files changed, 13 insertions(+), 11 deletions(-)
hooks/post-receive
--
UNNAMED 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, pespin/fix-iproute has been updated
discards ab5e1609373dcaa44d4e972920b9bbb4ab371727 (commit)
via 1d9628a26f47f5b84f8dccb24d43a80349f7f145 (commit)
via 958256f5cfd19610ecec8b1130f726b7a6bb17fc (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 (ab5e1609373dcaa44d4e972920b9bbb4ab371727)
\
N -- N -- N (1d9628a26f47f5b84f8dccb24d43a80349f7f145)
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-ggsn/commit/?id=1d9628a26f47f5b84f8dccb24d43a8…
commit 1d9628a26f47f5b84f8dccb24d43a80349f7f145
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Wed Oct 11 18:56:08 2017 +0200
apnt_start(): Pass ippool flags to avoid certain IPs
Commit dda21ed7d4a897c9284c69175d0da598598eae40 modified previous calls
to ippool_new() removing the pass of flags to avoid allocating certain
problematic IPs from the pool to MS, such as the network, gateway and
broadcast IPs.
Today I did some unsucessful tests with osmo-ggsn with a pool "ip prefix
dynamic 176.16.222.0/24", and thus IP 176.16.222.0 was being assigned to
the MS. De-capsulated DNS packets were received in the tun interface,
but the Linux system in there was unable to correctly forward the
packets to the gateway interface connected to the Internet. However,
adding a second MS which got 176.16.222.1 had its packets forwarded
correctly.
Change-Id: I72ae59ad5929ca0dc9ee69937c50e57a5f49ca76
http://cgit.osmocom.org/osmo-ggsn/commit/?id=958256f5cfd19610ecec8b1130f726…
commit 958256f5cfd19610ecec8b1130f726b7a6bb17fc
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Wed Oct 11 20:32:55 2017 +0200
create_context_ind(): Fix crash on apn not found
Program terminated with signal SIGSEGV, Segmentation fault.
0 create_context_ind (pdp=0xb6b391b0 <pdpa>)
at /usr/src/debug/osmo-ggsn/1.0.0+gitrAUTOINC+ab5e160937-r0/git/ggsn/ggsn.c:453
453 if (!apn->started)
(gdb) bt
0 create_context_ind (pdp=0xb6b391b0 <pdpa>)
at /usr/src/debug/osmo-ggsn/1.0.0+gitrAUTOINC+ab5e160937-r0/git/ggsn/ggsn.c:453
1 0xb6b225e0 in gtp_create_pdp_ind (gsn=gsn@entry=0x74f28, version=version@entry=1, peer=0x0,
peer@entry=0xbee6ead4, fd=-1092167056, fd@entry=8, pack=pack@entry=0xbee6eae4, len=len@entry=179)
at /usr/src/debug/osmo-ggsn/1.0.0+gitrAUTOINC+ab5e160937-r0/git/gtp/gtp.c:1591
2 0xb6b245e4 in gtp_decaps1c (gsn=0x74f28)
at /usr/src/debug/osmo-ggsn/1.0.0+gitrAUTOINC+ab5e160937-r0/git/gtp/gtp.c:2986
3 0x41d770c0 in osmo_select_main () from /usr/lib/libosmocore.so.8
4 0x000121b8 in main (argc=4, argv=0xbee70e54)
at /usr/src/debug/osmo-ggsn/1.0.0+gitrAUTOINC+ab5e160937-r0/git/ggsn/ggsn.c:897
Fixes: dd266066c7cc96c797034da352cc9d72177c5780, b16c46b4c36383368eb1581e40d0a8ca751ddc53
Change-Id: Ie4ec74e87aaf1d067dd1717d986673be56c4d6ed
-----------------------------------------------------------------------
Summary of changes:
ggsn/ggsn.c | 4 ++--
1 file changed, 2 insertions(+), 2 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, pespin/fix-iproute has been updated
discards 3c71d6d1b560b4d7213d63f38b01c81e4bf56951 (commit)
via ab5e1609373dcaa44d4e972920b9bbb4ab371727 (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 (3c71d6d1b560b4d7213d63f38b01c81e4bf56951)
\
N -- N -- N (ab5e1609373dcaa44d4e972920b9bbb4ab371727)
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-ggsn/commit/?id=ab5e1609373dcaa44d4e972920b9bb…
commit ab5e1609373dcaa44d4e972920b9bbb4ab371727
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Wed Oct 11 18:56:08 2017 +0200
apnt_start(): Pass ippool flags to avoid certain IPs
Commit dda21ed7d4a897c9284c69175d0da598598eae40 modified previous calls
to ippool_new() removing the pass of flags to avoid allocating certain
problematic IPs from the pool to MS, such as the network, gateway and
broadcast IPs.
Today I did some unsucessful tests with osmo-ggsn with a pool "ip prefix
dynamic 176.16.222.0/24", and thus IP 176.16.222.0 was being assigned to
the MS. De-capsulated DNS packets were received in the tun interface,
but the Linux system in there was unable to correctly forward the
packets to the gateway interface connected to the Internet. However,
adding a second MS which got 176.16.222.1 had its packets forwarded
correctly.
Change-Id: I72ae59ad5929ca0dc9ee69937c50e57a5f49ca76
-----------------------------------------------------------------------
Summary of changes:
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, pespin/fix-iproute has been created
at 3c71d6d1b560b4d7213d63f38b01c81e4bf56951 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-ggsn/commit/?id=3c71d6d1b560b4d7213d63f38b01c8…
commit 3c71d6d1b560b4d7213d63f38b01c81e4bf56951
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Wed Oct 11 18:56:08 2017 +0200
apnt_start(): Pass ippool flags to avoid certain IPs
Commit dda21ed7d4a897c9284c69175d0da598598eae40 modified previous calls
to ippool_new() removing the pass of flags to avoid allocating certain
problematic IPs from the pool to MS, such as the network, gateway and
broadcast IPs.
Today I did some unsucessful tests with osmo-ggsn with a pool "ip prefix
dynamic 176.16.222.0/24", and thus IP 176.16.222.0 was being assigned to
the MS. De-capsulated DNS packets were received in the tun interface,
but the Linux system in there was unable to correctly forward the
packets to the gateway interface connected to the Internet. However,
adding a second MS which got 176.16.222.1 had its packets forwarded
correctly.
Change-Id: I72ae59ad5929ca0dc9ee69937c50e57a5f49ca76
-----------------------------------------------------------------------
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 "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, master has been updated
via 8c9bc5c6c70a34c88733f09bd1d8f7735881357b (commit)
via 3552247ae8d86bddc4e76529eeb8406c5cb470d6 (commit)
from 2d3aa02ba3f7276fbab7f1e2744b5eb880a36fd9 (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/osmo-bts/commit/?id=8c9bc5c6c70a34c88733f09bd1d8f77…
commit 8c9bc5c6c70a34c88733f09bd1d8f7735881357b
Author: Max <msuraev(a)sysmocom.de>
Date: Wed Oct 11 18:04:12 2017 +0200
sysmo: don't override clock source with defaults
Previously clock source configured via vty was ignored. Check that it
wasn't configured and only apply default value in that case.
Change-Id: I8de74a12d2096971a8a83946dc6c7cdb9889acd7
Fixes: OS#1944
http://cgit.osmocom.org/osmo-bts/commit/?id=3552247ae8d86bddc4e76529eeb8406…
commit 3552247ae8d86bddc4e76529eeb8406c5cb470d6
Author: Max <msuraev(a)sysmocom.de>
Date: Wed Oct 11 17:46:10 2017 +0200
sysmo: use clock calibration source wrapper
Make get_clk_cal() public and use it for ctrl commands handling. This
ensures that the calibration is properly selected depending on the clock
source.
Change-Id: I1c809d48f29ef8e8c50641f882d7a954dfcf88f9
Related: OS#1944
-----------------------------------------------------------------------
Summary of changes:
src/osmo-bts-sysmo/l1_if.c | 27 +++++++++++++++------------
src/osmo-bts-sysmo/l1_if.h | 1 +
src/osmo-bts-sysmo/sysmobts_ctrl.c | 2 +-
3 files changed, 17 insertions(+), 13 deletions(-)
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)