mikedilger on Nostr: SOCKS5 makes DNS lookups available through the proxy, but the local software has to ...
SOCKS5 makes DNS lookups available through the proxy, but the local software has to choose to use it. If it calls gethostbyname(3) that will use the system resolver which will NOT be the SOCKS proxy. So the software has to be fully aware of this. Most software that isn't designed to go through a tor proxy (e.g. the gossip client) will be leaking DNS around it. This I still believe, but again I could be corrected if I'm wrong.
Published at
2024-05-05 06:57:09Event JSON
{
"id": "13b3fd68767c3058efb513612f7da5058ab4721bfec9a5ae37fe115996386070",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1714892229,
"kind": 1,
"tags": [
[
"p",
"a96a35a224402b8075c4da20f0477896afcc3395b6fad63e30a648a8222a6a69"
],
[
"p",
"c141120a216331099f7450b05441ac3040dcf71a8393e42a0684dbe7535c7f4d"
],
[
"e",
"3731255ac3fe6244b5aaca79ef50feba51f1566fba95f0b375dcbd5753620119",
"wss://chorus.mikedilger.com:444/",
"root"
],
[
"e",
"25de75dfc1848155618de5b5718d6dc4bf018bbc70bc1547a9f7cd51c69c6c2f",
"wss://nostr.oxtr.dev/",
"reply"
]
],
"content": "SOCKS5 makes DNS lookups available through the proxy, but the local software has to choose to use it. If it calls gethostbyname(3) that will use the system resolver which will NOT be the SOCKS proxy. So the software has to be fully aware of this. Most software that isn't designed to go through a tor proxy (e.g. the gossip client) will be leaking DNS around it. This I still believe, but again I could be corrected if I'm wrong.",
"sig": "4ba57fcf9d31879ed7647f14308c7c21079cfe77a4f729f9632e46b01c02b7298f2cde6dc63d4610a8c04f954340a421f31eeee9aea74cdab54bc1e85044387c"
}