5 ms·
Really interesting! Digging into the proposal [1]: > make it harder for attackers to overload the service with introduction request > We hope that this prop
by 8organicbits 3y ago
Really interesting! Digging into the proposal [1]:
> make it harder for attackers to overload the service with introduction
request
> We hope that this proposal can help us defend against the script-kiddie
attacker and small botnets.
Sets expectations: does not counter large botnets.
> We hope that this proposal will allow the motivated user to always connect
A user who really wants to connect can get through durring a DoS attack, but it may still take work.
Interesting choice of PoW algorithm: https://github.com/tevador/equix https://github.com/tevador/equix
> Hence, instead of forcing clients to go below a static target like in Bitcoin to be successful, we ask clients to "bid" using their PoW effort. Effectively, a client gets higher priority the higher effort they put into their proof-of-work. This is similar to how proof-of-stake works but instead of staking coins, you stake work.
[1] https://gitlab.torproject.org/tpo/core/torspec/-/raw/main/proposals/327-pow-over-intro.txt https://gitlab.torproject.org/tpo/core/torspec/-/raw/main/pr...
- salawat 3y agoSo now you have the drawbacks of both as well, in that the guy who has the most compute to use as a toaster can DoS everyone else. Plus, PoW is nothing but wasted, needless computation. Computing is not free. Every watt spent doing anything PoW is just that much more intensification of our current climate crisis. As someone with temps of 109 with heat index of 120 coming in the next few days, with all due respect, fuck anyone who proposes PoW is a good idea for anything. It isn't interesting. It's the most egregious example of conspicuous consumption on the planet.
- thechao 3y agoMaybe we can ask the DoSers to stop, nicely? Everything else being equal, I bet the Tor/Onion-folk are pretty smart people, and this is what they felt was necessary to keep the service running.
- maest 3y ago> Everything else being equal, I bet the Tor/Onion-folk are pretty smart people, and this is what they felt was necessary to keep the service running. That's an appeal to authority and an attempt to shut down inquisitive thought and investigation. Imo, this goes against the spirit of HN.
- nullc 3y agoIt's an unconvincing argument, but not an attempt to shut down anything. By comparison, the grandparent comment was emotional and reactionary beyond the point of being expressly uncivil. A better response might have been to point out that the level of POW is reactive. If there are no attacks ongoing it will use little to no resources. If it's effective, the attacks will largely stop (no point in attempting an attack that won't work) and so paradoxically this can potentially provide its benefit without actually having much usage. If it works out that way the benefit vs costs are very good for pretty much any way of evaluating the costs. This is the kind of nuanced thinking that you'd expect from smart people, as the prior poster suggested (and, in fact, is pointed out in the design document).
- cinntaile 3y ago> Computing is not free. That's the whole point.
- hunter2_ 3y agoWhat if instead of spending energy on compute, we just spend money instead? On the one hand, some people may be turned off by the idea of spending money, but on the other hand, the two are usually interchangeable unless you're stealing energy. Someone with a lot of money and no hardware or energy can purchase hardware and energy; someone with a lot of hardware and energy can sell the hardware and sell energy back to the grid to make money.
- ssklash 3y agoHow do you suggest the people who are using Tor for anonymity pay money to use Tor? That might make sense for cryptocurrencies, but for Tor I think it's unusable.
- foota 3y agoI believe this could be done using zero knowledge proofs, ala tornado cash (which I'm not familiar with in practice, but I've read the algorithms behind it). You'd need some service that produces zero knowledge proofs that someone sent some funds to the service, and got their slot in return. Put down your pitchfork, but I think this would essentially be an NFT backed by a ZK-snark.
- pseudo0 3y agoThe goal with Tor is to preserve privacy. Payment systems come with significant legal and regulatory overhead, KYC and AML, etc. That introduces significant privacy risk. Meanwhile PoW just requires owning a computing device.
- panny 3y ago>So now you have the drawbacks of both as well Everything has drawbacks. It's always a tradeoff in software. You want a really simple interface? Now you can't do complex things. And so on. Instead of complaining loudly, why not be the change you want to see? Proof of CPU makes you hot? How about proof of RAM? How about about something else, which you thought of yourself, which is a great idea, which you shared with their team, which they would eagerly accept as a superior solution to proof of work?
- spencerchubb 3y agoThe proof of work only engages when there is a Denial of Service attack. So if you're going to be mad at anyone for useless consumption, be mad at the attacker.
- rlpb 3y agoI think the presence of this PoW system might mean that this form of abuse is discouraged enough that in practice it means that PoW will not be required. Who is going to compete with a huge amount of compute to DoS others? They'd need the same compute as all legitimate access put together to get to just 50% effectiveness. If this is the case and in practice PoW is never required, then your rant is moot, and instead it is interesting that this effect occurs.
- kaveh_h 3y agoMy thought exactly. Would be interesting if they shared metric of pre and post level of DDoS attacks so there was some proof this scheme actually has desired effect.
- kevinak 3y ago[flagged]
- jrajav 3y agoThis stinks of hollywood accounting, like a lot of "negative carbon" plans for things that would otherwise be nonsensical for. The premise here is that if Bitcoin mining uses an energy source that inherently captures carbon or methane, then it's "carbon negative?" This ignores the fact that the energy budget is shared. We could just as well use that same energy for something else currently on carbon-based sources. So, energy is still being wasted on crypto speculation - you've just fudged the total energy budget calculations by pretending it doesn't apply here.
- kevinak 3y agoI don't think it does at all. Burning methane has positive effects on global warming since methane is way way waaaaaaay worse than CO2. Taking care of landfills that are largely untouched, just spewing methane is a good thing. If Bitcoin ends up having a net-negative effect on global warming, how is that a bad thing? You're assuming that all energy sources are well-connected to a grid that can handle the electricity that is generated, that's not the case at all. You can't "use that same energy for something else currently on carbon-based sources" without major infrastructure costs.
- foota 3y agoTo the sibling, while I largely agree, I think there's some argument that building out additional manufacturing capacity for renewables even if it goes towards crypto mining has beneficial knock on effects for reducing the cost of the equipment provided that the learning curve effect and economies of scale outweigh the competition for resources, which to be fair isn't guaranteed.
- kevinak 3y agoIt's mainly the fact that Bitcoin mining sets a price floor on electricity prices. It's a buyer of last resort. Without it you'll get negative electricity prices and less investment in renewables. See for example what Ercot has to say about Bitcoin mining: https://www.youtube.com/watch?v=gKnRfDeFgr0 https://www.youtube.com/watch?v=gKnRfDeFgr0
- foota 3y agoWithout this proof of work, users can be arbitrarily denied access due to overload. With the proof of work, I think the assumption is that a legitimate user will be willing to accept a sufficient delay to make botnet DoS attack impossible. The counter argument might be that the botnet can generate arbitrarily hard proof of work, but this isn't true. Assuming some fixed capacity by the botnet, and that the botnet needs to send some amount of requests per time in order for the attack to be effective (e.g., if they only send one proof of work request per minute, then the "bid" for the rest of the time is quite low), then there's some maximum effective "price" based on the capacity of the botnet past which a user is guaranteed access. For example say a botnet has access to a million compute nodes, so they have 1 million proof of work seconds per second. If there's a service which can serve 1000 requests per second, then the average proof of work seconds they have per request is 1000 seconds of proof, so as long as the user is able to provide 17 minutes of proof of work, they can get access. In reality, the user's hardware is likely more capable than the attacker's botnet (which is probably IoT devices etc.,) so the ratio is more favorable. I find it amusing that this approach is pretty on brand for onion services, as an invisible hand type market solution from what I'd consider to be a fairly libertarian leaning group.
- _blk 3y ago[flagged]
- synesso 3y agoThis is an example of the common fallacy of conflating energy consumption with carbon-intensive energy generation.
- wmf 3y agoThat's what you get when the powers that be have spent decades promoting guilt-tripping instead of internalizing the externalities.
- cool_dude85 3y ago"Conflating" energy consumption with energy generation, which here in the real world is still predominantly carbon intensive? I wouldn't say there's much conflating going on, rather, recognition of the reality we live in.
- AnthonyMouse 3y agoIt's addressing the problem from the wrong end. If you replace your generating capacity with non-carbon sources then energy consumption is no problem. If you don't, you have a problem even at the current level of consumption, and that problem continues to have the same solution. It's not even impossible for increased consumption to lower carbon emissions, because to meet the higher peak demand you may need to add more generating capacity. When the new capacity is renewables or nuclear then it adds no carbon emissions during peak usage times and allows for a reduction in carbon emissions whenever the grid is at less than full capacity by assigning the remaining load to the new plants and spinning down the legacy fossil fuel ones that would otherwise have been used.
- goodpoint 3y agoWrong. Currently most electricity is generated from sources that release co2. Also, all the energy used in computation is ultimately released as heat anyways!
- Uptrenda 3y agoIDK, a mechanism that helps Tor continue to run does not seem like a 'wasted', 'needless' computation to me. People literally use Tor to protect themselves in situations that might result in heavy penalties for exposing the truth (maybe even torture or death.) If hidden nodes can be easily DDoSed it just makes it easier to censor the facts (and that can be dangerous.) Tor really does represent the best of us.
- dontupvoteme 3y agoPoW (minus bitcoin, which is bad anyway for many other reasons) contributes an incalculably insignificant amount of energy to the atmosphere. It's much, MUCH more important to protect the free internet. Sorry it's hot there but this is absurd virtue signaling and should under no circumstance come into view as a reason to not do PoW.
- thephyber 3y agoThis proposal applies a temporary cost to DoS and DDoS — which itself is already a big waste of power. This proposal has the ability (if it works as planned) to destroy DoS + DDoS as an effective tool against this kind of server. Likely a net positive in terms of power usage. Remember that this PoW proposal is a market. If the server has unconsumed cycles (eg. Is not saturated), the POW spot price can remain 0. The server only needs to set a PoW price after the server’s resources near saturation. For the same reason auctions end because nobody is willing to pay infinity dollars, clients can forego PoW and can opt to check back in on the server later when costs subside.
- mdekkers 3y ago> Every watt spent doing anything PoW is just that much more intensification of our current climate crisis. > It isn't interesting. It's the most egregious example of conspicuous consumption on the planet. This cannot be overstated. PoW needs to die. It is a lazy implementation that just sounds clever but is nothing of the sort. It kills our habitat. It has to go.
- SamPatt 3y ago>Every watt spent doing anything PoW is just that much more intensification of our current climate crisis. Every watt spent doing anything, period, right? Like using your computer to send comments on HN? Or streaming video? Or any one of a million things that humans do which aren't strictly necessary for survival but we do them anyway? The tirade against PoW is absurd. It's useful, get over it.
- keyle 3y agoI never heard of CPP (client puzzle protocol) before. Interesting stuff. How can 'large botnets' go around this, by causing havok on other ports?
- comex 3y agoProbably by having enough computers that they can overload the server even if the number of requests coming from each individual computer is relatively low, as a multiple of what a normal user would send – low enough that those computers have enough CPU time to solve the challenges.
- capableweb 3y agoFrom https://github.com/tevador/equix/blob/master/devlog.md https://github.com/tevador/equix/blob/master/devlog.md > The service would give the request a priority value based on the "difficulty" of the puzzle solution. Seems like single clients could increase the difficulty to higher than what the bot net would do (so it gets priority), and hence get access. Operators of the bot net would probably hard code one value as the difficulty, and it would be lower than what you could typically set on consumer hardware. Maybe user agents could even do this increase automatically?
- enigmurl 3y agoWould it really be lower on the bot net in the majority of cases? I'd imagine that real users probably wouldn't want to have their entire cpu spent on this.
- croshan 3y agoreal users have more CPU than a literal toaster (or smart air fryer, or IP camera, or many other common botnet devices)
- AnthonyMouse 3y agoNot only that, real users actually want to use the service, not overload it. A real user might only make one request a second. A botnet device is trying to make a thousand requests per second to overload the server. Even if they each have the same CPU as a normal user, now each node in the botnet can only make as many requests per second as a user or the user can outbid them.
- maest 3y agoI just wish that the PoW defence actually involved some sort of transfer of value from user to provider. (as opposed to just spending resources on the user side) This version is good, don't get me wrong, but adding value transfer would be better imo.
- nullc 3y agoValue transfer would be worse because it would create bad incentives. Now I'd have a reason to flood garbage fake (/proxy) onion sites to skim the payments. The user would have to go obtain that value too, creating logistical challenges. There might be legal issues for the users too-- e.g. upgrading copyright infringement into criminally prosecutable commercial copyright infringement.
- runeks 3y agoBurning funds, instead of transferring them, would solve two of your three issues. Obtaining the funds creates extra friction, yes, but it’s possible the benefit outweighs the cost — e.g. because an attacker can no longer utilize the idle CPUs of botnet devices. Ultimately, any form of anti-DoS protection also punishes legitimate users. The question is (1) how much it punishes attackers relative to this, and (2) whether this punishment for legitimate users deters them, too.
- nullc 3y agoSure, but that wasn't what the person I was responding to suggested. If they had, I probably wouldn't have commented.