pylorak / TinyWall

TinyWall is a free, non-intrusive, secure-by-default firewall for Windows.
GNU General Public License v3.0
294 stars 47 forks source link

Feature request: Add DNS logging with domain name resolution to block individual tracking sites. #28

Open ibay770 opened 8 months ago

ibay770 commented 8 months ago

Many apps now have tracking like browsers, instead of blocking the whole browser, perhaps make an option to log all dns requests from a browser for example, and then we can block individual sites/ports. Thanks in advance,

Younes-Benotmane commented 7 months ago

hi, ibay770
I read your message and it's true that it's a shame not to be able to add URLs, domain names or IP addresses.
On the other hand, I looked on my side for regex (detector of words, letters, numbers, special characters) but I don't know where to add these regex in the tinyWall code.
If anyone's interested, here are the regexes:

regex
HTTP or HTTPS http(s)?:\/\/ image
DNS \/\/(.+\..{2,3}) DNS Img
ww1 à ww9 \/\/(www\|ww[1-9]) image
IP ([0-2]?[0-9]?[0-9]).([0-2]?[0-9]?[0-9]).([0-2]?[0-9]?[0-9]).([0-2]?[0-9]?[0-9]) image

DNS img image

complet regex ((http(s)?):\/\/(www|ww[1-9])(.+\..{2,3})|([0-2]?[0-9]?[0-9]).([0-2]?[0-9]?[0-9]).([0-2]?[0-9]?[0-9]).([0-2]?[0-9]?[0-9])) image

I hope the tinywall creator sees this post