kindwolf.org Git repositories libvirtd-no-iptables / master test
master

Tree @master (Download .tar.gz)

test @masterraw · history · blame

#!/bin/bash
export LD_PRELOAD="$(readlink -f no-iptables.so)"

for exe in 'iptables' 'ip6tables'; do
	echo "Executing ${exe}"
	bash -c "${exe}"
	echo "----------------------------------------"

	echo "Executing ${exe} --version"
	bash -c "${exe} --version"
	echo "----------------------------------------"

	echo "Executing ${exe} -L -n"
	bash -c "${exe} -L -n"
	echo "----------------------------------------"
done