• 57 Posts
  • 2.3K Comments
Joined 10 months ago
cake
Cake day: September 1st, 2023

help-circle



  • sequenceDiagram
        Computer->>+Nameserver: Where's wikipedia.org
        Nameserver-->>-Computer: 185.15.59.224
        Computer->>+Wikipedia: GET /
        Wikipedia-->>-Computer: return /
    

    Here is the simplified sequence diagram

    As you can see the request to wikipedia itself does not go through a nameserver, only the DNS request does. It’s the entire reason Firefox has the option to proxy DNS queries over the proxy: to avoid DNS leaks

    Right now, all that should be happening is DNS requests being proxied, not the rest of your traffic.

    There’s a huge difference when I enter https://one.one.one.one/help/ normally with "Use system proxy settings" in my browser and when I enter it with a "Manual proxy configuration" with the SOCKS Host set up and "Proxy DNS when using SOCKS v5" checked on.

    To me that indicates the DNS proxy through TOR isn’t actually working with your dnscrypt setup 🤔 However it’s difficult to debug from here. It’s possible the DNS query is slow, but because the actual HTTP request is going through your standard internet with no proxy it’s fast, and when you do turn on the proxy for HTTP/S requests, you observe actually using TOR for everything and thus the latency.

    Could you run these commands please

    # Find which process is running the local DNS server
    sudo ss -plant | grep ":53 " # alternatively sudo netstat -plant | grep ":53 "
    
    # Check your DNS resolver config
    # You can share it or not, but 127.0.0.1 MUST be in it, otherwise your DNS queries aren't being encrypted/proxied
    cat /etc/resolv.conf
    
    # Measure how long it takes to query a new domain name
    time dig techhub.hpe.com
    time dig bash.org
    time dig element.io
    

    If you feel comfortable with it, you share the logs of dnscrypt (I don’t know what kind of information is in there, so you might have to clean it).

    journalctl -u dnscrypt-proxy2 or just systemctl status dnscrypt-proxy2. Either here or PMed. Here are encrypted pastebin alternatives.

    Anti Commercial-AI license




  • I find the article bizarre. Nearly every single guy I know has or had a gaming PC. Some lucky bastards got them when they were 10 years old or younger, while I got mine way in my teens (poor family). As a comp-sci grad it was nigh 100% who had one, and working in tech there were definitely lots of them (and board games + DnD were quite popular).

    Either I lived in a bubble or the article is uniquely describing the North American experience. Nobody ever told me to my face they found it weird to leave a party to watch eSports or play a few rounds of whatever MMO was around at the time.

    Reading that it’s now “mainstream” just doesn’t fit my experience. It was already popular before my time.

    Anti Commercial-AI license


  • I don’t think that’s a correct assumption. DNS just resolves domain names to IPs. When you access a website, if the IP isn’t in your dns cache, it will look it up and that’s the only part that should be going through dnscrypt. The actual request to the site goes to the IP directly. To use TOR across your entire system, it should either be used as a VPN or as a system-wide proxy. Dunno how to set that up though…

    You should be able to at least activate logs for dnscrypt and see which DNS entries are being requested. To have a deeper look into your traffic, the only thing I know of is wireshark, which can sniff all your packets. You should be able to observe your DNS request going to dnscrypt, possibly through TOR (I doubt the packet tracing will work, sequence numbers or something should be disrupted by going through TOR), then a request going out to the IP it found over HTTP (port 80) or HTTPS (port 443).

    Anti Commercial-AI license