Add first IPv6 support to IPVS
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest posting 2/224 patches 7 repliesIn review
- v3 posting 1/20 of 24 patches 1 replySuperseded
- v2 RFC0 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 RFC | 24 patches | 34 replies | Superseded |
Patches in v3 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/24 | IPVS: Add CONFIG_IP_VS_IPV6 option for IPv6 supportnet/ | +8 | 0 replies | |
| 2/24 | IPVS: Change IPVS data structures to support IPv6 addressesinclude/ net/ net/ +16 more | +121 | 0 replies | |
| 3/24 | IPVS: Add general v4/v6 helper functions / data structuresinclude/ | +49 | 0 replies | |
| 4/24 | IPVS: Add debug macros for v4 and v6 address outputinclude/ | +42 | 0 replies | |
| 5/24 | IPVS: Add internal versions of sockopt interface structsinclude/ net/ | +129 | 0 replies | |
| 6/24 | IPVS: Convert __ip_vs_svc_get() and __ip_vs_fwm_get()net/ | +47 | 0 replies | |
| 7/24 | IPVS: Add v6 support to ip_vs_service_get()include/ net/ net/ +1 more | +28 | 0 replies | |
| 8/24 | IPVS: Add IPv6 support flag to schedulersinclude/ net/ net/ +8 more | +66 | 0 replies | |
| 9/24 | IPVS: Add 'af' args to protocol handler functionsinclude/ net/ net/ +2 more | +171 | 0 replies | |
| 10/24 | IPVS: Add protocol debug functions for IPv6net/ net/ | +93 | 1 reply | |
| 11/24 | IPVS: Extend protocol DNAT/SNAT and state handlersinclude/ net/ net/ | +142 | 0 replies | |
| 12/24 | IPVS: Extend functions for getting/creating connectionsinclude/ net/ net/ +5 more | +209 | 5 replies | |
| 13/24 | IPVS: Add IPv6 support to xmit() support functionsnet/ | +75 | 0 replies | |
| 14/24 | IPVS: Add and bind IPv6 xmit functionsinclude/ net/ net/ +1 more | +472 | 0 replies | |
| 15/24 | IPVS: Extend scheduling functions for IPv6 supportnet/ | +31 | 0 replies | |
| 16/24 | IPVS: Add/adjust Netfilter hook functions and helpers for v6net/ | +329 | 3 replies | |
| 17/24 | IPVS: Convert real server lookup functionsinclude/ net/ net/ +2 more | +67 | 0 replies | |
| 18/24 | IPVS: Convert procfs files for IPv6 entry outputnet/ net/ | +73 | 0 replies | |
| 19/24 | IVPS: Disable sync daemon for IPv6 connectionsnet/ | +2 | 0 replies | |
| 20/24 | IPVS: Turn off FTP application helper for IPv6net/ | +16 | 0 replies | |
| 21/24 | IPVS: Add function to determine if IPv6 address is localnet/ | +49 | 1 reply | |
| 22/24 | IPVS: Adjust various debug outputs to use new macrosinclude/ net/ net/ +2 more | +111 | 0 replies | |
| 23/24 | IPVS: Activate IPv6 Netfilter hooksnet/ | +37 | 0 replies | |
| 24/24 | IPVS: Allow adding IPv6 services from userspacenet/ | +48 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCHv3 00/24] Add first IPv6 support to IPVS
Hi Horms,
Here comes the whole batch again! I've fixed almost all style issues reported by checkpatch.pl, except for some little things which look like they could stay like they are for now (down to 3 warnings and 2 errors). I also integrated your other comments and removed the patch that adds the changelog information (not needed anymore, according to Stephen).
These patches are based on lvs-2.6:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/lvs-2.6.git
- Full kernel patch in one file:
http://www-user.tu-chemnitz.de/~volz/ipvs_ipv6/ipvs_ipv6_v3.patch
While not all IPv6 features are working or tested, existing IPv4 features should still work as before. However, to use any of the new features, you will need a new ipvsadm with support for genetlink and IPv6:
http://sixpak.org/vince/google/ipvsadm/
(by Vince Busam)
To enable IPv6 support in IPVS, set CONFIG_IP_VS_IPV6=y.
Short overview:
What works with IPv6:
- forwarding mechanisms: NAT, DR, maybe Tunnel (not fully tested yet)
- protocols: TCP, UDP, ESP, AH (last two not tested)
- manipulation and inspection of both IPv4 and IPv6 entries with ipvsadm
- 6 out of 10 schedulers
What is not supported with IPv6:
- handling fragmentation or other extension headers
- FTP application helper (can be loaded, but only operates on v4)
- sync daemon (can be started, but only operates on v4)
- probably some incorrect handling of ICMPv6 or other corner cases
Since fragmentation and extension headers should not occur very often, things should "mostly" work. I tested HTTP and DNS over NAT and DR with various supported schedulers without encountering any problems. But we didn't test any exotic situations. Also, there are some TODOs in the code for things that haven't been tested or implemented yet.
Thanks for any comments!
Julius