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, jerlbeck/wip/edge has been updated
discards ebe7628ee120988381a35c1b2b5d13694757b56b (commit)
discards 483de5ea056b0d5259a81735a7faec2c2d177301 (commit)
discards e44582acdccda82484e68691393507e6e064b901 (commit)
discards a19e5a536b9f8d0b38abc86ddda1cdda5e2e74f2 (commit)
discards 193f5a45f44d23c28613dfc636d997fe74af7262 (commit)
discards f3a2df2c1e07ac06f002d2196a315037ad97af5c (commit)
discards f0cf3d6325de6e695434954cd8514a9b72be8488 (commit)
via ec67568de53978dfd6fa57ddee840d9985f4c99a (commit)
via 21c661b182b3e764a6ce3a473c6768a61bddbe52 (commit)
via 00c685a2bbd895b2c64bbb5d746d12b944a53036 (commit)
via 88de08f4abd569885ee31f1de54466edf6930a07 (commit)
via 06d5aa8131d20734984a4335b4b43d5fbee0d45e (commit)
via 858170188b909aefb376770f14b3371ec91d9cc1 (commit)
via 76d767cbe84fbfecfd3003af622f949f04aadbe4 (commit)
via 953c78987a2dc99d4afcd3752507fcedabc9830f (commit)
via c3c58046c7223d48c61eb7126f33dca300254485 (commit)
via 111ebe84c2b0a49472ec59022aecf56adfefd82e (commit)
via eb93f592e5bdb729900d64a133d62f9fde9e280f (commit)
via f5898a0528eef82223c450caaf210389c5f00aee (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 (ebe7628ee120988381a35c1b2b5d13694757b56b)
\
N -- N -- N (ec67568de53978dfd6fa57ddee840d9985f4c99a)
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-pcu/commit/?id=ec67568de53978dfd6fa57ddee840d9…
commit ec67568de53978dfd6fa57ddee840d9985f4c99a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 30 18:09:17 2015 +0100
edge: Do CS check in rcv_block (TODO)
- split into rcv_block_gprd/egprs
- move length check from rcv_data_block_acknowledged to rcv_block
http://cgit.osmocom.org/osmo-pcu/commit/?id=21c661b182b3e764a6ce3a473c6768a…
commit 21c661b182b3e764a6ce3a473c6768a61bddbe52
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 30 18:06:50 2015 +0100
edge: Add GprsCodingScheme class (TODO)
TODO
- cm
- tests
http://cgit.osmocom.org/osmo-pcu/commit/?id=00c685a2bbd895b2c64bbb5d746d12b…
commit 00c685a2bbd895b2c64bbb5d746d12b944a53036
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 18:10:39 2015 +0100
edge: Extend gprs_rlcmac_dl_tbf::handle by egprs_ms_class
The multislot (MS) class and the EGPRS MS class can also be passed
via BSSGP in an MS Radio Access Capability element which can
optionally be contained in a DL-UNITDATA PDU. While this case is fully
supported for GPRS, the EGPRS MS class in BSSGP messages is ignored.
This commit extends gprs_rlcmac_dl_tbf::handle to pass the EGPRS MS
class, too.
Note, that the EGPRS class is not yet taken from the CSN.1 RA
capability and is always set to 0. Note also, that append_data
still uses ms_class only.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=88de08f4abd569885ee31f1de54466e…
commit 88de08f4abd569885ee31f1de54466edf6930a07
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Sep 28 18:54:32 2015 +0200
edge: Enable EGPRS if configured and egprs_ms_class present
Enable the TBF to use EGPRS if the bts->egprs_enabled config variable
has been set via the VTY "egprs" command and if the MS has signaled a
EGPRS multislot class.
Tell the MS to use EGPRS if the condition above holds.
Note that this will cause the MS to use EGPRS RLC block formats for
further messages which are not yet understood by the PCU.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=06d5aa8131d20734984a4335b4b43d5…
commit 06d5aa8131d20734984a4335b4b43d5fbee0d45e
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 15:17:34 2015 +0100
edge: Support EGPRS multislot class handling in tbf_alloc
Add an egprs_ms_class argument to the allocation functions and
set/pass it where necessary.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=858170188b909aefb376770f14b3371…
commit 858170188b909aefb376770f14b3371ec91d9cc1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 16:17:40 2015 +0100
edge: Add m_egprs_enabled and related methods to TBF
Add the following methods to gprs_rlcmac_tbf:
- is_egprs_enabled
- enable_egprs
- disable_egprs
Also show the value of the flag in name() by displaying "EGPRS" if
it is set.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=76d767cbe84fbfecfd3003af622f949…
commit 76d767cbe84fbfecfd3003af622f949f04aadbe4
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Sep 28 18:54:32 2015 +0200
edge: Support EGPRS in packet uplink assignment message
Currently the Encoding::write_packet_uplink_assignment method only
supports the GPRS variant of the message.
This commit adds the missing EGPRS variant to the encoder.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=953c78987a2dc99d4afcd3752507fce…
commit 953c78987a2dc99d4afcd3752507fcedabc9830f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Sep 28 18:12:57 2015 +0200
edge: Add egprs config command
Add a global config flag to enable the use EDGE/EGPRS.
The following VTY commands are added to node config-pcu:
- egprs Enables EGPRS
- no egprs Disable EGPRS
Note that enabling EGPRS is experimental and will most likely break
packet transmission until a minimal required set of EGPRS
functionality is implemented.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=c3c58046c7223d48c61eb7126f33dca…
commit c3c58046c7223d48c61eb7126f33dca300254485
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Sep 28 17:55:32 2015 +0200
edge: Get EGPRS multislot class
The EGPRS MS class ist contained in the MS_RA_capability information.
Its presence indicates, that the MS is able (and willing) to use
EGPRS.
This commit implements basic support for retrieving, storing, and
showing it in the VTY. The information is stored in the MS object.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
examples/osmo-pcu.cfg | 4 --
src/Makefile.am | 6 +-
src/bts.cpp | 89 +++++++++++++++++++------
src/bts.h | 32 +++++++++
src/gprs_coding_scheme.cpp | 84 +++++++++++++++++++++++
src/{gprs_ms_storage.h => gprs_coding_scheme.h} | 46 ++++++++-----
src/gprs_ms_storage.cpp | 5 ++
src/pcu_main.cpp | 2 +
src/tbf_dl.cpp | 3 +-
9 files changed, 226 insertions(+), 45 deletions(-)
create mode 100644 src/gprs_coding_scheme.cpp
copy src/{gprs_ms_storage.h => gprs_coding_scheme.h} (51%)
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 "Osmocom code for Iuh interface".
The branch, master has been updated
via 9a12a4b992b59698da12f6a24c5e659389c1f739 (commit)
via b2548fb1e8463119db0b1a16303183745a8002fb (commit)
via e2956431e8f938daff35efd35b9019a99c0e46ca (commit)
via 23c86e38bc3879c0ba8283d457014931f414c23e (commit)
via e3adf0edc3c0070337a85e448481c10f477c8d9c (commit)
via ea4c088e780a974b88acde66e16f9beb1aaf5adc (commit)
from 1a86955288e44041e56c411f59407a04e49739b5 (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=9a12a4b992b59698da12f6a24c5e659…
commit 9a12a4b992b59698da12f6a24c5e659389c1f739
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Nov 30 16:27:11 2015 +0100
test-helpers: Also print out hexdump of encoded bit string
http://cgit.osmocom.org/osmo-iuh/commit/?id=b2548fb1e8463119db0b1a163031837…
commit b2548fb1e8463119db0b1a16303183745a8002fb
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Nov 30 16:24:57 2015 +0100
asn1helpers, test-helpers: Use ntoh/hton* to convert integers
Since the asn1_u32/24_to_bitstring functions need to change the source
variable change the signature to clarify that the uint32_t * will be
modified.
http://cgit.osmocom.org/osmo-iuh/commit/?id=e2956431e8f938daff35efd35b9019a…
commit e2956431e8f938daff35efd35b9019a99c0e46ca
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Nov 30 16:05:51 2015 +0100
test-hnbap: Check CID and Identity Info as well
http://cgit.osmocom.org/osmo-iuh/commit/?id=23c86e38bc3879c0ba8283d45701493…
commit 23c86e38bc3879c0ba8283d457014931f414c23e
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Mon Nov 30 16:03:36 2015 +0100
test-hnbap: Use different types for UE request and accept IEs
http://cgit.osmocom.org/osmo-iuh/commit/?id=e3adf0edc3c0070337a85e448481c10…
commit e3adf0edc3c0070337a85e448481c10f477c8d9c
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Fri Nov 27 17:53:19 2015 +0100
asn1helpers: Fix asn1str_to_uX functions
The values are stored big-endian so convert them
http://cgit.osmocom.org/osmo-iuh/commit/?id=ea4c088e780a974b88acde66e16f9be…
commit ea4c088e780a974b88acde66e16f9beb1aaf5adc
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Fri Nov 27 16:14:09 2015 +0100
test-hnbap: Test decoding of the hnbap registration request
The 16-bit values are not decoded correctly
-----------------------------------------------------------------------
Summary of changes:
src/asn1helpers.c | 29 +++++++++++--------
src/asn1helpers.h | 4 +--
src/tests/test-helpers.c | 19 ++++++++++---
src/tests/test-hnbap.c | 74 ++++++++++++++++++++++++++++++++++++++++++------
4 files changed, 99 insertions(+), 27 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 1c34baf6dcd719cced1e93a04187aa9218d7956f (commit)
discards 1f33f68e80466e3878075355f996ec2a6bb1b7d7 (commit)
discards 3d6f62161a9c37b7e55d797930d9617e244fefbc (commit)
discards c0ad6a1fd06a96fa6824268eee0aa9712e596863 (commit)
discards 0d5265ca3a9d782c69f99245e60a74e0fdd80e68 (commit)
discards 6d021fcbe60859a8092bf72a5a240bfebf80230d (commit)
discards cfc4d46ee29f277a2c3c27dc0613121eb0d69d88 (commit)
discards 76d384de1e354a47ce1a04e81345807277f955f5 (commit)
via 19d2e1e3c16235c904490ae0d5b9c3961ee03a35 (commit)
via ba9b2af0ff5094c7142b62dd173df2a5c78df033 (commit)
via 2cc0965df66c1500ec18dd07fa2d7ce1cceac9bd (commit)
via 3aeb152a6360f9ce2b622f669f19d86c30299b31 (commit)
via b46f6ca52e4a257863bd0aa3e7285c984f323337 (commit)
via c1a26b6fa0ea14a4483b823c21d2999c3b64084e (commit)
via cc6ec457eead6eba56230d44c8874c32a6544c20 (commit)
via c4f6577c36dcc9308def2e58cae660517dbb3c2a (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 (1c34baf6dcd719cced1e93a04187aa9218d7956f)
\
N -- N -- N (19d2e1e3c16235c904490ae0d5b9c3961ee03a35)
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=19d2e1e3c16235c904490ae0d5b9c396…
commit 19d2e1e3c16235c904490ae0d5b9c3961ee03a35
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 14:17:21 2015 +0100
gtphub: cosmetic: move a function within c file.
Move the SGSN read callback next to the GGSN read callback.
http://cgit.osmocom.org/openbsc/commit/?id=ba9b2af0ff5094c7142b62dd173df2a5…
commit ba9b2af0ff5094c7142b62dd173df2a5c78df033
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 14:13:33 2015 +0100
gtphub: remove obsolete todo comment
http://cgit.osmocom.org/openbsc/commit/?id=2cc0965df66c1500ec18dd07fa2d7ce1…
commit 2cc0965df66c1500ec18dd07fa2d7ce1cceac9bd
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 14:13:19 2015 +0100
gtphub: fix segfault when empty config.
gsn_addr_from_str(): return error upon NULL string.
Add some debug logging.
With an empty config, no bind addresses were set, and the address parser
did not check for a NULL pointer, resulting in a segfault.
http://cgit.osmocom.org/openbsc/commit/?id=3aeb152a6360f9ce2b622f669f19d86c…
commit 3aeb152a6360f9ce2b622f669f19d86c30299b31
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 12:58:48 2015 +0100
gtphub: be more fatal about not finding an unused TEI.
http://cgit.osmocom.org/openbsc/commit/?id=b46f6ca52e4a257863bd0aa3e7285c98…
commit b46f6ca52e4a257863bd0aa3e7285c984f323337
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 12:19:50 2015 +0100
gtphub: fix some style complaints from cppcheck
http://cgit.osmocom.org/openbsc/commit/?id=c1a26b6fa0ea14a4483b823c21d2999c…
commit c1a26b6fa0ea14a4483b823c21d2999c3b64084e
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 00:07:02 2015 +0100
gtphub: add two stubs
http://cgit.osmocom.org/openbsc/commit/?id=cc6ec457eead6eba56230d44c8874c32…
commit cc6ec457eead6eba56230d44c8874c32a6544c20
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:50:45 2015 +0100
gtphub: vty: add missing SGSN-proxy output.
http://cgit.osmocom.org/openbsc/commit/?id=c4f6577c36dcc9308def2e58cae66051…
commit c4f6577c36dcc9308def2e58cae660517dbb3c2a
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:49:48 2015 +0100
gtphub: refactor: use side_idx everywhere.
This is a mostly cosmetic change. Instead of separate buffer handling
functions, reduce some code duplication by using a side_idx just like the
plane_idx, with arrays.
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/gprs/gtphub.c | 2 +-
1 file changed, 1 insertion(+), 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 "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, neels/gtphub has been updated
discards e309d58a34331c4f96cc99764f58b3c5a5d4862e (commit)
discards d2fdd5f834a25eb7ef230ba9a9fdba523c2990d9 (commit)
discards a215a28ca4b2dbf5d5999169e74f16329214c520 (commit)
discards a90e6e297ae1336531dcabc7e6b0de73b9045075 (commit)
via 1c34baf6dcd719cced1e93a04187aa9218d7956f (commit)
via 1f33f68e80466e3878075355f996ec2a6bb1b7d7 (commit)
via 3d6f62161a9c37b7e55d797930d9617e244fefbc (commit)
via c0ad6a1fd06a96fa6824268eee0aa9712e596863 (commit)
via 0d5265ca3a9d782c69f99245e60a74e0fdd80e68 (commit)
via 6d021fcbe60859a8092bf72a5a240bfebf80230d (commit)
via cfc4d46ee29f277a2c3c27dc0613121eb0d69d88 (commit)
via 76d384de1e354a47ce1a04e81345807277f955f5 (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 (e309d58a34331c4f96cc99764f58b3c5a5d4862e)
\
N -- N -- N (1c34baf6dcd719cced1e93a04187aa9218d7956f)
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=1c34baf6dcd719cced1e93a04187aa92…
commit 1c34baf6dcd719cced1e93a04187aa9218d7956f
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 14:17:21 2015 +0100
gtphub: cosmetic: move a function within c file.
Move the SGSN read callback next to the GGSN read callback.
http://cgit.osmocom.org/openbsc/commit/?id=1f33f68e80466e3878075355f996ec2a…
commit 1f33f68e80466e3878075355f996ec2a6bb1b7d7
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 14:13:33 2015 +0100
gtphub: remove obsolete todo comment
http://cgit.osmocom.org/openbsc/commit/?id=3d6f62161a9c37b7e55d797930d9617e…
commit 3d6f62161a9c37b7e55d797930d9617e244fefbc
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 14:13:19 2015 +0100
gtphub: fix segfault when empty config.
gsn_addr_from_str(): return error upon NULL string.
Add some debug logging.
With an empty config, no bind addresses were set, and the address parser
did not check for a NULL pointer, resulting in a segfault.
http://cgit.osmocom.org/openbsc/commit/?id=c0ad6a1fd06a96fa6824268eee0aa971…
commit c0ad6a1fd06a96fa6824268eee0aa9712e596863
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 12:58:48 2015 +0100
gtphub: be more fatal about not finding an unused TEI.
http://cgit.osmocom.org/openbsc/commit/?id=0d5265ca3a9d782c69f99245e60a74e0…
commit 0d5265ca3a9d782c69f99245e60a74e0fdd80e68
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 12:19:50 2015 +0100
gtphub: fix some style complaints from cppcheck
http://cgit.osmocom.org/openbsc/commit/?id=6d021fcbe60859a8092bf72a5a240bfe…
commit 6d021fcbe60859a8092bf72a5a240bfebf80230d
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 00:07:02 2015 +0100
gtphub: add two stubs
http://cgit.osmocom.org/openbsc/commit/?id=cfc4d46ee29f277a2c3c27dc0613121e…
commit cfc4d46ee29f277a2c3c27dc0613121eb0d69d88
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:50:45 2015 +0100
gtphub: vty: add missing SGSN-proxy output.
http://cgit.osmocom.org/openbsc/commit/?id=76d384de1e354a47ce1a04e813458072…
commit 76d384de1e354a47ce1a04e81345807277f955f5
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:49:48 2015 +0100
gtphub: refactor: use side_idx everywhere.
This is a mostly cosmetic change. Instead of separate buffer handling
functions, reduce some code duplication by using a side_idx just like the
plane_idx, with arrays.
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/gprs/gtphub.c | 96 +++++++++++++++++++++++++++--------------------
1 file changed, 56 insertions(+), 40 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 OpenGGSN project".
The branch, master has been updated
via 89dcb614e81b59fb02aff7d7d86545b636def1d0 (commit)
from ac0b4f17fe659e106254d2b4dd4d9b662fcf1cfc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openggsn/commit/?id=89dcb614e81b59fb02aff7d7d86545b…
commit 89dcb614e81b59fb02aff7d7d86545b636def1d0
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Nov 30 14:06:09 2015 +0100
Release 0.92 of the GGSN needed for the gtphub
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--
The OpenGGSN project
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, neels/gtphub has been updated
discards c0a60234bdf933aee14ce147efc2851c8e0ff0b0 (commit)
discards 7eb51548af9343982e61312a36ad97ba2255ebe0 (commit)
discards 03975d637be22241b4a41933908129e9c9ac80cc (commit)
discards 27b982ce1a1f748ead692fc4d239b2e5c8f326f7 (commit)
discards 0b7ce8bf1f344ab0d339dda707a2feec6b4bf486 (commit)
discards b4289f7e645149143a76406f0004cf6567d2dd50 (commit)
discards 65a3946bd76dedc092b605c4dbf92a63983c266c (commit)
discards 7508cbc0ee0e935466c75a09a21999638a23330c (commit)
discards 4a88fa2ab5c1f5721c4f72ecbf2d6ac36590be0e (commit)
via e309d58a34331c4f96cc99764f58b3c5a5d4862e (commit)
via d2fdd5f834a25eb7ef230ba9a9fdba523c2990d9 (commit)
via a215a28ca4b2dbf5d5999169e74f16329214c520 (commit)
via a90e6e297ae1336531dcabc7e6b0de73b9045075 (commit)
via 98320f98c2c5b74350a12a312da25e4cadf0117a (commit)
via 3930cea1069cf39ce518c8e014b46985b38fc304 (commit)
via 3e00a0966cf13abbb06af61b0d4aea0c1eb27772 (commit)
via 0ec5966dc8341d71b6bbd3a8570198fa095b9e15 (commit)
via a2b8203c061f03793ac481fad0dac6c7cba64f4f (commit)
via 7ca330d5f9b6592e9b8abaa70ffb08ad9a03eacd (commit)
via 9341286a4756f74257a483fbd937f7490faf9209 (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 (c0a60234bdf933aee14ce147efc2851c8e0ff0b0)
\
N -- N -- N (e309d58a34331c4f96cc99764f58b3c5a5d4862e)
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=e309d58a34331c4f96cc99764f58b3c5…
commit e309d58a34331c4f96cc99764f58b3c5a5d4862e
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 12:19:50 2015 +0100
gtphub: fix some style complaints from cppcheck
http://cgit.osmocom.org/openbsc/commit/?id=d2fdd5f834a25eb7ef230ba9a9fdba52…
commit d2fdd5f834a25eb7ef230ba9a9fdba523c2990d9
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 00:07:02 2015 +0100
gtphub: add two stubs
http://cgit.osmocom.org/openbsc/commit/?id=a215a28ca4b2dbf5d5999169e74f1632…
commit a215a28ca4b2dbf5d5999169e74f16329214c520
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:50:45 2015 +0100
gtphub: vty: add missing SGSN-proxy output.
http://cgit.osmocom.org/openbsc/commit/?id=a90e6e297ae1336531dcabc7e6b0de73…
commit a90e6e297ae1336531dcabc7e6b0de73b9045075
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:49:48 2015 +0100
gtphub: refactor: use side_idx everywhere.
This is a mostly cosmetic change. Instead of separate buffer handling
functions, reduce some code duplication by using a side_idx just like the
plane_idx, with arrays.
http://cgit.osmocom.org/openbsc/commit/?id=98320f98c2c5b74350a12a312da25e4c…
commit 98320f98c2c5b74350a12a312da25e4cadf0117a
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 19:14:58 2015 +0100
found_libgtp_and_libcares
http://cgit.osmocom.org/openbsc/commit/?id=3930cea1069cf39ce518c8e014b46985…
commit 3930cea1069cf39ce518c8e014b46985b38fc304
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 01:22:13 2015 +0100
gtphub: make sure mapped TEIs aren't occupied.
discussion pending.
http://cgit.osmocom.org/openbsc/commit/?id=3e00a0966cf13abbb06af61b0d4aea0c…
commit 3e00a0966cf13abbb06af61b0d4aea0c1eb27772
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 01:20:53 2015 +0100
gtphub: use a single TEI pool across planes.
There's no need to keep two separate number pools when both can be fed
from the same pool. User and Ctrl plane TEIs can technically overlap without
colliding, but it doesn't hurt if they don't overlap, either.
http://cgit.osmocom.org/openbsc/commit/?id=0ec5966dc8341d71b6bbd3a8570198fa…
commit 0ec5966dc8341d71b6bbd3a8570198fa095b9e15
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 00:05:56 2015 +0100
gtphub: cosmetic: for_each_side,_plane macros.
Simplify looping over sides and planes. I'm tired of typing the same for
loops all the time.
http://cgit.osmocom.org/openbsc/commit/?id=a2b8203c061f03793ac481fad0dac6c7…
commit a2b8203c061f03793ac481fad0dac6c7cba64f4f
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 22:19:22 2015 +0100
gtphub: implement restart counter properly.
Force passing a restart counter, by adding such arg to gtphub_start() (test
suite is not affected by this).
In gtphub_main.c, add -r,--restart-file <path> and next_restart_count() to
maintain the counter file. While at it, tweak the cmdline help to unify the
formatting (mostly commas and a missing line break).
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 GSN would talk to
the same peer with differing restart counters.
Also fix the in-mem restart counter data type (one octet, not two).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=7ca330d5f9b6592e9b8abaa70ffb08ad…
commit 7ca330d5f9b6592e9b8abaa70ffb08ad9a03eacd
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 05:20:18 2015 +0100
gtphub: complain about excess cmdline args.
http://cgit.osmocom.org/openbsc/commit/?id=9341286a4756f74257a483fbd937f749…
commit 9341286a4756f74257a483fbd937f7490faf9209
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 12:19:11 2015 +0100
gtphub: fix a conditional for log output
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gtphub.h | 2 --
openbsc/src/gprs/gtphub.c | 15 ++++-----------
openbsc/src/gprs/gtphub_main.c | 4 ++--
3 files changed, 6 insertions(+), 15 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 "UNNAMED PROJECT".
The branch, master has been updated
via 111ebe84c2b0a49472ec59022aecf56adfefd82e (commit)
via eb93f592e5bdb729900d64a133d62f9fde9e280f (commit)
via f5898a0528eef82223c450caaf210389c5f00aee (commit)
from edfd7e3d94b7868c0a5eb18cde68bb03805fbbb4 (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-pcu/commit/?id=111ebe84c2b0a49472ec59022aecf56…
commit 111ebe84c2b0a49472ec59022aecf56adfefd82e
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 30 12:02:35 2015 +0100
Revert "pcu: Improve default config"
This reverts commit acfb883011552a54c1d5b1b727466a3f29768e61.
The values are now the default values of the application, so they
do not need to be set in this file.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=eb93f592e5bdb729900d64a133d62f9…
commit eb93f592e5bdb729900d64a133d62f9fde9e280f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 30 11:53:06 2015 +0100
pcu: Enable dl-tbf-idle-time and idle-ack-delay by default
Currently these are enabled in the default config file. Since CoDel
is enabled by default in main() but should not be used without at
least dl-tbf-idle-time, the current default config may lead to
packet loss and performance problems.
This commit enables both features to provide a good (GPRS) performance
experience even without a configuration.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=f5898a0528eef82223c450caaf21038…
commit f5898a0528eef82223c450caaf210389c5f00aee
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 19:05:13 2015 +0100
stat: Add global stat group
Add a global stat_item group for measurement values and a
corresponding macro to get and set the values.
Add a stat_item STAT_MS_PRESET to monitor the number of
MS objects in the storage.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
examples/osmo-pcu.cfg | 4 ----
src/bts.cpp | 14 ++++++++++++++
src/bts.h | 27 +++++++++++++++++++++++++++
src/gprs_ms_storage.cpp | 5 +++++
src/pcu_main.cpp | 2 ++
5 files changed, 48 insertions(+), 4 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 OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, neels/gtphub has been updated
discards fcf22de1dbcf265d6a9ce6af555eefe270434f66 (commit)
discards 67c2ddd0b5abca58a190b00cf53cb97c3b170237 (commit)
discards e91785f031c8ca3118b2ccd8538db557c6369e09 (commit)
discards 255964b7fbe15f4f59772a7d7aab23ea25a4b051 (commit)
discards f4da0c2d6639ec50c53534e99d07e837f56d0ffb (commit)
discards c9ddc0b9e79de2d5ef297c3b53fe77411f10c4e3 (commit)
discards 1732f1e3abd2ec0fc230d837f1212320696c605e (commit)
discards d8327dd1cdda4d906de2af84b831ff7f7b4453db (commit)
discards b1596da3ca7e5121ca4798f2165bfe1d46dd6c9c (commit)
discards 1e28ebef266bd361f51f6f1c17436ae223dbd695 (commit)
discards d1502a4c76d1c3992a532447638dea58b147797b (commit)
discards d384e27b2e465e154f2e886e3cec6c2cd80e2642 (commit)
discards 9d4bd22a40165ff7b1b52804a10c41ecdee02fdb (commit)
discards eb7c17e39c87873eca2d0f497116c91952d0b450 (commit)
discards 3e48b2a9cf0172b29019fc3e5dbcd9ec04808985 (commit)
discards a2fecd7257d71840cd9679ee72c706ccbfda4287 (commit)
discards fe5c92d6ecc0869570c3cd8adb063eac123cfc7f (commit)
discards 8aab2b5612bff0b8c60a9e350716cd6f67d626c1 (commit)
discards 7c68023be49f8f986c05a0532d0206c085fbcc7d (commit)
discards a7b4e202bd93f5a42979e981033fb18558cefc5e (commit)
discards 733d3190c04c6bbdc828daadf2ca729db30e7801 (commit)
discards 0be28a65d00931ba6aef8ce0ea84e391c65bbf2a (commit)
discards 6f92fd3e83ee32ae7732547887751a7244f58926 (commit)
discards cd81f9a2abbbf1b45f35512fd6351064d0e9980b (commit)
discards 885127a7e5f1e2cbbfe1474e773300ce774c127c (commit)
via c0a60234bdf933aee14ce147efc2851c8e0ff0b0 (commit)
via 7eb51548af9343982e61312a36ad97ba2255ebe0 (commit)
via 03975d637be22241b4a41933908129e9c9ac80cc (commit)
via 27b982ce1a1f748ead692fc4d239b2e5c8f326f7 (commit)
via 0b7ce8bf1f344ab0d339dda707a2feec6b4bf486 (commit)
via b4289f7e645149143a76406f0004cf6567d2dd50 (commit)
via 65a3946bd76dedc092b605c4dbf92a63983c266c (commit)
via 7508cbc0ee0e935466c75a09a21999638a23330c (commit)
via 4a88fa2ab5c1f5721c4f72ecbf2d6ac36590be0e (commit)
via da979ef8bbacaf1641cbf40e841a05f1e5421cba (commit)
via 173c36b20b3163817d519aa21428448f5b16618d (commit)
via 4defa42cf51330c087f506587f4171c3c75dc53f (commit)
via e36599fecd68ffabd3b5d7e68aa34d48d829f93b (commit)
via dff8c375f07b49e6cdf36352fa0d2c0a69c3faaf (commit)
via fc78950790586b66c6f87b92603039b8703ab6a7 (commit)
via 54bb59814699042da2c294da8eddd012c52598f8 (commit)
via 6357d8e218408bdd2b4df861fae88e8bdeea244e (commit)
via 9e16284e3307f0689ff1b41554da1820f1584355 (commit)
via e82037a0873be819a65550c7948182dd3685f375 (commit)
via 4d7dd42d9714e9c4a6aaf7ac010453f93f80cd71 (commit)
via 91d1bb23fa35d175969382a573c7470e38c86041 (commit)
via fa0fd33199eeba9e69c165aa5ff6f718fefab5a0 (commit)
via 2586ba4045fa84fc0daf6ac444a757adeb033d5c (commit)
via 3643ee36f32ca326881d78fc55a30cd6bfabb261 (commit)
via 1d19d62d810d284a883f42814a5c389652bb2950 (commit)
via 5e95a411946ba3c520f048c07f8fdc3dff26d564 (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 (fcf22de1dbcf265d6a9ce6af555eefe270434f66)
\
N -- N -- N (c0a60234bdf933aee14ce147efc2851c8e0ff0b0)
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=c0a60234bdf933aee14ce147efc2851c…
commit c0a60234bdf933aee14ce147efc2851c8e0ff0b0
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 00:07:02 2015 +0100
gtphub: add two stubs
http://cgit.osmocom.org/openbsc/commit/?id=7eb51548af9343982e61312a36ad97ba…
commit 7eb51548af9343982e61312a36ad97ba2255ebe0
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:50:45 2015 +0100
gtphub: vty: add missing SGSN-proxy output.
http://cgit.osmocom.org/openbsc/commit/?id=03975d637be22241b4a41933908129e9…
commit 03975d637be22241b4a41933908129e9c9ac80cc
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:49:48 2015 +0100
gtphub: refactor: use side_idx everywhere.
This is a mostly cosmetic change. Instead of separate buffer handling
functions, reduce some code duplication by using a side_idx just like the
plane_idx, with arrays.
http://cgit.osmocom.org/openbsc/commit/?id=27b982ce1a1f748ead692fc4d239b2e5…
commit 27b982ce1a1f748ead692fc4d239b2e5c8f326f7
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 19:14:58 2015 +0100
found_libgtp_and_libcares
http://cgit.osmocom.org/openbsc/commit/?id=0b7ce8bf1f344ab0d339dda707a2feec…
commit 0b7ce8bf1f344ab0d339dda707a2feec6b4bf486
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 01:22:13 2015 +0100
gtphub: make sure mapped TEIs aren't occupied.
discussion pending.
http://cgit.osmocom.org/openbsc/commit/?id=b4289f7e645149143a76406f0004cf65…
commit b4289f7e645149143a76406f0004cf6567d2dd50
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 01:20:53 2015 +0100
gtphub: use a single TEI pool across planes.
There's no need to keep two separate number pools when both can be fed
from the same pool. User and Ctrl plane TEIs can technically overlap without
colliding, but it doesn't hurt if they don't overlap, either.
http://cgit.osmocom.org/openbsc/commit/?id=65a3946bd76dedc092b605c4dbf92a63…
commit 65a3946bd76dedc092b605c4dbf92a63983c266c
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 00:05:56 2015 +0100
gtphub: cosmetic: for_each_side,_plane macros.
Simplify looping over sides and planes. I'm tired of typing the same for
loops all the time.
http://cgit.osmocom.org/openbsc/commit/?id=7508cbc0ee0e935466c75a09a2199963…
commit 7508cbc0ee0e935466c75a09a21999638a23330c
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 22:19:22 2015 +0100
gtphub: implement restart counter properly.
Force passing a restart counter, by adding such arg to gtphub_start() (test
suite is not affected by this).
In gtphub_main.c, add -r,--restart-file <path> and next_restart_count() to
maintain the counter file. While at it, tweak the cmdline help to unify the
formatting (mostly commas and a missing line break).
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 GSN would talk to
the same peer with differing restart counters.
Also fix the in-mem restart counter data type (one octet, not two).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=4a88fa2ab5c1f5721c4f72ecbf2d6ac3…
commit 4a88fa2ab5c1f5721c4f72ecbf2d6ac36590be0e
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 05:20:18 2015 +0100
gtphub: complain about excess cmdline args.
http://cgit.osmocom.org/openbsc/commit/?id=da979ef8bbacaf1641cbf40e841a05f1…
commit da979ef8bbacaf1641cbf40e841a05f1e5421cba
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:31:06 2015 +0100
gtphub: track tunnels explicitly.
So far, gtphub worked perfectly by only tracking single TEIs ... for probably
most uses. But a Ctrl plane tunnel may have expired despite a still active
corresponding User plane tunnel. The User plane would continue to work
indefinitely, but if any Ctrl messages followed after more than six hours of
Ctrl silence, they would have been dropped due to an expired TEI mapping.
We want to
- combine expiry of a user TEI with its ctrl TEI. (done in this patch)
- upon delete PDP context, remove both user and ctrl TEI mappings. (future)
- when a peer indicates a restart counter bump, invalidate its tunnels.
(future)
To facilitate these, track tunnels, complete with both SGSN's and GGSN's
address, original and replaced TEIs, all for both user and ctrl plane, in a
single struct. A single expiry entry handles the entire tunnel, instead of
previously four separate expiries for each endpoint identifier.
Add the concept of a "side", being either GGSN or SGSN, to index tunnel
endpoint structs, and so on.
Track the originating side in the gtp_packet_desc.
Add header_tei_rx: set_tei() overwrites header_tei, but the originally received
header TEI is still needed to match a Create PDP Context Response up with its
Request (and for logging).
Adjust the test suite to expect tunnel listing strings instead of TEI mappings,
with a bonus of making it a lot easier to grok, and including the IP addresses.
Add regression test for refreshing tunnel expiry upon use.
Note: the current implementation is as slow as can possibly be, iterating all
the tunnels all the time. Optimizations are kept for a future commit, on
purpose.
BTW, the sequence number mapping/unmapping structures remain unchanged.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=173c36b20b3163817d519aa21428448f…
commit 173c36b20b3163817d519aa21428448f5b16618d
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 25 16:45:59 2015 +0100
gtphub: cosmetic/prepare: rename expiry queues.
The expiry queues are already used for resolved GGSN addresses, and will
soon enlist tunnel structs. Hence the naming should be more general.
http://cgit.osmocom.org/openbsc/commit/?id=4defa42cf51330c087f506587f4171c3…
commit 4defa42cf51330c087f506587f4171c3c75dc53f
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=e36599fecd68ffabd3b5d7e68aa34d48…
commit e36599fecd68ffabd3b5d7e68aa34d48d829f93b
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=dff8c375f07b49e6cdf36352fa0d2c0a…
commit dff8c375f07b49e6cdf36352fa0d2c0a69c3faaf
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=fc78950790586b66c6f87b92603039b8…
commit fc78950790586b66c6f87b92603039b8703ab6a7
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:23:44 2015 +0100
gtphub: cosmetic: fix an argument name.
http://cgit.osmocom.org/openbsc/commit/?id=54bb59814699042da2c294da8eddd012…
commit 54bb59814699042da2c294da8eddd012c52598f8
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=6357d8e218408bdd2b4df861fae88e8b…
commit 6357d8e218408bdd2b4df861fae88e8bdeea244e
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=9e16284e3307f0689ff1b41554da1820…
commit 9e16284e3307f0689ff1b41554da1820f1584355
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=e82037a0873be819a65550c7948182dd…
commit e82037a0873be819a65550c7948182dd3685f375
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=4d7dd42d9714e9c4a6aaf7ac010453f9…
commit 4d7dd42d9714e9c4a6aaf7ac010453f93f80cd71
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=91d1bb23fa35d175969382a573c7470e…
commit 91d1bb23fa35d175969382a573c7470e38c86041
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=fa0fd33199eeba9e69c165aa5ff6f718…
commit fa0fd33199eeba9e69c165aa5ff6f718fefab5a0
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=2586ba4045fa84fc0daf6ac444a757ad…
commit 2586ba4045fa84fc0daf6ac444a757adeb033d5c
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=3643ee36f32ca326881d78fc55a30cd6…
commit 3643ee36f32ca326881d78fc55a30cd6bfabb261
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=1d19d62d810d284a883f42814a5c3896…
commit 1d19d62d810d284a883f42814a5c389652bb2950
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
-----------------------------------------------------------------------
Summary of changes:
openbsc/osmoappdesc.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 5e95a411946ba3c520f048c07f8fdc3dff26d564 (commit)
from e5e78c21bb6e63a1fd1d2e62c042ecce867c2efc (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=5e95a411946ba3c520f048c07f8fdc3d…
commit 5e95a411946ba3c520f048c07f8fdc3dff26d564
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 12:07:15 2015 +0100
gtphub: add to osmoappdesc.py
Sponsored-by: On-Waves ehi
-----------------------------------------------------------------------
Summary of changes:
openbsc/osmoappdesc.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via e5e78c21bb6e63a1fd1d2e62c042ecce867c2efc (commit)
from ff252bb80172826391b6286fd240266fe842cc83 (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:
debian/control | 14 ++++++++++++++
debian/osmo-gtphub.default | 2 ++
debian/osmo-gtphub.examples | 1 +
debian/{osmocom-sgsn.init => osmo-gtphub.init} | 20 ++++++++++----------
debian/osmo-gtphub.install | 1 +
debian/rules | 1 +
openbsc/doc/examples/osmo-gtphub/osmo-gtphub.cfg | 23 +++++++++++++++++++++++
7 files changed, 52 insertions(+), 10 deletions(-)
create mode 100644 debian/osmo-gtphub.default
create mode 100644 debian/osmo-gtphub.examples
copy debian/{osmocom-sgsn.init => osmo-gtphub.init} (87%)
create mode 100644 debian/osmo-gtphub.install
create mode 100644 openbsc/doc/examples/osmo-gtphub/osmo-gtphub.cfg
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 1274f63100801440f51913d726c7a653f5b1b559 (commit)
discards f13f13b4155283c8d60c3f7f2ea7c3e25bcf7352 (commit)
discards eb6b3c05252a4dc1c27a77c8aa7e022c8fca06e4 (commit)
discards 1dbef680f35ff013aa4862bccb7751acdd5cacb2 (commit)
discards 637d9b1c90573106813296972fd4c622d85c93d6 (commit)
discards ebe33de94be82c7b682e24a495a69400053b39ef (commit)
discards 6ffa456c1e7630212a072726c316d30f9365bbb9 (commit)
discards 63e0374673b41a3caaea8d61d47b56a098000d8a (commit)
discards 8bd011be830dc164ee0b7ca7f855c57efb6f5861 (commit)
discards 8310f1818058382bb9009b5e7bf7781b83c28365 (commit)
discards 711d502eaa27b788ac5f9e4c52bea27cdb584b4b (commit)
discards 28636afea50c49eb77ae62d344379df5c7be77a9 (commit)
discards 40b07b4c78b3872b467fbd54668ef371ebad0677 (commit)
discards 925f89dfa15e82d597f1d70521b74ba194b54d66 (commit)
discards fab52ade17d26d29f06a1cf6723148e831f22cb2 (commit)
discards 6a9a4bd3d79c0c7e1041fce649419a5bf71971d2 (commit)
discards d051d80a3564495a568b2886cdbf595cefb1d037 (commit)
discards 8fca7c67edfc26d7ab1ba3d3ca7f6ed791edfbd1 (commit)
discards 26e6151c4593c3fc57c189cf1bc51f80f257c117 (commit)
discards 9df43973ebc04507deaf1abbf0f3b517503ab5f8 (commit)
discards c4e222a6d0cb987264d14e6ce84c316cf2653b43 (commit)
discards 5328d529b0c48d6f0011dfac25f138a88115e04a (commit)
discards eb0ff980a75406b53d71da4ca934efe8a9017b79 (commit)
discards cc92741e8a4439290c12417c402e4289914c03f9 (commit)
discards 6374ccc2badd96496069b36e87d3fab2fe6da9de (commit)
discards 96fad135b55cf153b32545d18604620a9f2b74b2 (commit)
via fcf22de1dbcf265d6a9ce6af555eefe270434f66 (commit)
via 67c2ddd0b5abca58a190b00cf53cb97c3b170237 (commit)
via e91785f031c8ca3118b2ccd8538db557c6369e09 (commit)
via 255964b7fbe15f4f59772a7d7aab23ea25a4b051 (commit)
via f4da0c2d6639ec50c53534e99d07e837f56d0ffb (commit)
via c9ddc0b9e79de2d5ef297c3b53fe77411f10c4e3 (commit)
via 1732f1e3abd2ec0fc230d837f1212320696c605e (commit)
via d8327dd1cdda4d906de2af84b831ff7f7b4453db (commit)
via b1596da3ca7e5121ca4798f2165bfe1d46dd6c9c (commit)
via 1e28ebef266bd361f51f6f1c17436ae223dbd695 (commit)
via d1502a4c76d1c3992a532447638dea58b147797b (commit)
via d384e27b2e465e154f2e886e3cec6c2cd80e2642 (commit)
via 9d4bd22a40165ff7b1b52804a10c41ecdee02fdb (commit)
via eb7c17e39c87873eca2d0f497116c91952d0b450 (commit)
via 3e48b2a9cf0172b29019fc3e5dbcd9ec04808985 (commit)
via a2fecd7257d71840cd9679ee72c706ccbfda4287 (commit)
via fe5c92d6ecc0869570c3cd8adb063eac123cfc7f (commit)
via 8aab2b5612bff0b8c60a9e350716cd6f67d626c1 (commit)
via 7c68023be49f8f986c05a0532d0206c085fbcc7d (commit)
via a7b4e202bd93f5a42979e981033fb18558cefc5e (commit)
via 733d3190c04c6bbdc828daadf2ca729db30e7801 (commit)
via 0be28a65d00931ba6aef8ce0ea84e391c65bbf2a (commit)
via 6f92fd3e83ee32ae7732547887751a7244f58926 (commit)
via cd81f9a2abbbf1b45f35512fd6351064d0e9980b (commit)
via 885127a7e5f1e2cbbfe1474e773300ce774c127c (commit)
via e5e78c21bb6e63a1fd1d2e62c042ecce867c2efc (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 (1274f63100801440f51913d726c7a653f5b1b559)
\
N -- N -- N (fcf22de1dbcf265d6a9ce6af555eefe270434f66)
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=fcf22de1dbcf265d6a9ce6af555eefe2…
commit fcf22de1dbcf265d6a9ce6af555eefe270434f66
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 00:07:02 2015 +0100
gtphub: add two stubs
http://cgit.osmocom.org/openbsc/commit/?id=67c2ddd0b5abca58a190b00cf53cb97c…
commit 67c2ddd0b5abca58a190b00cf53cb97c3b170237
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:50:45 2015 +0100
gtphub: vty: add missing SGSN-proxy output.
http://cgit.osmocom.org/openbsc/commit/?id=e91785f031c8ca3118b2ccd8538db557…
commit e91785f031c8ca3118b2ccd8538db557c6369e09
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:49:48 2015 +0100
gtphub: refactor: use side_idx everywhere.
This is a mostly cosmetic change. Instead of separate buffer handling
functions, reduce some code duplication by using a side_idx just like the
plane_idx, with arrays.
http://cgit.osmocom.org/openbsc/commit/?id=255964b7fbe15f4f59772a7d7aab23ea…
commit 255964b7fbe15f4f59772a7d7aab23ea25a4b051
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 19:14:58 2015 +0100
found_libgtp_and_libcares
http://cgit.osmocom.org/openbsc/commit/?id=f4da0c2d6639ec50c53534e99d07e837…
commit f4da0c2d6639ec50c53534e99d07e837f56d0ffb
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 01:22:13 2015 +0100
gtphub: make sure mapped TEIs aren't occupied.
discussion pending.
http://cgit.osmocom.org/openbsc/commit/?id=c9ddc0b9e79de2d5ef297c3b53fe7741…
commit c9ddc0b9e79de2d5ef297c3b53fe77411f10c4e3
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 01:20:53 2015 +0100
gtphub: use a single TEI pool across planes.
There's no need to keep two separate number pools when both can be fed
from the same pool. User and Ctrl plane TEIs can technically overlap without
colliding, but it doesn't hurt if they don't overlap, either.
http://cgit.osmocom.org/openbsc/commit/?id=1732f1e3abd2ec0fc230d837f1212320…
commit 1732f1e3abd2ec0fc230d837f1212320696c605e
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 00:05:56 2015 +0100
gtphub: cosmetic: for_each_side,_plane macros.
Simplify looping over sides and planes. I'm tired of typing the same for
loops all the time.
http://cgit.osmocom.org/openbsc/commit/?id=d8327dd1cdda4d906de2af84b831ff7f…
commit d8327dd1cdda4d906de2af84b831ff7f7b4453db
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 22:19:22 2015 +0100
gtphub: implement restart counter properly.
Force passing a restart counter, by adding such arg to gtphub_start() (test
suite is not affected by this).
In gtphub_main.c, add -r,--restart-file <path> and next_restart_count() to
maintain the counter file. While at it, tweak the cmdline help to unify the
formatting (mostly commas and a missing line break).
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 GSN would talk to
the same peer with differing restart counters.
Also fix the in-mem restart counter data type (one octet, not two).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=b1596da3ca7e5121ca4798f2165bfe1d…
commit b1596da3ca7e5121ca4798f2165bfe1d46dd6c9c
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 05:20:18 2015 +0100
gtphub: complain about excess cmdline args.
http://cgit.osmocom.org/openbsc/commit/?id=1e28ebef266bd361f51f6f1c17436ae2…
commit 1e28ebef266bd361f51f6f1c17436ae223dbd695
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:31:06 2015 +0100
gtphub: track tunnels explicitly.
So far, gtphub worked perfectly by only tracking single TEIs ... for probably
most uses. But a Ctrl plane tunnel may have expired despite a still active
corresponding User plane tunnel. The User plane would continue to work
indefinitely, but if any Ctrl messages followed after more than six hours of
Ctrl silence, they would have been dropped due to an expired TEI mapping.
We want to
- combine expiry of a user TEI with its ctrl TEI. (done in this patch)
- upon delete PDP context, remove both user and ctrl TEI mappings. (future)
- when a peer indicates a restart counter bump, invalidate its tunnels.
(future)
To facilitate these, track tunnels, complete with both SGSN's and GGSN's
address, original and replaced TEIs, all for both user and ctrl plane, in a
single struct. A single expiry entry handles the entire tunnel, instead of
previously four separate expiries for each endpoint identifier.
Add the concept of a "side", being either GGSN or SGSN, to index tunnel
endpoint structs, and so on.
Track the originating side in the gtp_packet_desc.
Add header_tei_rx: set_tei() overwrites header_tei, but the originally received
header TEI is still needed to match a Create PDP Context Response up with its
Request (and for logging).
Adjust the test suite to expect tunnel listing strings instead of TEI mappings,
with a bonus of making it a lot easier to grok, and including the IP addresses.
Add regression test for refreshing tunnel expiry upon use.
Note: the current implementation is as slow as can possibly be, iterating all
the tunnels all the time. Optimizations are kept for a future commit, on
purpose.
BTW, the sequence number mapping/unmapping structures remain unchanged.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=d1502a4c76d1c3992a532447638dea58…
commit d1502a4c76d1c3992a532447638dea58b147797b
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 25 16:45:59 2015 +0100
gtphub: cosmetic/prepare: rename expiry queues.
The expiry queues are already used for resolved GGSN addresses, and will
soon enlist tunnel structs. Hence the naming should be more general.
http://cgit.osmocom.org/openbsc/commit/?id=d384e27b2e465e154f2e886e3cec6c2c…
commit d384e27b2e465e154f2e886e3cec6c2cd80e2642
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=9d4bd22a40165ff7b1b52804a10c41ec…
commit 9d4bd22a40165ff7b1b52804a10c41ecdee02fdb
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=eb7c17e39c87873eca2d0f497116c919…
commit eb7c17e39c87873eca2d0f497116c91952d0b450
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=3e48b2a9cf0172b29019fc3e5dbcd9ec…
commit 3e48b2a9cf0172b29019fc3e5dbcd9ec04808985
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:23:44 2015 +0100
gtphub: cosmetic: fix an argument name.
http://cgit.osmocom.org/openbsc/commit/?id=a2fecd7257d71840cd9679ee72c706cc…
commit a2fecd7257d71840cd9679ee72c706ccbfda4287
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=fe5c92d6ecc0869570c3cd8adb063eac…
commit fe5c92d6ecc0869570c3cd8adb063eac123cfc7f
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=8aab2b5612bff0b8c60a9e350716cd6f…
commit 8aab2b5612bff0b8c60a9e350716cd6f67d626c1
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=7c68023be49f8f986c05a0532d0206c0…
commit 7c68023be49f8f986c05a0532d0206c085fbcc7d
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=a7b4e202bd93f5a42979e981033fb185…
commit a7b4e202bd93f5a42979e981033fb18558cefc5e
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=733d3190c04c6bbdc828daadf2ca729d…
commit 733d3190c04c6bbdc828daadf2ca729db30e7801
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=0be28a65d00931ba6aef8ce0ea84e391…
commit 0be28a65d00931ba6aef8ce0ea84e391c65bbf2a
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=6f92fd3e83ee32ae7732547887751a72…
commit 6f92fd3e83ee32ae7732547887751a7244f58926
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=cd81f9a2abbbf1b45f35512fd6351064…
commit cd81f9a2abbbf1b45f35512fd6351064d0e9980b
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=885127a7e5f1e2cbbfe1474e773300ce…
commit 885127a7e5f1e2cbbfe1474e773300ce774c127c
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=e5e78c21bb6e63a1fd1d2e62c042ecce…
commit e5e78c21bb6e63a1fd1d2e62c042ecce867c2efc
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:
debian/control | 12 ++++++------
debian/{osmocom-gtphub.default => osmo-gtphub.default} | 0
debian/{osmocom-gtphub.examples => osmo-gtphub.examples} | 0
debian/{osmocom-gtphub.init => osmo-gtphub.init} | 4 ++--
debian/{osmocom-gtphub.install => osmo-gtphub.install} | 0
debian/rules | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
rename debian/{osmocom-gtphub.default => osmo-gtphub.default} (100%)
rename debian/{osmocom-gtphub.examples => osmo-gtphub.examples} (100%)
rename debian/{osmocom-gtphub.init => osmo-gtphub.init} (97%)
rename debian/{osmocom-gtphub.install => osmo-gtphub.install} (100%)
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
via 1274f63100801440f51913d726c7a653f5b1b559 (commit)
via f13f13b4155283c8d60c3f7f2ea7c3e25bcf7352 (commit)
via eb6b3c05252a4dc1c27a77c8aa7e022c8fca06e4 (commit)
from 1dbef680f35ff013aa4862bccb7751acdd5cacb2 (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=1274f63100801440f51913d726c7a653…
commit 1274f63100801440f51913d726c7a653f5b1b559
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Nov 30 00:07:02 2015 +0100
gtphub: add two stubs
http://cgit.osmocom.org/openbsc/commit/?id=f13f13b4155283c8d60c3f7f2ea7c3e2…
commit f13f13b4155283c8d60c3f7f2ea7c3e25bcf7352
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:50:45 2015 +0100
gtphub: vty: add missing SGSN-proxy output.
http://cgit.osmocom.org/openbsc/commit/?id=eb6b3c05252a4dc1c27a77c8aa7e022c…
commit eb6b3c05252a4dc1c27a77c8aa7e022c8fca06e4
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 23:49:48 2015 +0100
gtphub: refactor: use side_idx everywhere.
This is a mostly cosmetic change. Instead of separate buffer handling
functions, reduce some code duplication by using a side_idx just like the
plane_idx, with arrays.
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gtphub.h | 51 ++--
openbsc/src/gprs/gtphub.c | 521 ++++++++++++++++---------------------
openbsc/src/gprs/gtphub_main.c | 25 +-
openbsc/src/gprs/gtphub_vty.c | 72 ++---
openbsc/tests/gtphub/gtphub_test.c | 72 ++---
5 files changed, 325 insertions(+), 416 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 0321c1acf9070dfb3df42c264f1a06d72dbfe3d3 (commit)
discards dd5eb285b67e287d7d9f9912cc80d1a17fc258b4 (commit)
discards 794e9e0b720f20b3382ccda55789fb6feb5b7521 (commit)
discards 346d506d0b2eebe93ae06f9b432c5f38f9f683ee (commit)
discards e4837989e63b7f51ae811f151ffc933c5f5c73cc (commit)
discards 8326885067301fd8c8c566eeea346d9aff035f0a (commit)
discards 3aa01614d1332b9a10920062b04127e5db7d7740 (commit)
discards a0cb29c321573d84b4e93cfc658cd4ceadbf5041 (commit)
discards 532e9d7ceb76d1409ede36c9b304cf32a7648d40 (commit)
discards f321b223d4dc9ad0fc300a781945bf43cca23da4 (commit)
discards 47eb5e2f2bcf8add821b076ed35b45e4af61672b (commit)
discards 80524ff23caa213ce14ca7fa0df9da91ac2ffaf8 (commit)
discards c27f03c0d5208de86c698cf532b56c4f1692c17a (commit)
discards 62580504d1756f506711a6e96bf063d3ce1dea31 (commit)
discards 1fcdcc21eecf0cd56b21ac5e4f76a7f9a2ce559e (commit)
discards 38a6177f76a1425feaec1045d9e28535abc0db21 (commit)
discards 4c92268cbe855a9451b7acf0bff5e7c53bad2809 (commit)
discards 4231731d4125bdcf68fc5cd99b6aee0eaa9c9b37 (commit)
discards 3f40114e0285108d71fba3780566bd2c436ccc92 (commit)
discards e243b5c6b6183d911dc6a9a245e1c95a798ec280 (commit)
discards a63c177aa3ab50a7a00c04ac10ea282376ea4bc7 (commit)
discards 42acf2cd2cc4ebbd2611c67aeb0744778e0ba72a (commit)
via 1dbef680f35ff013aa4862bccb7751acdd5cacb2 (commit)
via 637d9b1c90573106813296972fd4c622d85c93d6 (commit)
via ebe33de94be82c7b682e24a495a69400053b39ef (commit)
via 6ffa456c1e7630212a072726c316d30f9365bbb9 (commit)
via 63e0374673b41a3caaea8d61d47b56a098000d8a (commit)
via 8bd011be830dc164ee0b7ca7f855c57efb6f5861 (commit)
via 8310f1818058382bb9009b5e7bf7781b83c28365 (commit)
via 711d502eaa27b788ac5f9e4c52bea27cdb584b4b (commit)
via 28636afea50c49eb77ae62d344379df5c7be77a9 (commit)
via 40b07b4c78b3872b467fbd54668ef371ebad0677 (commit)
via 925f89dfa15e82d597f1d70521b74ba194b54d66 (commit)
via fab52ade17d26d29f06a1cf6723148e831f22cb2 (commit)
via 6a9a4bd3d79c0c7e1041fce649419a5bf71971d2 (commit)
via d051d80a3564495a568b2886cdbf595cefb1d037 (commit)
via 8fca7c67edfc26d7ab1ba3d3ca7f6ed791edfbd1 (commit)
via 26e6151c4593c3fc57c189cf1bc51f80f257c117 (commit)
via 9df43973ebc04507deaf1abbf0f3b517503ab5f8 (commit)
via c4e222a6d0cb987264d14e6ce84c316cf2653b43 (commit)
via 5328d529b0c48d6f0011dfac25f138a88115e04a (commit)
via eb0ff980a75406b53d71da4ca934efe8a9017b79 (commit)
via cc92741e8a4439290c12417c402e4289914c03f9 (commit)
via 6374ccc2badd96496069b36e87d3fab2fe6da9de (commit)
via 96fad135b55cf153b32545d18604620a9f2b74b2 (commit)
via ff252bb80172826391b6286fd240266fe842cc83 (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 (0321c1acf9070dfb3df42c264f1a06d72dbfe3d3)
\
N -- N -- N (1dbef680f35ff013aa4862bccb7751acdd5cacb2)
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=1dbef680f35ff013aa4862bccb7751ac…
commit 1dbef680f35ff013aa4862bccb7751acdd5cacb2
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 19:14:58 2015 +0100
found_libgtp_and_libcares
http://cgit.osmocom.org/openbsc/commit/?id=637d9b1c90573106813296972fd4c622…
commit 637d9b1c90573106813296972fd4c622d85c93d6
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 01:22:13 2015 +0100
gtphub: make sure mapped TEIs aren't occupied.
discussion pending.
http://cgit.osmocom.org/openbsc/commit/?id=ebe33de94be82c7b682e24a495a69400…
commit ebe33de94be82c7b682e24a495a69400053b39ef
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 01:20:53 2015 +0100
gtphub: use a single TEI pool across planes.
There's no need to keep two separate number pools when both can be fed
from the same pool. User and Ctrl plane TEIs can technically overlap without
colliding, but it doesn't hurt if they don't overlap, either.
http://cgit.osmocom.org/openbsc/commit/?id=6ffa456c1e7630212a072726c316d30f…
commit 6ffa456c1e7630212a072726c316d30f9365bbb9
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 00:05:56 2015 +0100
gtphub: cosmetic: for_each_side,_plane macros.
Simplify looping over sides and planes. I'm tired of typing the same for
loops all the time.
http://cgit.osmocom.org/openbsc/commit/?id=63e0374673b41a3caaea8d61d47b56a0…
commit 63e0374673b41a3caaea8d61d47b56a098000d8a
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 22:19:22 2015 +0100
gtphub: implement restart counter properly.
Force passing a restart counter, by adding such arg to gtphub_start() (test
suite is not affected by this).
In gtphub_main.c, add -r,--restart-file <path> and next_restart_count() to
maintain the counter file. While at it, tweak the cmdline help to unify the
formatting (mostly commas and a missing line break).
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 GSN would talk to
the same peer with differing restart counters.
Also fix the in-mem restart counter data type (one octet, not two).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=8bd011be830dc164ee0b7ca7f855c57e…
commit 8bd011be830dc164ee0b7ca7f855c57efb6f5861
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 05:20:18 2015 +0100
gtphub: complain about excess cmdline args.
http://cgit.osmocom.org/openbsc/commit/?id=8310f1818058382bb9009b5e7bf7781b…
commit 8310f1818058382bb9009b5e7bf7781b83c28365
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:31:06 2015 +0100
gtphub: track tunnels explicitly.
So far, gtphub worked perfectly by only tracking single TEIs ... for probably
most uses. But a Ctrl plane tunnel may have expired despite a still active
corresponding User plane tunnel. The User plane would continue to work
indefinitely, but if any Ctrl messages followed after more than six hours of
Ctrl silence, they would have been dropped due to an expired TEI mapping.
We want to
- combine expiry of a user TEI with its ctrl TEI. (done in this patch)
- upon delete PDP context, remove both user and ctrl TEI mappings. (future)
- when a peer indicates a restart counter bump, invalidate its tunnels.
(future)
To facilitate these, track tunnels, complete with both SGSN's and GGSN's
address, original and replaced TEIs, all for both user and ctrl plane, in a
single struct. A single expiry entry handles the entire tunnel, instead of
previously four separate expiries for each endpoint identifier.
Add the concept of a "side", being either GGSN or SGSN, to index tunnel
endpoint structs, and so on.
Track the originating side in the gtp_packet_desc.
Add header_tei_rx: set_tei() overwrites header_tei, but the originally received
header TEI is still needed to match a Create PDP Context Response up with its
Request (and for logging).
Adjust the test suite to expect tunnel listing strings instead of TEI mappings,
with a bonus of making it a lot easier to grok, and including the IP addresses.
Add regression test for refreshing tunnel expiry upon use.
Note: the current implementation is as slow as can possibly be, iterating all
the tunnels all the time. Optimizations are kept for a future commit, on
purpose.
BTW, the sequence number mapping/unmapping structures remain unchanged.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=711d502eaa27b788ac5f9e4c52bea27c…
commit 711d502eaa27b788ac5f9e4c52bea27cdb584b4b
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 25 16:45:59 2015 +0100
gtphub: cosmetic/prepare: rename expiry queues.
The expiry queues are already used for resolved GGSN addresses, and will
soon enlist tunnel structs. Hence the naming should be more general.
http://cgit.osmocom.org/openbsc/commit/?id=28636afea50c49eb77ae62d344379df5…
commit 28636afea50c49eb77ae62d344379df5c7be77a9
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=40b07b4c78b3872b467fbd54668ef371…
commit 40b07b4c78b3872b467fbd54668ef371ebad0677
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=925f89dfa15e82d597f1d70521b74ba1…
commit 925f89dfa15e82d597f1d70521b74ba194b54d66
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=fab52ade17d26d29f06a1cf6723148e8…
commit fab52ade17d26d29f06a1cf6723148e831f22cb2
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:23:44 2015 +0100
gtphub: cosmetic: fix an argument name.
http://cgit.osmocom.org/openbsc/commit/?id=6a9a4bd3d79c0c7e1041fce649419a5b…
commit 6a9a4bd3d79c0c7e1041fce649419a5bf71971d2
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=d051d80a3564495a568b2886cdbf595c…
commit d051d80a3564495a568b2886cdbf595cefb1d037
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=8fca7c67edfc26d7ab1ba3d3ca7f6ed7…
commit 8fca7c67edfc26d7ab1ba3d3ca7f6ed791edfbd1
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=26e6151c4593c3fc57c189cf1bc51f80…
commit 26e6151c4593c3fc57c189cf1bc51f80f257c117
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=9df43973ebc04507deaf1abbf0f3b517…
commit 9df43973ebc04507deaf1abbf0f3b517503ab5f8
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=c4e222a6d0cb987264d14e6ce84c316c…
commit c4e222a6d0cb987264d14e6ce84c316cf2653b43
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=5328d529b0c48d6f0011dfac25f138a8…
commit 5328d529b0c48d6f0011dfac25f138a88115e04a
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=eb0ff980a75406b53d71da4ca934efe8…
commit eb0ff980a75406b53d71da4ca934efe8a9017b79
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=cc92741e8a4439290c12417c402e4289…
commit cc92741e8a4439290c12417c402e4289914c03f9
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=6374ccc2badd96496069b36e87d3fab2…
commit 6374ccc2badd96496069b36e87d3fab2fe6da9de
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=96fad135b55cf153b32545d18604620a…
commit 96fad135b55cf153b32545d18604620a9f2b74b2
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:
openbsc/configure.ac | 6 ++++++
openbsc/tests/atlocal.in | 5 +++--
openbsc/tests/gtphub/Makefile.am | 4 ++++
3 files changed, 13 insertions(+), 2 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via ff252bb80172826391b6286fd240266fe842cc83 (commit)
from 8fbfaa51bb3f583eeebc1239388832b2e966d424 (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=ff252bb80172826391b6286fd240266f…
commit ff252bb80172826391b6286fd240266fe842cc83
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 29 18:44:55 2015 +0100
gtphub_test: build only when c-ares and gtp are present.
-----------------------------------------------------------------------
Summary of changes:
openbsc/tests/gtphub/Makefile.am | 4 ++++
1 file changed, 4 insertions(+)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/wip/edge has been updated
discards fcd7558506adb0d02d8cb18dbb7da23643dcd195 (commit)
discards e4f82efe8202c26c690430e92359df87193dd96b (commit)
discards 0ff208a5e14289f293bab8ce113d3d72b460a702 (commit)
discards 212171cb67d9bc3add09fc1ba566d0f2db9d63ae (commit)
discards 6ea0240e894376d85e83fdad8d433da95412735e (commit)
via ebe7628ee120988381a35c1b2b5d13694757b56b (commit)
via 483de5ea056b0d5259a81735a7faec2c2d177301 (commit)
via e44582acdccda82484e68691393507e6e064b901 (commit)
via a19e5a536b9f8d0b38abc86ddda1cdda5e2e74f2 (commit)
via 193f5a45f44d23c28613dfc636d997fe74af7262 (commit)
via f3a2df2c1e07ac06f002d2196a315037ad97af5c (commit)
via f0cf3d6325de6e695434954cd8514a9b72be8488 (commit)
via edfd7e3d94b7868c0a5eb18cde68bb03805fbbb4 (commit)
via acfb883011552a54c1d5b1b727466a3f29768e61 (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 (fcd7558506adb0d02d8cb18dbb7da23643dcd195)
\
N -- N -- N (ebe7628ee120988381a35c1b2b5d13694757b56b)
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-pcu/commit/?id=ebe7628ee120988381a35c1b2b5d136…
commit ebe7628ee120988381a35c1b2b5d13694757b56b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 18:10:39 2015 +0100
edge: Extend gprs_rlcmac_dl_tbf::handle by egprs_ms_class (TODO)
TODO
- commit message
- get egprs_ms_class from BSSGP RA cap
- check usage ms_class in append
http://cgit.osmocom.org/osmo-pcu/commit/?id=483de5ea056b0d5259a81735a7faec2…
commit 483de5ea056b0d5259a81735a7faec2c2d177301
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Sep 28 18:54:32 2015 +0200
edge: Enable EGPRS if configured and egprs_ms_class present
Enable the TBF to use EGPRS if the bts->egprs_enabled config variable
has been set via the VTY "egprs" command and if the MS has signaled a
EGPRS multislot class.
Tell the MS to use EGPRS if the condition above holds.
Note that this will cause the MS to use EGPRS RLC block formats for
further messages which are not yet understood by the PCU.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=e44582acdccda82484e68691393507e…
commit e44582acdccda82484e68691393507e6e064b901
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 15:17:34 2015 +0100
edge: Support EGPRS multislot class handling in tbf_alloc
Add an egprs_ms_class argument to the allocation functions and
set/pass it where necessary.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=a19e5a536b9f8d0b38abc86ddda1cdd…
commit a19e5a536b9f8d0b38abc86ddda1cdda5e2e74f2
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 16:17:40 2015 +0100
edge: Add m_egprs_enabled and related methods to TBF
Add the following methods to gprs_rlcmac_tbf:
- is_egprs_enabled
- enable_egprs
- disable_egprs
Also show the value of the flag in name() by displaying "EGPRS" if
it is set.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=193f5a45f44d23c28613dfc636d997f…
commit 193f5a45f44d23c28613dfc636d997fe74af7262
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Sep 28 18:54:32 2015 +0200
edge: Support EGPRS in packet uplink assignment message
Currently the Encoding::write_packet_uplink_assignment method only
supports the GPRS variant of the message.
This commit adds the missing EGPRS variant to the encoder.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=f3a2df2c1e07ac06f002d2196a31503…
commit f3a2df2c1e07ac06f002d2196a315037ad97af5c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Sep 28 18:12:57 2015 +0200
edge: Add egprs config command
Add a global config flag to enable the use EDGE/EGPRS.
The following VTY commands are added to node config-pcu:
- egprs Enables EGPRS
- no egprs Disable EGPRS
Note that enabling EGPRS is experimental and will most likely break
packet transmission until a minimal required set of EGPRS
functionality is implemented.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=f0cf3d6325de6e695434954cd8514a9…
commit f0cf3d6325de6e695434954cd8514a9b72be8488
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Sep 28 17:55:32 2015 +0200
edge: Get EGPRS multislot class
The EGPRS MS class ist contained in the MS_RA_capability information.
Its presence indicates, that the MS is able (and willing) to use
EGPRS.
This commit implements basic support for retrieving, storing, and
showing it in the VTY. The information is stored in the MS object.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
examples/osmo-pcu.cfg | 4 ++++
src/gprs_bssgp_pcu.cpp | 4 +++-
src/pcu_vty.c | 5 ++++-
src/tbf.cpp | 7 ++++---
src/tbf.h | 6 +++---
src/tbf_dl.cpp | 10 ++++++----
tests/alloc/AllocTest.cpp | 15 ++++++++-------
tests/tbf/TbfTest.cpp | 14 +++++++-------
tests/tbf/TbfTest.err | 20 ++++++++++----------
9 files changed, 49 insertions(+), 36 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 "UNNAMED PROJECT".
The branch, master has been updated
via edfd7e3d94b7868c0a5eb18cde68bb03805fbbb4 (commit)
via acfb883011552a54c1d5b1b727466a3f29768e61 (commit)
from 42aba81c2f8c8313fcbf85ee422d6b747107d98a (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-pcu/commit/?id=edfd7e3d94b7868c0a5eb18cde68bb0…
commit edfd7e3d94b7868c0a5eb18cde68bb03805fbbb4
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 17 16:30:58 2015 +0100
encoder: Whitespace fixes
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=acfb883011552a54c1d5b1b727466a3…
commit acfb883011552a54c1d5b1b727466a3f29768e61
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Nov 26 11:55:56 2015 +0100
pcu: Improve default config
Currently the optional features dl-tbf-idle-time and idle-ack-delay
are not enabled when using the default config. Without the former,
the packet loss is significantly increased since CoDel is enabled by
default, eventually throwing away packets from ongoing paging and TBF
establishment procedures.
This commit changes the default config for satisfactory results even
with a single PDCH.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
examples/osmo-pcu.cfg | 4 ++++
src/encoding.cpp | 8 ++++----
2 files changed, 8 insertions(+), 4 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 OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, neels/gtphub has been updated
via 0321c1acf9070dfb3df42c264f1a06d72dbfe3d3 (commit)
via dd5eb285b67e287d7d9f9912cc80d1a17fc258b4 (commit)
via 794e9e0b720f20b3382ccda55789fb6feb5b7521 (commit)
from 346d506d0b2eebe93ae06f9b432c5f38f9f683ee (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=0321c1acf9070dfb3df42c264f1a06d7…
commit 0321c1acf9070dfb3df42c264f1a06d72dbfe3d3
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 01:22:13 2015 +0100
gtphub: make sure mapped TEIs aren't occupied.
discussion pending.
http://cgit.osmocom.org/openbsc/commit/?id=dd5eb285b67e287d7d9f9912cc80d1a1…
commit dd5eb285b67e287d7d9f9912cc80d1a17fc258b4
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 01:20:53 2015 +0100
gtphub: use a single TEI pool across planes.
There's no need to keep two separate number pools when both can be fed
from the same pool. User and Ctrl plane TEIs can technically overlap without
colliding, but it doesn't hurt if they don't overlap, either.
http://cgit.osmocom.org/openbsc/commit/?id=794e9e0b720f20b3382ccda55789fb6f…
commit 794e9e0b720f20b3382ccda55789fb6feb5b7521
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Nov 27 00:05:56 2015 +0100
gtphub: cosmetic: for_each_side,_plane macros.
Simplify looping over sides and planes. I'm tired of typing the same for
loops all the time.
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gtphub.h | 6 +-
openbsc/src/gprs/gtphub.c | 165 ++++++++++++++++++++++++-------------
openbsc/src/gprs/gtphub_vty.c | 6 +-
openbsc/tests/gtphub/gtphub_test.c | 28 +++----
4 files changed, 130 insertions(+), 75 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 b9d5c9b7922965469a6304fa65bd96c9ce8a50eb (commit)
discards dabb2430cfe8e176bcf83a1cef0a7607c2f72577 (commit)
discards 8c02ef0a2dd678dd8bf63c15c77c350ad6104e56 (commit)
via 346d506d0b2eebe93ae06f9b432c5f38f9f683ee (commit)
via e4837989e63b7f51ae811f151ffc933c5f5c73cc (commit)
via 8326885067301fd8c8c566eeea346d9aff035f0a (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 (b9d5c9b7922965469a6304fa65bd96c9ce8a50eb)
\
N -- N -- N (346d506d0b2eebe93ae06f9b432c5f38f9f683ee)
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=346d506d0b2eebe93ae06f9b432c5f38…
commit 346d506d0b2eebe93ae06f9b432c5f38f9f683ee
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 22:19:22 2015 +0100
gtphub: implement restart counter properly.
Force passing a restart counter, by adding such arg to gtphub_start() (test
suite is not affected by this).
In gtphub_main.c, add -r,--restart-file <path> and next_restart_count() to
maintain the counter file. While at it, tweak the cmdline help to unify the
formatting (mostly commas and a missing line break).
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 GSN would talk to
the same peer with differing restart counters.
Also fix the in-mem restart counter data type (one octet, not two).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=e4837989e63b7f51ae811f151ffc933c…
commit e4837989e63b7f51ae811f151ffc933c5f5c73cc
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 05:20:18 2015 +0100
gtphub: complain about excess cmdline args.
http://cgit.osmocom.org/openbsc/commit/?id=8326885067301fd8c8c566eeea346d9a…
commit 8326885067301fd8c8c566eeea346d9aff035f0a
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:31:06 2015 +0100
gtphub: track tunnels explicitly.
So far, gtphub worked perfectly by only tracking single TEIs ... for probably
most uses. But a Ctrl plane tunnel may have expired despite a still active
corresponding User plane tunnel. The User plane would continue to work
indefinitely, but if any Ctrl messages followed after more than six hours of
Ctrl silence, they would have been dropped due to an expired TEI mapping.
We want to
- combine expiry of a user TEI with its ctrl TEI. (done in this patch)
- upon delete PDP context, remove both user and ctrl TEI mappings. (future)
- when a peer indicates a restart counter bump, invalidate its tunnels.
(future)
To facilitate these, track tunnels, complete with both SGSN's and GGSN's
address, original and replaced TEIs, all for both user and ctrl plane, in a
single struct. A single expiry entry handles the entire tunnel, instead of
previously four separate expiries for each endpoint identifier.
Add the concept of a "side", being either GGSN or SGSN, to index tunnel
endpoint structs, and so on.
Track the originating side in the gtp_packet_desc.
Add header_tei_rx: set_tei() overwrites header_tei, but the originally received
header TEI is still needed to match a Create PDP Context Response up with its
Request (and for logging).
Adjust the test suite to expect tunnel listing strings instead of TEI mappings,
with a bonus of making it a lot easier to grok, and including the IP addresses.
Add regression test for refreshing tunnel expiry upon use.
Note: the current implementation is as slow as can possibly be, iterating all
the tunnels all the time. Optimizations are kept for a future commit, on
purpose.
BTW, the sequence number mapping/unmapping structures remain unchanged.
Sponsored-by: On-Waves ehi
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/gprs/gtphub.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 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 041995dacf26082cb4883a99f8d5a30c109efff7 (commit)
discards ae1e7a00efcdea016008c54cd442e38c141e4200 (commit)
discards cf6ba14087de5ae464528280be3a784f8c6c6d6d (commit)
discards 22174abe556b8419a42b3b67b191ac94e30d81c5 (commit)
discards 79dce146fbb4096f737776d5c217b71a31b16eb9 (commit)
discards c33ac58604665455699eddb2bad5cfd8242f193c (commit)
discards 310b8bf647c8b2478dec3a27c11942cf4b6f1e6a (commit)
discards 97c5e61b0a58a507a5ad5ee0559da9182596d287 (commit)
discards 9586e51efd243cce41a887448bf442f3f49d4c5f (commit)
discards 58e14c99f4c6b9be3a7b15c72d0f669b05d713cf (commit)
discards 4395a3d823a2243531ef15d05ef498427d9c409b (commit)
discards d4c79db2905f6380773adc8d12ddcddc5e21077e (commit)
discards a5f12d907cc6554b7c1a0e7c63b6a7287796f149 (commit)
discards 27883dd1891686ed50d9fff017b07416ef785cce (commit)
discards f9f6739cece7073aca938b5258ab7d590efd9f0f (commit)
discards d9e3579689f5678d761ac331c152d1286e8f94ef (commit)
discards c80f953d117a8d2406e37f200bf4aa62ef7d3cf2 (commit)
discards 70cb65941457b29bf811ee570b3cf21ae48e99bc (commit)
discards 3d53bfd7668f491f2904580c33f1a461fa631132 (commit)
via b9d5c9b7922965469a6304fa65bd96c9ce8a50eb (commit)
via dabb2430cfe8e176bcf83a1cef0a7607c2f72577 (commit)
via 8c02ef0a2dd678dd8bf63c15c77c350ad6104e56 (commit)
via 3aa01614d1332b9a10920062b04127e5db7d7740 (commit)
via a0cb29c321573d84b4e93cfc658cd4ceadbf5041 (commit)
via 532e9d7ceb76d1409ede36c9b304cf32a7648d40 (commit)
via f321b223d4dc9ad0fc300a781945bf43cca23da4 (commit)
via 47eb5e2f2bcf8add821b076ed35b45e4af61672b (commit)
via 80524ff23caa213ce14ca7fa0df9da91ac2ffaf8 (commit)
via c27f03c0d5208de86c698cf532b56c4f1692c17a (commit)
via 62580504d1756f506711a6e96bf063d3ce1dea31 (commit)
via 1fcdcc21eecf0cd56b21ac5e4f76a7f9a2ce559e (commit)
via 38a6177f76a1425feaec1045d9e28535abc0db21 (commit)
via 4c92268cbe855a9451b7acf0bff5e7c53bad2809 (commit)
via 4231731d4125bdcf68fc5cd99b6aee0eaa9c9b37 (commit)
via 3f40114e0285108d71fba3780566bd2c436ccc92 (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 (041995dacf26082cb4883a99f8d5a30c109efff7)
\
N -- N -- N (b9d5c9b7922965469a6304fa65bd96c9ce8a50eb)
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=b9d5c9b7922965469a6304fa65bd96c9…
commit b9d5c9b7922965469a6304fa65bd96c9ce8a50eb
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 22:19:22 2015 +0100
gtphub: implement restart counter properly.
Force passing a restart counter, by adding such arg to gtphub_start() (test
suite is not affected by this).
In gtphub_main.c, add -r,--restart-file <path> and next_restart_count() to
maintain the counter file. While at it, tweak the cmdline help to unify the
formatting (mostly commas and a missing line break).
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 GSN would talk to
the same peer with differing restart counters.
Also fix the in-mem restart counter data type (one octet, not two).
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=dabb2430cfe8e176bcf83a1cef0a7607…
commit dabb2430cfe8e176bcf83a1cef0a7607c2f72577
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 05:20:18 2015 +0100
gtphub: complain about excess cmdline args.
http://cgit.osmocom.org/openbsc/commit/?id=8c02ef0a2dd678dd8bf63c15c77c350a…
commit 8c02ef0a2dd678dd8bf63c15c77c350ad6104e56
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:31:06 2015 +0100
gtphub: track tunnels explicitly.
So far, gtphub worked perfectly by only tracking single TEIs ... for probably
most uses. But a Ctrl plane tunnel may have expired despite a still active
corresponding User plane tunnel. The User plane would continue to work
indefinitely, but if any Ctrl messages followed after more than six hours of
Ctrl silence, they would have been dropped due to an expired TEI mapping.
We want to
- combine expiry of a user TEI with its ctrl TEI. (done in this patch)
- upon delete PDP context, remove both user and ctrl TEI mappings. (future)
- when a peer indicates a restart counter bump, invalidate its tunnels.
(future)
To facilitate these, track tunnels, complete with both SGSN's and GGSN's
address, original and replaced TEIs, all for both user and ctrl plane, in a
single struct. A single expiry entry handles the entire tunnel, instead of
previously four separate expiries for each endpoint identifier.
Add the concept of a "side", being either GGSN or SGSN, to index tunnel
endpoint structs, and so on.
Track the originating side in the gtp_packet_desc.
Add header_tei_rx: set_tei() overwrites header_tei, but the originally received
header TEI is still needed to match a Create PDP Context Response up with its
Request (and for logging).
Adjust the test suite to expect tunnel listing strings instead of TEI mappings,
with a bonus of making it a lot easier to grok, and including the IP addresses.
Add regression test for refreshing tunnel expiry upon use.
Note: the current implementation is as slow as can possibly be, iterating all
the tunnels all the time. Optimizations are kept for a future commit, on
purpose.
BTW, the sequence number mapping/unmapping structures remain unchanged.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=3aa01614d1332b9a10920062b04127e5…
commit 3aa01614d1332b9a10920062b04127e5db7d7740
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 25 16:45:59 2015 +0100
gtphub: cosmetic/prepare: rename expiry queues.
The expiry queues are already used for resolved GGSN addresses, and will
soon enlist tunnel structs. Hence the naming should be more general.
http://cgit.osmocom.org/openbsc/commit/?id=a0cb29c321573d84b4e93cfc658cd4ce…
commit a0cb29c321573d84b4e93cfc658cd4ceadbf5041
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=532e9d7ceb76d1409ede36c9b304cf32…
commit 532e9d7ceb76d1409ede36c9b304cf32a7648d40
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=f321b223d4dc9ad0fc300a781945bf43…
commit f321b223d4dc9ad0fc300a781945bf43cca23da4
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=47eb5e2f2bcf8add821b076ed35b45e4…
commit 47eb5e2f2bcf8add821b076ed35b45e4af61672b
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:23:44 2015 +0100
gtphub: cosmetic: fix an argument name.
http://cgit.osmocom.org/openbsc/commit/?id=80524ff23caa213ce14ca7fa0df9da91…
commit 80524ff23caa213ce14ca7fa0df9da91ac2ffaf8
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=c27f03c0d5208de86c698cf532b56c4f…
commit c27f03c0d5208de86c698cf532b56c4f1692c17a
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=62580504d1756f506711a6e96bf063d3…
commit 62580504d1756f506711a6e96bf063d3ce1dea31
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=1fcdcc21eecf0cd56b21ac5e4f76a7f9…
commit 1fcdcc21eecf0cd56b21ac5e4f76a7f9a2ce559e
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=38a6177f76a1425feaec1045d9e28535…
commit 38a6177f76a1425feaec1045d9e28535abc0db21
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=4c92268cbe855a9451b7acf0bff5e7c5…
commit 4c92268cbe855a9451b7acf0bff5e7c53bad2809
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=4231731d4125bdcf68fc5cd99b6aee0e…
commit 4231731d4125bdcf68fc5cd99b6aee0eaa9c9b37
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=3f40114e0285108d71fba3780566bd2c…
commit 3f40114e0285108d71fba3780566bd2c436ccc92
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
-----------------------------------------------------------------------
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 8fbfaa51bb3f583eeebc1239388832b2e966d424 (commit)
from 4ae165da61243c8ea63f1736d9b1366e6a864d94 (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/src/gprs/gtphub.c | 69 -----------------------------------------------
1 file changed, 69 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 50a88f8eb4ad183bfc1f870a99c7f0f1f2022acb (commit)
discards e201bf5778b073e7101a707435de0777a38b832f (commit)
discards 192cf8b56ace2ea168153571f9c5eae53fd47365 (commit)
discards 7f2d40ceb755943d52fcae8ddb12c09e2d0c623f (commit)
discards c1e297a9f030429a075392b4888d26539a333dbf (commit)
discards 444fe1be787fd291b5bc9c347303047e78089c35 (commit)
discards 3bf4d4ddd97383a98d3da56f3b57e7aac2adcf54 (commit)
discards da53b650561f5c2e81bd499657497713a7276725 (commit)
discards 036874d27b458d4359a9132e3361e47b42935117 (commit)
discards 3c4c17178f6d41ee83b441b9ce7d55d4e404b73d (commit)
discards 89a83524dc4dcf73bedd8c98659bfd006a422a3b (commit)
discards 5b3ed5a6cd4bc03b225e59910d647a5d4d21243a (commit)
discards 5b231c38318754de6b9b16e91d0f1dc29290872d (commit)
discards a0e2c562de54d87a48bdd059e18ef782f18c3cc8 (commit)
discards d369720ec8bda4f2fb3ee0b1a719211d66df247a (commit)
discards f397ca83bea6f15f194b522d9278695c7a27765f (commit)
discards 402b117fe1ec63fe9c30eaa38850a477601799e9 (commit)
discards fce0d1ee3b0717d18d081db9ceadbab2525441b8 (commit)
discards 786d555de00d65e6c0b07008fe1cc8f593118c2e (commit)
discards 42d114b846a4a1852f22ecfd56d8872cae83018a (commit)
discards 03203415845cd646c748983f8ab49ecb8ca0581a (commit)
discards fa74d6dd746e65166d4f7d62d7c6ff698bec2900 (commit)
discards 6de6ea937eae341577dedb93d95bd9ded7fd440f (commit)
via 041995dacf26082cb4883a99f8d5a30c109efff7 (commit)
via ae1e7a00efcdea016008c54cd442e38c141e4200 (commit)
via cf6ba14087de5ae464528280be3a784f8c6c6d6d (commit)
via 22174abe556b8419a42b3b67b191ac94e30d81c5 (commit)
via 79dce146fbb4096f737776d5c217b71a31b16eb9 (commit)
via c33ac58604665455699eddb2bad5cfd8242f193c (commit)
via 310b8bf647c8b2478dec3a27c11942cf4b6f1e6a (commit)
via 97c5e61b0a58a507a5ad5ee0559da9182596d287 (commit)
via 9586e51efd243cce41a887448bf442f3f49d4c5f (commit)
via 58e14c99f4c6b9be3a7b15c72d0f669b05d713cf (commit)
via 4395a3d823a2243531ef15d05ef498427d9c409b (commit)
via d4c79db2905f6380773adc8d12ddcddc5e21077e (commit)
via a5f12d907cc6554b7c1a0e7c63b6a7287796f149 (commit)
via 27883dd1891686ed50d9fff017b07416ef785cce (commit)
via f9f6739cece7073aca938b5258ab7d590efd9f0f (commit)
via d9e3579689f5678d761ac331c152d1286e8f94ef (commit)
via c80f953d117a8d2406e37f200bf4aa62ef7d3cf2 (commit)
via 70cb65941457b29bf811ee570b3cf21ae48e99bc (commit)
via 3d53bfd7668f491f2904580c33f1a461fa631132 (commit)
via e243b5c6b6183d911dc6a9a245e1c95a798ec280 (commit)
via a63c177aa3ab50a7a00c04ac10ea282376ea4bc7 (commit)
via 42acf2cd2cc4ebbd2611c67aeb0744778e0ba72a (commit)
via 8fbfaa51bb3f583eeebc1239388832b2e966d424 (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 (50a88f8eb4ad183bfc1f870a99c7f0f1f2022acb)
\
N -- N -- N (041995dacf26082cb4883a99f8d5a30c109efff7)
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=041995dacf26082cb4883a99f8d5a30c…
commit 041995dacf26082cb4883a99f8d5a30c109efff7
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 22:19:22 2015 +0100
gtphub: use file for incremental restart counter.
Force passing a restart counter, by adding such arg to gtphub_start().
In gtphub_main.c, add -r,--restart-file <path> and next_restart_count() to
maintain the counter file.
While at it, tweak the cmdline help to unify the formatting.
http://cgit.osmocom.org/openbsc/commit/?id=ae1e7a00efcdea016008c54cd442e38c…
commit ae1e7a00efcdea016008c54cd442e38c141e4200
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 05:20:18 2015 +0100
gtphub: complain about excess cmdline args.
http://cgit.osmocom.org/openbsc/commit/?id=cf6ba14087de5ae464528280be3a784f…
commit cf6ba14087de5ae464528280be3a784f8c6c6d6d
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 03:33:29 2015 +0100
gtphub: track tunnels explicitly.
So far, gtphub worked perfectly by only tracking single TEIs ... for probably
most uses. But a Ctrl plane tunnel may have expired despite a still active
corresponding User plane tunnel. The User plane would continue to work
indefinitely, but if any Ctrl messages followed after more than six hours of
Ctrl silence, they would have been dropped due to an expired TEI mapping.
We want to
- combine expiry of a user TEI with its ctrl TEI. (done in this patch)
- upon delete PDP context, remove both user and ctrl TEI mappings. (future)
- when a peer indicates a restart counter bump, invalidate its tunnels.
(future)
To facilitate these, track tunnels, complete with both SGSN's and GGSN's
address, original and replaced TEIs, all for both user and ctrl plane, in a
single struct. A single expiry entry handles the entire tunnel, instead of
previously four separate expiries for each endpoint identifier.
Add the concept of a "side", being either GGSN or SGSN.
Track the originating side in the gtp_packet_desc. For clarity, explicitly
track the received header TEI in header_tei_rx, since set_tei() overwrites
header_tei to reflect the packet's replaced header TEI, and the originally
received header TEI still needs to be used for matching a Create PDP Context
Response up with its Request (and for logging).
Adjust the test suite to expect tunnel listing strings instead of TEI mappings,
with a bonus of making it a lot easier to grok and including the IP addresses.
Note: the current implementation is as slow as can possibly be, iterating all
the tunnels all the time. Optimizations are kept for a future commit, on
purpose.
BTW, the sequence number mapping/unmapping structures remain unchanged.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=22174abe556b8419a42b3b67b191ac94…
commit 22174abe556b8419a42b3b67b191ac94e30d81c5
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 25 16:50:19 2015 +0100
gtphub: fix filename mentioned in comment
http://cgit.osmocom.org/openbsc/commit/?id=79dce146fbb4096f737776d5c217b71a…
commit 79dce146fbb4096f737776d5c217b71a31b16eb9
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 25 16:45:59 2015 +0100
gtphub: cosmetic/prepare: rename expiry queues.
The expiry queues are already used for resolved GGSN addresses, and will
soon enlist tunnel structs. Hence the naming should be more general.
http://cgit.osmocom.org/openbsc/commit/?id=c33ac58604665455699eddb2bad5cfd8…
commit c33ac58604665455699eddb2bad5cfd8242f193c
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=310b8bf647c8b2478dec3a27c11942cf…
commit 310b8bf647c8b2478dec3a27c11942cf4b6f1e6a
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).
Add regression test for this.
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=97c5e61b0a58a507a5ad5ee0559da918…
commit 97c5e61b0a58a507a5ad5ee0559da9182596d287
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=9586e51efd243cce41a887448bf442f3…
commit 9586e51efd243cce41a887448bf442f3f49d4c5f
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=58e14c99f4c6b9be3a7b15c72d0f669b…
commit 58e14c99f4c6b9be3a7b15c72d0f669b05d713cf
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:23:44 2015 +0100
gtphub: cosmetic: fix an argument name.
http://cgit.osmocom.org/openbsc/commit/?id=4395a3d823a2243531ef15d05ef49842…
commit 4395a3d823a2243531ef15d05ef498427d9c409b
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=d4c79db2905f6380773adc8d12ddcddc…
commit d4c79db2905f6380773adc8d12ddcddc5e21077e
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=a5f12d907cc6554b7c1a0e7c63b6a728…
commit a5f12d907cc6554b7c1a0e7c63b6a7287796f149
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=27883dd1891686ed50d9fff017b07416…
commit 27883dd1891686ed50d9fff017b07416ef785cce
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=f9f6739cece7073aca938b5258ab7d59…
commit f9f6739cece7073aca938b5258ab7d590efd9f0f
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=d9e3579689f5678d761ac331c152d128…
commit d9e3579689f5678d761ac331c152d1286e8f94ef
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 19 00:44:52 2015 +0100
gtphub: send gtphub's own restart counter, fix type.
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.
Also fix the restart counter data type (just one octet after all).
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=c80f953d117a8d2406e37f200bf4aa62…
commit c80f953d117a8d2406e37f200bf4aa62ef7d3cf2
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=70cb65941457b29bf811ee570b3cf21a…
commit 70cb65941457b29bf811ee570b3cf21ae48e99bc
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=3d53bfd7668f491f2904580c33f1a461…
commit 3d53bfd7668f491f2904580c33f1a461fa631132
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=e243b5c6b6183d911dc6a9a245e1c95a…
commit e243b5c6b6183d911dc6a9a245e1c95a798ec280
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=a63c177aa3ab50a7a00c04ac10ea2823…
commit a63c177aa3ab50a7a00c04ac10ea282376ea4bc7
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=42acf2cd2cc4ebbd2611c67aeb074477…
commit 42acf2cd2cc4ebbd2611c67aeb0744778e0ba72a
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
http://cgit.osmocom.org/openbsc/commit/?id=8fbfaa51bb3f583eeebc1239388832b2…
commit 8fbfaa51bb3f583eeebc1239388832b2e966d424
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 22:20:50 2015 +0100
gtphub: remove another obsolete comment.
-----------------------------------------------------------------------
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 cb591d0e9175dad898de019612a68f9adfd25f4b (commit)
discards 88d06caa712a3fd40960c0d11d45373dc9341659 (commit)
discards 2d228573f2df28be5d185d8d93ec3b887f526eb7 (commit)
discards f0dc0f3bd9d702c59d46cd358ba9915377136cfc (commit)
discards ad51b759181064c87f26ed702c16d3edc3bc12ec (commit)
discards e6b56c49fd36757aa507bbbef868cdc98d2cd3ca (commit)
discards 5d2e92036d0bc6fbcab522e3eb3cb71cf62d80cc (commit)
discards 628c0c8f82673390e92cc5f532f7f1e0d368c26c (commit)
discards eb7b0a83b4555222215a0ec6155e0eecaadf3f24 (commit)
discards 1c31e9a0793c90c856f6537d31b8f20e5d93ff4b (commit)
discards e68fee7637ac953837adddb8c3428909a07ecfcb (commit)
discards b30bfedb11e10ea7f99a5e98d5b8274cb866baa8 (commit)
discards 5171ef9d2059625cf4d4c5775fe8e0c18ee5cd8b (commit)
discards 25a88f932df6ea89d33da5ffafc883f735462636 (commit)
discards 105b984f6af0907838529755efc6cf3ba3f5bad8 (commit)
discards bbef1e556ad3d2968ad2baa9f41b4e932b0ec556 (commit)
discards 8a9ebc14bfc2937d0402aa9f8cba82a323f4889a (commit)
discards bf6ac16ae3f906accb7b68ed9fffd343bcc1f148 (commit)
discards 5bdd48daaf45e824f3a683933617f41f65543d71 (commit)
discards 47493b5d258e66dcc8760f477aa6ecfb9dcbd442 (commit)
discards c0e13b2dbd36015f25bdeb8c07abb13ac4ef65ec (commit)
via 50a88f8eb4ad183bfc1f870a99c7f0f1f2022acb (commit)
via e201bf5778b073e7101a707435de0777a38b832f (commit)
via 192cf8b56ace2ea168153571f9c5eae53fd47365 (commit)
via 7f2d40ceb755943d52fcae8ddb12c09e2d0c623f (commit)
via c1e297a9f030429a075392b4888d26539a333dbf (commit)
via 444fe1be787fd291b5bc9c347303047e78089c35 (commit)
via 3bf4d4ddd97383a98d3da56f3b57e7aac2adcf54 (commit)
via da53b650561f5c2e81bd499657497713a7276725 (commit)
via 036874d27b458d4359a9132e3361e47b42935117 (commit)
via 3c4c17178f6d41ee83b441b9ce7d55d4e404b73d (commit)
via 89a83524dc4dcf73bedd8c98659bfd006a422a3b (commit)
via 5b3ed5a6cd4bc03b225e59910d647a5d4d21243a (commit)
via 5b231c38318754de6b9b16e91d0f1dc29290872d (commit)
via a0e2c562de54d87a48bdd059e18ef782f18c3cc8 (commit)
via d369720ec8bda4f2fb3ee0b1a719211d66df247a (commit)
via f397ca83bea6f15f194b522d9278695c7a27765f (commit)
via 402b117fe1ec63fe9c30eaa38850a477601799e9 (commit)
via fce0d1ee3b0717d18d081db9ceadbab2525441b8 (commit)
via 786d555de00d65e6c0b07008fe1cc8f593118c2e (commit)
via 42d114b846a4a1852f22ecfd56d8872cae83018a (commit)
via 03203415845cd646c748983f8ab49ecb8ca0581a (commit)
via fa74d6dd746e65166d4f7d62d7c6ff698bec2900 (commit)
via 6de6ea937eae341577dedb93d95bd9ded7fd440f (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 (cb591d0e9175dad898de019612a68f9adfd25f4b)
\
N -- N -- N (50a88f8eb4ad183bfc1f870a99c7f0f1f2022acb)
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=50a88f8eb4ad183bfc1f870a99c7f0f1…
commit 50a88f8eb4ad183bfc1f870a99c7f0f1f2022acb
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 22:19:22 2015 +0100
gtphub: use file for incremental restart counter.
Force passing a restart counter, by adding such arg to gtphub_start().
In gtphub_main.c, add -r,--restart-file <path> and next_restart_count() to
maintain the counter file.
While at it, tweak the cmdline help to unify the formatting.
http://cgit.osmocom.org/openbsc/commit/?id=e201bf5778b073e7101a707435de0777…
commit e201bf5778b073e7101a707435de0777a38b832f
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 05:20:18 2015 +0100
gtphub: complain about excess cmdline args.
http://cgit.osmocom.org/openbsc/commit/?id=192cf8b56ace2ea168153571f9c5eae5…
commit 192cf8b56ace2ea168153571f9c5eae53fd47365
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 03:33:29 2015 +0100
gtphub: track tunnels explicitly.
So far, gtphub worked perfectly by only tracking single TEIs ... for probably
most uses. But a Ctrl plane tunnel may have expired despite a still active
corresponding User plane tunnel. The User plane would continue to work
indefinitely, but if any Ctrl messages followed after more than six hours of
Ctrl silence, they would have been dropped due to an expired TEI mapping.
We want to
- combine expiry of a user TEI with its ctrl TEI. (done in this patch)
- upon delete PDP context, remove both user and ctrl TEI mappings. (future)
- when a peer indicates a restart counter bump, invalidate its tunnels.
(future)
To facilitate these, track tunnels, complete with both SGSN's and GGSN's
address, original and replaced TEIs, all for both user and ctrl plane, in a
single struct. A single expiry entry handles the entire tunnel, instead of
previously four separate expiries for each endpoint identifier.
Add the concept of a "side", being either GGSN or SGSN.
Track the originating side in the gtp_packet_desc. For clarity, explicitly
track the received header TEI in header_tei_rx, since set_tei() overwrites
header_tei to reflect the packet's replaced header TEI, and the originally
received header TEI still needs to be used for matching a Create PDP Context
Response up with its Request (and for logging).
Adjust the test suite to expect tunnel listing strings instead of TEI mappings,
with a bonus of making it a lot easier to grok and including the IP addresses.
Note: the current implementation is as slow as can possibly be, iterating all
the tunnels all the time. Optimizations are kept for a future commit, on
purpose.
BTW, the sequence number mapping/unmapping structures remain unchanged.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=7f2d40ceb755943d52fcae8ddb12c09e…
commit 7f2d40ceb755943d52fcae8ddb12c09e2d0c623f
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 25 16:50:19 2015 +0100
gtphub: fix filename mentioned in comment
http://cgit.osmocom.org/openbsc/commit/?id=c1e297a9f030429a075392b4888d2653…
commit c1e297a9f030429a075392b4888d26539a333dbf
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 25 16:45:59 2015 +0100
gtphub: cosmetic/prepare: rename expiry queues.
The expiry queues are already used for resolved GGSN addresses, and will
soon enlist tunnel structs. Hence the naming should be more general.
http://cgit.osmocom.org/openbsc/commit/?id=444fe1be787fd291b5bc9c347303047e…
commit 444fe1be787fd291b5bc9c347303047e78089c35
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=3bf4d4ddd97383a98d3da56f3b57e7aa…
commit 3bf4d4ddd97383a98d3da56f3b57e7aac2adcf54
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).
Add regression test for this.
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=da53b650561f5c2e81bd499657497713…
commit da53b650561f5c2e81bd499657497713a7276725
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=036874d27b458d4359a9132e3361e47b…
commit 036874d27b458d4359a9132e3361e47b42935117
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=3c4c17178f6d41ee83b441b9ce7d55d4…
commit 3c4c17178f6d41ee83b441b9ce7d55d4e404b73d
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:23:44 2015 +0100
gtphub: cosmetic: fix an argument name.
http://cgit.osmocom.org/openbsc/commit/?id=89a83524dc4dcf73bedd8c98659bfd00…
commit 89a83524dc4dcf73bedd8c98659bfd006a422a3b
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=5b3ed5a6cd4bc03b225e59910d647a5d…
commit 5b3ed5a6cd4bc03b225e59910d647a5d4d21243a
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=5b231c38318754de6b9b16e91d0f1dc2…
commit 5b231c38318754de6b9b16e91d0f1dc29290872d
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=a0e2c562de54d87a48bdd059e18ef782…
commit a0e2c562de54d87a48bdd059e18ef782f18c3cc8
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=d369720ec8bda4f2fb3ee0b1a719211d…
commit d369720ec8bda4f2fb3ee0b1a719211d66df247a
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=f397ca83bea6f15f194b522d9278695c…
commit f397ca83bea6f15f194b522d9278695c7a27765f
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 19 00:44:52 2015 +0100
gtphub: send gtphub's own restart counter, fix type.
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.
Also fix the restart counter data type (just one octet after all).
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=402b117fe1ec63fe9c30eaa38850a477…
commit 402b117fe1ec63fe9c30eaa38850a477601799e9
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=fce0d1ee3b0717d18d081db9ceadbab2…
commit fce0d1ee3b0717d18d081db9ceadbab2525441b8
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=786d555de00d65e6c0b07008fe1cc8f5…
commit 786d555de00d65e6c0b07008fe1cc8f593118c2e
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=42d114b846a4a1852f22ecfd56d8872c…
commit 42d114b846a4a1852f22ecfd56d8872cae83018a
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=03203415845cd646c748983f8ab49ecb…
commit 03203415845cd646c748983f8ab49ecb8ca0581a
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=fa74d6dd746e65166d4f7d62d7c6ff69…
commit fa74d6dd746e65166d4f7d62d7c6ff698bec2900
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
http://cgit.osmocom.org/openbsc/commit/?id=6de6ea937eae341577dedb93d95bd9de…
commit 6de6ea937eae341577dedb93d95bd9ded7fd440f
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 22:20:50 2015 +0100
gtphub: remove obsolete comment.
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gtphub.h | 3 +-
openbsc/src/gprs/gtphub.c | 131 ++++++++++++++-------------------------
openbsc/src/gprs/gtphub_main.c | 88 +++++++++++++++++++++++---
3 files changed, 128 insertions(+), 94 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 ee702cd590688c1e65296319c5bc4c9cf160ba65 (commit)
via f13de868be052f96325c337f25453f1d97777005 (commit)
via 46b703d083a57d7718340f8f71da29d96ce15170 (commit)
via 2e8f9ed5560ac6286b1fe70ade868569d30cb392 (commit)
via b6e6bea4ecea4b0769fc56136321f01f553459ba (commit)
from 5fa0dcc2750a79920d4a6404e960c50667840058 (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=ee702cd590688c1e65296319c5bc…
commit ee702cd590688c1e65296319c5bc4c9cf160ba65
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 10 11:38:25 2015 +0100
stats: Add TODO comment to rate_ctr
Currently the counters are scanned twice, once for interval
computation and once for reporting.
This adds a reminder to move the interval computation code to a
special stats reporter which just shall update the fields.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=f13de868be052f96325c337f2545…
commit f13de868be052f96325c337f25453f1d97777005
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 10 11:36:58 2015 +0100
stats/test: Add memory leak check
Adds a rudimentary leak check for the counters and stat items.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=46b703d083a57d7718340f8f71da…
commit 46b703d083a57d7718340f8f71da29d96ce15170
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 9 17:25:27 2015 +0100
stats/test: Add test for reporting
This tests uses a dedicated test reported to check several aspects of
the value reporting.
- addition/removal of stats reporter
- addition/removal of counters/items
- setting of max_class
- initial value flush
- updating single counters/items
- reporter retrieval
- enable/disable
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=2e8f9ed5560ac6286b1fe70ade86…
commit 2e8f9ed5560ac6286b1fe70ade868569d30cb392
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 9 15:48:25 2015 +0100
stats: Reorder functions in stats.c
Due to prior refactoring, the functions do not have an sensible order
in the file. This commit tries to improve that a little bit.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=b6e6bea4ecea4b0769fc56136321…
commit b6e6bea4ecea4b0769fc56136321f01f553459ba
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 9 15:33:44 2015 +0100
stats: Move statsd related code into a separate file
This commit moves the stats specific code parts into stats_statsd.c
while keeping the generic parts in stats.c. The code in stats.c no
longer contains references to statsd symbols.
Note that the VTY code still needs to know about every stats reporter
backend.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/stats.h | 16 ++-
src/Makefile.am | 2 +-
src/rate_ctr.c | 3 +
src/stats.c | 256 ++++++++++----------------------------
src/stats_statsd.c | 158 ++++++++++++++++++++++++
tests/stats/stats_test.c | 283 ++++++++++++++++++++++++++++++++++++++++---
tests/stats/stats_test.ok | 108 +++++++++++++++++
7 files changed, 612 insertions(+), 214 deletions(-)
create mode 100644 src/stats_statsd.c
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, neels/gtphub has been updated
via cb591d0e9175dad898de019612a68f9adfd25f4b (commit)
from 88d06caa712a3fd40960c0d11d45373dc9341659 (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=cb591d0e9175dad898de019612a68f9a…
commit cb591d0e9175dad898de019612a68f9adfd25f4b
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 05:20:18 2015 +0100
gtphub: complain about excess cmdline args.
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/gprs/gtphub_main.c | 9 ++++++++-
1 file changed, 8 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 "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, neels/gtphub has been updated
via 88d06caa712a3fd40960c0d11d45373dc9341659 (commit)
via 2d228573f2df28be5d185d8d93ec3b887f526eb7 (commit)
via f0dc0f3bd9d702c59d46cd358ba9915377136cfc (commit)
from ad51b759181064c87f26ed702c16d3edc3bc12ec (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=88d06caa712a3fd40960c0d11d45373d…
commit 88d06caa712a3fd40960c0d11d45373dc9341659
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 26 03:33:29 2015 +0100
gtphub: track tunnels explicitly.
So far, gtphub worked perfectly by only tracking single TEIs ... for probably
most uses. But a Ctrl plane tunnel may have expired despite a still active
corresponding User plane tunnel. The User plane would continue to work
indefinitely, but if any Ctrl messages followed after more than six hours of
Ctrl silence, they would have been dropped due to an expired TEI mapping.
We want to
- combine expiry of a user TEI with its ctrl TEI. (done in this patch)
- upon delete PDP context, remove both user and ctrl TEI mappings. (future)
- when a peer indicates a restart counter bump, invalidate its tunnels.
(future)
To facilitate these, track tunnels, complete with both SGSN's and GGSN's
address, original and replaced TEIs, all for both user and ctrl plane, in a
single struct. A single expiry entry handles the entire tunnel, instead of
previously four separate expiries for each endpoint identifier.
Add the concept of a "side", being either GGSN or SGSN.
Track the originating side in the gtp_packet_desc. For clarity, explicitly
track the received header TEI in header_tei_rx, since set_tei() overwrites
header_tei to reflect the packet's replaced header TEI, and the originally
received header TEI still needs to be used for matching a Create PDP Context
Response up with its Request (and for logging).
Adjust the test suite to expect tunnel listing strings instead of TEI mappings,
with a bonus of making it a lot easier to grok and including the IP addresses.
Note: the current implementation is as slow as can possibly be, iterating all
the tunnels all the time. Optimizations are kept for a future commit, on
purpose.
BTW, the sequence number mapping/unmapping structures remain unchanged.
Sponsored-by: On-Waves ehi
http://cgit.osmocom.org/openbsc/commit/?id=2d228573f2df28be5d185d8d93ec3b88…
commit 2d228573f2df28be5d185d8d93ec3b887f526eb7
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 25 16:50:19 2015 +0100
gtphub: fix filename mentioned in comment
http://cgit.osmocom.org/openbsc/commit/?id=f0dc0f3bd9d702c59d46cd358ba99153…
commit f0dc0f3bd9d702c59d46cd358ba9915377136cfc
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Nov 25 16:45:59 2015 +0100
gtphub: cosmetic/prepare: rename expiry queues.
The expiry queues are already used for resolved GGSN addresses, and will
soon enlist tunnel structs. Hence the naming should be more general.
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gtphub.h | 43 ++++-
openbsc/src/gprs/gtphub.c | 338 ++++++++++++++++++++++++++++++-------
openbsc/src/gprs/gtphub_ares.c | 2 +-
openbsc/src/gprs/gtphub_vty.c | 158 ++++++++---------
openbsc/tests/gtphub/gtphub_test.c | 73 +++++---
5 files changed, 434 insertions(+), 180 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, fairwaves/dynamic-rtp-pt-fix has been updated
via 871cbd3ea56485fe60ac88634c1ef2c887c0d5c2 (commit)
from b8e04d4041c1805e161bd17dbf846293457dccea (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=871cbd3ea56485fe60ac88634c1ef2c8…
commit 871cbd3ea56485fe60ac88634c1ef2c887c0d5c2
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Tue Nov 24 21:28:58 2015 -0500
rtp_proxy: Fix out of bound access when AMR is enabled.
One extra byte is used for the AMR frame size, which was not accounted for.
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/libtrau/rtp_proxy.c | 6 ++++--
1 file changed, 4 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, fairwaves/dynamic-rtp-pt-fix has been created
at b8e04d4041c1805e161bd17dbf846293457dccea (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=b8e04d4041c1805e161bd17dbf846293…
commit b8e04d4041c1805e161bd17dbf846293457dccea
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Tue Nov 24 21:18:01 2015 -0500
rtp_proxy: Use actual codec type instead of payload type.
http://cgit.osmocom.org/openbsc/commit/?id=bbb158bb1091974f1ce2cab2e95cddd3…
commit bbb158bb1091974f1ce2cab2e95cddd3eb9bfb28
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Tue Nov 24 21:16:40 2015 -0500
rtp_proxy: Don't try to guess codec by payload type - it'll be wrong anyway.
We should use msg_type instead, which has information about the actual codec.
http://cgit.osmocom.org/openbsc/commit/?id=f8caeb27a158082d9dd79bab976c11e5…
commit f8caeb27a158082d9dd79bab976c11e53d117445
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Tue Nov 24 21:14:52 2015 -0500
rtp_proxy: Always pass RTP codec into rtp_decode().
We can't rely on payload type for decoding, so lets use actual codec type.
http://cgit.osmocom.org/openbsc/commit/?id=945fb547dba1f562538de718bad69d57…
commit 945fb547dba1f562538de718bad69d5780b467ce
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Tue Nov 24 21:13:23 2015 -0500
rtp_proxy: Fix debug output for rtp_socket_upstream().
http://cgit.osmocom.org/openbsc/commit/?id=ccdd23317062d7e94f5eb40f025ab21c…
commit ccdd23317062d7e94f5eb40f025ab21c9bdaa50f
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Tue Nov 24 21:09:27 2015 -0500
rtp_proxy: Pass RTP message type to rtp_socket_upstream().
This allows us to decode incoming RTP packet based on the codec instead
of relying on payload type. Payload type is dynamic for HR, EFR and AMR,
so we can't rely on it.
-----------------------------------------------------------------------
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 1a86955288e44041e56c411f59407a04e49739b5 (commit)
via 39e643a62d6cfccf993a06be611f251b75c4074f (commit)
from 8ea918d772ec2e9eac460844c0c66f829dfa9c97 (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=1a86955288e44041e56c411f59407a0…
commit 1a86955288e44041e56c411f59407a04e49739b5
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Tue Nov 24 18:11:03 2015 +0100
tests/test-hnbap: Decode HNBAP UE Register accept as well
http://cgit.osmocom.org/osmo-iuh/commit/?id=39e643a62d6cfccf993a06be611f251…
commit 39e643a62d6cfccf993a06be611f251b75c4074f
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Tue Nov 24 18:03:29 2015 +0100
tests: Add test-hnbap to test en-/decoding of HNBAP messages
Decode a HNBAP UE register request and check the result.
-----------------------------------------------------------------------
Summary of changes:
src/tests/Makefile | 5 +-
src/tests/test-hnbap.c | 128 +++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 132 insertions(+), 1 deletion(-)
create mode 100644 src/tests/test-hnbap.c
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 a43c956c928b5c0a0fca1f3f79d77293c3648be3 (commit)
discards 634178aa7792db4d396b00aaf72d5ad82b5a730b (commit)
discards 137a202032455ecf05594c0e75d806ff90876e48 (commit)
discards f4ec777f932c510fd04fa5113db650a0861ee961 (commit)
discards 3ed33b61d72eef110e12478f6cbbc0931210b0bb (commit)
discards 254714ceb1e9581b170044f35257b50d36d659b1 (commit)
discards bd6f15c2664de6d53c6129f86cf104fa7fa75495 (commit)
discards 52712a4a879cbe1be066e50c0f9e8efb3a3cab24 (commit)
discards bd49d8a4b599796369b845b2763f87f39a2d8354 (commit)
discards 88f25563c31fb68d3f0a67d8c80dadc3492d43fa (commit)
discards 57e34eb473562bf71962f01efaa1db875dd424c5 (commit)
via ad51b759181064c87f26ed702c16d3edc3bc12ec (commit)
via e6b56c49fd36757aa507bbbef868cdc98d2cd3ca (commit)
via 5d2e92036d0bc6fbcab522e3eb3cb71cf62d80cc (commit)
via 628c0c8f82673390e92cc5f532f7f1e0d368c26c (commit)
via eb7b0a83b4555222215a0ec6155e0eecaadf3f24 (commit)
via 1c31e9a0793c90c856f6537d31b8f20e5d93ff4b (commit)
via e68fee7637ac953837adddb8c3428909a07ecfcb (commit)
via b30bfedb11e10ea7f99a5e98d5b8274cb866baa8 (commit)
via 5171ef9d2059625cf4d4c5775fe8e0c18ee5cd8b (commit)
via 25a88f932df6ea89d33da5ffafc883f735462636 (commit)
via 105b984f6af0907838529755efc6cf3ba3f5bad8 (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 (a43c956c928b5c0a0fca1f3f79d77293c3648be3)
\
N -- N -- N (ad51b759181064c87f26ed702c16d3edc3bc12ec)
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=ad51b759181064c87f26ed702c16d3ed…
commit ad51b759181064c87f26ed702c16d3edc3bc12ec
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=e6b56c49fd36757aa507bbbef868cdc9…
commit e6b56c49fd36757aa507bbbef868cdc98d2cd3ca
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).
Add regression test for this.
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=5d2e92036d0bc6fbcab522e3eb3cb71c…
commit 5d2e92036d0bc6fbcab522e3eb3cb71cf62d80cc
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=628c0c8f82673390e92cc5f532f7f1e0…
commit 628c0c8f82673390e92cc5f532f7f1e0d368c26c
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=eb7b0a83b4555222215a0ec6155e0eec…
commit eb7b0a83b4555222215a0ec6155e0eecaadf3f24
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Nov 24 13:23:44 2015 +0100
gtphub: cosmetic: fix an argument name.
http://cgit.osmocom.org/openbsc/commit/?id=1c31e9a0793c90c856f6537d31b8f20e…
commit 1c31e9a0793c90c856f6537d31b8f20e5d93ff4b
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=e68fee7637ac953837adddb8c3428909…
commit e68fee7637ac953837adddb8c3428909a07ecfcb
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=b30bfedb11e10ea7f99a5e98d5b8274c…
commit b30bfedb11e10ea7f99a5e98d5b8274cb866baa8
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=5171ef9d2059625cf4d4c5775fe8e0c1…
commit 5171ef9d2059625cf4d4c5775fe8e0c18ee5cd8b
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=25a88f932df6ea89d33da5ffafc883f7…
commit 25a88f932df6ea89d33da5ffafc883f735462636
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=105b984f6af0907838529755efc6cf3b…
commit 105b984f6af0907838529755efc6cf3ba3f5bad8
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Nov 19 00:44:52 2015 +0100
gtphub: send gtphub's own restart counter, fix type.
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.
Also fix the restart counter data type (just one octet after all).
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
-----------------------------------------------------------------------
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 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
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 b32a19467ffde540b059bf166a378decf07701b8 (commit)
from a99d45ac5960c25818b980683cb5920ffd25588c (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=b32a19467ffde540b059bf166a37…
commit b32a19467ffde540b059bf166a378decf07701b8
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Nov 20 10:22:14 2015 +0100
stat_item.c: Fix compiler warnings
CC stat_item.lo
stat_item.c: In function 'osmo_stat_item_group_alloc': stat_item.c:84:28: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]
group->items[item_idx] = (void *)items_size;
^
stat_item.c:98:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
((uint8_t *)items + (int)group->items[item_idx]);
^
-----------------------------------------------------------------------
Summary of changes:
src/stat_item.c | 4 ++--
1 file changed, 2 insertions(+), 2 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 "gnuradio I/Q balancing".
The branch, master has been updated
discards d3ca957eb2a9d1d65f67d8374f4b7cf40ae0a4e8 (commit)
via dcd73fd54992430938ced73872b983bffd770b11 (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 (d3ca957eb2a9d1d65f67d8374f4b7cf40ae0a4e8)
\
N -- N -- N (dcd73fd54992430938ced73872b983bffd770b11)
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/gr-iqbal/commit/?id=dcd73fd54992430938ced73872b983b…
commit dcd73fd54992430938ced73872b983bffd770b11
Author: Sylvain Munaut <tnt(a)246tNt.com>
Date: Sun Oct 25 21:13:43 2015 +0100
Import MANIFEST.md for CGRAN's benefit
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
-----------------------------------------------------------------------
Summary of changes:
MANIFEST.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
hooks/post-receive
--
gnuradio I/Q balancing
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 "GNURadio block for spectrum visualization using GPU".
The branch, master has been updated
via 12c1a6d3f8e2b4540e870cfa612e51727fa0b1b1 (commit)
from 4ae2f539df6ec247751cc1f2196652c30ec25efe (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/gr-fosphor/commit/?id=12c1a6d3f8e2b4540e870cfa612e5…
commit 12c1a6d3f8e2b4540e870cfa612e51727fa0b1b1
Author: Sylvain Munaut <tnt(a)246tNt.com>
Date: Thu Nov 12 11:41:09 2015 +0100
Revert "fosphor/gl_cmap_gen: Add new function to generate GL colormap from a PNG"
This reverts commit 585bac0316983286830f3bc50fce8247bad142f9.
This is causing issue with Ubuntu and its lack of libpng 1.6 ... so
removed for now.
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
-----------------------------------------------------------------------
Summary of changes:
lib/fosphor/Makefile | 4 +--
lib/fosphor/gl_cmap_gen.c | 92 -----------------------------------------------
lib/fosphor/gl_cmap_gen.h | 1 -
3 files changed, 2 insertions(+), 95 deletions(-)
hooks/post-receive
--
GNURadio block for spectrum visualization using GPU
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 1b9c815024a1f863d83b70d0bb48c513f8e4cbeb (commit)
from 557c84e9f7d3273734685049f628d65a035265c7 (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=1b9c815024a1f863d83b70d0bb48c513…
commit 1b9c815024a1f863d83b70d0bb48c513f8e4cbeb
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Fri Nov 20 21:35:01 2015 +0000
gtp: Fix Makefile.am so maybe distcheck is now going to work
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 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 cc5f7cafa236b7eefbb123f7263f0d54cae6bf6b (commit)
from 9614d9aea7e7efa346cef23c14b78a1471dd0ab2 (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=cc5f7cafa236b7eefbb123f7263f0d5…
commit cc5f7cafa236b7eefbb123f7263f0d54cae6bf6b
Author: Daniel Willmann <dwillmann(a)sysmocom.de>
Date: Fri Nov 20 19:52:00 2015 +0100
src/Makefile: Change order of dependencies so a clean checkout builds
There still seem to be some issues with the _decode.o dependencies, but
this will eventually build through.
-----------------------------------------------------------------------
Summary of changes:
src/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, master has been updated
via 437deb5f3a9dcfcb0c40ac8b44c20a5987907990 (commit)
from 48e99fd05a906bcf9536996733123fdb512b635e (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=437deb5f3a9dcfcb0c40ac8b44c20a5…
commit 437deb5f3a9dcfcb0c40ac8b44c20a5987907990
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Nov 20 18:05:51 2015 +0100
sysmobts: fix ph_data_req() msgb handling + alignment
The way we recycle the msgb with a l1sap header when transforming a
PH-DATA.req L1SAP primitive into a PHY/L1 primitive was flawed in
several ways:
1) the way the L1SAP header was stored in the buffer didn't provide
sufficient tailroom for the L1 primitive
2) the alignment of the data in L1SAP is at a 32bit bounadry, but not
in the L1 primitive, causing unaligned accesses.
-----------------------------------------------------------------------
Summary of changes:
src/osmo-bts-sysmo/l1_if.c | 40 ++++++++++++++++------------------------
1 file changed, 16 insertions(+), 24 deletions(-)
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, master has been updated
via 48e99fd05a906bcf9536996733123fdb512b635e (commit)
from 3c161bb7df7bf95e5a69db97fe3baa6380c3c9ed (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=48e99fd05a906bcf9536996733123fd…
commit 48e99fd05a906bcf9536996733123fdb512b635e
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Nov 20 10:54:09 2015 +0100
cope with 'struct gsm_bts' without a tsc member
This was introduced in openbsc.git a2bbc5ec0e6481bb5b65da7bdbde03a424437af4
-----------------------------------------------------------------------
Summary of changes:
src/common/pcu_sock.c | 2 +-
src/common/vty.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 557c84e9f7d3273734685049f628d65a035265c7 (commit)
via a2bbc5ec0e6481bb5b65da7bdbde03a424437af4 (commit)
via ae2c18c57b5b8d2133a42297fb7ce02a8f332cce (commit)
via 0d21ac8f5a4563e10d887e610a8cffff2a5672b8 (commit)
via 24e3c3e13657210f2ac5f41942da82341ff7b25d (commit)
from 6187e010a8fb6f503ce7bf0ee93530787acfc876 (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=557c84e9f7d3273734685049f628d65a…
commit 557c84e9f7d3273734685049f628d65a035265c7
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Nov 20 10:50:24 2015 +0100
vty: Print NCC/BCC and not just integer value of BSIC
http://cgit.osmocom.org/openbsc/commit/?id=a2bbc5ec0e6481bb5b65da7bdbde03a4…
commit a2bbc5ec0e6481bb5b65da7bdbde03a424437af4
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Nov 20 10:43:31 2015 +0100
Fix TSC/BSIC handling bug and remove bts->tsc
This fixes a bug in the following circumstances:
* BSIC is set to 0 in the config file
* No TSC is explicitly specified at the BST level in the config file
In this case, we ended up using BSIC=0 and TSC=7, as TSC=7 is our
default initialization value.
The TSC of the CCCH/BCCH must always be the BCC, which is the lower 3
bits of the BSIC. Having configuration options for both the BSIC _and_
the TSC at the BTS level therefore makes no sense, as it only adds ways
in which users can configure non-oprational configurations. So we
remove the bts->tsc member, and keep only the ts->tsc members that allow
us to configure a timeslot-specific TSC that's different from the BTS
TSC (= BCC).
http://cgit.osmocom.org/openbsc/commit/?id=ae2c18c57b5b8d2133a42297fb7ce02a…
commit ae2c18c57b5b8d2133a42297fb7ce02a8f332cce
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Nov 20 10:41:02 2015 +0100
oap and gtphub tests must only be compiled of LIBGTP is present!
http://cgit.osmocom.org/openbsc/commit/?id=0d21ac8f5a4563e10d887e610a8cffff…
commit 0d21ac8f5a4563e10d887e610a8cffff2a5672b8
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Nov 20 10:40:07 2015 +0100
Depend on libgtp >= 0.92, as previous versions don't have gtpie.h installed
this fixes compilation for people having older gtp libraries installed.
http://cgit.osmocom.org/openbsc/commit/?id=24e3c3e13657210f2ac5f41942da8234…
commit 24e3c3e13657210f2ac5f41942da82341ff7b25d
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Nov 20 10:28:42 2015 +0100
meas_db.c: fix compiler warnings
s_db.c: In function ‘_insert_ud’:
meas_db.c:65:6: warning: implicit declaration of function ‘rxlev2dbm’ [-Wimplicit-function-declaration]
rxlev2dbm(ud->full.rx_lev)));
^
-----------------------------------------------------------------------
Summary of changes:
openbsc/configure.ac | 2 +-
openbsc/include/openbsc/gsm_data.h | 2 +-
openbsc/include/openbsc/gsm_data_shared.h | 8 +++-----
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 | 4 ++--
10 files changed, 20 insertions(+), 40 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 OpenGGSN project".
The branch, master has been updated
via ac0b4f17fe659e106254d2b4dd4d9b662fcf1cfc (commit)
from 10abfba9495e7bac1e96463f8a55ce7d4da76a26 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openggsn/commit/?id=ac0b4f17fe659e106254d2b4dd4d9b6…
commit ac0b4f17fe659e106254d2b4dd4d9b662fcf1cfc
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Nov 20 10:34:17 2015 +0100
update version to 0.92
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The OpenGGSN project
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The annotated tag, 0.92 has been created
at 755de01fb4b2f529834e3ea713c1c4653ad3b966 (tag)
tagging ac0b4f17fe659e106254d2b4dd4d9b662fcf1cfc (commit)
replaces 0.91
tagged by Harald Welte
on Fri Nov 20 10:34:36 2015 +0100
- Log -----------------------------------------------------------------
tag v0.92 for installing gtpie.h
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUAVk7pNkoQeR9V5ESWAQKYqw//Wc2g4ZbcIua9YoVB1XdQ710t8iYYczs9
xYaVCoWqjE0cqRR4Y4SniJgwCEJat2xzu2sCxtGs3He0mamlK5KCjTX3HvG8Sc2m
LxQbXCWOsPnmlD242qg5uAipmZLLnJhfp+XZ8O5KAJQRKD/sL+q9PtqhW7c108WI
IiVPsVkcwlDFJJX9xa3t653znZJYwI3v0fXIkVPLy1QVAFWrkRN5UWOOfFzXRQwV
NTxsOdZJPYY2a7nOmTZZS8RYiTyzZFrla1WAphV1TzKLe6fketQmv02nXJSMgcab
EYlIEu/CvT/FniMRKwn9OL5MlJYXN6AVW+hwWJCsNIYJB+Ua2UvsmPRXUr4Lin+c
ru88nOEZo1CWezDCpWhHeQ2sUgPEsTgNJ38pNAWCJuje86yrjNgmeB6MuWovZdnd
DHdk/P4l2ARYBJjY1LC0jogorFNnGgANrQO/EOyTbNLUjV/8LNAtHtgmxUNsPwhI
zRaZf+sjaB1/ZcfjCLdAsC44rwfBLOndynhXOiXfMvNkTZc+t8P/xxqt/WkDceBR
j4NpA1VFfhV4szeqWGo3rl6hBf77h/i7OVSTrvFiL61+TsEmBokU1PPZB79tOQU3
yL/+J6iQuZ3E4HKG5QnD5GzfRdNgwk0c/rDwpfmeKvC/fXWSE8WVqz+pFjVvrtGz
9qlnLwqBHEk=
=XFC2
-----END PGP SIGNATURE-----
Alexander Huemer (3):
configure.in -> configure.ac
fix some format specifiers
Makefile.am: define ACLOCAL_AMFLAGS, include directory m4
Andreas Schultz (1):
convert literal APN name to protocol encoded version before use
Daniel Willmann (1):
openggsn.service: Add Install section to systemd service file
Emmanuel Bretelle (8):
Fix warning on unused fscanf return code
Fixed compile warning,exit if cant daemonize
Fixe compilation warning
Move common sgsnemu/ggsn files to directory "lib"
Set tun devname to IFNAMESIZ+1 to avoid warning
Do not exceed 80 characters per line
fixed compilation warning against gcc-4.4
IFNAMSIZ includes terminating 0
Eric Butler (2):
Debian package updates.
Fix init script in debian package.
Harald Welte (20):
import debian packaging info
debian: libgtp has architecture 'any' not 'all'
debian: add init script for OpenGGSN
libgtp: introduce cb_recovery() callback
debian: update to source format git
properly build a library for the content of the lib directory
remove autotools-generated INSTALL file
debian packaging: add missing openggsn.install file
debian: add openggsn example config files
Add optional RAI Field
optionally do not send recovery with sgsnemu
Convert all code to Linux coding style
GTP: use socklen_t where appropriate
configure: use AM_SILENT_RULES when available
queue: use %p format string when printing a pointer
queue: mark non-public functions as static
queue: Add some more comments throughout the code (doxygen style)
queue: fix copy+paste mistake in debug statements
GTP: don't use magic numbers for T3-REQUESTS and N3-REQUEST
update version to 0.92
Holger Hans Peter Freyther (32):
build: Remove subdir-objects as it breaks make distclean
build: Let the system decide where libraries are searched
pdp: Mark the data as static as only pdp.c should access this data
build: Do not generate a Makefile in the empty src/ directory
gtp: Use struct ul16_t/struct ul66_t to avoid compiler warnings in OsmoSGSN
systemd: Add a simple ggsn service file
systemd: Do not restart when the application exits with 1
cli: Re-generate the cmdline.c/cmdline.h with newer gengetopt
cli: Manually patch the generated code to fix compiler warning
cli: Introduce a logfile command to log errors to a file
gtp: Speculative FreeBSD compile fix for htobe64
debian: Create new changelog entry to please new tools
debian: Add dependency for LSB script
debian: Modernize/Fix the debian control file
debian: Harden and build debug packages
debian: Make it a proper git version
debian: Attenpt to fix lintian warning on weak-dependency
Begin to require libosmocore and libosmovty
gtp: Move to using LOGP for logging GTP packages
gtp: Kill unused and non public method
gtp: Make these regions runtime debuggable
syserr: Remove unused error packet logging code
logging: Switch to using libosmocore logging for all the code
ggsn: Be able to set the log level for the text file
ggsn: Remove unused dump/logging method
ggsn: Move printf to DEBUGP statements in the ggsn as well
lib: Speculatively add libosmocore cflags to the lib
debian: Move to multi-arch support
debian: Require libosmocore
debian: Address lintian warning about -dbg package
Dump dead code and never look at it again
Revert "Makefile.am: define ACLOCAL_AMFLAGS, include directory m4"
Isabelle Kraemer (1):
GTP: Fix bug in update PDP context procedure
Max Suraev (1):
Fix dpkg-buildpackage build for OpenGGSN
Michael McTernan (1):
openggsn: Check return codes and take error paths on failure.
Neels Hofmeyr (7):
gtp.c: improve 3 error logs.
gtp.h: rename gsn_t.dublicate to duplicate.
gtp.c: fix an error log.
make install: also install gtpie.h
add todo comments
sgsnemu: improve an error message
gitignore: add 'compile' (from autoconf)
Pablo Neira Ayuso (3):
gtp: fix wrong binary layout for struct gtp0_header in x86_64
gtp: fix endianness in teid field of GTPv0 header
gtp: add pdp_set_imsi_nsapi
Sylvain Munaut (1):
build: Add a proper pkgconfig libgtp.pc for the GTP library
Tobias Engel (1):
Remove out-of-bounds write
Yann BONNAMY (3):
Add support for GTP IE's from 3GPP R7
RAI fix
sgsnemu support for QoS as defined in 3GPP TS 24.008
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenGGSN project