From f5ffaf8ef3898bda0241de0cd767dfb3d5923ca4 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Fri, 17 Aug 2018 11:53:38 -0400 Subject: [PATCH] Add iptables logs Change-Id: I5304e982729bddf7003aa80496f03aed2e369d7b --- test-log-collect.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test-log-collect.sh b/test-log-collect.sh index 5ea4fa51..99d0cef0 100755 --- a/test-log-collect.sh +++ b/test-log-collect.sh @@ -257,6 +257,10 @@ env > "${WORKING_DIR}/logs/environment.txt" || true # output ram usage free -m > "${WORKING_DIR}/logs/memory-available.txt" || true +# iptables +sudo iptables -nvL > "${WORKING_DIR}/logs/iptables.txt" || true +sudo iptables -t nat -nvL > "${WORKING_DIR}/logs/iptables-nat.txt" || true + repo_information host # Record the active interface configs