1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #3332 from holta/iiab-diagnostics_ufw_status

iiab-diagnostics: sudo ufw status verbose
This commit is contained in:
A Holt 2022-08-03 15:56:31 -04:00 committed by GitHub
commit 6bb19e2ad2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -229,6 +229,7 @@ echo -e "\n 5. Firewall Rules:\n"
echo -e "\n\n\n5. FIREWALL RULES\n" >> $outfile
#cat_file /usr/bin/iiab-gen-iptables
cat_cmd 'sudo iptables-save' 'Firewall rules'
cat_cmd 'sudo ufw status verbose' 'Firewall status & rules'
echo -e "\n 6. Log Files: (e.g. last 100 lines of each)\n"
echo -e "\n\n\n6. LOG FILES (e.g. LAST 100 LINES OF EACH)\n" >> $outfile

View file

@ -68,4 +68,4 @@ But first off, the file is compiled by harvesting 1 + 6 kinds of things:
## Source Code
Please look over the bottom of [iiab-diagnostics](iiab-diagnostics) (lines 127-242 especially) to learn more about which common IIAB files and commands make this rapid troubleshooting possible.
Please look over the bottom of [iiab-diagnostics](iiab-diagnostics) (lines 127-243 especially) to learn more about which common IIAB files and commands make this rapid troubleshooting possible.