Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 288 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 288 Bytes

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