From c4600f34b60726c0b3e2ef1e11438cf215893a6b Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Tue, 4 Aug 2020 17:35:41 +0200 Subject: [PATCH] Add the magic command as a comment. Now we can build upon that. --- ddos-mitigator.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ddos-mitigator.sh b/ddos-mitigator.sh index 5d5153f..1c7cf1c 100755 --- a/ddos-mitigator.sh +++ b/ddos-mitigator.sh @@ -31,6 +31,8 @@ # - sys-apps/util-linux (`getopt`) # # # ################################################################################ +# Here goes: +# ss -On state established '( sport = :https )'|tr -s '[:blank:]'|cut -d' ' -f5 # Set the host's own IP address. So far, only an IPv4 address is supported. MY_IP="94.199.214.20"