Hi,
The IPVS v0.2.6 for kernel 2.4 was available at the LVS site.
IP Virtual Server Netfilter module - Version 0.2.6 - March 18, 2001
Changes:
* ipvsadm updates
Horms fixed that ipvsadm cannot read /etc/sysconfig/ipvsadm
correctly on Red Hat 7. It is caused by scanf under the glibc that
ships with Red Hat 7 not returning EOF as the man page documents
it will once input stops. Added some code in the config_stream.c
so that it can detect ab EOF.
Horms tidys up ipvsadm-restore, ipvsadm-save and ipvsadm.sh a
little too.
* Julian fixed the dst_cache usage, i.e. __ip_vs_dst_check() needs
doing dst_hold(dst) before returning an available dst. Then, the
__refcnt of dst_cache is correct.
* Changed ip_vs_ftp.c to handles established sessions only, which
can speed up ftp handling in the LVS/NAT a little bit.
* Changed to use records of fixed size and added more boundary
checking in all the proc info handlers (of /proc/net/ip_vs,
/proc/net/ip_vs_conn, /proc/net/ip_vs_app), so that possible
buffer overflow can be avoided. Thanks to Julian for discussions
on this issues.
* Changed svc->refcnt updates a little bit. Tidy up some stucts in
the ip_vs.h and some comments in the code.
* Added some statistics functionalities in the ipvs. The
statistics information can be accessed by /proc/net/ip_vs_stats.
And, thank Julian for discussions on this too.
Your testing and comments are welcome!
Thanks,
Wensong
The IPVS v0.2.6 for kernel 2.4 was available at the LVS site.
IP Virtual Server Netfilter module - Version 0.2.6 - March 18, 2001
Changes:
* ipvsadm updates
Horms fixed that ipvsadm cannot read /etc/sysconfig/ipvsadm
correctly on Red Hat 7. It is caused by scanf under the glibc that
ships with Red Hat 7 not returning EOF as the man page documents
it will once input stops. Added some code in the config_stream.c
so that it can detect ab EOF.
Horms tidys up ipvsadm-restore, ipvsadm-save and ipvsadm.sh a
little too.
* Julian fixed the dst_cache usage, i.e. __ip_vs_dst_check() needs
doing dst_hold(dst) before returning an available dst. Then, the
__refcnt of dst_cache is correct.
* Changed ip_vs_ftp.c to handles established sessions only, which
can speed up ftp handling in the LVS/NAT a little bit.
* Changed to use records of fixed size and added more boundary
checking in all the proc info handlers (of /proc/net/ip_vs,
/proc/net/ip_vs_conn, /proc/net/ip_vs_app), so that possible
buffer overflow can be avoided. Thanks to Julian for discussions
on this issues.
* Changed svc->refcnt updates a little bit. Tidy up some stucts in
the ip_vs.h and some comments in the code.
* Added some statistics functionalities in the ipvs. The
statistics information can be accessed by /proc/net/ip_vs_stats.
And, thank Julian for discussions on this too.
Your testing and comments are welcome!
Thanks,
Wensong