aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2016-12-07 11:49:20 +0000
committerBryn M. Reeves <bmr@redhat.com>2016-12-07 11:49:20 +0000
commite9458ae0e263ea9997465a46873e9fe7be6ae3c8 (patch)
tree972c129b93ccabd90835e4c4fde878fbd35f2570
parentc2fb9e0723ec33df990629c797e6c49ad6bd429b (diff)
downloadsos-e9458ae0e263ea9997465a46873e9fe7be6ae3c8.tar.gz
[networking] blacklist entire /proc/net/eicon
The Dialogic Diva out-of-tree driver creates a number of problematic files in /proc/net that return unlimited data on read. The previous attempt to handle this driver left some files exposed (possibly due to a change in the driver): to prevent this, blacklist the entire /proc/net/eicon tree in the networking plugin. Closes: #892. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/networking.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index 1c98b755..595f29c4 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -137,8 +137,7 @@ class Networking(Plugin):
self.add_forbidden_path("/proc/net/cdp")
self.add_forbidden_path("/sys/net/cdp")
# Dialogic Diva
- self.add_forbidden_path("/proc/net/eicon/di*")
- self.add_forbidden_path("/proc/net/eicon/adapter*/dynamic_l1_down")
+ self.add_forbidden_path("/proc/net/eicon")
self.add_cmd_output("ip -o addr", root_symlink="ip_addr")
self.add_cmd_output("route -n", root_symlink="route")