News for hackers. Stuff that matters.
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by bo1024 on Monday February 05, 2018 @01:17PM (#16310707)
I am surprised that so many sites rely on cloudflare. I'm sure they provide some very cool services, but I would be concerned both from

- a design perspective (they are a somewhat single point of failure for much of the web, and add complexity/potential vulnerability), and from

- a control perspective, you are giving them control over your site and they have shown themselves a capricious in the past as well as vulnerable to legal coercion. (For instance, could a malicious actor take down a website by sending CloudFlare fake DMCA notices?)

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by Kalium on Monday February 05, 2018 @02:22PM (#16311240)
You're right! That does seem like a lot of risk to be taken on blithely.

If I may offer a few points, in the interests of helping you understand why people might make a decision that seems so obviously silly?

First, bandwidth is still fairly expensive. It adds up much faster than many people expect. A CDN, especially one that doesn't meter or charge for bandwidth, is a lifesaver. Yes, it's adding a complex potential point of failure to your system. As you completely correctly point out, that is not a desirable thing. However, what you get in exchange for that complexity and potential failure is more controllable costs and a greater ability to fend off some major attacks.

On the control point, you're once again absolutely right! With the potential caveat that this puts CloudFlare on a level with every single other service on the internet. Unless you're one of the few people who owns all the infrastructure starting with your server and ending with a full backbone network, you're already relying on capricious companies vulnerable to legal coercion. So this isn't really a new risk for most people. It is, again, a risk people take because they judge the costs and added risks to be worth taking on.

And one would have to work pretty hard at it to get a fake DMCA notice through. CF's legal department doesn't screw around.

So you're absolutely, completely, 100% right on all counts. It's a lot of risk to take on, and your concern is wise and justified! For a lot of people, the gains to be realized justify the risks taken.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by pathseeker on Monday February 05, 2018 @06:11PM (#16313116)
>you're already relying on capricious companies vulnerable to legal coercion.

The important distinction is that you're relying on a local ISP, not some company based in the jurisdiction of some foreign government (for everyone outside of the US like sci-hub).

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by Kalium on Monday February 05, 2018 @07:11PM (#16313446)
Indeed! But there's more, you know? You're not just relying on your local ISP.

You're relying on every single local, national, and international ISP between client and server. In many places, at least one of those is going to be owned outright by a government that might take a keen interest in what bits it transports. You're also relying on a variety of DNS providers and other services.

The number of services that have to cooperate for you to use any given website is staggering. And they're all capricious and vulnerable to legal coercion.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by pathseeker on Wednesday February 07, 2018 @03:32PM (#16327740)
We're talking about take-downs, not wiretapping. Don't muddy the waters trying to equate them.

I'm not aware of cases where a government has coerced someone like level3 to drop a peering relationship to an ISP in a foreign government or conduct BGP hijacking to take down a website under that governments jurisdiction.

Cloudflare is a significant risk for anyone pushing the boundaries of US laws in a different company.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by Kalium on Friday February 09, 2018 @04:19PM (#16343905)
Indeed! We are discussing take-downs, rather than wiretapping. You're completely right, and I failed to be sufficiently clear previously. Any level of ISP might be tasked with taking down content that flows over its wires.

For example, at one point a Pakistani ISP accidentally black-holed YouTube worldwide (briefly) through BGP while attempting to comply with a court ruling to block it.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by bo1024 on Monday February 05, 2018 @06:01PM (#16313053)
Thanks for your responses. Apologies if my post came off as portraying cloudflare use as silly -- not the intent. I definitely see the tangible benefits (and you helped me see more), I just worry about the intangible risks especially if too large of a fraction of the web shares a point of failure.
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by Kalium on Monday February 05, 2018 @06:06PM (#16313089)
Your heart is definitely in the right place! It's a good thing to worry about and a major cause for concern.

Awkwardly, the internet already has a lot of those. Remember when DynDNS went down under attack? A lot of websites stopped working that day. They're not the only major DNS provider, either. There are only a few certificate authorities that most commercial certs trace back to. There's a very small number of tier one ISPs.

Ultimately, it's about risk and cost tradeoffs to service providers. How much risk are you comfortable with, and how much as you willing and able to spend resources to reduce? There are no easy answers here, and services that trade on economies of scale (like CDNs) will tend towards concentration.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by drvdevd on Monday February 05, 2018 @01:56PM (#16311019)
Indeed. As an end user who browses behind Tor frequently Just Because, this is actually welcome news. Solving captchas to access sci-hub was a frequent pain point.

As a developer, I'm willing to try and help sci-hub secure their network against DDoS or other malicious traffic, assuming this was their reason for using Cloudflare services, and assuming sci-hub were to open source some of this effort publicly.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by Kalium on Monday February 05, 2018 @02:26PM (#16311288)
Your heart is in the right place. Freedom of information, and access to it, is a critical human right.

There is, however, a possible catch. As a developer, there's a sharp limit to what can be done purely in server-side software to mitigate a DDoS attack. Some classes of attack rely on particular kinds of server-side vulnerabilities, and against these your skills are very valuable! I'm sure your contributions of skill would be most welcome.

But against pure bandwidth-flooding attacks, it's more likely that writing more code is of at best marginal benefit. The state of the art for responding to these requires a big network, a lot of bandwith, and active management. Things difficult to deliver as a lone developer who cares deeply.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by softawre on Monday February 05, 2018 @04:07PM (#16312195)
Just want to say that your style of argument has me in awe. It's feels close to the patronizing line, but it's obviously not.

I think you just assume the best from people and I really like that.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by Kalium on Monday February 05, 2018 @04:16PM (#16312267)
Thank you. I appreciate that.

Mostly I assume people mean well but suggest silly things because they're ignorant. Reading Dale Carnegie taught me that you have to tell people they're right and stroke their egos a bit before you can imply that they might have the wonderful opportunity to become more right.

It's honestly exhausting to implement. It's a lot of hoops to jump through to tell someone that they don't actually understand what they're talking about. However... most people do not typically respond well to being flatly told they're wrong. Explaining how and why they are wrong does not generally improve matters, as people usually stop honestly listening as soon as they hear "You're wrong".

As you say, it does run the risk of coming off as patronizing. It's hard to avoid that entirely, as different people sometimes have drastically different standards.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by pathseeker on Monday February 05, 2018 @06:17PM (#16313150)
>As you say, it does run the risk of coming off as patronizing. It's hard to avoid that entirely, as different people sometimes have drastically different standards.

Definitely. I read your post as very patronizing (even though I agree with it) because you started with "Your heart is in the right place." That's just a sugar-coated way tell a child "nice try but you're extremely naive". IMO it's better to skip telling someone they are wrong like a child and skip right to the rebuttal without including any references to the parent author (an ad-hominem).

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by Kalium on Monday February 05, 2018 @06:49PM (#16313331)
In the abstract, I agree with you. In practice, I've found that a lot of people react to being treated that way in the same way they might react to being slapped. This is not always the best way to further a productive conversation.
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by kungito on Tuesday February 06, 2018 @02:41AM (#16314930)
They actually taught us this in Business English class. They said we should do this when talking to people from the States which was really weird for us since most Europeans said they find it patronizing.
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by alew1 on Tuesday February 06, 2018 @01:13AM (#16314735)
I wonder if it could be done in a less grating way? I agree with the general idea of affirming the good in others' viewpoints, but I do find GP's phrasing patronizing. Why not something like:

I agree, and I think there'd be a lot of developers who feel the same way (re: wanting to help, valuing freedom of access to scientific information). I wonder, though, if there's really that much we can do as developers. There are of course some vulnerabilities that can be mitigated with good code on the server, but most attacks are impossible to prevent without the resources that a company like CloudFlare can marshal. Unfortunately, the state of the art for responding to DDoS attacks requires a big network, a lot of bandwidth, and active management.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by Kalium on Tuesday February 06, 2018 @11:01AM (#16317090)
Ideally, I'd like to be able to say "Your offer is well-intended, but of little value against the kind of bandwidth-flood-type attacks CloudFlare is very valuable against. This is because the solution to that problem is servers and bandwidth, not more devs hacking things out server-side."

But, obviously, I did not. What I've found is that, if you run light on the praise and ego-stroking, people often either view it as token and ignore it or skip past it entirely. It's a fishhook that lets you smuggle your actual points past defensive mechanisms. You have to set it deep before it's actually useful.

And then you have to wrap your point in completely unjustified uncertainty anyway, to be sure that whoever you're interacting with doesn't feel attacked. People who feel attacked generally aren't listening to, engaging with, or learning from your points.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by alew1 on Tuesday February 06, 2018 @12:06PM (#16317594)
Makes sense! I tend to take the "wrapping your point in uncertainty" approach, without all the ego-stroking. Nothing against ego-stroking; it just seems hard to make it feel genuine enough for it to work. Most comments (mine included!) contain little enough insight that any praise more intense than "good point!" or "agreed!" or "that's totally right!" feels somewhat disingenuous.
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by drvdevd on Monday February 05, 2018 @02:36PM (#16311365)
Oh I absolutely agree. Which is why I specified that it should be an open source project. And I wasn’t thinking so much server side code to protect against DDoS but orchestration scripts and test suites to help create some form of redundancy offering some level of resilience.
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by richardwhiuk on Monday February 05, 2018 @02:55PM (#16311510)
The source code is relatively uninteresting. The power of cloudflare is in having the servers.....
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by Kalium on Monday February 05, 2018 @02:59PM (#16311554)
richardwhiuk completely nailed it.

Orchestration scripts and test suites are of minimal value here. They already exist for pretty much every configuration you might need, and already in open source ways. Open sourcing the tools is of very little value in meeting the needs of a site like SciHub in protecting itself from DDoS attacks. What's actually needed is servers and bandwidth.

Which is to say your heart is in the right place. You have the right ideas, and it's wonderful how much you care! It's just possible that the need at hand might be other than a maximal fit for your skills.

I hope this conversation has been as educational for you as it has for me, and thank you for the opportunity to engage!

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by jerheinze on Monday February 05, 2018 @02:21PM (#16311227)
> As an end user who browses behind Tor frequently Just Because, this is actually welcome news. Solving captchas to access sci-hub was a frequent pain point.

When using Tor you had the possibility of using captcha-free SciHub with their own onion service: http://scihub22266oqcxt.onion/ (it's down for now)

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by drvdevd on Monday February 05, 2018 @02:27PM (#16311293)
Yes it appears, AFAICT, that has been down for quite a while. In fact I’ve never gotten the onion service to load. I’m assuming malicious traffic at some point.
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by thecodeboy on Tuesday February 06, 2018 @02:33AM (#16314912)
You can access Sci-Hub at https://5ly.me/scihub .
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by always_good on Monday February 05, 2018 @02:56PM (#16311522)
It's more of a sign of how broken the internet is. For example, how you can take down most sites with $5.

Or how there's no downside for an ISP to not filter outbound connections (ip spoofing). Or how there's no downside for people to send unlimited traffic because their devices were compromised (imagine if their bill suddenly went up).

The internet is broken. Complaining that people use CloudFlare doesn't solve it.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by jpalomaki on Monday February 05, 2018 @04:15PM (#16312259)
Cloudflare is a problem for the Internet as a whole, but if you are running a site that needs this kind of service, how much extra are you willing to pay in order to not contribute to this problem. I think for the long tail of websites it would be significantly more expensive to purchase the same level of protection from elsewhere.
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by wmf on Monday February 05, 2018 @03:13PM (#16311684)
Because CloudFlare is a proxy, it doesn't take much work to turn it off or switch to another CDN. This dramatically reduces the risk of using them.

Also, CloudFlare is far less capricious than any other company, even free speech crusaders like Twitter and Reddit. AFAIK, CloudFlare has capriciously banned just one site in its history.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by rconti on Monday February 05, 2018 @03:57PM (#16312118)
A few years ago, I had an employer come up with the idea of a web application firewall that involved routing all of the customer's traffic through our network. I don't think I've ever been as horrified to be in Ops as I was that day. Thankfully it never came to pass; the architecture was changed. The idea of being in a role where all we could do is make the end user experience worse was fairly terrifying. (Leaving aside the possible benefits of caching of cloudflare-style caching, of course).
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by windowsworkstoo on Monday February 05, 2018 @06:47PM (#16313324)
But this is very standard for sub layer 7 traffic filtering and DDOS mitigation, so I dont understand your reaction
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by rconti on Monday February 05, 2018 @07:09PM (#16313439)
Because, like most teams, we had certain resource constraints (time, money, datacenter space, employees, etc). The undertaking of a massive new project that puts greater-than-ever reliability demands on existing infrastructure that is properly sized for the existing tasks is a huge burden.
Re:Cloudflare Terminates Service to Sci-Hub Domain Names by dx034 on Tuesday February 06, 2018 @02:18AM (#16314882)
If you run a website cloudflare is pretty nice. DDOS can affect anyone and cloudflare is the only provider where you know they won't kick you off their service because of an attack. You also hide your server ips which can make it harder for attackers and get a CDN on top of that.

I really hope we see a competitor for cloudflare and I'd immediately switch. But as far as I know, all others bill you for traffic and are focused on CDN more than protection.

Re:Cloudflare Terminates Service to Sci-Hub Domain Names by sssilver on Tuesday February 06, 2018 @11:50AM (#16317468)
Just curious -- why would you immediately switch, provided that the competitor was doing roughly the same thing with roughly the same quality for roughly the same price?