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, neels/gtphub has been updated
discards c1ace699fcfb4282e0007fc6539cd996b818957d (commit)
via a43c956c928b5c0a0fca1f3f79d77293c3648be3 (commit)
via 634178aa7792db4d396b00aaf72d5ad82b5a730b (commit)
via 137a202032455ecf05594c0e75d806ff90876e48 (commit)
via f4ec777f932c510fd04fa5113db650a0861ee961 (commit)
via 3ed33b61d72eef110e12478f6cbbc0931210b0bb (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 (c1ace699fcfb4282e0007fc6539cd996b818957d)
\
N -- N -- N (a43c956c928b5c0a0fca1f3f79d77293c3648be3)
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=a43c956c928b5c0a0fca1f3f79d77293…
commit a43c956c928b5c0a0fca1f3f79d77293c3648be3
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:32:23 2015 +0100
gtphub: add assertion to ensure expiry ordering.
Make 100% sure the user adds expiring_items in chronological order by asserting
that a newly added expiry is >= the last expiry in the queue. Add llist_last()
to facilitate.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=634178aa7792db4d396b00aaf72d5ad8…
commit 634178aa7792db4d396b00aaf72d5ad82b5a730b
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:31:06 2015 +0100
gtphub: refresh TEI timeout when TEI is used.
Make sure a TEI mapping remains valid when it is in use. So far all mappings
would expire after 6 hours, in use or not.
Note: this does not yet refresh a Ctrl TEI mapping when a corresponding User
TEI is used (todo).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=137a202032455ecf05594c0e75d806ff…
commit 137a202032455ecf05594c0e75d806ff90876e48
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:30:38 2015 +0100
gtphub: cosmetic/prepare: add nr_map_refresh().
http://cgit.osmocom.org/openbsc/commit/?id=f4ec777f932c510fd04fa5113db650a0…
commit f4ec777f932c510fd04fa5113db650a0861ee961
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:27:13 2015 +0100
gtphub: move timestamp into packet struct.
Instead of passing the current time around in function arguments ('now'),
rather store the current time once upon decoding a GTP packet in the
gtp_packet_desc passed around anyway ('p->timestamp').
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=3ed33b61d72eef110e12478f6cbbc093…
commit 3ed33b61d72eef110e12478f6cbbc0931210b0bb
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:23:44 2015 +0100
gtphub: cosmetic: fix an argument name.
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gtphub.h | 3 ---
openbsc/src/gprs/gtphub.c | 6 +++---
2 files changed, 3 insertions(+), 6 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, neels/gtphub has been updated
discards f0335c813e9539526a6bd80249431be119af2332 (commit)
discards 5d367871f9a0200d88d4d9508c970c207677eba0 (commit)
discards 67dc19549bc9ba743c62fa3634c3831135c2c91e (commit)
discards 3b97a1013e1c924a9df4a51b5879b265fa1f3b89 (commit)
discards 4a8c0d63c6aa16d0293febea1e2fd10c820ec879 (commit)
discards b81d815cd2cc1e9712c20446da5850caf3ecd723 (commit)
discards 4e79d595b0818a3bebaa242271bb1c9efbc4b085 (commit)
discards 1d73f6752073bb3bd21347da08a0f92f0754ff5a (commit)
discards 3d7cc4de4e97fe9526d44405088c62a6195a1d51 (commit)
discards 23896e029df73b9d434dd666fa194be3574d71d6 (commit)
discards d7e260e37432e1a6484c062b7faf64ad3af7edd8 (commit)
discards d0bc2c601fc8c2642c72b53a9870023ab1d5b853 (commit)
discards 0aff78a447d22b2671b5cdc4b4e68500ef8d3d81 (commit)
via c1ace699fcfb4282e0007fc6539cd996b818957d (commit)
via 254714ceb1e9581b170044f35257b50d36d659b1 (commit)
via bd6f15c2664de6d53c6129f86cf104fa7fa75495 (commit)
via 52712a4a879cbe1be066e50c0f9e8efb3a3cab24 (commit)
via bd49d8a4b599796369b845b2763f87f39a2d8354 (commit)
via 88f25563c31fb68d3f0a67d8c80dadc3492d43fa (commit)
via 57e34eb473562bf71962f01efaa1db875dd424c5 (commit)
via bbef1e556ad3d2968ad2baa9f41b4e932b0ec556 (commit)
via 8a9ebc14bfc2937d0402aa9f8cba82a323f4889a (commit)
via bf6ac16ae3f906accb7b68ed9fffd343bcc1f148 (commit)
via 5bdd48daaf45e824f3a683933617f41f65543d71 (commit)
via 47493b5d258e66dcc8760f477aa6ecfb9dcbd442 (commit)
via c0e13b2dbd36015f25bdeb8c07abb13ac4ef65ec (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 (f0335c813e9539526a6bd80249431be119af2332)
\
N -- N -- N (c1ace699fcfb4282e0007fc6539cd996b818957d)
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=c1ace699fcfb4282e0007fc6539cd996…
commit c1ace699fcfb4282e0007fc6539cd996b818957d
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 23 14:18:05 2015 +0100
gtphub: refresh TEI timeout, add timestamp to packet struct.
Make sure a TEI mapping remains valid when it is in use. So far all mappings
would expire after 6 hours, in use or not. Note: this does not yet refresh a
Ctrl TEI mapping when a corresponding User TEI is used (todo).
Instead of passing the current time around in function arguments ('now'),
rather store the current time once upon decoding a GTP packet in the
gtp_packet_desc passed around anyway ('p->timestamp').
Add an assertion to make 100% sure the user adds expiring_items in
chronological order.
Fix an argument name for expiry_add().
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=254714ceb1e9581b170044f35257b50d…
commit 254714ceb1e9581b170044f35257b50d36d659b1
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 03:16:19 2015 +0100
gtphub: first vty show commands.
Start adding VTY commands to show rate counters / statistics / cache dumps.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=bd6f15c2664de6d53c6129f86cf104fa…
commit bd6f15c2664de6d53c6129f86cf104fa7fa75495
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 01:28:40 2015 +0100
gtphub: add first rate counters
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=52712a4a879cbe1be066e50c0f9e8efb…
commit 52712a4a879cbe1be066e50c0f9e8efb3a3cab24
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 01:27:22 2015 +0100
gtphub: cosmetic: clarify bind pointer naming.
Some gtphub_bind pointers point to an array of binds, some point directly at
instances. Make the distinction between the two more obvious by adding an
'_arr' suffix to the array ones.
Partly in preparation for upcoming rate counters.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=bd49d8a4b599796369b845b2763f87f3…
commit bd49d8a4b599796369b845b2763f87f39a2d8354
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 00:08:28 2015 +0100
gtphub: add explicit cleanup handles.
Clean up functionality is added for the test suite only, to be able to clean
out all allocations and test against memory leaks.
So far, it was sufficient to expire everything to free a gtphub. In preparation
for the upcoming rate counters, which will need to be freed explicitly, add
gtphub functions to clean up everything.
As added bonus, also close the sockets explicitly -- not really needed upon
program exit, neither by the test suite, but *if* we have a cleanup function,
it should clean up everything properly.
Closing the sockets is however kept separate, for the test suite.
gtphub_start() and gtphub_stop() are for normal use (published in gtphub.h),
and gtphub_init() and gtphub_free() are for the test suite, without sockets.
(gtphub_stop() will probably never be called by anyone, but its existence
completes the picture.)
In gtphub_test.c, have a function to clean up the testing gtphub struct. First,
expire everything by timeout, assert emptiness, then call the cleanup function.
Call from each test in the end.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=88f25563c31fb68d3f0a67d8c80dadc3…
commit 88f25563c31fb68d3f0a67d8c80dadc3492d43fa
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 00:04:41 2015 +0100
gtphub: ensure cleanup of peer addresses.
Upon calling gtphub_peer_del(), all addresses and ports should already have
expired (by force). Make sure the code heeds that with a so far missing
assertion.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=57e34eb473562bf71962f01efaa1db87…
commit 57e34eb473562bf71962f01efaa1db875dd424c5
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 19 00:44:52 2015 +0100
gtphub: always send gtphub's own restart counter.
So far, the sender's restart counter was copied through, which would break as
soon as more than one SGSN or more than one GGSN would talk to the same peer.
gtphub should also persist its restart counter and handle peers that have
rebooted, both of which is still not implemented.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=bbef1e556ad3d2968ad2baa9f41b4e93…
commit bbef1e556ad3d2968ad2baa9f41b4e932b0ec556
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 18:11:32 2015 +0100
gtphub: ares vty and init
From sgsn_vty.c, copy the cfg_grx_ggsn_cmd to add an ares server to the static
sgsn_instance.
This is sort of preliminary. As described in comments, the sgsn_ares functions
should actually be separated from the static sgsn structure. gtphub keeps such
an sgsn structure just for the sgsn_ares functions.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=8a9ebc14bfc2937d0402aa9f8cba82a3…
commit 8a9ebc14bfc2937d0402aa9f8cba82a323f4889a
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 18:11:09 2015 +0100
gtphub: review some logging.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=bf6ac16ae3f906accb7b68ed9fffd343…
commit bf6ac16ae3f906accb7b68ed9fffd343bcc1f148
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 17:53:00 2015 +0100
gtphub: cosmetic: rename a file.
gtphub_ext.c's initial purpose was to wrap a specific function. The file
then turned into everything related to DNS, which fits pretty well. Rename
to gtphub_ares.c.
Tweak the header comment to reflect the new file name.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=5bdd48daaf45e824f3a683933617f41f…
commit 5bdd48daaf45e824f3a683933617f41f65543d71
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 17 14:30:37 2015 +0100
gtphub: nr_map: add min,max and wrap.
Implement min/max bounds for nr_pool, adjust nr_pool_init() and current tests,
and create unit tests for nr_map wrapping.
Sequence numbers range from 0 to 65535, while TEIs range from 1 to 0xffffffff.
Both cause problems when the nr_pool surpasses the range: seq exit their valid
range, causing unmappings to fail, and a TEI would be mapped as zero (invalid).
Add a comment about TEI wrapping, and lose the comment about random TEIs (not
really important).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=47493b5d258e66dcc8760f477aa6ecfb…
commit 47493b5d258e66dcc8760f477aa6ecfb9dcbd442
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 17 14:24:46 2015 +0100
gtphub: fix number map range for TEIs.
Use unsigned int for nr_map, just large enough to fit the TEI space.
Adjust log output formats and casts accordingly.
Fixes: TEIs are uint32_t, but the nr_map so far used int. This would cause TEIs
from 0x80000000 on to be handled and printed as a negative value.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=c0e13b2dbd36015f25bdeb8c07abb13a…
commit c0e13b2dbd36015f25bdeb8c07abb13ac4ef65ec
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 17:09:22 2015 +0100
gtphub: add to debian build
By the example of osmo-sgsn, package osmo-gtphub for debian.
Sponsored-by: On-Waves ehi
-----------------------------------------------------------------------
Summary of changes:
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 4ae165da61243c8ea63f1736d9b1366e6a864d94 (commit)
via a4370dd96947065be6ee976de2a71cc71ed87a61 (commit)
via 273f875c42d74da22b9da442367b9903b4c9c067 (commit)
from 6a8cbe9718d2fdf2c0ace0b70508de6e0a406345 (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:
openbsc/include/openbsc/gtphub.h | 2 --
openbsc/src/gprs/gtphub.c | 2 ++
openbsc/tests/atlocal.in | 1 +
3 files changed, 3 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, neels/gtphub has been updated
discards aa9483cd8daa89eba0f5caba24b2040e400d38ab (commit)
discards fd8af50c1d4b09c52f097cf63617c3b35142ae59 (commit)
discards de381782c60dad935e4c0a2a4a705e2cf5ff90ee (commit)
discards 500d80fa021889c8f1f2e6688257036f789bd908 (commit)
discards f9a27a2622fda4e0bf6067885345e37e3626fc77 (commit)
discards 4ad03af8ca247f6768a8c3f5c0210d118cf06ec2 (commit)
discards 2fc9c478cad5486ac8ae736fac3e554d9002d62c (commit)
discards 63ce3a361f785d973dc3580e175f7ea389558109 (commit)
discards 680d5ba4bf01adf166473e31413ee30da1dd6985 (commit)
discards 20a1ed1fb395071f25db1f34623a568660570c29 (commit)
discards e1762eff33735838605c7808fb620ab62be5bf15 (commit)
discards 44353e02b8f49b3fec9ba8081d0391928ce4fd41 (commit)
discards f8e9fa073df297de80b81b637ad909d8fc261849 (commit)
discards 288e0fd0fceae87bfc4011a716abad7faef1a9fa (commit)
discards d90b06512c965489b5d02308ce90ec2b07f726cf (commit)
discards 253c08a56c64494b9ae10ec467cdaf5d6dcb888b (commit)
discards 6dd7ad4a072bfa6a6a882b86bdfae4212cf6f9da (commit)
discards 2167f3bb9fd556a468f0caf9790d49fdb1dd8984 (commit)
discards 000f4bcbc7a20ebd2635a52d001f80af2cc6b63a (commit)
discards aeed4c0bd01df071c85fc2a203d2f1f7cc3aee57 (commit)
via f0335c813e9539526a6bd80249431be119af2332 (commit)
via 5d367871f9a0200d88d4d9508c970c207677eba0 (commit)
via 67dc19549bc9ba743c62fa3634c3831135c2c91e (commit)
via 3b97a1013e1c924a9df4a51b5879b265fa1f3b89 (commit)
via 4a8c0d63c6aa16d0293febea1e2fd10c820ec879 (commit)
via b81d815cd2cc1e9712c20446da5850caf3ecd723 (commit)
via 4e79d595b0818a3bebaa242271bb1c9efbc4b085 (commit)
via 1d73f6752073bb3bd21347da08a0f92f0754ff5a (commit)
via 3d7cc4de4e97fe9526d44405088c62a6195a1d51 (commit)
via 23896e029df73b9d434dd666fa194be3574d71d6 (commit)
via d7e260e37432e1a6484c062b7faf64ad3af7edd8 (commit)
via d0bc2c601fc8c2642c72b53a9870023ab1d5b853 (commit)
via 0aff78a447d22b2671b5cdc4b4e68500ef8d3d81 (commit)
via 4ae165da61243c8ea63f1736d9b1366e6a864d94 (commit)
via a4370dd96947065be6ee976de2a71cc71ed87a61 (commit)
via 273f875c42d74da22b9da442367b9903b4c9c067 (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 (aa9483cd8daa89eba0f5caba24b2040e400d38ab)
\
N -- N -- N (f0335c813e9539526a6bd80249431be119af2332)
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=f0335c813e9539526a6bd80249431be1…
commit f0335c813e9539526a6bd80249431be119af2332
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 03:16:19 2015 +0100
gtphub: first vty show commands.
Start adding VTY commands to show rate counters / statistics / cache dumps.
http://cgit.osmocom.org/openbsc/commit/?id=5d367871f9a0200d88d4d9508c970c20…
commit 5d367871f9a0200d88d4d9508c970c207677eba0
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 01:28:40 2015 +0100
gtphub: add first rate counters
http://cgit.osmocom.org/openbsc/commit/?id=67dc19549bc9ba743c62fa3634c38311…
commit 67dc19549bc9ba743c62fa3634c3831135c2c91e
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 23 14:18:05 2015 +0100
gtphub: refresh TEI timeout upon messages.
Make sure a TEI mapping remains valid when it is in use. So far all mappings
would expire after 6 hours, in use or not.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=3b97a1013e1c924a9df4a51b5879b265…
commit 3b97a1013e1c924a9df4a51b5879b265fa1f3b89
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 01:27:22 2015 +0100
gtphub: cosmetic: bind pointer clarification.
Partly in preparation for upcoming rate counters.
http://cgit.osmocom.org/openbsc/commit/?id=4a8c0d63c6aa16d0293febea1e2fd10c…
commit 4a8c0d63c6aa16d0293febea1e2fd10c820ec879
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 00:08:28 2015 +0100
gtphub: add explicit cleanup handles.
Clean up functionality is added for the test suite only, to be able to clean
out all allocations and test against memory leaks.
So far, it was sufficient to expire everything to free a gtphub. In preparation
for the upcoming rate counters, which will need to be freed explicitly, add
gtphub functions to clean up everything.
As added bonus, also close the sockets explicitly -- not really needed upon
program exit, neither by the test suite, but *if* we have a cleanup function,
it should clean up everything properly.
Closing the sockets is however kept separate, for the test suite.
gtphub_start() and gtphub_stop() are for normal use (published in gtphub.h),
and gtphub_init() and gtphub_free() are for the test suite, without sockets.
In gtphub_test.c, have a function to clean up the testing gtphub struct. First,
expire everything by timeout, assert emptiness, then call the cleanup function.
Call from each test in the end.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=b81d815cd2cc1e9712c20446da5850ca…
commit b81d815cd2cc1e9712c20446da5850caf3ecd723
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 00:04:41 2015 +0100
gtphub: ensure cleanup of peer addresses.
Upon calling gtphub_peer_del(), all addresses and ports should already have
expired (by force). Make sure the code heeds that with a so far missing
assertion.
http://cgit.osmocom.org/openbsc/commit/?id=4e79d595b0818a3bebaa242271bb1c9e…
commit 4e79d595b0818a3bebaa242271bb1c9efbc4b085
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 19 00:44:52 2015 +0100
gtphub: always send gtphub's own restart counter.
http://cgit.osmocom.org/openbsc/commit/?id=1d73f6752073bb3bd21347da08a0f92f…
commit 1d73f6752073bb3bd21347da08a0f92f0754ff5a
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 18:11:32 2015 +0100
gtphub: ares vty and init
From sgsn_vty.c, copy the cfg_grx_ggsn_cmd to add an ares server to the static
sgsn_instance.
This is sort of preliminary. As described in comments, the sgsn_ares functions
should actually be separated from the static sgsn structure. gtphub keeps such
an sgsn structure just for the sgsn_ares functions.
http://cgit.osmocom.org/openbsc/commit/?id=3d7cc4de4e97fe9526d44405088c62a6…
commit 3d7cc4de4e97fe9526d44405088c62a6195a1d51
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 18:11:09 2015 +0100
gtphub: review some logging.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=23896e029df73b9d434dd666fa194be3…
commit 23896e029df73b9d434dd666fa194be3574d71d6
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 17:53:00 2015 +0100
gtphub: cosmetic: rename a file.
gtphub_ext.c's initial purpose was to wrap a specific function. The file
then turned into everything related to DNS, which fits pretty well. Rename
to gtphub_ares.c.
Tweak the header comment to reflect the new file name.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=d7e260e37432e1a6484c062b7faf64ad…
commit d7e260e37432e1a6484c062b7faf64ad3af7edd8
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 17 14:30:37 2015 +0100
gtphub: nr_map: add min,max and wrap.
Implement min/max bounds for nr_pool, adjust nr_pool_init() and current tests,
and create unit tests for nr_map wrapping.
Sequence numbers range from 0 to 65535, while TEIs range from 1 to 0xffffffff.
Both cause problems when the nr_pool surpasses the range: seq exit their valid
range, causing unmappings to fail, and a TEI would be mapped as zero (invalid).
Add a comment about TEI wrapping, and lose the comment about random TEIs (not
really important).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=d0bc2c601fc8c2642c72b53a9870023a…
commit d0bc2c601fc8c2642c72b53a9870023ab1d5b853
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 17 14:24:46 2015 +0100
gtphub: fix number map range for TEIs.
Use unsigned int for nr_map, just large enough to fit the TEI space.
Adjust log output formats and casts accordingly.
Fixes: TEIs are uint32_t, but the nr_map so far used int. This would cause TEIs
from 0x80000000 on to be handled and printed as a negative value.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=0aff78a447d22b2671b5cdc4b4e68500…
commit 0aff78a447d22b2671b5cdc4b4e68500ef8d3d81
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 17:09:22 2015 +0100
gtphub: properly add to debian build
Copy all osmo-sgsn related things in debian and s/sgsn/gtphub/g (manually).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=4ae165da61243c8ea63f1736d9b1366e…
commit 4ae165da61243c8ea63f1736d9b1366e6a864d94
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 12:47:38 2015 +0100
gtphub: add enable_gtphub_test to atlocal.in.
This line was missing, I noticed only now.
http://cgit.osmocom.org/openbsc/commit/?id=a4370dd96947065be6ee976de2a71cc7…
commit a4370dd96947065be6ee976de2a71cc71ed87a61
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 12:46:11 2015 +0100
gtphub: fix ares segfault: add missing initialization.
The struct gtphub_resolved_ggsn was not initialized properly, so that adding
it to a list caused a segmentation fault.
http://cgit.osmocom.org/openbsc/commit/?id=273f875c42d74da22b9da442367b9903…
commit 273f875c42d74da22b9da442367b9903b4c9c067
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 17 14:21:05 2015 +0100
gtphub: lose obsolete comment.
The del_cb is now also used for ares (GGSN resolution) timeouts, and expiry is
anyway separated from nr_map, so this comment is void.
Sponsored-by: On-Waves ehi
-----------------------------------------------------------------------
Summary of changes:
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, neels/gtphub has been updated
discards 4cde7cb8ea5667afce800970ffc2945f3ba1cd75 (commit)
discards 356d231b1cdb5eb1fafdfac9d8378039b88ee3a2 (commit)
discards 5f0796331427fc48a9f04147ca38ef4309216b4c (commit)
discards d2c292fdf2cf0c7fa949007b29c14716292653c8 (commit)
discards 8e9ca5a430ab2667ebbe05d9f8f9f0a54c69f6ce (commit)
discards fdbad5fc41127a7b3376150a8fd5eb389bbd2f6f (commit)
discards f67625170594f7b167da5859d6df3cfa93a0e2d6 (commit)
discards ee8903a9883bd2e5bd80214bb3615edec2c77b8d (commit)
discards c10068a843415610ddf5a3e5bb1d20c563b78815 (commit)
discards 14a0c123d41bbea39cd241f197838514cbcfdc72 (commit)
discards 744411d58ca51a26202baca6906e0cc6987d1b6c (commit)
discards 4fe3b009ab21a2a910d7dbe581bc927b86fa7820 (commit)
discards 5560de4a426f9a0aed7e5d78a59f871504cdb7a4 (commit)
discards e51e687880aa82c37554c302251f357d502d8a58 (commit)
discards d0ccf2c1e297df7c10c11a4b8d252636c569602a (commit)
discards 835a3220f449aed048a97dee581d3feddb552fd3 (commit)
discards 3b480dfc5eab36337ccd614e7383e772ac6236ee (commit)
discards e9b541ceede3503ea6de5f870e904af1e0a9e675 (commit)
via aa9483cd8daa89eba0f5caba24b2040e400d38ab (commit)
via fd8af50c1d4b09c52f097cf63617c3b35142ae59 (commit)
via de381782c60dad935e4c0a2a4a705e2cf5ff90ee (commit)
via 500d80fa021889c8f1f2e6688257036f789bd908 (commit)
via f9a27a2622fda4e0bf6067885345e37e3626fc77 (commit)
via 4ad03af8ca247f6768a8c3f5c0210d118cf06ec2 (commit)
via 2fc9c478cad5486ac8ae736fac3e554d9002d62c (commit)
via 63ce3a361f785d973dc3580e175f7ea389558109 (commit)
via 680d5ba4bf01adf166473e31413ee30da1dd6985 (commit)
via 20a1ed1fb395071f25db1f34623a568660570c29 (commit)
via e1762eff33735838605c7808fb620ab62be5bf15 (commit)
via 44353e02b8f49b3fec9ba8081d0391928ce4fd41 (commit)
via f8e9fa073df297de80b81b637ad909d8fc261849 (commit)
via 288e0fd0fceae87bfc4011a716abad7faef1a9fa (commit)
via d90b06512c965489b5d02308ce90ec2b07f726cf (commit)
via 253c08a56c64494b9ae10ec467cdaf5d6dcb888b (commit)
via 6dd7ad4a072bfa6a6a882b86bdfae4212cf6f9da (commit)
via 2167f3bb9fd556a468f0caf9790d49fdb1dd8984 (commit)
via 000f4bcbc7a20ebd2635a52d001f80af2cc6b63a (commit)
via aeed4c0bd01df071c85fc2a203d2f1f7cc3aee57 (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 (4cde7cb8ea5667afce800970ffc2945f3ba1cd75)
\
N -- N -- N (aa9483cd8daa89eba0f5caba24b2040e400d38ab)
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=aa9483cd8daa89eba0f5caba24b2040e…
commit aa9483cd8daa89eba0f5caba24b2040e400d38ab
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 12:47:38 2015 +0100
gtphub: add enable_gtphub_test to atlocal.in.
This line was missing, I noticed only now.
http://cgit.osmocom.org/openbsc/commit/?id=fd8af50c1d4b09c52f097cf63617c3b3…
commit fd8af50c1d4b09c52f097cf63617c3b35142ae59
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 12:46:11 2015 +0100
gtphub: fix ares segfault: add missing initialization.
The struct gtphub_resolved_ggsn was not initialized properly, so that adding
it to a list caused a segmentation fault.
http://cgit.osmocom.org/openbsc/commit/?id=de381782c60dad935e4c0a2a4a705e2c…
commit de381782c60dad935e4c0a2a4a705e2cf5ff90ee
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 23 14:46:10 2015 +0100
vtyspace
http://cgit.osmocom.org/openbsc/commit/?id=500d80fa021889c8f1f2e6688257036f…
commit 500d80fa021889c8f1f2e6688257036f789bd908
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 23 14:19:24 2015 +0100
vty
http://cgit.osmocom.org/openbsc/commit/?id=f9a27a2622fda4e0bf6067885345e37e…
commit f9a27a2622fda4e0bf6067885345e37e3626fc77
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 05:51:32 2015 +0100
tei map histogram
http://cgit.osmocom.org/openbsc/commit/?id=4ad03af8ca247f6768a8c3f5c0210d11…
commit 4ad03af8ca247f6768a8c3f5c0210d118cf06ec2
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 04:20:47 2015 +0100
tei stats
http://cgit.osmocom.org/openbsc/commit/?id=2fc9c478cad5486ac8ae736fac3e554d…
commit 2fc9c478cad5486ac8ae736fac3e554d9002d62c
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 03:16:19 2015 +0100
vty_show
http://cgit.osmocom.org/openbsc/commit/?id=63ce3a361f785d973dc3580e175f7ea3…
commit 63ce3a361f785d973dc3580e175f7ea389558109
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 01:28:40 2015 +0100
gtphub: add first rate counters
http://cgit.osmocom.org/openbsc/commit/?id=680d5ba4bf01adf166473e31413ee30d…
commit 680d5ba4bf01adf166473e31413ee30da1dd6985
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 23 14:18:05 2015 +0100
gtphub: refresh TEI timeout upon messages.
Make sure a TEI mapping remains valid when it is in use. So far all mappings
would expire after 6 hours, in use or not.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=20a1ed1fb395071f25db1f34623a5686…
commit 20a1ed1fb395071f25db1f34623a568660570c29
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 01:27:22 2015 +0100
gtphub: cosmetic: bind pointer clarification.
Partly in preparation for upcoming rate counters.
http://cgit.osmocom.org/openbsc/commit/?id=e1762eff33735838605c7808fb620ab6…
commit e1762eff33735838605c7808fb620ab62be5bf15
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 00:08:28 2015 +0100
gtphub: add explicit cleanup handles.
Clean up functionality is added for the test suite only, to be able to clean
out all allocations and test against memory leaks.
So far, it was sufficient to expire everything to free a gtphub. In preparation
for the upcoming rate counters, which will need to be freed explicitly, add
gtphub functions to clean up everything.
As added bonus, also close the sockets explicitly -- not really needed upon
program exit, neither by the test suite, but *if* we have a cleanup function,
it should clean up everything properly.
Closing the sockets is however kept separate, for the test suite.
gtphub_start() and gtphub_stop() are for normal use (published in gtphub.h),
and gtphub_init() and gtphub_free() are for the test suite, without sockets.
In gtphub_test.c, have a function to clean up the testing gtphub struct. First,
expire everything by timeout, assert emptiness, then call the cleanup function.
Call from each test in the end.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=44353e02b8f49b3fec9ba8081d039192…
commit 44353e02b8f49b3fec9ba8081d0391928ce4fd41
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 00:04:41 2015 +0100
gtphub: ensure cleanup of peer addresses.
Upon calling gtphub_peer_del(), all addresses and ports should already have
expired (by force). Make sure the code heeds that with a so far missing
assertion.
http://cgit.osmocom.org/openbsc/commit/?id=f8e9fa073df297de80b81b637ad909d8…
commit f8e9fa073df297de80b81b637ad909d8fc261849
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 19 00:44:52 2015 +0100
gtphub: always send gtphub's own restart counter.
http://cgit.osmocom.org/openbsc/commit/?id=288e0fd0fceae87bfc4011a716abad7f…
commit 288e0fd0fceae87bfc4011a716abad7faef1a9fa
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 18:11:32 2015 +0100
gtphub: ares vty and init
From sgsn_vty.c, copy the cfg_grx_ggsn_cmd to add an ares server to the static
sgsn_instance.
This is sort of preliminary. As described in comments, the sgsn_ares functions
should actually be separated from the static sgsn structure. gtphub keeps such
an sgsn structure just for the sgsn_ares functions.
http://cgit.osmocom.org/openbsc/commit/?id=d90b06512c965489b5d02308ce90ec2b…
commit d90b06512c965489b5d02308ce90ec2b07f726cf
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 18:11:09 2015 +0100
gtphub: review some logging.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=253c08a56c64494b9ae10ec467cdaf5d…
commit 253c08a56c64494b9ae10ec467cdaf5d6dcb888b
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 17:53:00 2015 +0100
gtphub: cosmetic: rename a file.
gtphub_ext.c's initial purpose was to wrap a specific function. The file
then turned into everything related to DNS, which fits pretty well. Rename
to gtphub_ares.c.
Tweak the header comment to reflect the new file name.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=6dd7ad4a072bfa6a6a882b86bdfae421…
commit 6dd7ad4a072bfa6a6a882b86bdfae4212cf6f9da
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 17 14:30:37 2015 +0100
gtphub: nr_map: add min,max and wrap.
Implement min/max bounds for nr_pool, adjust nr_pool_init() and current tests,
and create unit tests for nr_map wrapping.
Sequence numbers range from 0 to 65535, while TEIs range from 1 to 0xffffffff.
Both cause problems when the nr_pool surpasses the range: seq exit their valid
range, causing unmappings to fail, and a TEI would be mapped as zero (invalid).
Add a comment about TEI wrapping, and lose the comment about random TEIs (not
really important).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=2167f3bb9fd556a468f0caf9790d49fd…
commit 2167f3bb9fd556a468f0caf9790d49fdb1dd8984
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 17 14:24:46 2015 +0100
gtphub: fix number map range for TEIs.
Use unsigned int for nr_map, just large enough to fit the TEI space.
Adjust log output formats and casts accordingly.
Fixes: TEIs are uint32_t, but the nr_map so far used int. This would cause TEIs
from 0x80000000 on to be handled and printed as a negative value.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=000f4bcbc7a20ebd2635a52d001f80af…
commit 000f4bcbc7a20ebd2635a52d001f80af2cc6b63a
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 17 14:21:05 2015 +0100
gtphub: lose obsolete comment.
The del_cb is now also used for ares (GGSN resolution) timeouts, and expiry is
anyway separated from nr_map, so this comment is void.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=aeed4c0bd01df071c85fc2a203d2f1f7…
commit aeed4c0bd01df071c85fc2a203d2f1f7cc3aee57
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 17:09:22 2015 +0100
gtphub: properly add to debian build
Copy all osmo-sgsn related things in debian and s/sgsn/gtphub/g (manually).
Sponsored-by: On-Waves ehi
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/gprs/gtphub.c | 2 ++
openbsc/src/gprs/gtphub_vty.c | 2 +-
openbsc/tests/atlocal.in | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
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 code for Iuh interface".
The branch, master has been updated
via 8ea918d772ec2e9eac460844c0c66f829dfa9c97 (commit)
via 53018e937cf3f07c19dbc4e58ffad699213d408f (commit)
via ec0e50e1481a8905ba0998fc07fd62b8ac2acfb0 (commit)
via 6e59d413a2c49ecf4e14fef555b1ba344d744dd7 (commit)
via 54a9a143f0e013eed28d049243709abf4cc6e5f2 (commit)
from cc5f7cafa236b7eefbb123f7263f0d54cae6bf6b (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-iuh/commit/?id=8ea918d772ec2e9eac460844c0c66f8…
commit 8ea918d772ec2e9eac460844c0c66f829dfa9c97
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Nov 23 15:50:06 2015 +0100
tests: Test cropping of string still is NULL-terminated
http://cgit.osmocom.org/osmo-iuh/commit/?id=53018e937cf3f07c19dbc4e58ffad69…
commit 53018e937cf3f07c19dbc4e58ffad699213d408f
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Nov 23 15:49:29 2015 +0100
asn1helpers: Ensure that string is NULL-terminated
The buf in an OCTET_STRING_t is not (necessarily) NULL-terminated, so
make sure there is a terminating NULL byte at the end in the resulting
string.
http://cgit.osmocom.org/osmo-iuh/commit/?id=ec0e50e1481a8905ba0998fc07fd62b…
commit ec0e50e1481a8905ba0998fc07fd62b8ac2acfb0
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Nov 23 15:48:59 2015 +0100
tests: Test asn1_strncpy function
http://cgit.osmocom.org/osmo-iuh/commit/?id=6e59d413a2c49ecf4e14fef555b1ba3…
commit 6e59d413a2c49ecf4e14fef555b1ba344d744dd7
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Nov 23 14:03:04 2015 +0100
asn1helpers.c: Fix asn1bitstr_to_u32 function
The value in buf is kept in host byte order so no need to swap it
around.
http://cgit.osmocom.org/osmo-iuh/commit/?id=54a9a143f0e013eed28d049243709ab…
commit 54a9a143f0e013eed28d049243709abf4cc6e5f2
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Nov 23 14:01:25 2015 +0100
tests: Test asn1_u32_to_bitstring and asn1bitstr_to_u32
-----------------------------------------------------------------------
Summary of changes:
src/asn1helpers.c | 18 +++++++--------
src/tests/Makefile | 2 +-
src/tests/test-helpers.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++-
3 files changed, 65 insertions(+), 12 deletions(-)
hooks/post-receive
--
Osmocom code for Iuh interface
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, neels/gtphub has been updated
discards 3747d8553f028b0857a0ca71c7170a8936ff1602 (commit)
discards 6bc37b2a774d62c0d7ce140344d9ce64326a83bd (commit)
discards c571a0550f912b7a2ebe85c45143471dd187a660 (commit)
discards d0073ad283c652a9ec1c05dd0bf0b623a6c9e97d (commit)
discards 131fc4edf6301f712d0afaf3e3072dc45de13cb5 (commit)
discards 0fd87fd88965c25bb9e0ec7c67012706d6ff8e83 (commit)
discards d4237299ec335497df47979faf4bcd498eeac252 (commit)
discards d7f934218dbe41f0ef8d2f217bfac26d5df466fe (commit)
discards fd79faead12ae06f1c187bcb962a801f8a250252 (commit)
discards 9eb20d33ba59fee35c0a91b0e2b24452d2be423c (commit)
discards c113189009c69fcefe42a245107503ec723502b6 (commit)
discards 493d49b98e52978917b4a01eaeb5ea7489c419f4 (commit)
discards 9f50c610b9b2851defb9323bff402edebe1420e4 (commit)
discards 5d60b06c58b1b3849c7b56991e722bcd11767783 (commit)
discards 84f8f38b5c1cd7ceeaafc221987421943e7a2040 (commit)
via 4cde7cb8ea5667afce800970ffc2945f3ba1cd75 (commit)
via 356d231b1cdb5eb1fafdfac9d8378039b88ee3a2 (commit)
via 5f0796331427fc48a9f04147ca38ef4309216b4c (commit)
via d2c292fdf2cf0c7fa949007b29c14716292653c8 (commit)
via 8e9ca5a430ab2667ebbe05d9f8f9f0a54c69f6ce (commit)
via fdbad5fc41127a7b3376150a8fd5eb389bbd2f6f (commit)
via f67625170594f7b167da5859d6df3cfa93a0e2d6 (commit)
via ee8903a9883bd2e5bd80214bb3615edec2c77b8d (commit)
via c10068a843415610ddf5a3e5bb1d20c563b78815 (commit)
via 14a0c123d41bbea39cd241f197838514cbcfdc72 (commit)
via 744411d58ca51a26202baca6906e0cc6987d1b6c (commit)
via 4fe3b009ab21a2a910d7dbe581bc927b86fa7820 (commit)
via 5560de4a426f9a0aed7e5d78a59f871504cdb7a4 (commit)
via e51e687880aa82c37554c302251f357d502d8a58 (commit)
via d0ccf2c1e297df7c10c11a4b8d252636c569602a (commit)
via 835a3220f449aed048a97dee581d3feddb552fd3 (commit)
via 3b480dfc5eab36337ccd614e7383e772ac6236ee (commit)
via e9b541ceede3503ea6de5f870e904af1e0a9e675 (commit)
via 6a8cbe9718d2fdf2c0ace0b70508de6e0a406345 (commit)
via 97b6bfa996ed1745d27c5598186c4583f7e90861 (commit)
via 1b9c815024a1f863d83b70d0bb48c513f8e4cbeb (commit)
via 557c84e9f7d3273734685049f628d65a035265c7 (commit)
via a2bbc5ec0e6481bb5b65da7bdbde03a424437af4 (commit)
via ae2c18c57b5b8d2133a42297fb7ce02a8f332cce (commit)
via 0d21ac8f5a4563e10d887e610a8cffff2a5672b8 (commit)
via 24e3c3e13657210f2ac5f41942da82341ff7b25d (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 (3747d8553f028b0857a0ca71c7170a8936ff1602)
\
N -- N -- N (4cde7cb8ea5667afce800970ffc2945f3ba1cd75)
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=4cde7cb8ea5667afce800970ffc2945f…
commit 4cde7cb8ea5667afce800970ffc2945f3ba1cd75
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 23 14:37:09 2015 +0100
gtphub: test TEI refreshing
http://cgit.osmocom.org/openbsc/commit/?id=356d231b1cdb5eb1fafdfac9d8378039…
commit 356d231b1cdb5eb1fafdfac9d8378039b88ee3a2
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 23 14:19:24 2015 +0100
vty
http://cgit.osmocom.org/openbsc/commit/?id=5f0796331427fc48a9f04147ca38ef43…
commit 5f0796331427fc48a9f04147ca38ef4309216b4c
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 23 14:18:05 2015 +0100
refresh TEI
http://cgit.osmocom.org/openbsc/commit/?id=d2c292fdf2cf0c7fa949007b29c14716…
commit d2c292fdf2cf0c7fa949007b29c14716292653c8
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 05:51:32 2015 +0100
tei map histogram
http://cgit.osmocom.org/openbsc/commit/?id=8e9ca5a430ab2667ebbe05d9f8f9f0a5…
commit 8e9ca5a430ab2667ebbe05d9f8f9f0a54c69f6ce
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 04:20:47 2015 +0100
tei stats
http://cgit.osmocom.org/openbsc/commit/?id=fdbad5fc41127a7b3376150a8fd5eb38…
commit fdbad5fc41127a7b3376150a8fd5eb389bbd2f6f
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 03:16:19 2015 +0100
vty_show
http://cgit.osmocom.org/openbsc/commit/?id=f67625170594f7b167da5859d6df3cfa…
commit f67625170594f7b167da5859d6df3cfa93a0e2d6
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 01:28:40 2015 +0100
gtphub: add first rate counters
http://cgit.osmocom.org/openbsc/commit/?id=ee8903a9883bd2e5bd80214bb3615ede…
commit ee8903a9883bd2e5bd80214bb3615edec2c77b8d
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 01:27:22 2015 +0100
gtphub: cosmetic: bind pointer clarification.
Partly in preparation for upcoming rate counters.
http://cgit.osmocom.org/openbsc/commit/?id=c10068a843415610ddf5a3e5bb1d20c5…
commit c10068a843415610ddf5a3e5bb1d20c563b78815
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 00:08:28 2015 +0100
gtphub: add explicit cleanup handles.
Clean up functionality is added for the test suite only, to be able to clean
out all allocations and test against memory leaks.
So far, it was sufficient to expire everything to free a gtphub. In preparation
for the upcoming rate counters, which will need to be freed explicitly, add
gtphub functions to clean up everything.
As added bonus, also close the sockets explicitly -- not really needed upon
program exit, neither by the test suite, but *if* we have a cleanup function,
it should clean up everything properly.
Closing the sockets is however kept separate, for the test suite.
gtphub_start() and gtphub_stop() are for normal use (published in gtphub.h),
and gtphub_init() and gtphub_free() are for the test suite, without sockets.
In gtphub_test.c, have a function to clean up the testing gtphub struct. First,
expire everything by timeout, assert emptiness, then call the cleanup function.
Call from each test in the end.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=14a0c123d41bbea39cd241f197838514…
commit 14a0c123d41bbea39cd241f197838514cbcfdc72
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 20 00:04:41 2015 +0100
gtphub: ensure cleanup of peer addresses.
Upon calling gtphub_peer_del(), all addresses and ports should already have
expired (by force). Make sure the code heeds that with a so far missing
assertion.
http://cgit.osmocom.org/openbsc/commit/?id=744411d58ca51a26202baca6906e0cc6…
commit 744411d58ca51a26202baca6906e0cc6987d1b6c
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 19 00:44:52 2015 +0100
gtphub: always send gtphub's own restart counter.
http://cgit.osmocom.org/openbsc/commit/?id=4fe3b009ab21a2a910d7dbe581bc927b…
commit 4fe3b009ab21a2a910d7dbe581bc927b86fa7820
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 18:11:32 2015 +0100
gtphub: ares vty and init
From sgsn_vty.c, copy the cfg_grx_ggsn_cmd to add an ares server to the static
sgsn_instance.
This is sort of preliminary. As described in comments, the sgsn_ares functions
should actually be separated from the static sgsn structure. gtphub keeps such
an sgsn structure just for the sgsn_ares functions.
http://cgit.osmocom.org/openbsc/commit/?id=5560de4a426f9a0aed7e5d78a59f8715…
commit 5560de4a426f9a0aed7e5d78a59f871504cdb7a4
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 18:11:09 2015 +0100
gtphub: review some logging.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=e51e687880aa82c37554c302251f357d…
commit e51e687880aa82c37554c302251f357d502d8a58
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 17:53:00 2015 +0100
gtphub: cosmetic: rename a file.
gtphub_ext.c's initial purpose was to wrap a specific function. The file
then turned into everything related to DNS, which fits pretty well. Rename
to gtphub_ares.c.
Tweak the header comment to reflect the new file name.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=d0ccf2c1e297df7c10c11a4b8d252636…
commit d0ccf2c1e297df7c10c11a4b8d252636c569602a
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 18 17:09:22 2015 +0100
gtphub: properly add to debian build
Copy all osmo-sgsn related things in debian and s/sgsn/gtphub/g (manually).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=835a3220f449aed048a97dee581d3fed…
commit 835a3220f449aed048a97dee581d3feddb552fd3
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 17 14:30:37 2015 +0100
gtphub: nr_map: add min,max and wrap.
Implement min/max bounds for nr_pool, adjust nr_pool_init() and current tests,
and create unit tests for nr_map wrapping.
Sequence numbers range from 0 to 65535, while TEIs range from 1 to 0xffffffff.
Both cause problems when the nr_pool surpasses the range: seq exit their valid
range, causing unmappings to fail, and a TEI would be mapped as zero (invalid).
Add a comment about TEI wrapping, and lose the comment about random TEIs (not
really important).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=3b480dfc5eab36337ccd614e7383e772…
commit 3b480dfc5eab36337ccd614e7383e772ac6236ee
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 17 14:24:46 2015 +0100
gtphub: fix number map range for TEIs.
Use unsigned int for nr_map, just large enough to fit the TEI space.
Adjust log output formats and casts accordingly.
Fixes: TEIs are uint32_t, but the nr_map so far used int. This would cause TEIs
from 0x80000000 on to be handled and printed as a negative value.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=e9b541ceede3503ea6de5f870e904af1…
commit e9b541ceede3503ea6de5f870e904af1e0a9e675
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 17 14:21:05 2015 +0100
gtphub: lose obsolete comment.
The del_cb is now also used for ares (GGSN resolution) timeouts, and expiry is
anyway separated from nr_map, so this comment is void.
Sponsored-by: On-Waves ehi
-----------------------------------------------------------------------
Summary of changes:
openbsc/configure.ac | 2 +-
openbsc/include/openbsc/Makefile.am | 2 +-
openbsc/include/openbsc/gsm_data.h | 2 +-
openbsc/include/openbsc/gsm_data_shared.h | 8 ++--
openbsc/include/openbsc/gtphub.h | 10 ++++-
openbsc/src/gprs/Makefile.am | 3 +-
openbsc/src/gprs/gtphub.c | 62 +++++++++++++++++++------------
openbsc/src/gprs/gtphub_vty.c | 32 +++++++++++++++-
openbsc/src/ipaccess/ipaccess-config.c | 2 +-
openbsc/src/libbsc/bsc_init.c | 4 +-
openbsc/src/libbsc/bsc_vty.c | 32 ++++------------
openbsc/src/libcommon/gsm_data.c | 3 +-
openbsc/src/utils/bs11_config.c | 2 +-
openbsc/src/utils/meas_db.c | 1 +
openbsc/tests/Makefile.am | 7 +++-
openbsc/tests/gtphub/gtphub_test.c | 24 +++++++++++-
openbsc/tests/smpp/Makefile.am | 5 ++-
17 files changed, 130 insertions(+), 71 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 "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via 5fa0dcc2750a79920d4a6404e960c50667840058 (commit)
via d086f2119509af2e26a0d7a587b9e176df814998 (commit)
from a10ef29b47123a60755b59befca9b2d45f3e29fa (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=5fa0dcc2750a79920d4a6404e960…
commit 5fa0dcc2750a79920d4a6404e960c50667840058
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sat Nov 21 11:57:06 2015 +0100
configure: It should be --with-system-talloc, not --enable-system-talloc
As we are making a decision whether we should use an existing system
library, we call it --with-system-talloc, rather than
--enable-system-talloc.
http://cgit.osmocom.org/libosmocore/commit/?id=d086f2119509af2e26a0d7a587b9…
commit d086f2119509af2e26a0d7a587b9e176df814998
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sat Nov 21 11:38:09 2015 +0100
configure.ac: Use AS_IF() instead of shell-if for PKG_CONFIG
https://autotools.io/pkgconfig/pkg_check_modules.html
> If you have the first call to PKG_CHECK_MODULES inside a bash
> conditional block, the expansion of PKG_PROG_PKG_CONFIG will also be
> conditional
> You can solve this problem in two ways; you can either explicitly call
> PKG_PROG_PKG_CONFIG outside of any conditional, forcing checking for
> pkg-config as soon as possible; or you can rewrite your conditionals
> to use the proper syntax
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 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, master has been updated
via 6a8cbe9718d2fdf2c0ace0b70508de6e0a406345 (commit)
via 97b6bfa996ed1745d27c5598186c4583f7e90861 (commit)
from 1b9c815024a1f863d83b70d0bb48c513f8e4cbeb (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=6a8cbe9718d2fdf2c0ace0b70508de6e…
commit 6a8cbe9718d2fdf2c0ace0b70508de6e0a406345
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sat Nov 21 15:43:29 2015 +0100
tests/smpp: Fix linking order
At least when using system-wide libtalloc, the LIBOSMOCORE_LIBS
must come last, after the static libraries under libcommon.
http://cgit.osmocom.org/openbsc/commit/?id=97b6bfa996ed1745d27c5598186c4583…
commit 97b6bfa996ed1745d27c5598186c4583f7e90861
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sat Nov 21 13:16:08 2015 +0100
Fix compilation with no libc-ares present on the system
This build failure was introduced with the OAP and gtphub changes.
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/gprs/Makefile.am | 3 +--
openbsc/tests/Makefile.am | 5 ++++-
openbsc/tests/smpp/Makefile.am | 5 +++--
3 files changed, 8 insertions(+), 5 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 "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via a10ef29b47123a60755b59befca9b2d45f3e29fa (commit)
from b32a19467ffde540b059bf166a378decf07701b8 (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=a10ef29b47123a60755b59befca9…
commit a10ef29b47123a60755b59befca9b2d45f3e29fa
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sat Nov 21 00:41:43 2015 +0100
use system-wide libtalloc with --enable-system-talloc
This introduces a new configure flag by which the libosmocore-internal
talloc code is not compiled, but rather a system-wide libtalloc is used.
When we started openbsc/libosmocore in 2008, libtalloc was not widely
present on systems yet. This has changed meanwhile, and we should
simply use the system-wide library
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 45 +++++++++++++++++++++-
include/Makefile.am | 15 +++++++-
.../osmocom/core/{talloc.h => talloc-internal.h} | 0
libosmocore.pc.in | 2 +-
4 files changed, 59 insertions(+), 3 deletions(-)
rename include/osmocom/core/{talloc.h => talloc-internal.h} (100%)
hooks/post-receive
--
An utility library for Open Source Mobile Communications