Posted: Mon Oct 12, 2009 21:24 Post subject: What is "400 Bad Request" means?
simply as that:
400 Bad Request Cross Site Action detected!
when I try to access my repeater (router) through the my modem/router.
what is that mean?
I have router set to repeater mode: whr-hp-g54 with DD-WRT installed. (I'm tring to access it's interface)
and my modem/router is a Westell A90-750015-07 model.
It just means you followed a link to the router's address instead of accessing it directly. Type in the router IP to access its config. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
If you'd like to have a little web page you can use to list links to your routers, like I do, you need to modify the links a little to avoid this HTTP:400 reply.
Assuming your DNS resolves "router001" to the IP of your router, "1.1.1.1" in this example:
These cause the 400 error:
Quote:
<a href="router001">router 1</a>
and
Quote:
<a href="1.1.1.1">router 1</a>
These do not cause the 400 error:
Quote:
<a href="router001" rel=noreferrer>router 1</a>
and
Quote:
<a href="1.1.1.1" rel=noreferrer>router 1</a>
The noreferrer relationship instructs the browser to leak no referral information to the link target. (Referral information makes sense if the target would like to track from where visitors come. This can be monetized for affiliates of vendors referring to the vendor.) This makes it appear to the webserver on the router as if you directly typed the address into the URL bar. The router webserver is refusing referred links so that a malicious website can't give you malicious instructions for their "test thing" then link you to your own router so that when you apply those instructions, they pwn your stuff. To me this security step seems a little overmuch, but I can imagine a very tired person potentially making this sort of mistake...