I have been having a weird issue on my mac for a few days: I can't load HTTP websites

- No issues with HTTPS
- Not a home network issue
- Tried with curl

@angristan You say you tried with curl, but didn't specify whether that was successful or not.

Also what's the error you get, a timeout? something else?

@quad not successful with curl either

I get a timeout

@angristan To all http sites? For example if you try: "curl -v http://quad.moe" that also just leads to a timeout?
@angristan Can you try the command "lsof -i" while making http requests?

It lists all current connections and I think it works on macOS. You might have to filter a bit with grep but it should show all open connections, and to where.

Verify that your http connections are going where you expect them to and are not being intercepted/redirected somewhere strange
@angristan for example quad.moe is 185.141.156.58 or 58.185-141-156.enivest.net

Leave curl in a loop and verify that it is in fact sending http requests to one of those. If not, try to figure out where it ends up, maybe it's redirected to something like 127.0.0.1 and some port, in which case "lsof -i" should also show what is listening on that ip/port
@angristan Last suggestion I can think of on the fly is running "sudo ipfw list". Which should list current firewall rules on macOS. If some application is redirecting/hijacking http requests, it's probably been done using ipfw
@angristan Actually my bad. I forgot that macOS uses pf now. If you want to check firewall rules/forwardings it's probably "pfctl -s rules "
Follow

@quad nothing of interest with this command

I also disabled the macOS firewall entirely, but no change

· · Web · 1 · 0 · 0
@angristan Did you try to use wireguard and filter by TCP and port 80?

Unfortunately if your http stuff is being redirected, it might not show up if you use ip.dst to filter. You might also have to monitor your loopback interface (or all interfaces) rather than your ethernet interface
Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!