freeswan-2.04 + uClibc + linux witout modules
Niki Waibel <[email protected]> Fri, 14 Nov 2003 11:39:03 +0100 (MET)
| Newsgroups | gmane.network.freeswan.user,gmane.network.freeswan.devel |
|---|---|
| Message-ID | <[email protected]> |
this is what i had to change to get it running: === a) vi programs/pluto/state.c +853 # add if(count != 0) vi programs/pluto/connections.c +3362 # add if(count != 0) b) vi programs/_startklips/_startklips.in +258 # add: # if test -r $modules c) vi programs/_updown/_updown.c # change del -> delete (busybox ip command) vi programs/_updown/_updown.ip2.in # change del -> delete (busybox ip command) === most important changes are a): pluto crashes on uclibc systems if there are no entries in the state or connection table (malloc(0) results in NULL in uclibc). b) change is necessary if you use a kernel without modules. c) change is because the busybox ip commmand dows not like ``ip route del''. it wants ``ip route delete'' system: === busybox/1.0.0pre3 gmp/4.1.2 ipsec-tools/0.2.2 iptables/1.2.9 mawk/1.1.3 ntp/4.2.0 openssh/3.7.1p2 openssl/0.9.7c ppp/20031029 rp-pppoe/3.5 tinylogin/1.4 uclibc/0.9.21 util-linux/2.12 zlib/1.1.4.1 === would like to see this changes in 2.05. niki