[OpenWrt-Devel] Linux IP Virtual Server for OpenWrt trunk or github?
Mauro Mozzarelli
mauro at ezplanet.net
Wed Mar 9 03:24:24 EST 2016
All,
I have been having conversations with John on whether to include ipvs and ipvsadm in
trunk or github. Initially I did not know of github and thanks to John's patience now I
have a better understanding of the differences between the two.
IP Virtual server is provided by kernel modules that have been available since kernel
release 2.4. For some reasons these were always omitted by OpenWrt
IP Virtual server is part of kernel netfilter and lives together with IP NAT and
netfilter modules.
IP Netfilter has a userland tool to configure the kernel tables: iptables. Similarly IP
Virtual server has a tool named ipvsadm to configure the ip vs kernel tables.
ipvsadm is fundamental to ip vs. It stands to ip vs kernel modules like iptables stands
to ip netfilter modules. ipvsadm has been adopted by the linux kernel project and it is
available here: https://www.kernel.org/pub/linux/utils/kernel/ipvsadm/
OpenWrt:
The ip_vs kernel configuration is achieved by activating the relative ip_vs modules build
with a simple modification of OpenWrt's netfilter.mk
Logically ipvsadm belongs to the same OpenWrt folder where iptables is.
That is the reason I created the package there (package/network/utils/ipvsadm) in the
first place.
Now that I understand more about github packages, I am convinced that ipvsadm does not
belong there as it isn't yet another userland tool. It is a tool which is strictly
linked to kernel capabilities and it is essential to IP VS kernel modules.
For this reason I believe it should be included in the core trunk OpenWrt.
I would be grateful if you could take the time to review the ipvs and ipvsadm patches
and consider them to be included in OpenWrt.
I believe it would add great value to OpenWrt.
Before building the modules for OpenWrt, back in January I contacted Sebastian Gotschall
of DD-WRT who kindly included the IP Virtual server modules and ipvsadm in only two
weeks. IP Virtual Server load balancer has now become part of the core DD-WRT firmware.
I hope sincerely that it will be soon included in OpenWrt too.
Best regards,
Mauro
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list