Comment 6 for bug 1805543

Revision history for this message
VinodKumar (vinod79) wrote : Re: Packaged version of iptables doesn't provide --random-fully flag.

Hi all,
I manually built iptables 1.6.2 using the instructions at http://www.linuxfromscratch.org/blfs/view/8.2/postlfs/iptables.html and my problem is if I use
#iptables -V
output is 1.6.2
and if I use
#apt-cache policy iptables
it is showing 1.6.0 only. i went through following process. can anybody suggest/correct me wr is the mistake.

1 downloaded and extracted iptables-1.6.2.tar.bz2

2 ./configure --prefix=/usr \
            --sbindir=/sbin \
            --disable-nftables \
            --enable-libipq \
            --with-xtlibdir=/lib/xtables &&
make

3 make install &&
ln -sfv ../../sbin/xtables-multi /usr/bin/iptables-xml &&

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

4 downloaded and extracted blfs-bootscripts-20180105

5 make install-iptables

Please suggest how to get the updated info in apt-cache policy iptables