4,235 karma · joined Sep 10, 2015 (11y ago) · 1,525 submissions
comment 11y ago · link · parent
Then the outsourcing shop no longer has the incentive to drag things out so you keep paying.
Of course, it may be necessary to pay a large premium to get such terms since the developers take all the risk.
comment 11y ago · link · parent
That is, you pay, say, $50, and you get to try a bunch of cars or in general products that they have on loan from various manufacturers and get some guidance from the staff if needed.
Then once you figure out what you want, you buy it online and get it shipped to you.
Then there is no need to "protect" those shops, since the customer is paying precisely for the only value they add, which is the ability to try out things and ask for advice, and in fact the value of the advice would increase since there would be no conflict of interest.
comment 11y ago · link · parent
As for why they would setup an alternate DNS system, they would get power over the DNS system and the money from domain registrations.
In exchange, users would get more security and website owners lower prices and more friendly policies (now the reputation of those companies is on the line, and they care more about it than ICANN since they are selling other things).
There's some anonymity risk though which might lead to strong opposition to the project if not addressed and while bundling and using Tor would work, it's not clear if Tor could take a few billion extra users doing tunneled DNS queries.
comment 11y ago · link · parent
That would make ICANN mostly irrelevant in less than a year.
Also, it improves security, since you are already trusting your browser vendor and would no longer need to trust ICANN, registrars and the CA system as well.
comment 11y ago · link · parent
You are not allowed to read the content of those resources for security reasons, and the fact that you can detect whether they have been loaded seems just as broken (although obviously this usually only has privacy impact, while reading the contents easily allows impersonating the user or stealing secrets).
This attack abuses this by using HTTP URLs and causing HTTPS to trigger onerror by using a content security policy that disallow HTTPS, which allows to measure timing of the HTTP->HTTPS redirection, which is instantaneous if the site had already been visited due to HSTS caching.
So I think two changes are needed:
1. The browser should never fire onerror on non-CORS-allowed 3rd party resources, but instead fire onload even if an error happens
2. The onload event should ideally be triggered 1 second after the resource has been seen regardless of whether it has been loaded or not. If that breaks too many websites, the timing granularity should be rounded to the greatest period possible.
There is also the problem of lots websites having CORS policies that allow * , so should probably also fix browsers to not allow sites to have CORS * policies, at least for this purpose.
Alternatively, it might be possible to load those resources normally, but effectively consider them to be a "3rd party origin from 1st party origin" that is different from "3rd party origin" and from other 1st party origins for all caching purposes.
However, this seems risky because if the 3rd party site manages to somehow fingerprint the user (e.g. because the IP address is whitelisted) then that information is potentially leaked to the 1st party site. For example, it would be possible to detect whether your IP is whitelisted by a domain that otherwise returns errors to everyone.
comment 11y ago · link · parent
This provides the same low-level challenges of writing a kernel, but it's far easier to get practically usable software than attempting to replace Linux and would actually be useful in practice.
At the moment, the only way to make a sandbox that has a chance of being perfectly secure (i.e. no security holes, ever) while still running all kinds of useful software is to use VMs to sandbox Linux/Windows kernels, and here the hypervisor is of course the weak point, and current usable hypervisors are written in C or C++.
comment 11y ago · link · parent
Here is some free software that accomplishes the same task, which is almost surely not more likely to give your password to third parties than just typing it on the same machine would:
echo $(shuf --random-source=/dev/urandom -n 6 /usr/share/dict/words)
comment 11y ago · link · parent
First of all, the code as written will just optimize to nothing, so we need to add an asm("" : "=g" (s) : "0" (s)) in the loop to stop strength reduction and autovectorization, and we need to return the final value to stop dead code elimination.
Once that is done, the result is more than 2 billion iterations per second on a ~3 GHz Intel desktop CPU, while the author gives an absurd value of 500m iterations which could not have been possibly obtained with any recent Intel Xeon/Core i5/i7 CPU.
BTW, the assembly code produced is this:
1:
add $0x1,%edx
add $0x1,%esi
cmp %eax,%edx
jne 1b
Which is unlikely to take more than 1/2 cycles to execute on any reasonable CPU as my test data in fact shows.
comment 11y ago · link · parent
Considering handling paths is one of the most fundamental functions of the Unix tools and C library, having buffer overflows there is quite damning.
comment 11y ago · link · parent
There have been other similar tools previously, but they were either slow (chronicle), unable to work on complex programs or only worked on VMs.
comment 11y ago · link · parent
Also once driverless cars are available, starting competing businesses should become trivial (aside from having the necessary capital), and in fact it's quite possible that the final outcome will be the car manufacturer themselves offering an Uber-like service instead of selling the cars.
comment 11y ago · link · parent
The marginal cost of the bandwidth required to make the phone calls is negligible, so there is no reason it should cost anything to the inmates.
A simple solution to achieve such a result is to buy a cell phone plan with unlimited minutes and route calls through it.
comment 11y ago · link · parent
If you selectively present anything you could possibly present in a negative light and do so without context, you can make anything look bad.
If one were to look at the ratio of such messages to praise and neutral messages, that would probably paint a very different picture.
Just numerically one can see that 1000 messages over 10 years is only 3 negative messages per day, and someone famous might get hundreds, meaning the negative ones are a few percent...
It's a bit like collecting all the [dead] comments on HN, presenting them all at once and then claiming that HN is a terrible community.
comment 11y ago · link · parent
And write the non-crypto TLS protocol part in a safe language like Rust while we are at it.
comment 11y ago · link · parent
This way, Let's Encrypt in particular would need to be breached for a successful attack, while right now it's enough to breach either Let's Encrypt or any other CA.
comment 11y ago · link · parent
The reviews from "stupid people" are limited by the ratio of "stupid people" to "smart people", and thus merely change the scale and add some noise, mostly uniformly across all products in a given category: the system is worse, but still usable.
On the other hand, enough fake reviews on a system with discretized scores will result in all products having the maximum score and having almost all reviews presented being fake: the system is now completely useless.