Custom regex filter list for use with Pi-hole.
-
Updated
Jun 7, 2020 - Python
Add a description, image, and links to the blocking topic page so that developers can more easily learn about it.
To associate your repository with the blocking topic, visit your repo's landing page and select "manage topics."
the script coulnd get all the ip addresses of the server interfaces when running xen dom0.
ifconfig does not show aliases for the bridge interface xenbr0 so server blocks his own ip-s.
i changed the line
SERVER_IP_LIST=
ifconfig | grep "inet " | awk '{print $2}' | sed "s/addr://g" | xargs | sed -e 's/ /|/g'to
SERVER_IP_LIST=`( hostname -I ; echo 127.0.0.1 ) | cat | sed ':a;N;$!ba;s/\n/ /g'