Post Reply 
[Help] DNS/Server Redirection
Jun. 08, 2011, 03:23 AM
Post: #1
[Help] DNS/Server Redirection
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.
Add Thank You Quote this message in a reply
Jun. 11, 2011, 10:41 AM
Post: #2
RE: [Help] DNS/Server Redirection
switch to opendns servers and dont use your isp dns servers
Add Thank You Quote this message in a reply
Jun. 11, 2011, 11:07 AM
Post: #3
RE: [Help] DNS/Server Redirection
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...
Add Thank You Quote this message in a reply
Jun. 12, 2011, 10:57 PM (This post was last modified: Jun. 12, 2011 11:55 PM by Kye-U.)
Post: #4
RE: [Help] DNS/Server Redirection
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
Visit this user's website
Add Thank You Quote this message in a reply
Jul. 05, 2011, 09:39 PM
Post: #5
RE: [Help] DNS/Server Redirection
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

I'm no longer in the rat race - the rats won't have me!
Add Thank You Quote this message in a reply
Jul. 06, 2011, 12:57 AM
Post: #6
RE: [Help] DNS/Server Redirection
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?
Add Thank You Quote this message in a reply
Jul. 08, 2011, 08:11 PM
Post: #7
RE: [Help] DNS/Server Redirection
(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

I'm no longer in the rat race - the rats won't have me!
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: