News for hackers. Stuff that matters.
Re:GitLab Pages by cornstalks on Tuesday April 05, 2016 @11:16AM (#11430999)
This is awesome. One question I have in comparison to GitHub Pages is if a global CDN is used and if there is effective DDOS protection built in. GitHub has to deal with regular DDOS attacks, and I imagine GitLab will have a few too. GitHub does a pretty good job with it, but before I move to GitLab Pages I'd like to understand that better but didn't see that info anywhere.
Re:GitLab Pages by jobvandervoort on Tuesday April 05, 2016 @11:38AM (#11431233)
Right now, GitLab Pages is hosted on the same servers as GitLab.com, so it gets the same attention from our engineers in terms of reliability and uptime.

We're not using a global CDN, but this is something we will explore.

Re:GitLab Pages by sytse on Tuesday April 05, 2016 @11:55AM (#11431416)
We're working on adding Cloudflare in front of GitLab Pages in https://gitlab.com/gitlab-com/operations/issues/75

We don't have a lot of experience yet with DDOS protection so there might be downtime as we learn that. As you can see in the issue we're working to implement protection before we need it but it might not be ready in time nor can it protect against everything.

Re:GitLab Pages by mynewtb on Tuesday April 05, 2016 @12:16PM (#11431649)
Please do not use Cloudflare. Their 'protection' against privacy aware Tor users makes accessing sites through incredibly painful.
Re:GitLab Pages by the_mitsuhiko on Tuesday April 05, 2016 @12:42PM (#11431934)
For what it's worth Cloudflare does not do anything different for Tor than for regular IPs. Since those are static pages with most likely not exactly questionable content the use of Tor is probably not all that important anyways that the total number of users that might be affected would be miniscule.
Re:GitLab Pages by dublinben on Tuesday April 05, 2016 @03:17PM (#11433471)
>the use of Tor is probably not all that important anyways

Who are you to decide that my use of Tor is not important enough?

Re:GitLab Pages by sneak on Tuesday April 05, 2016 @10:22PM (#11436149)
A site operator. It isn't censorship for someone to decide who they want to talk to.

CF is simply giving site owners levers to use if they so choose. While I am a strong supporter of Tor, privacy, and anonymity, CF has done nothing wrong here by allowing site operators to selectively choose who they wish to serve to.

Re:GitLab Pages by parallelist on Wednesday April 06, 2016 @03:14AM (#11437164)
Sounds a lot like censorship to me. It's discrimination at the very least.
Re:GitLab Pages by ferbivore on Wednesday April 06, 2016 @05:34AM (#11437680)
Spam filters are discrimination, but I don't see anyone suggesting we stop using those.
Re:GitLab Pages by corobo on Wednesday April 06, 2016 @07:06AM (#11437956)
Isn't the problem along the line of so many different people using effectively the same IP addresses (exit points) and looking somewhat similar to each other?

I'd imagine if there was a major ISP network out there that was doing NATing or similar for their customers so everyone came from a small set of IP addresses they'd get the same treatment. More users on the same IP means more abuse from that IP. If anything Cloudflare isn't discriminating. To handle Tor users better you'd have to discriminate (technical definition, not the negative form) to handle Tor users better

Re:GitLab Pages by erikrothoff on Wednesday April 06, 2016 @05:36AM (#11437688)
Then go after the site owners who choose to enable this.
Re:GitLab Pages by mullingitover on Tuesday April 05, 2016 @09:09PM (#11435888)
In all fairness, Tor is something of a cesspool and cloudflare is doing the best they can[1].

[1] https://blog.cloudflare.com/the-trouble-with-tor/

Re:GitLab Pages by mynewtb on Wednesday April 06, 2016 @05:15AM (#11437604)
Re:GitLab Pages by tombrossman on Tuesday April 05, 2016 @04:12PM (#11433947)
I'll second this to amplify the message to please not add CloudFlare for all custom domains and if you feel you must add it then at least make it optional.

This would be an absolute showstopper bug which would prevent some of us from using GitLab Pages if it became a requirement. Definitely do not want.

Re:GitLab Pages by iancarroll on Tuesday April 05, 2016 @12:38PM (#11431893)
GitLab can just disable that...
Re:GitLab Pages by sytse on Tuesday April 05, 2016 @01:28PM (#11432417)
Re:GitLab Pages by eknkc on Tuesday April 05, 2016 @03:53PM (#11433783)
I'm not sure what they are supposed to do if exit node ips have bad reputation.
Re:GitLab Pages by dangrossman on Tuesday April 05, 2016 @11:33AM (#11431173)
GitLab's hosted on Azure. I don't think Azure will fall over to a DDOS, you'll just wake up to a hefty bandwidth bill.
Re:GitLab Pages by nixgeek on Tuesday April 05, 2016 @08:40PM (#11435778)
Not all DDoS is volumetric, and even in volumetric attacks it can be complex to differentiate legitimate traffic from the noise being generated by the botnet.

Effective mitigation is about far more than "How big is your pipe?" so this comment reads as somewhat uninformed.

tl;dr - Azure does not have a magic <SOLVE DDOS> button which someone pushes, fixes all kinds of attacks, and just charges you for this at $1175/hr whilst you sleep peacefully.

Re:GitLab Pages by amelius on Tuesday April 05, 2016 @11:39AM (#11431237)
Better to ask about their minimum availability guarantee. Knowing that the servers can handle a DDOS attack is of little value if the service goes down for maintenance every day (just to give an example).
Re:GitLab Pages by sytse on Tuesday April 05, 2016 @11:57AM (#11431445)
GitLab.com runs the same GitLab as our users and some upgrades require downtime. Other operations should not require downtime, we have multiple application servers and load balancers. The backend services are HA except the file storage until we complete the move to CephFS.
Re:GitLab Pages by gsmethells on Tuesday April 05, 2016 @01:56PM (#11432732)
Why did you guys choose Ceph instead of OpenStack Swift? Just curious.
Re:GitLab Pages by jobvandervoort on Tuesday April 05, 2016 @05:21PM (#11434593)
I'm not sure whether we've seriously considered Swift, but high bandwidth is important to improving our performance, one area in which Ceph seems to be the better choice [0].

[0]: http://www.sparkmycloud.com/blog/a-performance-review-of-swi...

Re:GitLab Pages by amelius on Tuesday April 05, 2016 @06:38PM (#11435153)
IIRC there was an issue (in Ceph) with performance in the case of many small files. Is that solved now?
Re:GitLab Pages by sytse on Saturday April 09, 2016 @04:50PM (#11463254)
Swift only provides object storage and we need block storage.