2,010 karma · joined Dec 27, 2015 (10y ago) · 785 submissions
comment 6y ago · link · parent
Unless you're talking about mass-replacing a single password across a bunch of different entries? Which is certainly not a limitation of any password manager; reusing a password is just horrible.
comment 6y ago · link · parent
Personal use is free, with an optional $10 per YEAR (not per month) addon that adds a built-in TOTP client (ie. Google Authenticator compatible two-factor auth). There are also "Organization" accounts at extra cost for more enterprise-level usage, including sharing credentials among teams.
Note: I believe that even if you host on-premise using the open source code, it expects a paid license for the extra features (TOTP and Organization accounts), at $3-5/month per user.
comment 6y ago · link · parent
The credentials (certificates) being exposed via http://169.254.169.254/metadata/v1/user-data – from within any pod/container, not just from a physical node – was the final straw. I'd forgotten that the DO token wasn't directly listed there, but can be extracted from the etcd instance where it is stored (explained under "DigitalOcean Account Takeover" of that article).
Again, all of this may have been (and hopefully has been) mitigated since the original release. For me, it's too late to reevaluate; the fact that was considered releasable in the first place destroyed any credibility in my eyes.
comment 6y ago · link · parent
Not only are your cluster's administration ports exposed on public addresses with no ability to firewall them, but each node pulls an Admin-level auth token to manage the DigitalOcean account behind the scenes. A single http request made to an internal IP, from within any Docker container running within the cluster, grants the attacker full read/write access and control to the underlying DigitalOcean account. This includes any developer who does so from code deployed into the cluster, giving the developer full access to the business's DigitalOcean account.
comment 6y ago · link · parent
This is why I'm an Apple user. Hate regarding Apple's policies like "use a platform that lets the app function correctly" (ie. drain battery running in background just to do more tracking, or because every developer assumes THEIR app is so special that it must never be unloaded from memory, in order to open instantly when being swapped back to... weeks after user's last interaction). With hilarious frequency, the complaints people have about Apple are precisely the reasons I prefer their products.
comment 6y ago · link · parent
It's impossible to satisfy everyone, regardless of the content rules, and no mater how curated. YouTube could spend a billion dollars curating content, along with surveys where 90% of parents have to approve a video before it is included, and the remaining 10% would still be the vocal minority ruining it for everyone.
Sure, YouTube probably doesn't do quite enough. But when you have parents looking to let YouTube babysit their 2-8 year old children without supervision, whose fault is that? YouTube's, I'm sure. /s
comment 6y ago · link · parent
Swift came out at a time where UTF-8 was already the standard. They talked a lot of talk about grapheme clusters being the most accurate representation, and then failed to deliver a coherent API to back it up. Any chance that has changed?
comment 7y ago · link · parent
Personally, if I switched away from PHP for web development these days I would do the backend in Go. But thank you for teaching me something new today. SCGI is not a protocol I'd heard of before, what with FastCGI being the (horribly legacy) standard. I have something new to research. :)
comment 7y ago · link · parent
Based on the other reply to my comment... no I'm not OK. I am not OK with Rails' pathetic attempts at the most basic level of security. Rails' developers are fucking amateurs. I'm sorry, but that's pure fact. Rails' developers don't know the first thing about the HTTP protocol.
NOBODY EVER CREATES A DB/CACHE KEY BASED ON THE VALUE OF A CLIENT-PROVIDED COOKIE (or unvalidated GET/POST). Anyone who argues against this should be permanently banned from IT/Technology. Just... fuck off... you have no clue.
comment 7y ago · link · parent
The developers who allowed this situation to occur should not be permitted to be employed in our industry. Yes, it's that bad and I am that serious. You can, not kidding, set your cookie's value to ANY VALUE YOU WANT, and the codebase is entirely willing to unconditionally create that session with whatever value the attacker chooses.
Hint: if a client sends session id "abc123", then you should check for the existence of that session id. If the key is not set, you either a) show an error page, or b) create a completely new session id, ignoring the client's requested session id. It is NEVER, EVER, EVER... I am saying __NEVER__, __EVER__ acceptable to create a session id based on client-provided data. And yet, this is what Rails does out of the box.
Edit: Downvote me more, I don't care. The fact is that Rails' developers are amateurs. Rails is insecure out of the box. That is a fact.
comment 7y ago · link · parent
The cost and brand name of a product mean nothing. You can buy a $10,000+ "Genuine Leather" wallet, claimed to be "handmade" by a top-5 wallet manufacturer brand name... and chances are it's all lies. They sell too many wallets for them to be handmade, so the fact is they use sewing machines with the cheapest labour they can get away with. The company is physically incapable of tracing the chain of custody of their leather; they'll tell you to your face it's "genuine" (bonus words for "locally sourced/farmed"), but that's a game of Operator/Telephone 10 players deep to the point where nobody remembers the truth.
tldr; Most leather, including "genuine leather", is anything but. That includes the largest brand names; in fact even more so, because the demand for their products is too high to secure any kind of guarantee of quality regarding sourced materials. How many large-scale manufacturers of leather products are willing to legally sign on the dotted line that they can prove which cow and farm any given wallet came from? Exactly, and that's 21st century capitalism at its core.
comment 7y ago · link · parent
Building credit means you could put yourself thousands of dollars in debt... but you don't. 90% of building credit is demonstrating restraint NOT to use credit dangled in front of you. In the rare instance where you take advantage of the ability to use more credit than usual, you pay it off within a reasonable amount of time. The credit industry is predatory, to be sure. But that's only for the idiots who believe they're "able to" or "expected to" use all the credit afforded to them. It's about seeing all that possible "green" in front of you and NOT using it, or using it sparingly and responsibly.
>> Some of us would prefer not to utilize debt at all
So don't. Build your credit by buying groceries on a credit card, and paying it off every month. You're not really going into debt; you're just postponing paying your groceries by a week or two. You can build a near-perfect credit score without ever paying a single cent of interest.
comment 7y ago · link · parent
Random speculation of one possibility: each of those 10 instances were suddenly doing something unexpected and spammy with the network. Maybe sending 500k+ emails (one per row of data claimed by the developer) over SMTP in a very short period, or jumping to massive spikes in torrent traffic, or crawling sites to scrape data (maybe each row of 500k is just a top-level domain name, and they crawl every URL on those domains, possibly turning 500k rows into hundreds of million of http requests).
The postmortem will be interesting. If DO is truly at fault here, that email after the second lockout saying the account is locked after review, no further details required... bad.
comment 7y ago · link · parent
comment 7y ago · link · parent
The rest is your parent justifying their job/industry as if they're a Godsend–perhaps as compared to cable? It's an indefensible position thus far. The streaming services are all trash with pathetic bitrates; all streams average the same ridiculously low bitrate over the entire stream, without accounting for dark scenes that require orders of magnitude more bandwidth. Every Netflix (and competitors') 1080p streams with dark scenes are unwatchable. It's highway robbery to deliver what looks like 180p frames for a 1080p stream. We're supposed to be at 4K these days, yet they can't even deliver acceptable 1080p. Until the streaming services are willing to stop compressing everything far beyond watchable levels, they don't deserve anyone's business. Netflix, I believe, averages ~3-5 GB for a 90-120 minute movie? That number should be, at least via opt-in to those with the bandwidth for it, 20-40+ GB.
I don't necessarily expect fully uncompressed Blu-ray quality, but the standard should be to deliver something watchable, without banding artifacts. At a minimum that would mean massively variable bitrates, where the highest bitrate of a stream should be allowed to be 10-20x+ its minimum bitrate. Compressing a 60+ GB original file into a download of than 5 GB is flat out unacceptable and unjustifiable.
comment 7y ago · link · parent
Kong does have a certain position in the industry (they are at least "known"), but their competition has done a better job taking market share. There are many API Gateways and Service Meshes trying to get their piece of the pie, and Kong has so far failed to be one of the true front runners. Products built on top of Envoy have so far done a better job of attracting users.
That isn't to say Kong can't try to assert themselves with another injection of cash. The industry is still very much up in arms, with all of us waiting for someone to step up and take over as the defacto gateway and/or mesh; preferably BOTH the gateway AND the mesh. Kubernetes itself is effectively the defacto standard, but the things you plug into it are certainly still in flux.
comment 7y ago · link · parent
The laws are broken. It doesn't matter how "big" Google is. They cannot afford to protect the small guy. It's a choice between "hurt the small guy" vs. "go bankrupt". Fix the laws. Don't blame Google.
comment 7y ago · link · parent
comment 7y ago · link · parent
Worse than a simple information "spy" would be having a security engineer with intimate knowledge of Apple's security leave the company to co-found a new company whose entire business model is to sell expensive hardware to law enforcement that bypasses Apple's security. Oh right, that actually happened[1].
An Apple security engineer discovered–or baked in–critical security flaws at one of the world's largest technology companies and instead of disclosing them to the company, co-opted that sensitive insider information to start his own lucrative business. I've been waiting for news of this man's reputation, career, finances, and perhaps even his freedom having been taken away; so far it seems he's gotten away with it. I don't buy the apologist explanation I've heard: "he's likely just so good at his profession that he reverse engineered entirely new vulnerabilities after leaving Apple, without necessarily having exfiltrated knowledge only obtainable from within Apple's own walls".
If this man had done this to a bank or the government, he'd be rotting in federal prison. But he "only" expropriated this information from a private corporation, so no big deal. /s
[1] https://www.forbes.com/sites/thomasbrewster/2018/07/26/apple...
comment 7y ago · link · parent
Kubernetes is far too complex to set up from scratch. The only way to reduce the complexity – or rather, to offload it – is to use managed Kubernetes via AWS or GCE. The fact that using AWS or GCE is effectively the only viable method for running a production Kubernetes cluster speaks volumes to how non-simple the stack truly is.
comment 7y ago · link · parent
comment 7y ago · link · parent
> I/O threading is not going to happen in Redis AFAIK, because after much consideration I think it’s a lot of complexity without a good reason
vs.
> the way I want to scale Redis is by improving the support for multiple Redis instances to be executed in the same host, especially via Redis Cluster
Having to run multiple Redis instances, with a separate "Redis Cluster [proxy]", sounds like "I didn't originally use threads, and while threads are technically the correct solution (because it's the standard way to do things and not all that complicated), I don't feel like rewriting Redis to use threads the way it should have been done from the start; thus I've come up with an alternative hack that is not ideal but makes my life easier". While I have always argued that memcached is not automatically better solely because it is multi-threaded, the idea that an additional point of failure – a technically unnecessary proxy/broker – is somehow a better solution than threads seems like an attempt to save face for mistakes made during early development.
As for the ACL:
> You get a library from the internet, and it looks to work well. Now why on the earth such library, that you don’t know line by line, should be able to call “FLUSHALL” and flush away your database instantly
What can I say other than "give me a break". Every large codebase has hundreds/thousands of dependencies, and any one of them could slip in a malicious block of code. My analysis: anyone who would be concerned about some library calling FLUSHALL would never even install Redis - a C program that, for all we know, is spamming emails or running a Bitcoin miner while it runs. The fact is, all 3rd party software/dependencies come with risk; if I'm trusting your software not to screw me while I sleep, I think I can trust a basic library not to hijack my Redis server with a FLUSHALL command. Really, this is not even remotely a valid argument. Whatsoever.
Then there's this:
> maybe you just hired a junior developer that is keeping calling “KEYS” on the Redis instance, while your company Redis policy is “No KEYS command”.
Ok, now you're just making shit up. Here's an idea: you don't need ACL to restrict access to KEYS, as that command should have been deprecated and entirely removed in favour of SCAN long ago. You mentioned "I think it’s a lot of complexity without a good reason" regarding multi-threaded Redis; yet here you are advocating an entire, complex ACL layer... for what purpose? For some imaginary malicious scenario where my Redis library is going to call FLUSHALL, or a "junior developer" is allowed to call "KEYS *" – a command that should not even be available in 2019?
I started this comment intending to provide unfiltered – but polite/constructive – feedback. The more I reread your original post, the more frustrated I got at the fact you seem to have lost all common sense. You're trying to justify adding a massive amount of complexity, including a clustering/proxy strategy instead of simple threading, and ACL to save us from imaginary threats. I've previously been in the stage of development that I believe you might be in now – you've run out of truly "good ideas" that would actually benefit your user base, and are now attempting to justify new features as necessary, when the truth is you're just looking to write new code that you personally find to be "new and exciting", rather than iterating on the existing, boring codebase.
I've spent the past 4-5 years advocating that memcached is effectively dead because of Redis. The more you try to make Redis some kind of ACL-secured, clustered database – rather than the lightweight cache store we learned to love – the more likely another project will step in and replace Redis the same way Redis replaced memcached.
comment 7y ago · link · parent
^ Also an exceptionally callous way of looking at things.
comment 7y ago · link · parent
tldr; Advocating to get others to give a damn about something that will be experienced by a minority of people falls on deaf ears, because people really don't - and won't - care about something until it affects them personally.
118.
Hacking DigitalOcean's New Kubernetes Service(4armed.com ↗)
15 points · by developer2 · 7y ago · 2 comments
comment 7y ago · link · parent
comment 7y ago · link · parent
My anecdote: theater/drama classes in middle and early high school don't count. You're mixed in with a bunch of teenagers who are only taking the class because either a) it's a mandatory class for all students; or b) more than half the class elected to take the class because it's "easy credit". When many/most of the students in a class aren't there because they actually want to explore the art, it ruins the entire dynamic. The same loudmouth bullies who cause trouble elsewhere in the school have an open season on the shy students; every step a socially awkward student tries to take to "open up" simply provides the bullies with more information they need to target the vulnerable.
Every participant must be present because they have a genuine interest to work with their teammates. Acceptance and cooperation are necessary in order to peel back social fear, and that means finding a group of like-minded people who show up to explore themselves and others around them.