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 8db1134c72d629d16368eb493a231d9ec742cf17 (commit)
via 86ec311896dd5d481eba7f361ab8dd2f0b043578 (commit)
via cdd05f0ed439787d79ff7a0e04c3fc6e2516a64c (commit)
from 9e57a5a6974e92a2df73f9009f793c1a1f6206d9 (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=8db1134c72d629d16368eb493a23…
commit 8db1134c72d629d16368eb493a231d9ec742cf17
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 13:26:15 2015 +0100
msgb: Add msgb_test_invariant function
This adds a function that verifies whether a mgsb is consistent.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=86ec311896dd5d481eba7f361ab8…
commit 86ec311896dd5d481eba7f361ab8dd2f0b043578
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 13:26:14 2015 +0100
msgb: Let msgb_hexdump be more tolerant
This patch makes msgb_hexdump accept out of range lXh pointers and
shows info about them instead of aborting the dump entirely.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=cdd05f0ed439787d79ff7a0e04c3…
commit cdd05f0ed439787d79ff7a0e04c3fc6e2516a64c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 13:26:13 2015 +0100
msgb: Add msgb_resize_area and msgb_copy
These functions originate from openbsc/src/gprs but are generic
msgb helper functions.
msgb_copy: This function allocates a new msgb, copies the data
buffer of msg, and adjusts the pointers (incl. l1h-l4h)
accordingly.
msgb_resize_area:
This resizes a sub area of the msgb data and adjusts the
pointers (incl. l1h-l4h) accordingly.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/msgb.h | 43 ++++++++++++++
src/msgb.c | 137 +++++++++++++++++++++++++++++++++++++++++---
2 files changed, 173 insertions(+), 7 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 "An utility library for Open Source Mobile Communications".
The branch, sysmocom/shared/log-speed has been created
at 95d04650ab785a8ffc1b6b75ec32125d1139861d (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=95d04650ab785a8ffc1b6b75ec32…
commit 95d04650ab785a8ffc1b6b75ec32125d1139861d
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Dec 21 14:45:33 2015 +0100
logging: Remember the target we found
log_check_level and osmo_vlogp share the responsibility for the
output of a log message. Once check_level has identified the first
target that might have an output osmo_vlogp will continue from this
place.
In practice we have one (stderr/syslog) or two (stderr+VTY) log
outputs so avoiding to re-iterate is not that important but as
we have found the right place we can just use it.
http://cgit.osmocom.org/libosmocore/commit/?id=87215d5bd97b0ba9249825dcbfb4…
commit 87215d5bd97b0ba9249825dcbfb4d449f42b5a15
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Dec 21 14:45:16 2015 +0100
logging: Remove some code duplication
Extract the mapping of the subsystem number and the checking for
the loglevel to a inline method that is shared between the new
and old.
http://cgit.osmocom.org/libosmocore/commit/?id=f96826f2039a4a794f86ea3d81d3…
commit f96826f2039a4a794f86ea3d81d3a728a6450847
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 17 11:52:26 2015 +0100
log/test: Extend test case for log_check_level
This commit adds OSMO_ASSERTs for mandatory conditions related to
log_check_level, and fprintfs for optional conditions, since it is
always safe for log_check_level to return != 0.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=67c96eb2babc9eed8a4a6d3c98ad…
commit 67c96eb2babc9eed8a4a6d3c98ad52eb9ad63877
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 17 11:52:25 2015 +0100
log: Add conditional logging based on log_check_level
Currently the LOGP/DEBUGP arguments are always evaluated even if
no logging will happen at all. This can be expensive, for instance
if hexdumps or pretty printed object names are generated. This causes
high base load especially on embedded devices and is a major part of
CPU usage e.g. of the osmo-pcu.
This commit uses the log_check_level function to avoid the evaluation
of the parameters if it is known in advance, that no logging entry
will be generated.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=5fcc4f6ff75a3b3e2027ceceb6bc…
commit 5fcc4f6ff75a3b3e2027ceceb6bcdaac6c9c0ba2
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 17 11:52:24 2015 +0100
log: Add log_check_level function
This commit adds this predicate function which can be used to
avoid the execution of code if a certain log level is not enabled.
The function will only return 0 (false), if it is sure that a logging
call for the same facility and level will not produce any output.
This safety criterion shall ensure, that no logging output is lost
due to the use of this predicate as a guard. On the other hand, even
if the predicate returns != 0 (true), no logging output might get
generated by a similar logging command.
Note that the current implementation is not focussed on performance,
which could be improved by using a lookup table instead of iterating
through every target.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
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, jerlbeck/wip/stats has been deleted
was d8dd911de66e10c87e4b8f0fa0e26f1be832eb82
-----------------------------------------------------------------------
d8dd911de66e10c87e4b8f0fa0e26f1be832eb82 ns/stats: Add missing osmo_stat_item_group_free to gprs_nsvc_delete
-----------------------------------------------------------------------
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 9e57a5a6974e92a2df73f9009f793c1a1f6206d9 (commit)
from 1a87c1b1891262e063d3bc862a8a1babef943f74 (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=9e57a5a6974e92a2df73f9009f79…
commit 9e57a5a6974e92a2df73f9009f793c1a1f6206d9
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Dec 21 11:20:14 2015 +0100
some comments / fixed typos
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/rate_ctr.h | 1 +
include/osmocom/gsm/apn.h | 3 +++
include/osmocom/gsm/protocol/gsm_08_58.h | 2 +-
include/osmocom/gsm/tlv.h | 2 +-
src/gsm/lapd_core.c | 2 +-
5 files changed, 7 insertions(+), 3 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 OpenGGSN project".
The branch, master has been updated
via c80680a9c42f378268daa911f9f5bff270bbd32f (commit)
via c5fbf9bd68432e9e18b62a6ee9c1be149e3f427a (commit)
via 4b075b6cb85f93dff1378aabddf7c1d4959feb72 (commit)
from 89dcb614e81b59fb02aff7d7d86545b636def1d0 (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=c80680a9c42f378268daa911f9f5bff…
commit c80680a9c42f378268daa911f9f5bff270bbd32f
Author: Andreas Schultz <aschultz(a)tpip.net>
Date: Tue Nov 17 12:22:44 2015 +0100
ggsn: fix autotool pkg-config invokation
see https://autotools.io/pkgconfig/pkg_check_modules.html, Optional Modules
for explanation
Signed-off-by: Andreas Schultz <aschultz(a)tpip.net>
http://cgit.osmocom.org/openggsn/commit/?id=c5fbf9bd68432e9e18b62a6ee9c1be1…
commit c5fbf9bd68432e9e18b62a6ee9c1be149e3f427a
Author: Andreas Schultz <aschultz(a)tpip.net>
Date: Tue Nov 17 12:22:43 2015 +0100
ggsn: update gpt-kernel logging to libosmocore
Signed-off-by: Andreas Schultz <aschultz(a)tpip.net>
http://cgit.osmocom.org/openggsn/commit/?id=4b075b6cb85f93dff1378aabddf7c1d…
commit 4b075b6cb85f93dff1378aabddf7c1d4959feb72
Author: Pablo Neira Ayuso <pablo(a)gnumonks.org>
Date: Tue Nov 17 12:22:42 2015 +0100
ggsn: add support for GTP kernel data encapsulation
This patch adds the -g, --gtpnl=device option that allows you to
enable the GTP kernel tunneling mode in openggsn. You have to specify
the real downlink device that will be used to tunnel traffic, eg.
-g=eth0
This means that the gtp0 device will be created and it will use eth0
as the real device to encapsulate packet coming from the Internet that
are addressed to the MS (so the tunnel devuce encapsulates these IP
packets in GTP packets when traveling to the SGSN).
Alternatively, you can also add this to the ggsn.conf configuration file:
gtpnl eth0
The device has to be the real device that can route packets to the SGSN,
if you select the wrong device, the kernel routing code may not find a
way to reach the SSGN, you've been warned.
Therefore, if this option is set, the operational becomes the following:
1) A gtp0 device is created via rtnetlink and configure the socket
encapsulation infrastructure in the kernel.
2) Whenever a PDP context is created, this adds the necessary tunnel
configuration via genetlink GTP interface.
3) Whenever a PDP context is destroyed, this deletes the tunnel via
genetlink GTP interface.
4) Destroy the gtp0 device if ggsn is stopped, including all of the
existing tunnels.
You require the osmo-ggsn.git tree, which contains the kernel module
gtp.ko and the libgtpnl library that you have to compile and install.
Make sure you have loaded the gtp.ko kernel module before launching
the ggsn daemon using the kernel driver mode, otherwise you will get
a nice "operation not supported" error message ;-).
This patch also adds supports for "ipup" configuration option to invoke
an external script after the gtp0 device has been brought up. Typical
command to add the route to reach the MS behind the GGSN is required,
eg. ip route add 10.0.0.0/8 dev gtp0.
The (horrible) ggsn parser has been manually extended to support the
new configuration option. That code doesn't look nice, but it just
mimics what we already have there for consistency, please don't blame
me for that.
If you want to run in debugging mode, I suggest you to use:
sudo ggsn -c ggsn.conf -f -d
Note that you do have to run openggsn as root to bring up the gtp0
device. You have to see this message that announce that the GTP kernel
mode is enabled.
openggsn[1106]: ggsn.c: 656: Using the GTP kernel mode (genl ID is 25)
This patch also automagically sets up route to reach MS from Internet
just like tun mode does. This is fundamental to get this working,
better don't leave to the admin, he may forget to add this route.
In this patch, I tried to encapsulate this new feature as much as
possible as Harald initially suggested.
To compile this feature, you have to pass --enable-gtp-kernel, ie.
./configire --enable-gtp-kernel
Otherwise, the code to interact with the gtp kernel part is not compiled.
Signed-off-by: Andreas Schultz <aschultz(a)tpip.net>
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 15 ++++
ggsn/Makefile.am | 11 ++-
ggsn/cmdline.c | 39 ++++++---
ggsn/cmdline.ggo | 3 +
ggsn/cmdline.h | 8 +-
ggsn/ggsn.c | 35 +++++++-
ggsn/gtp-kernel.c | 237 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
ggsn/gtp-kernel.h | 51 ++++++++++++
8 files changed, 381 insertions(+), 18 deletions(-)
create mode 100644 ggsn/gtp-kernel.c
create mode 100644 ggsn/gtp-kernel.h
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 "An utility library for Open Source Mobile Communications".
The branch, zecke/ancient/debian6.0 has been updated
via 70fcbda6dd733a503e9a046e01986d8bfc2e2bb2 (commit)
from 34d770dcfdb102bc5c5a22724b2386f5ce4b7a18 (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=70fcbda6dd733a503e9a046e0198…
commit 70fcbda6dd733a503e9a046e01986d8bfc2e2bb2
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 18:54:58 2015 +0100
stat: Explicitly support stat_items without unit
Add OSMO_STAT_ITEM_NO_UNIT for stat items without an unit. The
statsd reporter uses gauges ("g") to report them.
Sponsored-by: On-Waves ehf
[hfreyther: Manually apply change to osmo_stats_reporter_statsd_send_item]
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/stat_item.h | 1 +
src/stats.c | 12 +++++++++++-
src/vty/utils.c | 5 ++++-
3 files changed, 16 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 "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, zecke/stable/0.14 has been created
at 0fc158c0be5709fbde405f62fdd39be3c452623c (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=0fc158c0be5709fbde405f62fdd39be3…
commit 0fc158c0be5709fbde405f62fdd39be3c452623c
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Nov 2 16:07:57 2015 +0100
stats/mgcp: Initialize the statistics for MGCP as well
There are currently no reate counters but this will hopefully
change in the near future.
http://cgit.osmocom.org/openbsc/commit/?id=63036a92164300b08f90f71a3f40d504…
commit 63036a92164300b08f90f71a3f40d5042a6c4b15
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 2 15:15:38 2015 +0100
stats: Set class_id in rate_ctr group descriptions
This commit adds the class_id initialiser to all rate_ctr_group_desc
definitions.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=9a457d43b31c81d1ab3f8829384d7680…
commit 9a457d43b31c81d1ab3f8829384d768034e55fd9
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Oct 26 16:25:37 2015 +0100
stats: Enable stats for sgsn, gbproxy, nitb, bsc, nat
This commit initialises and enables the stats subsystem for the given
binaries.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
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 1a87c1b1891262e063d3bc862a8a1babef943f74 (commit)
from cc6ac4cdc4103cb68a3e161deb49dfb64c931adf (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=1a87c1b1891262e063d3bc862a8a…
commit 1a87c1b1891262e063d3bc862a8a1babef943f74
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Dec 14 15:26:07 2015 +0100
LaPDm: Refuse SUSPEND/RESUME/RECONNECT in BTS mode
The primitives for SUSPEND, RESUME and RECONNECT are only permitted on
the MS side of the LAPDm link, not on the BTS side. So we should check
for this and reject, accordingly.
-----------------------------------------------------------------------
Summary of changes:
src/gsm/lapdm.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
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 "asn1c runtime code as shared library".
The branch, master has been updated
via 667d758c92825208e318ec27e090aac2805d4678 (commit)
from a37b06d7354c5cfec0e88dc22a8a5d784551f1b3 (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/libasn1c/commit/?id=667d758c92825208e318ec27e090aac…
commit 667d758c92825208e318ec27e090aac2805d4678
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sat Dec 19 13:37:02 2015 +0100
APER: Fix encoding of INTEGER with lower_bound != 0
When encoding an INTEGER, we need to subtract the lower bound before
encoding the value. This is specified in Clause 10.5.7.x of X.691.
The decoder already does this correct, but the encoder was wrong.
-----------------------------------------------------------------------
Summary of changes:
src/INTEGER.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
hooks/post-receive
--
asn1c runtime code as shared library
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 "Lev Walkin's asn1 compiler".
The branch, aper has been updated
via 2ccf6f701de667aee12de4d16a95601ccc58b909 (commit)
via d02b4a79f4311c3d94dc200392ab37c6aef9fdf0 (commit)
from 6e00cbce7304a6972e82a12bb5fa82e41fa541be (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/asn1c/commit/?id=2ccf6f701de667aee12de4d16a95601ccc…
commit 2ccf6f701de667aee12de4d16a95601ccc58b909
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sat Dec 19 13:32:58 2015 +0100
APER: Fix encoding of INTEGER with lower_bound != 0
When encoding an INTEGER, we need to subtract the lower bound before
encoding the value. This is specified in Clause 10.5.7.x of X.691.
The decoder already does this correct, but the encoder was wrong.
http://cgit.osmocom.org/asn1c/commit/?id=d02b4a79f4311c3d94dc200392ab37c6ae…
commit d02b4a79f4311c3d94dc200392ab37c6aef9fdf0
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Sep 10 09:31:18 2015 +0200
prefixing of generated types using a ASN1C_PREFIX environment variable
When generating code for multiple ASN.1 syntaxes that have clashing
names, we need to add a prefix in order to prevent clashes in the global
C symbol namespace. Using the ASN1C_PREFIX environment variable and
this patch serves as a work-around to that. All non-basic type names
as well as references to that type and source code + header file names
will be pre-fixed accordingly.
-----------------------------------------------------------------------
Summary of changes:
libasn1compiler/asn1c_misc.c | 35 +++++++++++++++++++++++++++--------
libasn1compiler/asn1c_misc.h | 1 +
libasn1fix/asn1fix.c | 9 +++++++++
m4/libtool.m4 | 4 ++--
skeletons/INTEGER.c | 15 ++++++++-------
5 files changed, 47 insertions(+), 17 deletions(-)
hooks/post-receive
--
Lev Walkin's asn1 compiler