From b61a927bade2f183e7cf9404b11a93570fe8895b Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Tue, 10 Feb 2015 19:30:05 +0000 Subject: [PATCH] [networking] additional ip, firewall and traffic shaping commands Collect tc qdisc output, ipv4/6 routing policy, NOARP arp cache, iptables with --exact counters, and iproute2 configuration. Signed-off-by: Bryn M. Reeves --- sos/plugins/networking.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py index 8dfc0e6..9f6ece0 100644 --- a/sos/plugins/networking.py +++ b/sos/plugins/networking.py @@ -82,7 +82,8 @@ class Networking(Plugin): "/etc/NetworkManager/NetworkManager.conf", "/etc/NetworkManager/system-connections", "/etc/dnsmasq*", - "/sys/class/net/*/flags" + "/sys/class/net/*/flags", + "/etc/iproute2" ]) self.add_forbidden_path("/proc/net/rpc/use-gss-proxy") self.add_forbidden_path("/proc/net/rpc/*/channel") @@ -98,19 +99,24 @@ class Networking(Plugin): "netstat -agn", "ip route show table all", "ip -6 route show table all", + "ip -4 rule", + "ip -6 rule", "ip link", "ip address", "ifenslave -a", "ip mroute show", "ip maddr show", "ip neigh show", + "ip neigh show nud noarp", "ip netns", "nmcli general status", "nmcli connection show", "nmcli connection show active", "nmcli device status", "nmcli device show", - "biosdevname -d" + "biosdevname -d", + "tc -s qdisc show", + "iptables -vnxL" ]) ip_link_result = self.call_ext_prog("ip -o link") if ip_link_result['status'] == 0: -- 1.8.3.1