kindwolf.org Git repositories libvirtd-no-iptables / master README.md
master

Tree @master (Download .tar.gz)

README.md @masterview rendered · raw · history · blame

1
2
3
4
5
6
7
8
Prevent libvirtd from adding iptables rules by calling /sbin/iptables or
/sbin/ip6tables. Let it call "iptables --version" though.

Compile with: gcc -shared -ldl -fPIC no-iptables.c -o no-iptables.so

If needed, add -DNOIPTABLES_DEBUG

Usage: LD_PRELOAD=/path/to/no-iptables.so libvirtd