osmo-ggsn.git branch master updated. 1.0.0-65-g859f9b0

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Wed Oct 18 10:57:08 UTC 2017


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  859f9b0752419d43928d465bc96a87238c6d7940 (commit)
       via  a037e5908a84e8f438f8faef662f6bfcec305b16 (commit)
       via  2e7b9ff891a0d4c84a4be3fffbac1b9502fe267c (commit)
       via  361cb9e910e77f657ad39e0be4684b8028711a0c (commit)
      from  5bacb59a6c314001a053977acb4aece4695b356a (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=859f9b0752419d43928d465bc96a87238c6d7940

commit 859f9b0752419d43928d465bc96a87238c6d7940
Author: Pau Espin Pedrol <pespin at sysmocom.de>
Date:   Mon Oct 16 14:52:25 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=a037e5908a84e8f438f8faef662f6bfcec305b16

commit a037e5908a84e8f438f8faef662f6bfcec305b16
Author: Pau Espin Pedrol <pespin at sysmocom.de>
Date:   Mon Oct 16 14:41:37 2017 +0200

    tun: Convert tun_ipv6_linklocal_get to be more generic
    
    Add support for IPv4 and IPv6 global IPs. Also return the prefix length
    of the IP address by using a in46_prefix.
    
    Change-Id: I277af191dc611b6bbcb83479f4ae338083740322

http://cgit.osmocom.org/osmo-ggsn/commit/?id=2e7b9ff891a0d4c84a4be3fffbac1b9502fe267c

commit 2e7b9ff891a0d4c84a4be3fffbac1b9502fe267c
Author: Pau Espin Pedrol <pespin at sysmocom.de>
Date:   Mon Oct 16 14:27:32 2017 +0200

    lib/in46a: Introduce in46a_netmasklen API
    
    Change-Id: I06e3e038afd8f7afaec2a3fa67b1616500c8db80

http://cgit.osmocom.org/osmo-ggsn/commit/?id=361cb9e910e77f657ad39e0be4684b8028711a0c

commit 361cb9e910e77f657ad39e0be4684b8028711a0c
Author: Pau Espin Pedrol <pespin at 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

-----------------------------------------------------------------------

Summary of changes:
 ggsn/ggsn.c               |  58 +++++++++-
 lib/in46_addr.c           |  58 ++++++++++
 lib/in46_addr.h           |   1 +
 lib/ippool.c              |  38 ++++---
 lib/ippool.h              |   4 +-
 lib/tun.c                 |  65 ++++++++---
 lib/tun.h                 |  13 ++-
 tests/lib/in46a_test.c    |  59 ++++++++++
 tests/lib/in46a_test.ok   |   2 +
 tests/lib/ippool_test.c   |  45 +++++---
 tests/lib/ippool_test.err |   2 +
 tests/lib/ippool_test.ok  | 269 +++++++++++++++++++++++++++++++++++++++++++++-
 12 files changed, 562 insertions(+), 52 deletions(-)


hooks/post-receive
-- 
The OpenGGSN project



More information about the osmocom-commitlog mailing list