×
Login Register an account
Top Submissions Explore Upgoat Search Random Subverse Random Post Colorize! Site Rules Donate
5

Harden websites to IP addresses

submitted by Sheitstrom to technology 3.2 yearsFeb 13, 2022 07:27:24 ago (+6/-1)     (technology)

Make sure your websites are accessible directly from its' IP address. Local DNS fuckery that has been discussed has been seen in the wild.


4 comments block


[ - ] SithEmpire 1 point 3.2 yearsFeb 13, 2022 09:10:15 ago (+1/-0)

Perhaps, though browser users should also know that the HTTP "Host" header is how a server on some IP knows what site to serve. Some servers have multiple sites that way, so only one can be served as the default with just the IP as the Host.

Thus, the user is empowered to inject the appropriate Host line in the request. Common ways to do that are to add the server to /etc/hosts (or wherever the hell windows keeps it) or to use an alternative DNS. Browser plugins and other solutions are possible also.

Finally, note that TLS certificates use domains as a CN, which would be yet another annoyance to work around if domains fall out of use.

[ - ] IwuvU 1 point 3.2 yearsFeb 13, 2022 07:59:52 ago (+1/-0)

Sounds like a great way to do a bunch of crazy shit while comms are down.

..I mean the govt. Start a war, martial law, etc.

[ - ] chrimony -1 points 3.2 yearsFeb 13, 2022 11:29:29 ago (+0/-1)

Give a link, faggot, instead of this vague rumor shit. And nobody is going to use the IP address anyways, so it's pointless.

[ - ] mikenigger -1 points 3.2 yearsFeb 13, 2022 09:55:57 ago (+0/-1)

> open up your server to DDoS attacks, goys