diff options
author | Sean Kenny <skenny@wfap.ca> | 2019-08-14 23:06:18 -0600 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-10-18 19:23:07 +0200 |
commit | 9105057cc0da6172a77490733769a0e5f3c7b2d2 (patch) | |
tree | cc89c32f88e535a4a956c98f49c8a8a6db59b891 /package/kernel/cryptodev-linux | |
parent | d3b0459c93ffff9149b64cf9e2a32e9582d38f0e (diff) | |
download | upstream-9105057cc0da6172a77490733769a0e5f3c7b2d2.tar.gz upstream-9105057cc0da6172a77490733769a0e5f3c7b2d2.tar.bz2 upstream-9105057cc0da6172a77490733769a0e5f3c7b2d2.zip |
6in4: add rfc1918 check function
This is a precursor to adding proper support for multiple
6in4 tunnels with the already programmed tunlink parameter.
This is an essential sanity check so as to not break existing
and working behind NAT setups.
Signed-off-by: Sean Kenny <skenny@wfap.ca>
6in4: add myip he.net api parameter logic
This is to add proper support for multiple 6in4 tunnels
with the already programmed tunlink parameter.
As it stands before this commit, if there is a multi wan setup that
consists of dynamic ips, there is no way to use the
dynamic update feature as the he.net api is implicitly using
the ip address of the caller. This will explicitly use the
ipaddr specified in the interface config OR the ip of the
tunlink interface specified in the dynamic update api call instead
ONLY if the final resolved ipaddr variable is not an rfc1918 address.
Signed-off-by: Sean Kenny <skenny@wfap.ca>
Diffstat (limited to 'package/kernel/cryptodev-linux')
0 files changed, 0 insertions, 0 deletions