Skip to content
Snippets Groups Projects
Commit 72f8242d authored by Michael Schwarz's avatar Michael Schwarz
Browse files

Merge branch 'master' into 'master'

Include IPv4/6-firewall configurations of a node in ffpb-debug report

Extends the `ffpb-debug` script to fetch the current firewall configuration of a node, such that this information can be included in a ffpb-debug report.
parents d34b41ed 91b186fc
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,17 @@ 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 .. 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
debugdata = debugdata .. "---- BEGIN WIRELESS INFORMATION ----\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment