Settings

Theme

Tor Project Issues Rapid-Response DoS-Defense Fix Amid Sustained DDoS Attack

forum.torproject.org

249 points by aillia · 75 comments

Reader

8 threads
Actor

I started running a non-exit node a few months ago and after a little while it became trusted and became a guard node. Guard nodes seems more important than amiddle node so I was happy to run one I know is legitimate. That makes at least one legitimate guard node for the network.

I noticed the attack when my mom said the wi-fi wasn't working well and I checked it out and the download speed was down 99% from normal. And eventually after various other troubleshooting attempts I turned off my mini pc where the relay and other self-hosted services run and the internet speed returned to normal. Yeah I'm not a very adept sys-admin, AI set up all the docker compose stacks for me.

I then looked at my relay on the relay search and it said overloaded. So I checked the Tor forum and sure enough others were reporting the same thing.

So at first I tried just lowering the bandwidth let through, although I'd thought it should already not be letting that much through. That did not work.

So I made it not become a guard node and now it works fine. But I also read something about malicious guards and exits being how Tor users have been compromised before. So it seems important guards are trustworthy.

I'm not gonna risk running a guard again (letting my node become a guard) at least for a while until this attack stabilizes.

  • Retr0id

    I'm not sure why this comment was flagged. Vouched.

    • Actor

      My comment is blocked because I signed up on an IP that is blacklisted.

      • testtestmetest

        How was 'Actor' username not taken... Are usernames not unique?

      • 1vuio0pswjnm7

        Was it a Tor IP

        Why would the HN algorithm auto-flag comments from Tor IPs when it can just auto-kill them

        To be accurate, flagging does not "block" comments

        We can still read them

        If flagging is supposed to be a mechanism for "alerting moderators" about a submission or comment of which they are unaware (there may be thousands of active submissions or comments spread across 100, 200 or more pages on HN at any one time) then perhaps flagging submissions or comments on the /front page (cf. pages generally no one is looking at) is not being used for that purpose

        Perhaps HN users who flag submissions or comments on /front are reacting "emotionally" as opposed to "rationally"

        HN readers are usually left to speculate the reason behind flagging

        Good example from yesterday:

        https://news.ycombinator.com/item?id=50496921

        The reasons might be legitimate or they might be nonsense

        I couldn't see a "rational" basis to flag that submission. It's a blogger's opinion

    • gnabgib

      The AI detector was all over it.. this didn't need to happen.

      • Retr0id

        It didn't flag my brain's AI detector, and it didn't flag pangram either.

        • Actor

          No LLMs but AI was in use—I am quite enjoying parakeet tdt v3.

        • slopinthebag

          the ai detector is literally stupid on hn

          the mods are out of their depth in this moment unfortunately. hopefully they'll figure it out soon.

          • Retr0id

            I think it's pretty decent normally, it sounds like in this instance it was an IP reputation issue anyway.

          • tredre3

            As far as we all know there is no auto-flagging of content on the backend based on pangram (or similar) detection.

            If you see a comment greyed out or dead comment, it's because fellow human users (or presumably third party bot farms) decided that it was ai/crass/boring/unrelated/wrong.

            • natebc

              Can also happen because of bans/shadowbans. My account somehow got automatically banned but after a couple of emails they cleared it up. I (and they) have no idea how or why it got banned but ... apparently there's some automation somewhere!

          • mschuster91

            can't blame them though, the amount of utterly useless arseholes farming karma with ChatGPT comments is unbelievable.

  • sitzkrieg

    impressive you ran a guard on your isp service

    • Actor

      I run an always on commercial VPN on my router so it affects all the other devices. So the ISP given IP's reputation doesn't matter to me.

      I would let it become an exit node if not for the physical risks.

      I wouldn't really consider it impressive. I mean, yeah, they're pretty attacked services, as I found out first hand. But nothing compared to an exit node.

      If you do need your home IP to be in good shape reputation wise, then don't do it. It's unfair because guard and middle nodes don't hide malicious users to websites, but they still get put on the blacklists, lumped in with exit nodes.

      If I need a better IP than the commercial VPN on my router, I can just use cellular and a hotspot.

      I really don't find it bad running everything on a commercial VPN though. For a lot of people it's that one site, though.

      • dennysora-main

        Although it's not very good. I still want to recommend something I've recently developed: https://github.com/DennySORA/vpn-manager

        This allows you to isolate specific apps and specific web pages (you need to install a proxy extension, which I developed myself).

        At the same time, it can start multiple isolated VPNs, allowing you to customize incoming and outgoing traffic.

        It works on Mac and Linux, and makes Mullvad and AirVPN easier to use (P2P Port forwarding is more convenient).

        I previously also wanted multi-layer nesting and routing traffic from different apps to different VPNs, but it was never convenient enough, so I developed this.

        More importantly, it's super easy to use. Basically, you don't need much knowledge, and you can even directly ask an AI agent to help install it.

        By the way, are there any other highly private and secure VPNs you can recommend?

        I actually want to integrate more VPN providers, and then do multi-layer nesting or more detailed traffic splitting.

        • sandworm101

          >> are there any other highly private and secure VPNs you can recommend

          Yes, but running a Tor node through a VPN violates many terms of service agreements. It is one thing to operate a server via a VPN, another to operate a public communications pathway. Many would argue doing so is effectively sharing one's VPN subscription with the general public.

          A VPN-owned IP address becoming a known/listed Tor server, even if only a guard, is not a great thing for a VPN.

          • dennysora-main

            Thanks, that's a fair point. I wasn't thinking about running a Tor node through the VPN. I meant VPN providers in general, to integrate into vpn-manager.

            But you're right, a VPN IP showing up as a Tor relay isn't good for anyone. I'll keep that in mind.

      • edm0nd

        its heavily suggested and known to NEVER run a Tor exit node from your residential ISP. please do not do this.

        • Actor

          Thanks.

        • pamcake

          This is hyperbolic. I've done it for years. It's been fine. Obviously that IP is "tainted" and on a number of lists but that's about it. If you always use VPN to connect out anyway, that doesn't make much of a difference. Nobody knocked on the door yet.

          These days I guess tor exit traffic is dwarfed by various residential proxies bundled in consumer devices and malware. They'd be raiding a bunch of families with Superboxes and stuff like that before they get to my little tor node.

          We need more relay and exit node operators, IMO.

    • cowlevel

      Guard is fine. Any relay with reasonable uptime becomes a guard. Relays with low uptime are confined to middle position only.

    • schoen

      I think you were confusing guards and exits.

sikozu

I tried Tor briefly maybe about 10 years ago, only to have a little look around as I was curious, and to be honest I remember the experience was pretty disappointing, websites were slow and lots of resources seemed to be unavailable.

Has it changed much at all? I don't really know what most people get up to on Tor admittedly.

  • Aurornis

    Tor was not intended to be a free VPN for general browsing. It trades lower performance for a set of privacy benefits that are harder to defeat.

    Many services block it by default because the abuse rate from Tor IPs is very high. Everyone from internet trolls to spammers and scammers try to use it as a free way to evade IP bans.

    • justsomehnguy

      Quite amusingly I'm forced to use Tor to access one specific site.

      The site is blocked by ISPs nation-wide, the site itself blocks certain data-centers in which my VPS are in, Tor is blocked here. So I jump to a VPS what has the exit somewhere else and establish a Tor session from there to the site. Series of tubes, my ass.

  • rationalist

    It's a lot faster these days.

    • trinsic2

      I concur. it performs better, but much more difficult to use because too many services block the ips or make you authenticate.

  • pluto_modadic

    it's gotten much better - but yes the internet is inherently slower in it. some places build intentionally for it so can be fast (duckduckgo in particular)

  • Actor

    https://metrics.torproject.org/bandwidth.html

    It's gotten much faster over time, I have no trouble watching YouTube.

    >I don't really know what most people get up to on Tor admittedly.

    While there's a decent bit of cyber crime. I would guess a disgusting amount of that happens on Telegram and Discord.

    Journalists use Tor. I read Richard Medhurst a British journalist talking about whonix iirc. But maybe that was just qubes.

    Many people use it for censorship circumvention. People do not like to be censored especially in countries where they weren't at a time they remember. And the great thing about Tor for censorship circumvention is that it's completely free.

    So while a VPN might be faster and Tor might not be needed for the circumventing censorship, Tor's accessible and free, so that makes it popular.

    Another interesting use of it I saw recently is bridging securely and privately out of your local network with onion services. You need to install the Tor browser on whatever computer you want to access your website from, but other than that, you can get out of your local network for free.

    • abc123abc123

      Have been doing this for a decade and it works great. Tor punches through any firewalls, I don't need a dns name or one of the free dns-providers, but use the .onion address. I use it for ssh and backups and have successfully used it from lots of different countries.

  • kadoban

    It's still slow and somewhat unreliable. If you don't need it, there's not a lot of reason to use it if you're not willing to pay the annoyance cost.

  • firefax

    tor is much faster now -- it's a potent osint resource, though i like to go to a café or something to go all billy bellingcat since many sites force you over to the clearnet and those same sites also often block vpns.

    (please don't use your exit node to scrape the web, it gets it ip banned and makes me mash "new circuit")

  • shevy-java

    Yeah, I can relate to that. Though I tested it more recently than 10 years and there appear to have only been very few improvements. We may need a new bowser generation and perhaps better protocols too.

    > I don't really know what most people get up to on Tor admittedly.

    Well, if you look at recent mandatory age sniffing at all times as "the future of the web", I totally understand people getting tired of governments spying on them non-stop. We could really need something like Tor but faster (and I am not entirely certain it is that anonymous either; see how Google bypassed anonymity via federated cohort sniffing or how Facebook sniffs off data from reallife e. g. patient lists from a doctor or a friend, or more recently the spy-glasses. I never thought people would become Facebook agents, until I saw an "auditor" use them to spy on people in public; then I realised people will do everything for money, so - even schools now have spy glass underage agents, it's really fascinating and scary to see).

    • cowlevel

      Tor's main competitor (besides the internet) is I2P. I2P is reported by many to be faster but it also seems easier to compromise privacy. Tor won because it has exit nodes meaning you can browse the normal internet through it.

      • abc123abc123

        It seems tor has been compromised more times. Due to its size, all the worlds secret nation state actors are actively hammering away at it. Have not heard about any major stories where i2p has been cracked.

        Strangely enough, i2p for me, has always been about 10x slower than tor. Haven't checked it out for 1-2 years so could be they have caught up.

noident

Could this be an effort to direct traffic to adversarial relays?

  • terminalbraid

    The attacks are on nodes which are hidden service directories and stop when the HSDir flag is lost, so it is almost certainly trying to shape traffic around those.

    • sandworm101

      If the target is hidden services, this is probably not a nation state attack. Rather, it is likely some vigilante group out to bring down some hidden service or services and/or identify users attempting to access them.

  • DANmode

    Reasonable to assume, as a threat-modeling step.

    • Actor

      If your threat model includes your ISP, which I assume most people using Tor include. A mitigation is to use a trustworthy VPN before Tor.

      https://www.privacyguides.org/en/advanced/tor-overview/#safe...

      It's amazing how fast Tor has gotten so I really notice no slowdown.

      • mentalgear

        I was always wondering how it became so fast recently ... maybe an indicator for a wide-compromised network, otherwise I can't really explain how something volunteer dependent that was quite 'slow' for most of it's existence gained such speed increase.

        • cesarb

          I recall reading somewhere (perhaps some presentation?) that Tor had massive speed gains from implementing a better congestion control algorithm. A quick web search found https://blog.torproject.org/congestion-contrl-047/ which seems to have some details about it.

        • DANmode

          Understanding the origins of the network might help you understand its current network participation: we’re in the middle of a World War, and it’s a network very beneficial for spooks and criminals.

blakeashleyjr

DOS are always going to be a cat and mouse game on Tor. Who has an interest in shutting it down?

Usually they are directed at specific sites (competitors, etc), but this seems system-wide. Perhaps these are relays caught in the middle of a specific DOS?

Tor has made advances in POW challenges and things like that, but this may be even before that is triggered.

  • RA2lover

    They're still directed at competitors, it's just every node not compromised by whatever state actor is doing this is treated as one.

  • Bender

    I uses the PoW challenge on the .onion gateway into my site. Just my observation (and it could be I am doing something wrong) but it seems to also slow down the initial connection of a new visitor and I suspect some of them just go away because they think the site is offline. If I disable that it's much snappier so I am curious how many people are using HiddenServiceEnableIntroDoSDefense, HiddenServicePoWDefensesEnabled.

    • blakeashleyjr

      I'm not an expert but I would imagine that's the unfortunate nature of a POW challenge: a few seconds for an individual, a millenia for a zombie army.

      Same thing for Anubis, Cloudflare challenges, CAPTCHAs, etc.

shevy-java

My biggest gripe with Tor is that it is so slow.

I think we may need a better alternative long term, not only with regards to Tor becoming faster, but something that is an integral part of a browser. By default one could have it off, but easily turn it on. What speed penalty may I find acceptable? Well, 5% to 10% or so? When I used firefox's Tor last time, it was like ... 300% slower? Something enormous, anyway.

  • rustyhancock

    Tor is a lot faster than it used to be, the issue is latency which onion routing can't avoid, and websites and services are a lot bigger than they used to be.

    But tor also has a issue where most of the relays are in Europe and the US and so is most of its directory authority servers. Which biases it's view of the network especially if you're not from those places.

    In terms of throughout speed, this is tricky, yes tor will be far slower than my 800mbps fibre connection. That's not what bothers me, my 3ms ping getting to about 500ms would be painful.

    A good tor circuit might only be 100-300ms. Bad can easily be 800ms+.

  • basedrum

    It's so much faster now. If it's slow for you, try a new circuit, sometimes you will get a slow one, but it is easy to just get a new one

  • Actor

    We have Nym mixnet which is supposedly better but it's way slower! Although technically less exciting and not a Tor replacement, their VPN is a cool improvement on top of regular VPNs.

    Tor has been getting way faster over time. I can watch YouTube in high quality.

    https://metrics.torproject.org/bandwidth.html

cowlevel

I tried to load the release notes for Tor, on Tor's website, through Tor, and received a 403 error because Tor blocks Tor. Not a good sign.

  • bauruine

    They aren't blocking Tor. You get the same message if you use Tor or not. Just wait 2 seconds and it continues to gitlab.

    • cesarb

      I also got the same 403 message from a normal residential ISP, no Tor or any other VPN active. It's not just waiting 2 seconds, you have to temporarily enable Javascript for that site and refresh the page first; then it said to wait for 5 seconds, and after that time it automatically refreshed to the release notes.

  • infinite_spin

    torproject.org seems to load just fine using Tor through Brave. What URI did you use?

  • jon128

    try

      http://2gzyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion/
alexnewman

https://winnowwallet.com/blog/tailscale-workaround-tor-i2p/

m00dy

I wonder tor is still secure after all the AI take over

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection