Initial Combination

Start the combination process between:

d3505230f6

and the at-telnet portion of

39c20b83b1
This commit is contained in:
iamromulan
2023-09-19 23:13:43 -04:00
parent db8ca34cca
commit 5aaa75d1b6
40 changed files with 2917 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/bash
# Check iptables for ttlvalue
ttlvalue=$(iptables -t mangle -vnL | grep TTL | awk '{print $13}')
ttlenabled=true;
# Set Variables
if [ -z "${ttlvalue}" ]; then
ttlvalue=0
ttlenabled=false
fi
echo "Content-type: text/json"
echo ""
cat <<EOT
{
"isEnabled": $ttlenabled,
"ttl": $ttlvalue
}