Browse Source

Adds information about the current IPv6 firewall configuration to the debug-report as well.

Using ip6tables instead of "iptables -6", as the latter is not supported.

Signed-off-by: Stefan Laudemann <thisco@zitmail.uni-paderborn.de>
Stefan Laudemann 9 years ago
parent
commit
91b186fc1d
1 changed files with 8 additions and 4 deletions
  1. 8 4
      ffpb/ffpb-debug/files/bin/ffpb-debug

+ 8 - 4
ffpb/ffpb-debug/files/bin/ffpb-debug

@@ -71,10 +71,14 @@ if oldReport==nil then
 	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 .. 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 .. cmd("ip6tables -t raw -L -v")
+        debugdata = debugdata .. cmd("ip6tables -t filter -L -v")
+        debugdata = debugdata .. cmd("ip6tables -t nat -L -v")
+        debugdata = debugdata .. cmd("ip6tables -t mangle -L -v")
 	debugdata = debugdata .. "---- BEGIN FIREWALL INFORMATION ----\n\n"	
 	
 	-- get wireless status