This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The branch, laforge/sgsnemu-v6 has been updated
discards 43ebce4107a7232b27b91a58f0c3a8208dccfeb8 (commit)
discards f9cbe96b9b693dc7e4d57d8c0f2b8272e50ffd00 (commit)
discards 370335c6e284e2508806455cfac665087abaafae (commit)
discards 80499fcaf5c3d0a56596f8b96f30b837343e3d29 (commit)
discards 3ffe4d8a4542372acc66919fff6a62a041681b38 (commit)
discards ecb6786afc172418b028cef413545f774c82eac4 (commit)
discards 8bebc794920bf27afd2ec62812390f44e9668c25 (commit)
discards 1f5370db5f1aa342a30882ca55b93f09adb284eb (commit)
discards d13a9254d2dd6ad5d1b76e86fe2836f1faf78656 (commit)
discards 6dd3d3e4fed8505ed54c2a8be64c80612044da26 (commit)
discards 519044f980e8bb32a654dd44b96611382bf17d8d (commit)
discards ff037b7a4156980f34e8bde1d50527f2d5ac7c00 (commit)
via 6641c26d22fd3768e251d158bc8117f4bc751142 (commit)
via 70e66cc42cac25d1c0e1829db965ad5a8cd68409 (commit)
via ea8f7e0fa9665475bb1042a541c393c5ae53eb3c (commit)
via 449c005c017a0031c6b798ef1a997cd8c86335aa (commit)
via 646f192225290f18c6cf9810fd8ee7b6795ac6f1 (commit)
via c55e7a747a8f7de0066df809e3f188b4702deb58 (commit)
via de50ee47c63b3e9a6f3ee30111d115dfe2835401 (commit)
via c314cb313dca634d0649fc35ad0a2acfd0b05f80 (commit)
via cba7ed7311c22f7b6421474c927afefa0d2b7071 (commit)
via 8376972050a3acefd98431aa98cfd26cb54f0817 (commit)
via a96402734409e5fa0ed89a9ef5cc87881dd0b9a0 (commit)
via c5150cecc56ebebc9c8eeda5986a561e4ed07709 (commit)
via 02af9b3ca274d72f972b81a9103f7b63d6caece8 (commit)
via db924d39082b0cb6e1371c949149737fe1d4a05c (commit)
via 34a7416ec01534ea63a580ffa3225a0e2a120443 (commit)
via 45ce2725aca73521044705cf03c99802dc3646be (commit)
via a2eb5eb7603a70c60eba88bbc27c5032357619e3 (commit)
via fdd732b130177072eb2b37a29d7cf211669453ab (commit)
via 1d8ffc6b239e837558947f38aaed165e49dd12e5 (commit)
via 58c0da7833b87cd67aee78cc0159102d70f36be3 (commit)
via 958256f5cfd19610ecec8b1130f726b7a6bb17fc (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (43ebce4107a7232b27b91a58f0c3a8208dccfeb8)
\
N -- N -- N (6641c26d22fd3768e251d158bc8117f4bc751142)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-ggsn/commit/?id=6641c26d22fd3768e251d158bc8117…
commit 6641c26d22fd3768e251d158bc8117f4bc751142
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 15:57:01 2017 +0200
WIP: Add unit tests for libgtp gtpie.[ch] functions
Change-Id: I30a6dd8a01b7a074ef2d3936d186dfff6c79e6c0
http://cgit.osmocom.org/osmo-ggsn/commit/?id=70e66cc42cac25d1c0e1829db965ad…
commit 70e66cc42cac25d1c0e1829db965ad5a8cd68409
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Oct 9 10:15:04 2017 +0800
gtpie.h: Add IE identifier definitions up to 29.60 v11.8.0 Release 11
Change-Id: I6ab7bfb31f93f52f9f6b1b5880dcb2c232bba794
http://cgit.osmocom.org/osmo-ggsn/commit/?id=ea8f7e0fa9665475bb1042a541c393…
commit ea8f7e0fa9665475bb1042a541c393c5ae53eb3c
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Oct 8 07:50:20 2017 +0800
Allow Common flags 0x94 and ignore them in PDP activation
from https://github.com/osmocom/openggsn/pull/2
Change-Id: I31b3e4b378e74bb5a0a2f54af6d2a15b629876cf
http://cgit.osmocom.org/osmo-ggsn/commit/?id=449c005c017a0031c6b798ef1a997c…
commit 449c005c017a0031c6b798ef1a997cd8c86335aa
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:05:50 2017 +0800
sgsnemu: Use getprotobynumber() in print_ipprot()
There's no point in sgsnemu doing a poor mans reimplementation
of what the C library provides already by means of getprotobynumber()
Change-Id: I8cdc460e4fa5d86d80addf6e5f341d2d80093a35
http://cgit.osmocom.org/osmo-ggsn/commit/?id=646f192225290f18c6cf9810fd8ee7…
commit 646f192225290f18c6cf9810fd8ee7b6795ac6f1
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:03:25 2017 +0800
sgsnemu: Remove dead code: encaps_printf()
This function is never used/called, remove it.
Change-Id: I37a447e4d5387e3fc5f4433ab20ceba7c446684b
http://cgit.osmocom.org/osmo-ggsn/commit/?id=c55e7a747a8f7de0066df809e3f188…
commit c55e7a747a8f7de0066df809e3f188b4702deb58
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:02:45 2017 +0800
sgsnemu: Mark local functions 'static'
We don't need to export those to the global name space as they're
not called from code in other files.
Change-Id: I454249335ba46abdb3afbc669c4a06a06f39ae72
http://cgit.osmocom.org/osmo-ggsn/commit/?id=de50ee47c63b3e9a6f3ee30111d115…
commit de50ee47c63b3e9a6f3ee30111d115dfe2835401
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 08:54:04 2017 +0800
sgsnemu: Make use of "dependon" feature in gengetopt
The gengetopt syntax can specify that a particular command line argument
depends on some other argument/option present. We can use this to
provide useful feedback to the user at the command line parsing state,
like --pingrate making no sense without --pinghost being specified.
Change-Id: Ief27275e90e6bce23aed1e83874dbac98dd0926b
http://cgit.osmocom.org/osmo-ggsn/commit/?id=c314cb313dca634d0649fc35ad0a2a…
commit c314cb313dca634d0649fc35ad0a2acfd0b05f80
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:36:35 2017 +0800
sgsnemu: Print warnings on broken IPv6 configuration (acept_ra)
When sgsnemu is used for an IPv6 pdp context, we rely on the router
discovery procedure and SLAAC to set the correct IPv6 address/prefix
on the tun device. This requires the system to be configure to accept
router-advertisements on the tun device. Let's print a warning
if accept_ra for the specific tun device is set to a wrong value.
We're leaving it up to the user to either set a system-wide
/proc/sys/net/ipv6/conf/default/accept_ra or to configure this in an
ip-up script used together with sgsnemu.
Change-Id: I563092ca35bc74f035a5023e11256779aac46e11
http://cgit.osmocom.org/osmo-ggsn/commit/?id=cba7ed7311c22f7b6421474c927afe…
commit cba7ed7311c22f7b6421474c927afefa0d2b7071
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 08:50:11 2017 +0800
sgsnemu: Add '--tun-device' option to specify TUN device name
This way, multiple sgsnemu instances can be runnig in parallel, each
of them creating a different tun device for their respective PDP context
Change-Id: Id12fbadf924a60db255b6d51b9f647aa51dd2e16
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
ggsn/ggsn.c | 10 +--
gtp/gtpie.c | 120 +++++++++++++++++++++++++++--
gtp/gtpie.h | 8 +-
lib/in46_addr.c | 4 +-
lib/ippool.c | 4 +-
lib/ippool.h | 8 +-
lib/tun.c | 8 +-
lib/tun.h | 6 +-
{intl => src}/Makefile.in | 0
tests/Makefile.am | 1 +
tests/gtp/Makefile.am | 18 +++++
tests/gtp/gtpie_test.c | 78 +++++++++++++++++++
tests/gtp/gtpie_test.ok | 2 +
tests/lib/Makefile.am | 2 +
tests/lib/in46a_test.c | 190 +++++++++++++++++++++++++++++++++++++++++++---
tests/lib/in46a_test.ok | 17 +++++
tests/lib/ippool_test.c | 6 +-
tests/testsuite.at | 10 ++-
19 files changed, 451 insertions(+), 42 deletions(-)
copy {intl => src}/Makefile.in (100%)
create mode 100644 tests/gtp/Makefile.am
create mode 100644 tests/gtp/gtpie_test.c
create mode 100644 tests/gtp/gtpie_test.ok
create mode 100644 tests/lib/in46a_test.ok
hooks/post-receive
--
The OpenGGSN project
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The branch, master has been updated
via 8376972050a3acefd98431aa98cfd26cb54f0817 (commit)
via a96402734409e5fa0ed89a9ef5cc87881dd0b9a0 (commit)
via c5150cecc56ebebc9c8eeda5986a561e4ed07709 (commit)
via 02af9b3ca274d72f972b81a9103f7b63d6caece8 (commit)
from db924d39082b0cb6e1371c949149737fe1d4a05c (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-ggsn/commit/?id=8376972050a3acefd98431aa98cfd2…
commit 8376972050a3acefd98431aa98cfd26cb54f0817
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 15:57:48 2017 +0200
gtpie: Add missing #include of <arpa/inet.h> for htonl() and friends
Change-Id: Id69d957d0860ee49e7f0db5c64ab8ba976f8c8d6
http://cgit.osmocom.org/osmo-ggsn/commit/?id=a96402734409e5fa0ed89a9ef5cc87…
commit a96402734409e5fa0ed89a9ef5cc87881dd0b9a0
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 12:06:08 2017 +0200
gtpie_decaps: const-ify pointer to input packet data
Change-Id: Ia048abcd80f29581c6ac02cd7f534f2617005671
http://cgit.osmocom.org/osmo-ggsn/commit/?id=c5150cecc56ebebc9c8eeda5986a56…
commit c5150cecc56ebebc9c8eeda5986a561e4ed07709
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 06:35:46 2017 +0200
gtpie: Add doxygen API documentation
libgtp should have proper API documentation, let's start with the
gtpie.[ch] parts.
Change-Id: I97df5bd3c8dcc5c97a114c8c6abadabf33147b05
http://cgit.osmocom.org/osmo-ggsn/commit/?id=02af9b3ca274d72f972b81a9103f7b…
commit 02af9b3ca274d72f972b81a9103f7b63d6caece8
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 05:04:33 2017 +0200
gtpie_tlv() gtpie_tv0(): const-ify read-only input argument
Change-Id: Ide487e34884c8356694246f43c3f1f562357304c
-----------------------------------------------------------------------
Summary of changes:
gtp/gtpie.c | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
gtp/gtpie.h | 8 ++--
2 files changed, 120 insertions(+), 8 deletions(-)
hooks/post-receive
--
The OpenGGSN project
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The branch, master has been updated
via db924d39082b0cb6e1371c949149737fe1d4a05c (commit)
from 34a7416ec01534ea63a580ffa3225a0e2a120443 (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-ggsn/commit/?id=db924d39082b0cb6e1371c94914973…
commit db924d39082b0cb6e1371c949149737fe1d4a05c
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 20:01:54 2017 +0800
Add unit tests for lib/in46_addr.c code
Change-Id: Id032c330405e5dca8ecfc0970d128341ed75c675
-----------------------------------------------------------------------
Summary of changes:
tests/lib/Makefile.am | 14 ++-
tests/lib/in46a_test.c | 265 ++++++++++++++++++++++++++++++++++++++++++++++++
tests/lib/in46a_test.ok | 17 ++++
tests/testsuite.at | 6 ++
4 files changed, 300 insertions(+), 2 deletions(-)
create mode 100644 tests/lib/in46a_test.c
create mode 100644 tests/lib/in46a_test.ok
hooks/post-receive
--
The OpenGGSN project
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The branch, master has been updated
via 34a7416ec01534ea63a580ffa3225a0e2a120443 (commit)
via 45ce2725aca73521044705cf03c99802dc3646be (commit)
via a2eb5eb7603a70c60eba88bbc27c5032357619e3 (commit)
via fdd732b130177072eb2b37a29d7cf211669453ab (commit)
via 1d8ffc6b239e837558947f38aaed165e49dd12e5 (commit)
from 58c0da7833b87cd67aee78cc0159102d70f36be3 (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-ggsn/commit/?id=34a7416ec01534ea63a580ffa3225a…
commit 34a7416ec01534ea63a580ffa3225a0e2a120443
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 16:24:59 2017 +0200
in46a_to_sas(): Return AF_INET6 in case of IPv6 address
Change-Id: Ia2f9ac60f08823d5f7c1a76c0b7cbd65ac615e26
http://cgit.osmocom.org/osmo-ggsn/commit/?id=45ce2725aca73521044705cf03c998…
commit 45ce2725aca73521044705cf03c99802dc3646be
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 13:10:15 2017 +0200
tests: Remove Makefile.in
Change-Id: Ie21e8bfab7cda52aa696dd26280efc05c4b51bba
http://cgit.osmocom.org/osmo-ggsn/commit/?id=a2eb5eb7603a70c60eba88bbc27c50…
commit a2eb5eb7603a70c60eba88bbc27c5032357619e3
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:37:14 2017 +0800
update .gitignore
Change-Id: I030bd616dd27d49e55b5bdcc7c0b4fa3eb523da4
http://cgit.osmocom.org/osmo-ggsn/commit/?id=fdd732b130177072eb2b37a29d7cf2…
commit fdd732b130177072eb2b37a29d7cf211669453ab
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 14:32:24 2017 +0200
Remove trailing whitespace
Change-Id: I8e24f95a88bef3a59006a89c219871e6156963d7
http://cgit.osmocom.org/osmo-ggsn/commit/?id=1d8ffc6b239e837558947f38aaed16…
commit 1d8ffc6b239e837558947f38aaed165e49dd12e5
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:30:49 2017 +0800
Add ippool unit-test for 'make check' runs
This test creates a variety of v4 (and one v6) pool and performs
allocations until the pool is full, then frees a random number of
randomly distributed addresses, re-allocates them and again checks that
they're all available and finally once the pool is full allocations
fail.
Change-Id: Ibf4588e8f3ae71684e5262c0caaa2689aee73a94
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 48 +-
Makefile.am | 2 +-
configure.ac | 2 +
ggsn/ggsn.c | 6 +-
lib/in46_addr.c | 4 +-
lib/ippool.c | 4 +-
lib/ippool.h | 8 +-
lib/tun.c | 6 +-
lib/tun.h | 6 +-
tests/Makefile.am | 40 +
tests/Makefile.in | 0
tests/lib/Makefile.am | 14 +
tests/lib/ippool_test.c | 118 +
tests/lib/ippool_test.err | 10 +
tests/lib/ippool_test.ok | 66555 ++++++++++++++++++++++++++++++++++++++++++++
tests/testsuite.at | 9 +
16 files changed, 66802 insertions(+), 30 deletions(-)
create mode 100644 tests/Makefile.am
delete mode 100644 tests/Makefile.in
create mode 100644 tests/lib/Makefile.am
create mode 100644 tests/lib/ippool_test.c
create mode 100644 tests/lib/ippool_test.err
create mode 100644 tests/lib/ippool_test.ok
create mode 100644 tests/testsuite.at
hooks/post-receive
--
The OpenGGSN project
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The branch, master has been updated
via 58c0da7833b87cd67aee78cc0159102d70f36be3 (commit)
from 958256f5cfd19610ecec8b1130f726b7a6bb17fc (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-ggsn/commit/?id=58c0da7833b87cd67aee78cc015910…
commit 58c0da7833b87cd67aee78cc0159102d70f36be3
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Oct 12 16:42:46 2017 +0200
lib/tun.c: tun_ipv6_linklocal_get(): fix memory leak with getifaddrs()
From getifaddrs(3) man:
"The data returned by getifaddrs() is dynamically allocated and should
be freed using freeifaddrs() when no longer needed"
Change-Id: If6300d1c8d36fcafef294a4c11bbda31a158bb9c
-----------------------------------------------------------------------
Summary of changes:
lib/tun.c | 2 ++
1 file changed, 2 insertions(+)
hooks/post-receive
--
The OpenGGSN project
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The branch, pespin/ippool has been created
at 503f468366fc28720208aeee957bfb32a50a60d8 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-ggsn/commit/?id=503f468366fc28720208aeee957bfb…
commit 503f468366fc28720208aeee957bfb32a50a60d8
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 14:32:09 2017 +0200
ippool: Implement and use blacklist instead of blindly using IPPOOL_NOGATEWAY
Commit dda21ed7d4a897c9284c69175d0da598598eae40 modified previous calls
to ippool_new() removing the pass of flags to avoid allocating certain
problematic IPs from the pool to MS, such as the network, gateway and
broadcast IPs.
Today I did some unsucessful tests with osmo-ggsn with a pool "ip prefix
dynamic 176.16.222.0/24", and thus IP 176.16.222.0 was being assigned to
the MS. De-capsulated DNS packets were received in the tun interface,
but the Linux system in there was unable to correctly forward the
packets to the gateway interface connected to the Internet. However,
adding a second MS which got 176.16.222.1 had its packets forwarded
correctly.
However, previous implementation relies on flag IPPOOL_NOGATEWAY flag to
blindly blacklist first IP after the network ip (ie, .0 and .1 are
removed), which limits the IP reserved for the tun device to be .1. If a
different IP in the range is assigned, it may cause issues. As a result,
a blacklist is introduced in this commit to dynamically fetch the tun IP
address and exlucde it from the pool of available IPs.
Change-Id: I8e91f7280d60490c858a769dd578c1c8e54e9243
http://cgit.osmocom.org/osmo-ggsn/commit/?id=d6ede37b7e62ca7e3544b7319b9234…
commit d6ede37b7e62ca7e3544b7319b9234c564365dca
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 11:56:16 2017 +0200
lib/ippool: Fix listsize calculated 1 elem too small
Take the chance this commit is changing test output to also remove use
of IPPOOL_NOGATEWAY which is going to be removed soon, and instead test
IPPOOL_NOBROADCAST.
Change-Id: I95c24bc690490155bec9e3933d678e4668d7745f
http://cgit.osmocom.org/osmo-ggsn/commit/?id=81ff18c9d7dde7541963922ddd22de…
commit 81ff18c9d7dde7541963922ddd22de4bba2eca58
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 14:32:24 2017 +0200
Remove trailing whitespace
Change-Id: I8e24f95a88bef3a59006a89c219871e6156963d7
http://cgit.osmocom.org/osmo-ggsn/commit/?id=6f7a46a9b603dbf01fce3b68247756…
commit 6f7a46a9b603dbf01fce3b6824775601e0cc2c70
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 11:18:59 2017 +0200
tests: Makefile.am: Add missing osmocom includedir
Change-Id: Ibc2f98fe06366c94342831205fc741675dc2dda6
http://cgit.osmocom.org/osmo-ggsn/commit/?id=4a76d4bd5dd73eaafcfcdc30bef170…
commit 4a76d4bd5dd73eaafcfcdc30bef1703e35383977
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Oct 12 16:42:46 2017 +0200
lib/tun.c: tun_ipv6_linklocal_get(): fix memory leak with getifaddrs()
From getifaddrs(3) man:
"The data returned by getifaddrs() is dynamically allocated and should
be freed using freeifaddrs() when no longer needed"
Change-Id: If6300d1c8d36fcafef294a4c11bbda31a158bb9c
http://cgit.osmocom.org/osmo-ggsn/commit/?id=1d4a2f8cf40f33425a9ea364a27ecc…
commit 1d4a2f8cf40f33425a9ea364a27ecc00528a0337
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 13:09:38 2017 +0200
tests: in46a_test: Add missing expected output file
Change-Id: I542f7a201df169b703519e800b1aab8deb95ea77
http://cgit.osmocom.org/osmo-ggsn/commit/?id=5c891eb0e778f35233c55da065c31d…
commit 5c891eb0e778f35233c55da065c31d3fc76d0db9
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 13:10:15 2017 +0200
tests: Remove Makefile.in
Change-Id: Ie21e8bfab7cda52aa696dd26280efc05c4b51bba
http://cgit.osmocom.org/osmo-ggsn/commit/?id=adabfb2f4e6b7e50376c9fd3ca47d4…
commit adabfb2f4e6b7e50376c9fd3ca47d4d4b9bd8337
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 20:01:54 2017 +0800
add Unit test for lib/in46_addr.c code
Change-Id: Id032c330405e5dca8ecfc0970d128341ed75c675
http://cgit.osmocom.org/osmo-ggsn/commit/?id=336972cb622caf96aa7e1cbf35e5fb…
commit 336972cb622caf96aa7e1cbf35e5fbcc58b19285
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:37:14 2017 +0800
update .gitignore
Change-Id: I030bd616dd27d49e55b5bdcc7c0b4fa3eb523da4
http://cgit.osmocom.org/osmo-ggsn/commit/?id=1eb209c09b24b88c26deea4baec543…
commit 1eb209c09b24b88c26deea4baec543ab68928426
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:30:49 2017 +0800
Add ippool unit-test for 'make check' runs
This test creates a variety of v4 (and one v6) pool and performs
allocations until the pool is full, then frees a random number of
randomly distributed addresses, re-allocates them and again checks that
they're all available and finally once the pool is full allocations
fail.
Change-Id: Ibf4588e8f3ae71684e5262c0caaa2689aee73a94
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenGGSN project
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The branch, pespin/fix-iproute has been deleted
was f9108cc53168b72bc35152b93a647e6c69f8a8c0
-----------------------------------------------------------------------
f9108cc53168b72bc35152b93a647e6c69f8a8c0 WIP
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenGGSN project
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The branch, pespin/fix-iproute has been updated
discards 1d9628a26f47f5b84f8dccb24d43a80349f7f145 (commit)
via f9108cc53168b72bc35152b93a647e6c69f8a8c0 (commit)
via 40d8c08b8959aba92816a64573fefb18b7c4fd85 (commit)
via 3a8fb39d6d91d5e7e7ac5ef649ba74977fcede3e (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 (1d9628a26f47f5b84f8dccb24d43a80349f7f145)
\
N -- N -- N (f9108cc53168b72bc35152b93a647e6c69f8a8c0)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-ggsn/commit/?id=f9108cc53168b72bc35152b93a647e…
commit f9108cc53168b72bc35152b93a647e6c69f8a8c0
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Oct 12 17:56:55 2017 +0200
WIP
Change-Id: Ia715fa6c81a647b1062ef0ffede4cb8642a25c70
http://cgit.osmocom.org/osmo-ggsn/commit/?id=40d8c08b8959aba92816a64573fefb…
commit 40d8c08b8959aba92816a64573fefb18b7c4fd85
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Oct 12 16:42:46 2017 +0200
lib/tunc.c: tun_ipv6_linklocal_get(): fix memory leak with getifaddrs()
From getifaddrs(3) man:
"The data returned by getifaddrs() is dynamically allocated and should
be freed using freeifaddrs() when no longer needed"
Change-Id: If6300d1c8d36fcafef294a4c11bbda31a158bb9c
http://cgit.osmocom.org/osmo-ggsn/commit/?id=3a8fb39d6d91d5e7e7ac5ef649ba74…
commit 3a8fb39d6d91d5e7e7ac5ef649ba74977fcede3e
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Wed Oct 11 18:56:08 2017 +0200
apnt_start(): Pass ippool flags to avoid certain IPs
Commit dda21ed7d4a897c9284c69175d0da598598eae40 modified previous calls
to ippool_new() removing the pass of flags to avoid allocating certain
problematic IPs from the pool to MS, such as the network, gateway and
broadcast IPs.
Today I did some unsucessful tests with osmo-ggsn with a pool "ip prefix
dynamic 176.16.222.0/24", and thus IP 176.16.222.0 was being assigned to
the MS. De-capsulated DNS packets were received in the tun interface,
but the Linux system in there was unable to correctly forward the
packets to the gateway interface connected to the Internet. However,
adding a second MS which got 176.16.222.1 had its packets forwarded
correctly.
Change-Id: I72ae59ad5929ca0dc9ee69937c50e57a5f49ca76
-----------------------------------------------------------------------
Summary of changes:
ggsn/ggsn.c | 32 +++++++++++++++++++++++---------
lib/in46_addr.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++-
lib/in46_addr.h | 3 +++
lib/ippool.c | 38 ++++++++++++++++++++++++--------------
lib/ippool.h | 13 ++++++-------
lib/tun.c | 46 +++++++++++++++++++++++++++++++++++++++++-----
lib/tun.h | 9 +++++----
7 files changed, 153 insertions(+), 40 deletions(-)
hooks/post-receive
--
The OpenGGSN project
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via 2e86ab3a8704462c55245370ebdce9f6b134792d (commit)
from c5122f28292e4923f02bb645c6bb7fa4c270a5d5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-hlr/commit/?id=2e86ab3a8704462c55245370ebdce9f…
commit 2e86ab3a8704462c55245370ebdce9f6b134792d
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 13 00:52:48 2017 +0200
debian: 'make check' needs sqlite3, add to Build-Depends
At some point we should rather offer DB bootstrap as a DB API function instead
of an external .sql file, which would remove the dep on the sqlite3 binary.
For now, we need the binary to build debian packages for the 'make check' step.
Change-Id: I71938dff688675dcf1dbfbce2feb8b72b1de0910
-----------------------------------------------------------------------
Summary of changes:
debian/control | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The branch, laforge/sgsnemu-v6 has been updated
discards a05e6052a95dccbf63a2a828ffd0e39c662cd2ff (commit)
discards 3e4556ba6cfed8f91bfb1832ba10c5c735d650de (commit)
discards 485628283372a6d4b4115821d56469f00cae6552 (commit)
via 43ebce4107a7232b27b91a58f0c3a8208dccfeb8 (commit)
via f9cbe96b9b693dc7e4d57d8c0f2b8272e50ffd00 (commit)
via 370335c6e284e2508806455cfac665087abaafae (commit)
via 80499fcaf5c3d0a56596f8b96f30b837343e3d29 (commit)
via 3ffe4d8a4542372acc66919fff6a62a041681b38 (commit)
via ecb6786afc172418b028cef413545f774c82eac4 (commit)
via 8bebc794920bf27afd2ec62812390f44e9668c25 (commit)
via 1f5370db5f1aa342a30882ca55b93f09adb284eb (commit)
via d13a9254d2dd6ad5d1b76e86fe2836f1faf78656 (commit)
via 6dd3d3e4fed8505ed54c2a8be64c80612044da26 (commit)
via 519044f980e8bb32a654dd44b96611382bf17d8d (commit)
via ff037b7a4156980f34e8bde1d50527f2d5ac7c00 (commit)
via 6748dc90b8c2a0ec57a5d05eb28c20a5002afbbc (commit)
via 7bd7b6815aa937bba12c1cd82a0abbb58aab1fc6 (commit)
via b16c46b4c36383368eb1581e40d0a8ca751ddc53 (commit)
via 840a8e9713f1e1c60e3b38ba51847355555cafd9 (commit)
via cee7546f15bc66443c17a0b2cbca2570d85e3517 (commit)
via ed1ba2c902624a1bc97d73bc29e64f3fab8658ac (commit)
via ed08eb1c5a5a9efa84b3a9111d8e5538da132ce1 (commit)
via 2e84d2c29a75db6412a66356b81037508a7ef248 (commit)
via dd266066c7cc96c797034da352cc9d72177c5780 (commit)
via b5624c3d4838cd774c3a6df4208b709890174a25 (commit)
via 6a21527a2d417eca602cd0af3461dfa285da8767 (commit)
via 1a8bc9839a69566e756c691ebd2d676082838c52 (commit)
via 79aa4bd8378748ef1a264b6ae0c64f1eca0ab6df (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (a05e6052a95dccbf63a2a828ffd0e39c662cd2ff)
\
N -- N -- N (43ebce4107a7232b27b91a58f0c3a8208dccfeb8)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-ggsn/commit/?id=43ebce4107a7232b27b91a58f0c3a8…
commit 43ebce4107a7232b27b91a58f0c3a8208dccfeb8
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 20:01:54 2017 +0800
add Unit test for lib/in46_addr.c code
Change-Id: Id032c330405e5dca8ecfc0970d128341ed75c675
http://cgit.osmocom.org/osmo-ggsn/commit/?id=f9cbe96b9b693dc7e4d57d8c0f2b82…
commit f9cbe96b9b693dc7e4d57d8c0f2b8272e50ffd00
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:37:14 2017 +0800
update .gitignore
Change-Id: I030bd616dd27d49e55b5bdcc7c0b4fa3eb523da4
http://cgit.osmocom.org/osmo-ggsn/commit/?id=370335c6e284e2508806455cfac665…
commit 370335c6e284e2508806455cfac665087abaafae
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:30:49 2017 +0800
Add ippool unit-test for 'make check' runs
This test creates a variety of v4 (and one v6) pool and performs
allocations until the pool is full, then frees a random number of
randomly distributed addresses, re-allocates them and again checks that
they're all available and finally once the pool is full allocations
fail.
Change-Id: Ibf4588e8f3ae71684e5262c0caaa2689aee73a94
http://cgit.osmocom.org/osmo-ggsn/commit/?id=80499fcaf5c3d0a56596f8b96f30b8…
commit 80499fcaf5c3d0a56596f8b96f30b837343e3d29
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 17:36:53 2017 +0800
remove dead/old Makefile.in from src/ and test/ directory
Change-Id: I399e9ab54ac9d62e0e2f2bc2eaaf6610374d56f6
http://cgit.osmocom.org/osmo-ggsn/commit/?id=3ffe4d8a4542372acc66919fff6a62…
commit 3ffe4d8a4542372acc66919fff6a62a041681b38
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Oct 9 10:15:04 2017 +0800
gtpie.h: Add IE identifier definitions up to 29.60 v11.8.0 Release 11
Change-Id: I6ab7bfb31f93f52f9f6b1b5880dcb2c232bba794
http://cgit.osmocom.org/osmo-ggsn/commit/?id=ecb6786afc172418b028cef413545f…
commit ecb6786afc172418b028cef413545f774c82eac4
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Oct 8 07:50:20 2017 +0800
Allow Common flags 0x94 and ignore them in PDP activation
from https://github.com/osmocom/openggsn/pull/2
Change-Id: I31b3e4b378e74bb5a0a2f54af6d2a15b629876cf
http://cgit.osmocom.org/osmo-ggsn/commit/?id=8bebc794920bf27afd2ec62812390f…
commit 8bebc794920bf27afd2ec62812390f44e9668c25
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:05:50 2017 +0800
sgsnemu: Use getprotobynumber() in print_ipprot()
There's no point in sgsnemu doing a poor mans reimplementation
of what the C library provides already by means of getprotobynumber()
Change-Id: I8cdc460e4fa5d86d80addf6e5f341d2d80093a35
http://cgit.osmocom.org/osmo-ggsn/commit/?id=1f5370db5f1aa342a30882ca55b93f…
commit 1f5370db5f1aa342a30882ca55b93f09adb284eb
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:03:25 2017 +0800
sgsnemu: Remove dead code: encaps_printf()
This function is never used/called, remove it.
Change-Id: I37a447e4d5387e3fc5f4433ab20ceba7c446684b
http://cgit.osmocom.org/osmo-ggsn/commit/?id=d13a9254d2dd6ad5d1b76e86fe2836…
commit d13a9254d2dd6ad5d1b76e86fe2836f1faf78656
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:02:45 2017 +0800
sgsnemu: Mark local functions 'static'
We don't need to export those to the global name space as they're
not called from code in other files.
Change-Id: I454249335ba46abdb3afbc669c4a06a06f39ae72
http://cgit.osmocom.org/osmo-ggsn/commit/?id=6dd3d3e4fed8505ed54c2a8be64c80…
commit 6dd3d3e4fed8505ed54c2a8be64c80612044da26
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 08:54:04 2017 +0800
sgsnemu: Make use of "dependon" feature in gengetopt
The gengetopt syntax can specify that a particular command line argument
depends on some other argument/option present. We can use this to
provide useful feedback to the user at the command line parsing state,
like --pingrate making no sense without --pinghost being specified.
Change-Id: Ief27275e90e6bce23aed1e83874dbac98dd0926b
http://cgit.osmocom.org/osmo-ggsn/commit/?id=519044f980e8bb32a654dd44b96611…
commit 519044f980e8bb32a654dd44b96611382bf17d8d
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:36:35 2017 +0800
sgsnemu: Print warnings on broken IPv6 configuration (acept_ra)
When sgsnemu is used for an IPv6 pdp context, we rely on the router
discovery procedure and SLAAC to set the correct IPv6 address/prefix
on the tun device. This requires the system to be configure to accept
router-advertisements on the tun device. Let's print a warning
if accept_ra for the specific tun device is set to a wrong value.
We're leaving it up to the user to either set a system-wide
/proc/sys/net/ipv6/conf/default/accept_ra or to configure this in an
ip-up script used together with sgsnemu.
Change-Id: I563092ca35bc74f035a5023e11256779aac46e11
http://cgit.osmocom.org/osmo-ggsn/commit/?id=ff037b7a4156980f34e8bde1d50527…
commit ff037b7a4156980f34e8bde1d50527f2d5ac7c00
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 08:50:11 2017 +0800
sgsnemu: Add '--tun-device' option to specify TUN device name
This way, multiple sgsnemu instances can be runnig in parallel, each
of them creating a different tun device for their respective PDP context
Change-Id: Id12fbadf924a60db255b6d51b9f647aa51dd2e16
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 48 +-
Makefile.am | 2 +-
TODO-RELEASE | 1 +
configure.ac | 2 +
contrib/osmo-ggsn.service | 2 +-
ggsn/ggsn.c | 19 +-
gtp/gtpie.c | 67 +-
gtp/gtpie.h | 75 +-
gtp/pdp.h | 3 +
sgsnemu/cmdline.c | 132 +-
sgsnemu/cmdline.ggo | 18 +-
sgsnemu/cmdline.h | 8 +
sgsnemu/sgsnemu.c | 138 +-
src/Makefile.in | 0
tests/Makefile.am | 40 +
tests/Makefile.in | 0
tests/lib/Makefile.am | 22 +
tests/lib/in46a_test.c | 93 +
tests/lib/ippool_test.c | 120 +
tests/lib/ippool_test.err | 10 +
tests/lib/ippool_test.ok | 66555 ++++++++++++++++++++++++++++++++++++++++++++
tests/testsuite.at | 15 +
22 files changed, 67283 insertions(+), 87 deletions(-)
delete mode 100644 src/Makefile.in
create mode 100644 tests/Makefile.am
delete mode 100644 tests/Makefile.in
create mode 100644 tests/lib/Makefile.am
create mode 100644 tests/lib/in46a_test.c
create mode 100644 tests/lib/ippool_test.c
create mode 100644 tests/lib/ippool_test.err
create mode 100644 tests/lib/ippool_test.ok
create mode 100644 tests/testsuite.at
hooks/post-receive
--
The OpenGGSN project