-   Terms of Use and Privacy
GNU/Linux® Reference OS
cutup   rss
  -   Terms of Use and Privacy
GNU/Linux® Reference OS
cutup   rss

<<   <   >   >>

GNU/Linux® Reference OS | iptables

iptables-1.8.3.tar.bz2 29de711d15c040c402cf3038c69ff513

Run these commands to compile and install:

cd /sources
rm -rf iptables-1.8.3
tar -xjf iptables-1.8.3.tar.bz2
cd iptables-1.8.3
./configure --prefix=/usr      \
            --sbindir=/sbin    \
            --disable-nftables \
            --enable-libipq    \
            --with-xtlibdir=/lib/xtables &&
make install &&
ln -sfv ../../sbin/xtables-legacy-multi /usr/bin/iptables-xml &&

for file in ip4tc ip6tc ipq iptc xtables
  mv -v /usr/lib/lib${file}.so.* /lib &&
  ln -sfv ../../lib/$(readlink /usr/lib/lib${file}.so) /usr/lib/lib${file}.so

You should see something like this as output:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
 /bin/mkdir -p '/usr/lib/pkgconfig'
 /bin/mkdir -p '/usr/share/man/man1'
 /usr/bin/install -c -m 644 xtables.pc '/usr/lib/pkgconfig'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c xtables-legacy-multi '/sbin'
 /usr/bin/install -c -m 644 iptables.8 iptables-restore.8 iptables-save.8 ip6tables.8 ip6tables-restore.8 ip6tables-save.8 iptables-extensions.8 xtables-nft.8 xtables-translate.8 xtables-legacy.8 iptables-translate.8 ip6tables-translate.8 xtables-monitor.8 '/usr/share/man/man8'
 /usr/bin/install -c -m 644 iptables-xml.1 '/usr/share/man/man1'
libtool: install: /usr/bin/install -c .libs/xtables-legacy-multi /sbin/xtables-legacy-multi
make  install-exec-hook
make[4]: Entering directory '/sources/iptables-1.8.3/iptables'
if test -z ""; then /sbin/ldconfig; fi;
/usr/bin/install -c -dm0755 "/usr/bin";
for i in iptables-xml; do ln -s -f "/sbin/xtables-legacy-multi" "/usr/bin/$i"; done;
for i in iptables-legacy iptables-legacy-restore iptables-legacy-save iptables iptables-restore iptables-save; do ln -s -f xtables-legacy-multi "/sbin/$i"; done;
for i in ip6tables-legacy ip6tables-legacy-restore ip6tables-legacy-save ip6tables ip6tables-restore ip6tables-save; do ln -s -f xtables-legacy-multi "/sbin/$i"; done;
for i in ; do ln -s -f xtables-nft-multi "/sbin/$i"; done;
make[4]: Leaving directory '/sources/iptables-1.8.3/iptables'
make[3]: Leaving directory '/sources/iptables-1.8.3/iptables'
make[2]: Leaving directory '/sources/iptables-1.8.3/iptables'
make[1]: Leaving directory '/sources/iptables-1.8.3/iptables'
make[1]: Entering directory '/sources/iptables-1.8.3'
make[2]: Entering directory '/sources/iptables-1.8.3'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Leaving directory '/sources/iptables-1.8.3'
make[1]: Leaving directory '/sources/iptables-1.8.3'
'/usr/bin/iptables-xml' -> '../../sbin/xtables-legacy-multi'
renamed '/usr/lib/' -> '/lib/'
renamed '/usr/lib/' -> '/lib/'
'/usr/lib/' -> '../../lib/'
renamed '/usr/lib/' -> '/lib/'
renamed '/usr/lib/' -> '/lib/'
'/usr/lib/' -> '../../lib/'
renamed '/usr/lib/' -> '/lib/'
renamed '/usr/lib/' -> '/lib/'
'/usr/lib/' -> '../../lib/'
renamed '/usr/lib/' -> '/lib/'
renamed '/usr/lib/' -> '/lib/'
'/usr/lib/' -> '../../lib/'
renamed '/usr/lib/' -> '/lib/'
renamed '/usr/lib/' -> '/lib/'
'/usr/lib/' -> '../../lib/'

full raw output

Much of the knowledge of this site came from the Linux From Scratch project and the contributors. I salute you. You rock. Linux is an operating system kernel that is a registered trademark of Linus Torvalds. GNU is an operating system started by Richard Stallman with a goal of freedom for computer users. Jean-Michel Jarre and Moby have accompanied me on my head phones through much of L1G3R. I've been listening to Jarre since Equinoxe. Jarre's goal is to create "anti-pattern electronic music", music that, even when repetitive, "is still in constant evolution". Moby has also had quite a bit of play on my headphones during L1G3R. His goal is "simply trying to make music that I love". I agree with Moby. I've loved everything there was here. Thank you, mountain, for the click of life. My goal is to fix chinks in the web, but I'll never know if I do; it is simply an honor to be able to climb.