You query the service via a specially-formed DNS request. You can use the TorDNSEL service to perform a live query about whether a specific IP address is a Tor exit node. To block traffic from your environment out to TOR, you will need HTTPS inspection and a rule blocking or rejecting the Tor (and probably Invisible Browsing. TOR has a list of IP addresses, but obviously they change all the time so using my function would be the best way as it's always real-time. But I have downloaded Tor Browser and I can visit my site through Tor. I have set Firewall rule that checks Country and if Tor (T1) then block. So I want completely block traffic from Tor to my website. Now, as soon as they hit your site they are redirected away from it. I am getting hateful comments from Onion Network (Tor). In your Global.asax file, you can use the Application_Start to check if IP address returns true and then redirect them away from your site: If IsTorExitNode("97.44.215.95") = True Then Response.Redirect("") Navigate to Firewall App Control Advanced. If the address is a TorExitNode it will return 127.0.0.2. In the central pane you will have three tabs, select Conditional Access App Control apps. Resolution for SonicOS 6.2 and Below Login to the SonicWall Management GUI. ![]() Reversed IP address: (your external site IP address) ' Reverse your IP (97.44.215.95) then pass to the string, I have just created it as one for this exampleĭim strTor As String = "97.44.215.95.80.5.0."ĭim host As IPHostEntry = Dns.GetHostEntry(strTor) Apply this policy to certain client devices. Private Function IsTorExitNode(sIP As String) As Boolean Add a blocking policy, set Torbrowser to Deny in applications. ![]() Real TOR IP address at the time of posting: 95.215.44.97 Imports System.Net Let's say your site has an external IP address of 192.168.0.5 for argument's sake.
0 Comments
Leave a Reply. |