Skip to content
Snippets Groups Projects
Commit 0ea1fa30 authored by Stefan Laudemann's avatar Stefan Laudemann
Browse files

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: default avatarStefan Laudemann <thisco@webcake.de>
parent d34b41ed
No related branches found
No related tags found
1 merge request!3Include IPv4/6-firewall configurations of a node in ffpb-debug report
......@@ -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"
......
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