From 0ea1fa300389b6193f2786a8b6b2107ae4217515 Mon Sep 17 00:00:00 2001 From: Stefan Laudemann <thisco@webcake.de> Date: Sun, 8 Mar 2015 06:54:26 +0100 Subject: [PATCH] Adds information about the current firewall configuration to the debug-report. Including all active iptables tables (raw, filter, net, mangle). Apparently the table 'security' is not in use on a node, hence it is left out here. Signed-off-by: Stefan Laudemann <thisco@webcake.de> --- ffpb/ffpb-debug/files/bin/ffpb-debug | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ffpb/ffpb-debug/files/bin/ffpb-debug b/ffpb/ffpb-debug/files/bin/ffpb-debug index d6c3a1e..f9e72d5 100755 --- a/ffpb/ffpb-debug/files/bin/ffpb-debug +++ b/ffpb/ffpb-debug/files/bin/ffpb-debug @@ -69,6 +69,13 @@ if oldReport==nil then debugdata = debugdata .. cmd("ip route show") debugdata = debugdata .. cmd("ip -6 route show") debugdata = debugdata .. "---- BEGIN IP AND ROUTUNG INFORMATION ----\n\n" + + debugdata = debugdata .. "---- BEGIN FIREWALL INFORMATION ----\n" + debugdata = debugdata .. cmd("iptables -t raw -L -v") + debugdata = debugdata .. cmd("iptables -t filter -L -v") + debugdata = debugdata .. cmd("iptables -t nat -L -v") + debugdata = debugdata .. cmd("iptables -t mangle -L -v") + debugdata = debugdata .. "---- BEGIN FIREWALL INFORMATION ----\n\n" -- get wireless status debugdata = debugdata .. "---- BEGIN WIRELESS INFORMATION ----\n" -- GitLab