Allow IPv6-only tunnels
Status from this message: NAK, as discussed on IRC, because this breaks (surprisingly) persistent
Get series with b4
b4 am [email protected]...Versions newest first
Patches in v4
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | pool: prevent IPv6 pools to be larger than 2^16 addressessrc/ | +1 | 1 reply | |
| 2/7 | pool: allow to configure an IPv6-only ifconfig-poolsrc/ src/ src/ | +146 | 4 replies | |
| 3/7 | allow usage of --server-ipv6 even when no --server is specifiedsrc/ | +6 | 1 reply | |
| 4/7 | pool: add support for ifconfig-pool-persist with IPv6 onlysrc/ src/ | +114 | 3 replies | |
| 5/7 | route: warn on IPv4 routes installation when no IPv4 is configuredsrc/ | +12 | 1 reply | |
| 6/7 | options: enable IPv4 redirection logic only if really requiredsrc/ | +8 | 4 replies | |
| 7/7 | ipv6-pool: get rid of size constraintsrc/ src/ src/ | +24 | 5 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Gert Doering | Antonio Quartulli |
|---|---|---|
| Series | A-b | |
| 1/7 | A-b | |
| 2/7 | A-b | |
| 3/7 | A-b | |
| 4/7 | A-b | |
| 5/7 | A-b | |
| 6/7 | A-b | |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Openvpn-devel] [PATCH v4 0/7] Allow IPv6-only tunnels
This patchset allows servers to work with a tunnel configured with IPv6 only (client code has already been merged).
This new v4 is the result of some more reviews, including an hardcore reviewing session that me and Gert had yesterday afternoon.
We found some interesting bugs and agreed on some
previously-not-well-defined behaviours.
The patchset is now ready for broader testing and potential final vetting.
In a nutshell, after applying this patchset, it will be possible to configure a server with just --server-ipv6 and no IPv4 at all (in the tunnel).
Happy hacking!
(Note: this code is also available at [1] in the ipv6-only branch)
Cheers,
Trac: #208
[1] https://gitlab.com/ordex986/openvpn
Antonio Quartulli (7):
pool: prevent IPv6 pools to be larger than 2^16 addresses
pool: allow to configure an IPv6-only ifconfig-pool allow usage of --server-ipv6 even when no --server is specified
pool: add support for ifconfig-pool-persist with IPv6 only
route: warn on IPv4 routes installation when no IPv4 is configured
options: enable IPv4 redirection logic only if really required
ipv6-pool: get rid of size constraint
src/openvpn/helper.c | 15 +- src/openvpn/multi.c | 10 +- src/openvpn/options.c | 29 +++- src/openvpn/pool.c | 317 ++++++++++++++++++++++++++++++++---------- src/openvpn/pool.h | 8 +- src/openvpn/route.c | 16 ++- 6 files changed, 302 insertions(+), 93 deletions(-)
Signature · 1 line
2.26.2