Installing IP Filter
The following procedure was used used to install IP Filter 4.1.9 on Sparc
Solaris 9.
1. Download pfil.
ftp://coombs.anu.edu.au/pub/net/ip-filter/pfil-2.1.6.tar.gz
2. Build and install pfil.
$ gzip -cd pfil-2.1.6.tar.gz | tar xf -
$ cd pfil
Solaris 9 users must perform the following two steps. See this ipfilter mailing list post.
$ awk '/^S64FLAGS/ { print "S64FLAGS=-m64 -mcmodel=medlow -DDO=pfil${SBITS}"; next } \
{ print }' Makefile > Makefile.new
$ mv Makefile.new Makefile
$ CC=gcc /usr/ccs/bin/make package
# pkgadd -d /tmp/pfil.pkg
3. Download IP Filter.
http://coombs.anu.edu.au/~avalon/ip_fil4.1.9.tar.gz
3. Build and install IP Filter.
$ gzip -cd ip_fil4.1.9.tar.gz | tar xf -
$ cd ip_fil4.1.9
IP Filter 4.1.9 has a bug in the buildsunos script. Perform the following three steps when building IP Filter 4.1.9 on a Solaris system.
$ sed 's/XARCH64="-m64 -mcmodel=medlow"/XARCH64_sparc="-m64 -mcmodel=medlow"/' buildsunos > buildsunos.new
$ mv buildsunos.new buildsunos
$ chmod u+x buildsunos
$ CC=gcc /usr/ccs/bin/make solaris
$ cd SunOS5
$ /usr/ccs/bin/make package
# pkgadd -d ./ipf.pkg
Back to brandonhutchinson.com.
Last modified: 12/06/2005