22 lines
512 B
Bash
Executable File
22 lines
512 B
Bash
Executable File
#!/bin/bash
|
|
echo "INPUT Chain"
|
|
iptables -vnL INPUT | grep "dpt:443"
|
|
iptables -vnL INPUT | grep "dpt:8448"
|
|
iptables -vnL INPUT | grep "LOGGING"
|
|
|
|
echo -e "\nOUTPUT Chain"
|
|
iptables -vnL OUTPUT | grep "dpt:443"
|
|
iptables -vnL OUTPUT | grep "dpt:8448"
|
|
|
|
echo -e "\nBeancounters"
|
|
cat /proc/user_beancounters | grep tcpsndbuf
|
|
cat /proc/user_beancounters | grep tcprcvbuf
|
|
cat /proc/user_beancounters | grep shmpages
|
|
|
|
echo -e "\nIPtables Log"
|
|
dmesg
|
|
|
|
#echo -e "\n\nSearx Log"
|
|
#tail -n10 /var/log/nginx/002-searx-access.log
|
|
|