README of IP Virtual Server Netfilter module for Linux kernel 2.4 ----------------------------------------------------------------------- IP Virtual Server Netfilter module - Version 0.8.2 - October 23, 2001 Copyright (c) 1998-2001 by Wensong Zhang. This is free software. See below for details. The IPVS is IP Virtual Server support in Linux kernel, which can be used to build a high-performance and highly available server. Check out the Linux Virtual Server Project homepage on the World Wide Web: http://www.linuxvirtualserver.org/ or http://www.linux-vs.org/ for the most recent information and original sources about IPVS. The IPVS Netfilter module is for kernel 2.4, most of code are ported from the IPVS patch (Version 0.9.13) for kernel 2.2. See the ChangeLog for how the code has been improved and what new features it has now. Some simple instructions to compile the IPVS Netfilter module (Version 0.8.2) on kernel 2.4.4 or later. First, apply the ksyms diff file to the kernel souce. cd /usr/src/linux cat /linux_kernel_ksyms_c.diff | patch -p1 Then, rebuild a Linux kernel with Netfilter support. To build and insert the ipvs modules, the commands can be as follows: # build the modules cd /ipvs make make -C ipvsadm # insmod the modules and install ipvsadm su make install insmod ip_vs_wlc.o # set the debugging level echo 2 > /proc/sys/net/ipv4/vs/debug_level # ipvs configuration is like that of kernel 2.2 # remove modules ipvsadm -C rmmod ip_vs_wlc rmmod ip_vs # list connections in the kernel ipvsadm -Lcn To build the ipvs within the kernel, you need do the following commands: cd /usr/src/linux cat /linux_kernel_ksyms_c.diff | patch -p1 cat /linux_net_Makefile.diff | patch -p1 cat /linux_net_ipv4_Config_in.diff | patch -p1 cat /linux_ip_fw_compat_c.diff | patch -p1 cp -rp /ipvs net/ipv4 mv net/ipv4/ipvs/linux_net_ipv4_ipvs_Makefile net/ipv4/ipvs/Makefile make menuconfig ... Or, you can download the single kernel ipvs patch from http://www.linux-vs.org/software/index.html and apply it to the kernel. Thanks must go to other contributors, check the CREDITS file to know who they are. There is a mailing list for virtual server. You are welcome to talk about building the virtual server kernel, using the virtual server and making the virtual server better there. :-) To subscribe, send a message with the word "subscribe" in the Subject field to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx Wensong Zhang -------------------------------------------------------------------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. --------------------------------------------------------------------