The Un-Official Proxomitron Forum
[Help] DNS/Server Redirection - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38)
+--- Forum: Filter Help/Request (/forumdisplay.php?fid=31)
+--- Thread: [Help] DNS/Server Redirection (/showthread.php?tid=1767)



[Help] DNS/Server Redirection - steellar - Jun. 08, 2011 03:23 AM

Hi

Sometimes my ISP redirects me to their home page when i request to any www domain and https (ssl) for an interval of hours every day. I´m still looking for an app to bypass this, but i found proxomitron very useful.

These are the headers reply i get from my isp's dns when i try to surf:

<html>
<meta http-equiv="Cache-Control" content="no-cache, max-age=0, must-revalidate, proxy-revalidate, s-maxage=0">
<meta http-equiv="Expires" content="now">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="refresh" content="0; url=http://www.xxx.myisp.com/xxxx/" />
<title>Redirection</title>
<meta name="robots" content="noindex,follow" />
</head>
<body>
<!-- Server VLB Plans/Apache -->
</body>
</html>

I need to know if there´s a special filter to avoid or kill the "refresh" header, and how i may change meta and http headers. And maybe how to bypass a proxy cache if that´s the case.

Thnks.


RE: [Help] DNS/Server Redirection - susa - Jun. 11, 2011 10:41 AM

switch to opendns servers and dont use your isp dns servers


RE: [Help] DNS/Server Redirection - ProxRocks - Jun. 11, 2011 11:07 AM

personally, i BOYCOTT OpenDNS because of their overzealous nanny-state mentality!

they have TOO OFTEN flagged *good* sites as being "phishing sites"...
i rely on a more trustworthy HOSTS file instead...

although each and every time that OpenDNS *falsely* flags a site as a "phishing site", they DO "fix" the mistake and remove that flag - but it will take dang near a full WEEK, i don't see the "need" to have "good" sites UNAVAILABLE for that looooooong of a time due to overzealousness...


RE: [Help] DNS/Server Redirection - Kye-U - Jun. 12, 2011 10:57 PM

Here is a very basic filter to remove the meta refresh header:

Code:
[Patterns]
Name = "Kill ISP Redirect"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 128
Match = "<meta http-equiv="refresh" content="0; url=http://www.xxx.myisp.com/xxxx/" />"

Of course, you'll need to update the URL (http://www.xxx.myisp.com/xxxx/) to the URL that they are actually using Smile!
Let me know how it goes!

Merged duplicate threads into this thread


RE: [Help] DNS/Server Redirection - Oddysey - Jul. 05, 2011 09:39 PM

I've also had caching issue in the past, which lead to some research....

What I found is that there is a rather strange header that exerts some control over caching, it's called Vary. By entirely eliminating that one, a goodly portion of my issues were resolved.

Code:
In = TRUE
Out = FALSE
Key = "Vary: blank it out [IN]}"
Match = "*"

I also deal with the Cache Control header, which is often used haphazardly by sites of less-than-stellar programming capabilities....

Code:
In = TRUE
Out = TRUE
Key = "Cache-Control: always cache public (in)"
Match = "*"
Replace = "public, max-age=3600, no-transform"

That forces everything to be public, which means that the browser can deal with it, the Expire timing is pretty generous, and that sites can't 'hide' behind transformed URLs - where it truly came from is what I see. Whistling

On non-Netscape browsers, I have found Pragma: no-cache effectively useless. That doesn't mean it should be ignored by one and all, that means only that I realize no benefit from it on my IE only system.

HTH




Oddysey


RE: [Help] DNS/Server Redirection - ProxRocks - Jul. 06, 2011 12:57 AM

hmm, the no-transform is very interesting indeed...
is this just an Opera turbo (poc) thing that those of us using ie-shells don't really need to worry about?


RE: [Help] DNS/Server Redirection - Oddysey - Jul. 08, 2011 08:11 PM

(Jul. 06, 2011 12:57 AM)ProxRocks Wrote:  hmm, the no-transform is very interesting indeed...
is this just an Opera turbo (poc) thing that those of us using ie-shells don't really need to worry about?

My guess would be 'No', it's probably useful to many/most browsers (and their attendant plug-ins). But notice the word "probably" - I'm no expert! I can say that for IE6.1, a lot of my issues were suddenly short-circuited by using this directive.

I guess experimentation is all I can offer. I'm sure that not everyone will benefit, but at the same time, it's there for a reason. Why not kill a few moments and see what happens? Smile!



Oddysey