620 points · by input_sh · 7y ago · 231 comments
https://2019.www.torproject.org/docs/tor-manual.html.en#MyFa...
Of course, a malicious relay operator that wanted to increase its chances of being used as both the entry and exit nodes in a single path (and thereby easily being able to correlate traffic between its origin and destination) could add a lot of nodes and not own up to their relationship.
Some people in the Tor community try to watch for relay-creation behavior that they consider suspicious. A common example is a large number of new relays that appear within a short period of time with similar characteristics and don't declare common ownership.
Edit: one of the main tools for this is OrNetRadar, which seems to primarily use the autonomous system number in which the relays are located, as well as the timing of their creation: https://nusenu.github.io/OrNetRadar/
In this case, the relays can be given a flag like BadExit by the Tor developers, which will stop any Tor client from selecting those relays as exit nodes in a path. However, a sufficiently malicious attacker could add a lot of network capacity in a way that isn't recognizably associated as belonging to the same entity, for example by adding nodes in different data centers, with different speeds, with different software environments, and not all coming online at the same moment. In that case, there wouldn't be a way to easily infer that these nodes are associated with the same operator.
As someone has said elsewhere in this thread, there's still the hope that if different organizations add network capacity with malicious intent, they tend to undermine one another's chances of succeeding, at least as long as they aren't directly colluding (because the basic security goal in Tor is that clients choose paths whose constituent relays don't share information with one another).
Experiment A: fire up a baunch of nodes one way, see how many are marked as BadExit; experiment B: vary the way you fire up on one variable (time-delay, node server Os etc.), measure, repeat
By contrast, being marked as a BadExit due to tampering with content can be due to tests whose exact nature isn't disclosed and changes over time, and it doesn't happen instantly, so it might be hard for an individual deliberately malicious exit to deduce which action it took that resulted in the BadExit flag.
Determining whether nodes are secretly colluding (or, equivalently for some purposes, whether their communications can be closely observed by the same adversary!) is a mostly unsolvable problem, and that's an important limitation for Tor's security. There have been some papers that do a statistical analysis about the probability of an individual adversary winning against an individual user, given some assumptions about that adversary's capabilities (what fraction of nodes the adversary controls or observes). Tor has changed its path selection algorithms a bit based on ideas from these papers.
https://2019.www.torproject.org/docs/faq.html.en#ChoosePathL...
If you're using public Tor nodes, as opposed to bridges, it's not really feasible to prevent nodes from knowing whether they're being used as middle nodes (they can just check whether the previous node corresponds to another node in the public directory consensus).
[1] https://metrics.torproject.org/rs.html#search/family:38A42B8...
Also I’ve convinced my company to run nodes with their VPS credit. 6 nodes, 30GB per day per node. It costs them 30$.
Most countries allow anyone to setup a company and operate servers. Any government organization with a small amount of resources can setup a front company and turn on a server.
I'll try to find a source when I'm off mobile.
It would definitely be interesting to actually come up with some estimates of how much was being spent in aggregate bandwidth costs, say, 7 years ago, and compare it with what is being spent at present, and see if it matches what would be expected with 'normal user growth' although normal user growth for a relatively niche project like this would be pretty hard to quantify.
https://metrics.torproject.org/rs.html#details/786926E8C497A...
Currently, it connects to bootstrap nodes and tries to discover peers asynchronously. Obviously, it doesn't handshake with the bootstrap nodes in time for it to start discovering peers so it waits another 1-5 minutes depending on the setting to try discovering again.
Startup usually takes a few minutes due to this trivial problem and an issue has been open for it since May: https://github.com/ipfs/go-ipfs/issues/5953
I do have a question though on the immutability, how do you address problems where people contribute harmful content, such as revenge porn pictures, or doxing someone? If the content is immutable, it means these things would always exist and never be removable? Is there any moderation that can stop this kind of stuff?
Just wondering, I still like the idea, it's just a question I have been thinking about.
Fundamentally, the spec are good. These guys might not have the most mature development practices but it's a completely different category than tor. The project are broken down in a very [theoretically] elegant way and one project that truely exemplifies this is IPLD: https://github.com/ipld/specs
IPLD (among other protocol labs projects) is applicable to so much more than just IPFS!
As you mentioned, I've also found IPFS to be fragile, particularly in that it is unlikely for stuff to stay up reliably, as ironic as that is. If I'm trying to host a website with not too much traffic (nobody else replicating), I have to keep my computer online or it will become inaccessible.
IIUC, it's onion-routing request traffic to your computer, but your computer is still acting as the sole server of the website. Turning off your machine gives incoming requests nowhere to resolve to.
Well, it's kinda inevitable with these systems, since there's limited available space. Freenet lets you "insert" data into the network (copy to other nodes) and disconnect your computer, but if nobody requests that data, it'll also eventually disappear from every node.
My understanding is that it is not possible for Tor nodes to block (or even know about) what you are accessing.
If it is used by political or marginalized communities, then this project is also not useful. It does not have the support or attention required to enable it to be secure enough like the TOR project does. This application opens up legitimate users to incredible risk.
If I were a dissident, I would take my time and do the research required to set up a system like this in the correct way. This project may give people a sense of false security.
Similarly, we should ban sharing information on hacking/security because bad people might use it, and require that all communications be visible to the government to prevent abuse.
It is much the same as arguments that there should be gun training required to purchase a firearm. Adding friction to a process sometimes provides positive benefits.
From all my history in computer security, conferences and just picking up trends in what criminals do, the most common channel for sharing CP should be, as an educated guess: Plain text email. A smartphone, a camera app and the email app that is already installed, as an educated guess, is the tool of choice for the wast majority of cases. For the remaining portion we got people who do not take most friction-less method, and here I doubt OnionShare will cause any change in the availability of CP.
A bit of a tell is that during the crypto wars there were officials that forbode that there would be an explosion of CP if free encryption was allowed. CP and nuclear proliferation was the standing bet between Eben Moglen and Phil Zimmermann on what the opposite side would first bring up, and I think its fair to say that neither issue occurred after Phil Zimmermann won.
Taking a perspective from behavior science, CP production and sharing is unlikely to be a rational decision where risk and reward is fairly balanced. As an example I would predict that increased jail sentences does not actually reduce the crime rate, nor would turning a very hard tool into only slightly hard to use tool. Effective measures would have to either address the emotional state of the person right before the crime, or implement catching mechanism in the tools with lowest friction like email and email replacements like chat.
A victimless crime.
> or other illegal content
Such as for a chinese citizen to post criticism of the party.
> The reduction of friction to host material online in a completely anonymous way only enables adverse actions like the sharing of CP or other illegal content
More like "only enables the less tech-savy and saves time from the more tech literate", I do not see how it correlates with the sharing of illegal material.
> It does not have the support or attention required to enable it to be secure enough like the TOR project does
It is a front-end for tor basically, it inherits its security properties. Moreover just because a project is made by one person it does not mean that it is any less secure. Consider libsodium/nacl/monocypher vs most other crypto libraries for example. Also, by the same logic it would not be of use to these that share CP because "It does not have the support or attention required to enable it to be secure enough like the TOR project does", it's not like people that share CP need any less security than a dissident in china.
> legitimate users
This implies that these who share illegal content are not legitimate users. Please be more clear with your terminology, usually illegitimate users are people such as spammers and attackers.
> A victimless crime.
Most certainly not. A lot of victims that were exploited in the production of child porn have to live with the knowledge that for the rest of their life that material will be out there, viewed by every dirty slimy degenerate wanting to do so. It's also one of the reasons a lot of them commit suicide. The fact that the justice system makes even viewing this material illegal is not for nothing, but comes from a proper understanding of how child porn victimizes people.
They aren't decentralized, though; some people are running YaCy (a decentralized search engine) over Tor to create a decentralized index of onion sites: http://wiki.yacy.net/index.php/En:YaCy-Tor
Should we just ban the internet as a whole?
I understand the sentiment, but I hard disagree with it. Especially because this tool (and similar to it) can be used for good, and might be necessary in the future.
Try to see the glass half-full.
One answer is that you might someday like to say something which some other party would have a problem with.
We might say that if you truly believe in what you're saying, the principled course would be to say your piece and let the other party be upset. But if the other party has a lot of power (for example a parent, an employer, a university, a government official, etc) they can threaten retribution for your words. If the threat is serious enough, you will likely decide not to speak.
The ability to say things anonymously removes the threat of retribution. It helps people speak who otherwise wouldn't, increasing the range of perspectives and information the rest of us have access to. This doesn't mean that it's beneficial in every single case, but on balance it's a social good - in fact, it's a necessary component of a free society.
Edit: also, ISPs can sell your browsing information now: https://www.usatoday.com/story/tech/news/2017/04/04/isps-can...
Also, not everything that is illegal should be illegal. Civil disobedience is impossible in a monitored society.
The Navy didn't Tor for criminals, so obviously there is a use case beyond that.
That's not saying that on balance this shouldn't exist. There are of course good uses of technology like this. But I'd at least like to see builders grappling with that balance. Especially given recent prominent reporting around this: https://www.nytimes.com/interactive/2019/09/28/us/child-sex-...
Aren't these the same thing to the technology? To someone labeled a criminal, the government doing so is an abusive government. To a government that considers itself right, those who don't follow the rules are criminals.
We each have our own personal views on what should and should not be allowed which we judge individual cases with, but technology does not have a sense of morality to make such judgment as to when the criminal is in the right and when the government is in the right.
I think people far too often try to humanize computer algorithms with notions of right and wrong. The technology to avoid and oppressive regime is the exact same technology that protects the horrible person from justice.
However, I don't think that's the case at all. We can see in the real world there are many ways to strike a balance between safety and privacy.
So how would this work online? "We have private chats, but the government can look into any of them at any time"? I suppose it depends on your definition of privacy ... are your chats still private if I'm unable to see them but your friendly neighborhood police department reads them?
The reality is everything can be misused.
1) With a car without a VIN number / registration
2) With a car without a license plate
3) With no driver and no way to know who was controlling the car.
The point is, it’s not good to be able to commit serious crimes with zero risk of punishment.
The issue at debate is whether the gain from the legitimate (legal) use cases of technology like this outweigh the loss of making it easier for sex offenders / drug traffickers to more easily subvert authority.
If you commit, or attempt mass murder this way, you'll probably be caught due to the amount of resources a law enforcement agency will spend investigating such a crime. If you put up an anonymous website distributing child pornography, but you're not the one producing it, law enforcement will spend several orders of magnitude less resources investigating that crime.
- Should the layperson be allowed to own weapons-grade plutonium?
- How about being able to buy and cultivate your own anthrax cultures?
- Why shouldn't I be able to spray DDT when it's super effective?
Sure, a screwdriver is design to screw, just as fentanyl is designed to kill pain, but in the hands of a bad actors they can cause different levels of harm.
I'm not saying Onionshare is good or bad, just that you need to step back at look at any tool and consider the net potential impact if bad actors are able to exploit it.
I am not sure where Tor fits into that distinction, and I think that's the issue.
Otherwise it literally just is information.
1. Subversive technology becomes so ubiquitous and easy to use it's impossible to fight it. The government stops trying.
2. The government's control increases to the point of tyranny and people are no longer free.
I want the government to give up. Anything else will mean the destruction of the free internet and free computing we all enjoy today. I don't want a future where encryption is military use only because of laws that make it impossible to run code not signed by the government.
> But I'd at least like to see builders grappling with that balance.
There is no balance to be had. The internet contains the full spectrum of humanity. The very best and the very worst of humanity are both be found on the internet. The governments were oblivious for a while but now they want to narrow down the spectrum. As they impose laws and exercise control, the internet becomes safer but it also becomes less international and more regional. The flow of information is no longer free and unrestricted. The spectrum is narrowed down from both sides.
Sadly it will only get worse from here. I am happy to have enjoyed the internet while it was in its infancy, and I am sad that future generations will probably never experience it.
> Especially given recent prominent reporting around this:
Every article about encryption regulation is like this. Pedophiles and terrorists. Children in particular are the perfect political weapon. The exploitation of children provokes reactions in people that are so visceral they are ready to accept any law that would supposedly make it stop. Anything can be justified with these arguments and anyone who disagrees is labeled a pedophile apologist and instantly shunned.
This sounds like a good thing. It might come as a surprice but a lot of people in the sex offenders registry are there for victimless crimes (such as sending nude pictures of themselves when they were underage - consider https://metro.co.uk/2019/06/27/boy-15-made-sign-sex-offender... as an example of the >10 instances in news reports that I have read of such situation). The probation officer being unable to keep up with the technology that these people use will guarantee them similar levels of privacy that people like you and me have.
> https://www.nytimes.com/interactive/2019/09/28/us/child-sex-...
Just an offtopic note, this site is painful to read (on the desktop at least). Whatever happened to simple text sites?
Dark sites of all types still continue to run uninhibited for the most part. From my readings, the major or at least known/researched security holes have been plugged already by the developers, and the rest of convictions have happened because of user error, not the technology involved.
If memory serves me correctly, one particular pedophile abuser was caught after years of being investigated because he was identified through skin marks (I want to say it was freckles on his hand, though I don't recall the exact details of the article) that led investigators to him, not anything technological.
I'm a proponent of total anonymity online because it allows for whistleblowers to leak information that is untraceable to them (again, without consideration of human error). In the case of Wikileaks, for example, even though they weren't on an anonymous network, it still led to the largest classified information leaks known, from NSA tools to national and international communications between heads of states, diplomats and everyone in between. The general consensus was that it was a good thing. I don't necessarily agree with that, but one can't discount its value.
https://www.theguardian.com/society/2016/jul/13/shining-a-li...
From what I recall, most of these TOR sites are only taken offline because of some server misconfiguration or some other opsec weakness in the people who run these sites.
They need other people to use it to be effective. They aren't going to shut it down until they have a replacement. They might even control >50% of the network.
If there's truly a guaranteed secure way of doing things, the government would act a lot quicker.
even if you had some perfectly anonymous, uncensorable medium with zero security flaws, people would still make mistakes and get caught. it's never impossible for the state to catch someone, but it can certainly be too expensive to be worth it. this is a feature imo, not a bug. it should be expensive to investigate people.
This is correct.
However, the building blocks of circumvention technologies (et. al) and the building blocks of basic consumer Internet services and communications channels are indistinguishable.
You can't preemptively disable secure, covert communications and also provide rich, secure Internet services (such as banking, corporate email, etc.)
It is very much "Free Speech or Stone Age".[1]
[1] https://blog.kozubik.com/john_kozubik/2009/06/free-speech-or...
The time to set up uncensorable communications is before you're being censored. After, it's a lot harder to get traction.
To me, it implies that things you agree with and things you don't agree with cannot be censored. This seems like a prerequisite for a free society.
I found the reference to hate groups to be a much more effective argument, I think purely because everybody is so used to the kids/drugs/terror angle being overused and abused to chip away at liberties.
Surveillance-state dystopians take note.
The best way to address this is probably to make the resistant tools as easy and compelling as possible.
In any case, OP was visibly grappling with a tradeoff. The question is if there are compromises, i. e. methods to make such projects more useful for the good dissident, and less so for criminals.
One idea would be to restrict the types of files: video would seem to be more useful for illegal pornography than anti-government organisation. Please note: more useful. I'm not saying video is completely useless for good causes.
You could even make features dependent on the language used, or do some rudimentary geolocation. Or correlate directly with freedom: "if Wikipedia is not blocked, your upload speeds are severly limited".
None of these are perfect, and most are easily circumvented by people with a working compiler. But But they might help mitigate the possible misuses. Denying even the possibility is just lazy.
Think of our philosophy as starting a fire on purpose to prevent an out of control fire later. We know we've got a bunch of rowdy idiots here, and love them for it, but every once in a while they find an amazingly lazy way to grab power and shake things up a bit - like a randomization function.
I'm still hoping 5 years later all of them will forgot what was so important and go back to discussing Jennifer Lopez's butt.
Even if you trust the American government, people in repressive regimes can still make use of this. This could enable a western news outlet to make itself accessible to those who are brainwashed by state media.
Trying to prevent "hate groups" from congregating or criminals from opening marketplaces doesn't usually work, either. It's the prohibition principle: if you ban the tech, criminals will use it, but an American NGO won't be able to reach those with censored internet.
You may not use it, but I don't see why your "being on board with it" ought to affect what others create.
I think an important point to make is that just because you trust the American government now, doesn't mean that this won't change in the future. Which is why the core tenets of free speech and privacy should be protected at all costs.
It is a place to find prespectives that are not allowed.
Reminds me of a star trek voyager show where bad thought has been outlawed so they have a black market for those type of thoughts. From the start there are people who want to express and someone who wants to stop them. This stops the person stopping them.
/s
I could go on, but that's about where we are.
Just because the world's loudest whiners have decided that people disagreeing with them is censorship, doesn't mean that there aren't legitimate examples of actual censorship and oppression in the world.
There are plenty of countries where criticizing the government on social media results in prison, beatings or being disappeared. There are regimes that aren't above using a dissident's family members as collateral or for retribution.
¹ definition is subject to change depending on which entity is currently in power.
There are other ways to investigate or deradicalize fringe extremists. There is only one way to have free speech.
On the other hand where we already have free speech, I’m not a big fan of anonymous speech. Speech should be subject to the self censorship that comes from thinking about whether someone is hurt/offended/etc. Free speech means being free to say what you want without legal consequences, not without social consequences.
Conversely, any method for censoring hate groups will be used against dissidents.
I used to be anti-censorship, now I'm pro-censorship because let's face it, the dissidents are fucked regardless and the fascists (and worse) are the only ones who are going to get much use out of these tools. But technological solutions to social problems aren't going to work. The computer knows nothing about the meaning of the bytes it processes. They're all just ones and zeroes.
OnionShare is just a regular webserver (every visitor accesses the site by connecting to a single machine: yours), but it automatically only serves it behind Tor, for the same reasons as above.
The advantage of this seems to be mostly simplicity (both in implementation and in setting Tor and such up) and possibly speed of first download for lightly used sites.
The advantage of Zeronet is that more people can serve the site, even if the original machine is offline or overwhelmed.
Privacy means that nobody watches, so if you want to build tools for privacy, you'll always end up also enabling people to use them for illegal things. We (as Western societies) have mostly decided that general privacy is so valuable to citizens that we accept the collateral damage of crime being possible. I've not heard a lot of arguments against privacy in general, the arguments tend to be "I don't need privacy in this particular part of life, so it better be removed".