Squidguard Filter: Allow only certain IPs without disabling "Do not allow IP-Addresses in URL"
-
Hello everyone,
There is a website that uses IPs in URLs:
http://rcl-munich.informatik.unibw-muenchen.de/ger/lab_index.htm
Click on the links on the left side and look at the adress bar afterwards.I'm using the Squidguard filter.
It blocks these links if "Do not allow IP-Addresses in URL" is enabled.
I want to allow these IPs without allowing all IPs.
So far I made a whitelist in "Target categories", entered the IPs in "domain list". Then I added it to "Target Rules List" in "Common ACL" as access:whitelist.
But that doesn't seem to work for IPs.Is there a way to do this without allowing all IPs?
-
I have the same problem to solve, is there a viable solution to this?
-
where are you seeing links to IP?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="keywords" content="RCL,remotely controlled laboratories"> <title>Alle RCLs</title> <link href="../css/style.css" rel="stylesheet" type="text/css"> <style type="text/css"> a:hover { color:#FF0000; } <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style> <script language="JavaScript"> </script></head> <body bgcolor="#990000"> <div class="RCL-Name">RCLs</div> <div class="menuspalte_" align="left"> <div align="left"> <a href="load-e_beugung.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_e-beugung.htm','RCLFrame')">Elektronen-<br>beugung</a> <a href="load-ct.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_ct.htm','RCLFrame')">Optische<br>Computer-<br>tomographie</a> <a href="load-millikan.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_millikan.htm','RCLFrame')">Millikan-Versuch</a> <!-- <a href="load-rutherford.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_rutherford.htm','RCLFrame')">Rutherfordscher<br>Streuversuch</a>--> <a href="load-licht.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_licht.htm','RCLFrame')" >Licht-<br>geschwindigkeit</a> <a href="load-weltpendel.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_weltpendel.htm','RCLFrame')" >Weltpendel</a> <!-- <a href="load-maut.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_maut.htm','RCLFrame')" >Maut</a>--> <a href="load-oszilloskop.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_oszilloskop.htm','RCLFrame')" >Oszilloskop</a> <a href="load-fotoeffekt.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_fotoeffekt.htm','RCLFrame')" >Fotoeffekt</a> <a href="load-uikennlinie.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_uikennlinie.htm','RCLFrame')" >Halbleiter-<br>kennlinien</a> <a href="load-windkanal.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_windkanal.htm','RCLFrame')" >Windkanal</a> <a href="load-fouriertransformation.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_fouriertransformation.htm','RCLFrame')" >Optische Fourier-<br>Transformation</a> <!-- <a href="load-radioaktivitaet.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_radioaktivitaet.htm','RCLFrame')" >Radioaktivität</a>--> <a href="load-beugunginterferenz.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_beugung_u_interferenz.htm','RCLFrame')" >Beugung und<br>Interferenz I</a> <a href="load-beugung.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_beugung.htm','RCLFrame')" >Beugung und<br>Interferenz II</a> <!-- <a href="load-heisserdraht.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_heisserdraht.htm','RCLFrame')" >Heißer Draht</a> <a href="load-roborinth.htm" target="mainFrame" class="menuspalte" onMouseOver="window.open('previews/prev_roboter.htm','RCLFrame')" >Roboter im<br>Labyrinth</a>--> <br><br> </div> </div> </body> </html>
Ah - F'ing IDIOTS!!!
<meta http-equiv="refresh" content="1; URL=http://137.193.65.84/ger/index.htm">
I would contact them about their moronic setup!! Tell your users sorry we don't allow access to shitty sites! ;)
-
@johnpoz said in Squidguard Filter: Allow only certain IPs without disabling "Do not allow IP-Addresses in URL":
x
My exact problem is
I want to block all web traffic without using domain names. But there's some chat apps in China use port 80 and ip address for communication. So, if I disallow "IP addresses in URL", that chat app fails to connect to servers.