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/link-local has been created
at 9b1705382577e3fc203ebf6c290999bfe6010dc2 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-ggsn/commit/?id=9b1705382577e3fc203ebf6c290999…
commit 9b1705382577e3fc203ebf6c290999bfe6010dc2
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Dec 14 14:09:13 2017 +0100
ggsn: Add 'ipv6 link-local' vty cmd
This vty cmd let's you set up a new link-local IP for a specific APN to
be used during ICMPv6 Router Advertisement procedure.
osmo-ggsn hence requires a link-local IPv6 address to be added to the
tun interface, otherwise the apn will not be configured correctly and it
won't be able to allocate addresses from the ipv6 pool later on.
This feature is useful in case your OS doesn't support autoconfiguring
link-local IPs when the interface is brought up (some linux versions are
known to fail at this) or in case you configured your OS specifically to
avoid automatic set up (sysctl net.ipv6.conf.*.autoconf).
If "no ipv6 link-local" is provided (default), osmo-ggsn will rely on the
OS or the ipup-script setting up the link-local IP for the tun
interface at creation time, then fetching it after ipup-script time and
using the first link-local ip found. On the other hand, if the "ipv6
link-local" cmd is provided, osmo-ggsn will add the link-local IP to the
interface manually and use that one for later Router Advertisement
procedures.
Change-Id: I09ef27f54940d4c47150e5f9016d1cd4298c16b5
http://cgit.osmocom.org/osmo-ggsn/commit/?id=dd64f649f80e07b608fc6ea31af49e…
commit dd64f649f80e07b608fc6ea31af49eb9277c7277
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Dec 14 14:01:23 2017 +0100
Set tun_addaddr ipv agnostic and add support for ipv6
sgsnemu (the only user of this API so far) has been modified to use the
new API with in46_addr.
FreeBSD code for IPv6 has not been tested.
Change-Id: Ie36afe6eaf393855a4a708000ef4ad0192bf4767
http://cgit.osmocom.org/osmo-ggsn/commit/?id=4d407a18ca46f93d206e7c15042891…
commit 4d407a18ca46f93d206e7c15042891ee6968ebae
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Dec 14 13:48:12 2017 +0100
tun.c: tun_addaddr: Fix segfault and wrong usage of tun_nlattr
First of all, dstaddr can be NULL, avoid copying it in that case.
Second, we want to copy the addr data, not the pointer. I tested it and
the IP was not added (not shown in ip addr) until I copied the content
instead of the address.
Change-Id: I8da637b155f0e913cab6c5b0dde355c9f33375b5
http://cgit.osmocom.org/osmo-ggsn/commit/?id=cb809ca72148da89ea8e9d826b33e9…
commit cb809ca72148da89ea8e9d826b33e98197f0bbe9
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Dec 14 11:19:10 2017 +0100
ggsn.c: Improve logging info on link-local ipv6 addr not found
Change-Id: I18fb952514712ff30d18c7626f84309055d3efa1
http://cgit.osmocom.org/osmo-ggsn/commit/?id=b00c7caf353ab3410614d9bffebff3…
commit b00c7caf353ab3410614d9bffebff3f37d136cf9
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Dec 14 13:59:02 2017 +0100
cosmetic: sgsnemu.c: Fix trailing whitespace
Change-Id: Ic392ed35946e076a39aa5f7bf80a8c2ffe73562c
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenGGSN project