Skip to content

Instantly share code, notes, and snippets.

@hoang-tranviet
Forked from RichardWithnell/NS3 DCE iptables
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoang-tranviet/6e26230795da7b21cf23 to your computer and use it in GitHub Desktop.
Save hoang-tranviet/6e26230795da7b21cf23 to your computer and use it in GitHub Desktop.
wget http://www.netfilter.org/projects/iptables/files/iptables-1.4.21.tar.bz2
tar xf iptables-1.4.21.tar.bz2
cd iptables-1.4.21/
./configure LIBS="-pie -rdynamic" CFLAGS="-fPIC -U_FORTIFY_SOURCE" --with-xtlibdir=/lib/xtables --disable-static
make
readelf -h iptables/.libs/xtables-multi | grep Type:
git clone http://github.com/richardwithnell/iptables
cd iptables/
./configure LIBS="-pie -rdynamic" CFLAGS="-fPIC -U_FORTIFY_SOURCE" --with-xtlibdir=/lib/xtables --disable-static
make
readelf -h iptables/.libs/xtables-multi | grep Type:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment