IPVS Freebsd 7.0 RELEASE安装的问题

在FREEBSD 7.0 RELEASE上用ports安装ipvs 0.4.0.2,在make patch-system的时候出错
编译内核也编译不过去,不知道ipvs的ports什么时候能更新?或者怎样手动修改?

ipvs-0.4.0_2.tar.gz 100% of 74 kB 10 kBps
===> Extracting for ipvs-0.4.0_2
=> MD5 Checksum OK for ipvs-0.4.0_2.tar.gz.
=> SHA256 Checksum OK for ipvs-0.4.0_2.tar.gz.
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- sys/netinet/ip_input.c.orig Mon Aug 15 13:09:45 2005
|+++ sys/netinet/ip_input.c Sun Aug 21 10:49:56 2005
--------------------------
Patching file sys/netinet/ip_input.c using Plan A...
Hunk #1 succeeded at 38 (offset 2 lines).
Hunk #2 succeeded at 267 with fuzz 1 (offset -30 lines).
done
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- sys/sys/socketvar.h.orig Sat Jul 9 12:24:40 2005
|+++ sys/sys/socketvar.h Sun Aug 21 10:51:13 2005
--------------------------
Patching file sys/sys/socketvar.h using Plan A...
Hunk #1 failed at 37.
Hunk #2 succeeded at 579 (offset 15 lines).
1 out of 2 hunks failed--saving rejects to sys/sys/socketvar.h.rej
done
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- sys/conf/options.orig Tue Aug 16 01:31:55 2005
|+++ sys/conf/options Sun Aug 21 11:18:06 2005
--------------------------
Patching file sys/conf/options using Plan A...
Hunk #1 succeeded at 731 (offset 30 lines).
done
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- sys/kern/uipc_socket.c.orig Mon Aug 15 13:09:33 2005
|+++ sys/kern/uipc_socket.c Sun Aug 21 10:51:47 2005
--------------------------
Patching file sys/kern/uipc_socket.c using Plan A...
Hunk #1 failed at 37.
Hunk #2 succeeded at 1372 with fuzz 2 (offset 1307 lines).
Hunk #3 succeeded at 1487 with fuzz 2 (offset -33 lines).
patch: **** misordered hunks! output would be garbled
lvs#

Forums:

似乎用pf的地址池功能就可以完成负载均衡了
pass on $ext_if route-to ($int_if ) from any to $ext_if

需要修改内核文件才可以的,不过IPVS在FreeBSD下面真的不稳定,我的机器现在基本上一天要重启一次,随后
DR服务的机器 不承担DR服务的机器从来都没有重启过。所以还是研究研究pf+carp+sync吧

Superb inmforation here, ol'e chap; keep burning the midnight oil.

目前有新的版本,ipvs-0.4.0.2
你运行make install之前运行:
make patch-system
就不会报错了。

randomness