Re: INFO: Bad HTTP_REFERER
This bad referrer message can be due to something as simple as the difference between "http" and "https," which is what was causing it for me. Hope this helps someone.
Noah
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → INFO: Bad HTTP_REFERER
This bad referrer message can be due to something as simple as the difference between "http" and "https," which is what was causing it for me. Hope this helps someone.
Noah
https is secure http and unless or even if your webhost supports secure connections its gonna cause problems
Is there any good reason securitywise that should prevent me from having o_base_url = domainname.tld and then calling confirm_referrer(''); instead of confirm_referrer('scriptname.php'); in each affected script (or change confirm_referrer() in functions.php to ignore $script)?
I'd like to do this, because I heavily rewrite my URLs in my modded forum version and I'd like to do some admin stuff with the original version as well.
To solve the problem with people using Norton Personal Firewall Configure it..
Privacy Control -> Configure -> Custom level -> Deselect Enable Browser Privacy...
You don't need to disable the entire firewall.. just share a little bit of browsing information... hehe
Is there any good reason securitywise that should prevent me from having o_base_url = domainname.tld and then calling confirm_referrer(''); instead of confirm_referrer('scriptname.php'); in each affected script (or change confirm_referrer() in functions.php to ignore $script)?
Not really. The most important part is the domain check.
Thank you Rickard, this will help me a lot.
I have Norton Security that I just installed on my computer. I am having the
Bad HTTP_REFERER. You were referred to this page from an unauthorized source. If the problem persists please make sure that 'Base URL' is correctly set in Admin/Options and that you are visiting the forum by navigating to that URL. More information regarding the referrer check can be found in the PunBB documentation.
I read the instruction about how to go around it and it didn't work. What am I doing wrong? Should I re-install punnbb? I just don't know! Also, I edited some script in the admin_options and the admin_forums. I am not sure but I think I deleted too much in the admin_forums. Can I get the original script anywhere?
I am using my forums on
http://209.97.203.116/~trueabso/forums/index.php
When I try to change my base url, it wont let me. I have reinstalled the system and everything. It still gives me the bad http_referer error when I try and change it...
What should I set it to, and what should I do to bypass this?
anthem: That means your using some kind of firewall or software that strips out your HTTP_REFERER. Are you using Norton? In that case, read the first post in this topic.
anthem: That means your using some kind of firewall or software that strips out your HTTP_REFERER. Are you using Norton? In that case, read the first post in this topic.
I set my firewall to not strip it. I am now using http://northernconflict.net/forums/
Base URL
The complete URL of the forum without trailing slash (i.e. http://www.mydomain.com/forums). This must be correct in order for all admin and moderator features to work. If you get "Bad referer" errors, it's probably incorrect.
I have http://www.northernconflict.net/forums set. yet it still gives me the bad http_referer
anthem: I've registered in your forums. Could you make me an admin or moderator so that I can check it out myself?
anthem: I've registered in your forums. Could you make me an admin or moderator so that I can check it out myself?
Done.
[edit]
well, shit... I guess it works now. Must have been the system having some troble updating.
HTTP_REFERER is a variable that gets filled with whatever is sent in the "Referer" HTTP header. Any hacker with any size of brain can easily spoof this...
How important do you consider this referrer check really?
I've just recently discovered punBB and it really outrulez everything else BTW
I've described the reason for the referrer check earlier in this topic. I am very much aware that anyone can spoof their HTTP_REFERER, but spoofing it wouldn't make any sense. The referrer check is there to protect admins and moderators.
Ah sorry, I must be reading over it again and again. The only thing I can find about it is:
The check is there for a very good reason, trust me :-)
I trust you (for checking my referrer anyway ) and was wondering what that very good reason might be. I thought maybe you've put it in there for an even better reason than hacker-blocking...?
Aha. Maybe that was in a different topic.
Without the referrer check, it would be possible for a malicious user to construct a web page somewhere and then trick an admin or a moderator to visit that page. On the page, a hidden form would be posted via Javascript that posts to a page in the forums (an admin page or maybe someones profile). It would be easy to e.g. upgrade a user to admin status. However, with the referrer check, this wouldn't be allowed because the forums would check the referrer and notice that the form was posted from somewhere outside the forums.
That is indeed the best reason I've ever heard for implementing a referrer check! Thanks!
Rickard is a clever man!
I think I've tried everything now. The URL checks out, no firewall in the way or proxy and still I get the "Bad HTTP_REFERER" error. I even tried on two different hosts and from two different computers (different ISP's in different cities).
I'm starting to run out of ideas here...
Forum located at: http://www.adjust.nu/forum/
frippz: Earlier in this topic, I recommended a way of modifying the referrer check to print out the two URL's it's trying to compare. Have a look at that and post the results.
3. You are browsing the forum through a proxy or firewall of some sort that is stripping HTTP_REFERER from all requests. Norton Personal Firewall and Kerio Personal Firewall 4 are the only ones I know of so far that strip HTTP_REFERER by default....
Zone alarm 6.06 can join the band
Really? I think that's what I use, and I don't have issues...
I still haven't been able to receive a straight answer as to how stripping out HTTP_REFERER increases security. I guess they call it a "privacy feature". People are too paranoid.
Mmm, updated ZA
Download and test time
PunBB Forums → PunBB 1.2 troubleshooting → INFO: Bad HTTP_REFERER
Powered by PunBB, supported by Informer Technologies, Inc.