Slashdot Mirror


User: radish

radish's activity in the archive.

Stories
0
Comments
3,626
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3,626

  1. Re:Inexplicable gaps in Crypto products. on What Isn't There an App For? · · Score: 1

    Well I've no idea what this has to do with smartphone apps, but I'll bite.

    1) Most public key products do use symmetric encryption for actual data transfer. The public key bit handles mutual authentication and the generation and exchange of the symmetric key. Your approach does this ahead of time, by throwing a crap ton of them in a file and copying it to the remote host (via what, sftp?).

    2) The advantage of public key crypto is that there is (or should be) precisely one copy of my secret (the private key), so I have some hope of being able to control it. In your approach there is one copy per host. In a non trivial deployment managing that file to keep it (a) private and (b) current is going to be extremely difficult. All I need is one copy of that file (or a portion of it) and I can snoop any channel and modify any message in transit. The use of UDP is puzzling as I'm pretty sure that makes message tampering even easier (although I'm not enough of an expert to say that for certain).

    3) I don't see the point of the passwords/hashes on top of the keys. If I have the key I can communicate with you, if I don't I can't. Adding another secret which is in the same file as the key doesn't seem to add anything (for one thing, if I have the key and can listen in on messages I can easily extract the passwords as they fly by).

    4) All the stuff about file "copy numbers" is meaningless as you are trusting the peer to tell you honestly which copy it has. Rule number 1 in network security is you never, ever, trust the other side. Listener copy numbers are "256 and up" so I can just make up a random number in the 100000 range and I'm very unlikely to collide with yours, so the check passes trivially.

    5) There's no host level identity. How do I know I'm talking to the host I think I'm talking to? All someone with a copy of the key file has to do is change the copy number and they can masquerade as any host on the network (with an appropriate DNS/IP spoof or whatever). SSH prevents that because knowing one host's signature doesn't help you guess another.

    6) There's no user level identity. Who is logging in to this box? Are they actually allowed to do so?

    7) Changing the keys all the time is pointless. Assuming I'm using a good cipher, extracting the key from the encoded stream should be essentially impossible, so changing it likely won't improve security. Moreover, if I have one of your keys I probably have all of them, so changing it won't stop me. Further, having to allow for clock skew introduces complexity which is potentially exploitable. If you were generating random session keys dynamically and exchanging them out of band somehow then periodic rolling wouldn't be a bad idea (because I'd have had to crack the crypto to figure out the first key. and now I have to start all over again).

    There's more I'm sure, but it's late :)

  2. Re:Missing from my iPhone on What Isn't There an App For? · · Score: 1

    SMB streaming is a pain because you have to deal with whatever formats you might encounter, plus you have to maintain a local index of content etc if you want to provide any decent kind of UI. Every SMB based streaming device I've used (including very expensive ones) has sucked. DLNA is a much better bet as the server can abstract away all the complexity, and there are a bunch of dlna client apps for ios.

  3. Re:Multi Transport Navigation on What Isn't There an App For? · · Score: 1

    Google Maps does most of that, it will give me options for driving, public transport (bus, subway, train), bike, walking and Uber. It also factors in traffic, but adding weather for on-foot options is a nice idea.

  4. Re:This is why I like Python so I can use OOP or n on Anthropomorphism and Object Oriented Programming · · Score: 1

    There's absolutely nothing stopping you writing procedural code in Java, just put everything in one class and mark all your methods as static. Of course if you're going to start interacting with the class library you'll have to bend to it's way of thinking but that's not a _language_ thing. Of course I don't recommend doing that, but it can be done.

    This is why an experienced developer has multiple tools at her disposal - Java is great (IMHO) for a lot of things, but I'll pull out Ruby or Perl for some stuff, C# for others (e.g. when I want a native windows UI), Scala for yet more. There is no one size fits all, and just because one tool doesn't do everything doesn't make it useless.

  5. Re:Buy two... on 6 Terabyte Hard Drive Round-Up: WD Red, WD Green and Seagate Enterprise 6TB · · Score: 1

    My 5-ish TB of data over at Crashplan begs to differ (and yes, I have a local copy as well).

    Mirrored drives are not a good idea for data protection - for one thing an accidental delete (or overwrite, or ransomware, or whatever) will take your data out completely and instantly. Much better to do incremental backups at the file level, so you can restore deleted or damaged files from whenever you want in their history. Even if you don't want to pay for the cloud service, the crashplan software will do this very nicely to any target server.

  6. Re: The difference is that THERE is evidence on Manufacturer's Backdoor Found On Popular Chinese Android Smartphone · · Score: 2

    What you're saying basically boils down to "in the end you have to trust the people who wrote the OS or built the device". Yes, yes you do. This article is an example of how one such group abused that trust. Of course Apple and Google could do the same, but absent of any evidence that they have done so saying they could is kind of redundant.

  7. It uninstalled itself... on Forbes Blasts Latests Windows 7 Patch as Malware · · Score: 5, Informative

    According to my update history they automatically uninstalled it the next day (via a new update). So the auto updates worked - no drama.

  8. Re:Ireland is a tax haven for corporations on Microsoft To US Gov't: the World's Servers Are Not Yours For the Taking · · Score: 1

    Apple could certainly pay more tax than they do (and I would totally support legal changes to require that), but to call $5.3 billion "nothing" is a bit of a stretch.

  9. Re:Creators wishing to control their creations... on Microsoft Files a Copyright Infringement Lawsuit For Activating Pirated Software · · Score: 2

    And I honestly don't think Microsoft are trying to control what you do with their software. At least, I've never seen anything like that. All the licensing stuff is about proving you actually did buy it, and thus proving that the first sale doctrine even applies. It's a nuisance for sure, but I'm not sure what the alternative is. That said, as a 20+ year user of their products I've had to call for a license activation precisely once and it took maybe 60 seconds. I can live with that.

  10. The biggest problem is mobile on How Whisper Tracks Users Who Don't Share Their Location · · Score: 1

    I've worked with MaxMind stuff on mobile IP location - as they guy says it's pretty useless. If the user is on wifi it's not too bad, at least the IPv4 stuff could pretty reliably get the state and often city. I never had any luck with IPv6 although they claim to support it better now.
    The big kicker is if the user is on cellular - at least in the US most cell networks are natively IPv6, and they tunnel connections through giant NAT devices. This leads to two interesting effects - firstly the IPv4 address you see on the server is located at some random data center usually on the other side of the country from the user. Secondly, the IP (and therefore the data center) keeps changing - sometimes multiple times within a few minutes. Doing any kind of tracking leads to a device which appears to keep hopping back and forth between California and Kansas.

    This Microsoft Research whitepaper talks more about these issues.

    (and before anyone jumps on me for the privacy implications of trying to do this - in my specific case it was tracking devices in an enterprise environment for security purposes and everyone involved had given informed consent)

  11. Re:Local Backups on If Your Cloud Vendor Goes Out of Business, Are You Ready? · · Score: 1

    Why do they have to be exclusive options? I backup locally to a server under my desk, and remotely to the cloud. In the (more likely) event of an HDD failure I can restore as fast as my server can spit the data back out and be up and running in a few hours. In the (less likely) event of a catastrophe like a fire it might take a while to restore everything but at least it's not gone forever (and if I'm willing to pay they'll fedex me all my data on a drive). If the cloud provider go bust I still have my local backup and I can switch to a new offsite provider.

    FWIW I pay around $12 a month for unlimited off site storage (and currently use maybe 4TB) - this is with crashplan. If you have anything remotely valuable it seems like an obvious thing to do for a little more peace of mind.

  12. Re:In the spotlight on Lennart Poettering: Open Source Community "Quite a Sick Place To Be In" · · Score: 1

    He wrote some software, you weren't charged for it and it's existence doesn't affect anyone. Your anger, if it exists, should be directed to those forcing you to use it. Who are "no-one" or "your distro maintainers" depending on your POV.

  13. Re:Why do people still care about C++ for kernel d on Object Oriented Linux Kernel With C++ Driver Support · · Score: 1

    Our memory usage scales with load. Our load scales with usage. Predictions about growth in popularity of our product are all very well, but no excuse for not monitoring for impending doom

    Of course. But testing will tell you something like "a single instance with a 32GB heap will support 9000 tx/sec with acceptable 99.9% latency". So you can monitor traffic levels and scale out as appropriate well before something monitoring GCs starts seeing problems. Where I work we deal with request rates in the 100k/s range and so if things go wrong they do so very fast - the trick is to know the limits and stay well away from them!

    (especially since we have some legacy code that doesn't scale horizontally and so we have to keep throwing more memory at the problem for those services until we can fix that).
    Oh fun :) Be wary of getting too big. I'm a JVM fan but if you start going above 100GB you need to be careful - GC pauses can start getting extremely significant and tuning new/eden becomes very important. Over 200GB and you're bleeding edge. If you have the budget look at Azul - their stuff is amazing.

  14. Re:Why do people still care about C++ for kernel d on Object Oriented Linux Kernel With C++ Driver Support · · Score: 2

    Tracking the frequency/duration of full collections is the usual approach. The GC has to work harder as heap space runs out, a system which is tight will do frequent full GCs vs one which is running with plenty of head room. In particular if you're using G1, seeing full (single thread) GCs at all is a bad sign. I'd also do this out of process, either by monitoring via JMX or simply scanning GC logs. A process trying to monitor itself rarely works out well :)

    The better garbage collector for servers (G1) never pauses the world to free everything it can, so it's not like you can look at post-collection heap size or anything.

    It's an over simplification to call G1 "the better collector for servers", it's more complicated than that - and G1 certainly can do a stop the world, it just tries to avoid it.

    I'd also say this - if you're capable of writing C++ without any resource leaks you're capable of writing Java without any resource leaks. In which case memory usage will be predictable and simple load testing will show you how big a heap you need to allocate.

  15. Re:Bad actors? on Airbnb To Hand Over Data On 124 Hosts To New York Attorney General · · Score: 1

    Except that's entirely untrue. You may wish it were, but it is not. I don't have an HOA at my house but there are myriad laws (federal, state & local) which restrict what I can and can't do in and to my house.

  16. Re:105 megabits per second on Comcast Customer Service Rep Just Won't Take No For an Answer · · Score: 2

    It's not about average usage, it's about instantaneous usage. Most of the time my connection is pretty idle, but when I want to download something big (e.g. multiple gigs) I don't really want to wait around for it. That's what I'm paying for - not having to wait.

  17. Re:Hard to get excited. on Mozilla Doubles Down on JPEG Encoding with mozjpeg 2.0 · · Score: 1

    Don't forget storage. Bandwidth is one thing, but image storage is a big deal for sites like FB. They often store multiple copies of each one (e.g. at different sizes) and then you also have copies cached on CDNs etc, which also costs money. 5% isn't going to make or break the company, but it's worth investigating.

  18. Re:The real question in my mind on Test: Quantum Or Not, Controversial Computer No Faster Than Normal · · Score: 4, Insightful

    Which in turn would mean that for the problem space it's capable of operating within it's no faster than a normal computer. Which reduces down to "it's no faster than a normal computer".

  19. Re:The poster is showing his prejudice. on The Coming IT Nightmare of Unpatchable Systems · · Score: 2, Informative

    Door opening: See above re: neighbor or friend, or hide a key somewhere.

    A truly special reply suggesting mitigating a theoretical, limited, network security vulnerability by quite literally leaving the physical keys to the castle out in public. Please hand in your risk assessment credentials at the door.

  20. Re:Turnstile Jumping and Broken Windows Policing on Swedish Fare Dodgers Organize Against Transportation Authorities · · Score: 1

    Or you pay a couple of bucks and complain later. Given that this scenario has never happened to me in years of riding the subway makes me quite happy to take the $2 charge every few years to avoid dealing with the police.

  21. Re:Um Yeah. Right. on Inside the Stolen Smartphone Black Market In London · · Score: 1

    Speaking as someone who's been robbed for his cellphone twice - bring it on!

  22. Re:Freedom of political activism on Brendan Eich Steps Down As Mozilla CEO · · Score: 4, Insightful

    He wasn't fired, he chose to resign as it was in the best interests of Mozilla. As CEO he was the figurehead of the company, and he simply cannot distinguish his private beliefs from those of the company in the same way as a rank-and-file employee can. No one cared that he worked at Mozilla - they cared that he _led_ Mozilla.

  23. Re:Amazon Prime on Amazon's Fire TV: Is It Worth Game Developers' Time? · · Score: 1

    Seriously, how much value does this device have without access to video streaming via Amazon Prime?

    Pretty much the same values as a Roku - you can use it to stream Netflix etc. I really don't understand your point - yes this device is more integrated into the Amazon ecosystem, but it does do the same basic things that most other similar devices do.

  24. Re:Tip from a programmer on FTC Settles With Sites Over SSL Lies · · Score: 1

    If you don't trust your CA chain then do cert pinning. Either way you need to know you're talking to the right server, pretending that's impossible so it's not worth trying is a cop out.

  25. Re:Counterexamples... on The Era of Facebook Is an Anomaly · · Score: 1

    I'm certainly not one of the beautiful people but I've frequented several of those :) My memory is that Twilo had a pretty legendary door policy back in the day - I know the only time I got in was because I got on a list.