News for hackers. Stuff that matters.
Re:Debian and Tor Services Available as Onion Services by kefka on Tuesday August 02, 2016 @07:33AM (#12209138)
Normally, you need the apt module for Tor transport... But what if you wanted to be able to run .onion addresses from any program?

I wrote this: https://trac.torproject.org/projects/tor/wiki/doc/LinuxDNSre...

I wanted to be able to send data to Tor onion endpoints within my code, mixed with regular IP or DNS addresses. This modification allows the Linux system resolver handle Onions as it would any other address.

Re:Debian and Tor Services Available as Onion Services by zrm on Tuesday August 02, 2016 @09:38AM (#12209812)
Be careful with this if you're expecting anonymity though. The Tor browser does a lot of work trying to prevent identifying information from being sent to the other side. If you run an arbitrary protocol over Tor without any of that, it's much easier for the server to fingerprint the client.
Re:Debian and Tor Services Available as Onion Services by kefka on Tuesday August 02, 2016 @09:56AM (#12209927)
Absolutely. I highlighted this as one of the warnings in the Howto I made. Any protocol you use must be vetted for security and privacy, if you intend to use Tor for those purposes.

My purpose is very different. I wanted to communicate with any machine I owned. Every machine has an Onion hidden service, and every machine can talk to Onions seamlessly.

What this allows is I can code against a [hash].onion, and know that the data goes where I want it. I can run Mosquitto (MQTT database) on one node, and other nodes can publish data to it. It matters not where they are, what networks they reside on, or if I get the "DynDNS, firewall holes, dynamic-static internal IP", and the rest of that junk set up right.

I also use Node-Red, and can use .onion addresses as valid services elsewhere. It allows me the ultimate network flexibility. I think of .onion addresses as being on a "Really Long Ethernet Hub" that only listens to the machine talked to.

EDIT:

> If you run an arbitrary protocol over Tor without any of that, it's much easier for the server to fingerprint the client.

Agreed. I control both endpoints.

Re:Debian and Tor Services Available as Onion Services by SXX on Tuesday August 02, 2016 @01:15PM (#12211453)
Still not sure why would you want to use it like that.

OnionCat with virtual domain names would be better IMHO.

Re:Debian and Tor Services Available as Onion Services by rnhmjoj on Tuesday August 02, 2016 @10:47AM (#12210325)
I have been using privoxy as a system wide proxy with this rule `forward-socks4a .onion localhost:9050 .` to do this. I didn't know this was possible, great.
Re:Debian and Tor Services Available as Onion Services by akerro on Tuesday August 02, 2016 @06:52AM (#12208978)
I wish more systems went this way, Arch, Gentoo, Fedora and all BSDs.
Re:Debian and Tor Services Available as Onion Services by raverbashing on Tuesday August 02, 2016 @08:20AM (#12209352)
I wonder if Debian volunteers searching a more friendly tor address?
Re:Debian and Tor Services Available as Onion Services by akerro on Tuesday August 02, 2016 @08:46AM (#12209506)
There is very little benefit from such addresses http://news.netcraft.com/archives/2014/06/25/steam-phishing-...
Re:Debian and Tor Services Available as Onion Services by raverbashing on Tuesday August 02, 2016 @09:09AM (#12209633)
I disagree

Domain squatting is even harder on tor, but how am I supposed to know the real Debian is on xyabdjfhkj1345 or xvhdjakeueg12567?

Re:Debian and Tor Services Available as Onion Services by throwaway7767 on Tuesday August 02, 2016 @09:49AM (#12209885)
If debian generated an onion address like debiandebxwnjx6t.onion (just made that up), how would that help you determine that the .onion address is owned by debian?

All it proves is that someone ran a vanity key/address generator on his GPU for a couple of days to get a nice-looking prefix. I could do the same thing at home and get a different address with the same prefix, and you wouldn't be able to tell the difference without comparing the whole address.

Re:Debian and Tor Services Available as Onion Services by raverbashing on Tuesday August 02, 2016 @09:55AM (#12209923)
You're right, by itself it doesn't

However, with several Debian volunteers they can get a more friendly-looking address. One person alone with a GPU can't compete with that

It's a proof of work (just like bitcoin)

Re:Debian and Tor Services Available as Onion Services by wcummings on Tuesday August 02, 2016 @10:18AM (#12210085)
One person with a botnet can compete
Re:Debian and Tor Services Available as Onion Services by ashitlerferad on Tuesday August 02, 2016 @08:56PM (#12214704)
You need a trust path to the Debian sysadmins. The best option right now is the HTTPS on onion.debian.org and the knowledge that Debian uses Lets Encrypt.
Re:Debian and Tor Services Available as Onion Services by ryan-c on Tuesday August 02, 2016 @09:27AM (#12209744)
Re domain squatting, it's not as hard as you probably think it is to generate an onion addresses that is a near collision.
Re:Debian and Tor Services Available as Onion Services by dublinben on Tuesday August 02, 2016 @01:44PM (#12211646)
You know because they published this list. This page is HTTPS with a certificate that you (presumably) trust.
Re:Debian and Tor Services Available as Onion Services by bedros on Tuesday August 02, 2016 @03:10PM (#12212452)
I wonder why I2P service/protocol is not as popular as Tor?

Why would debian not host their sites on I2P

Re:Debian and Tor Services Available as Onion Services by SXX on Tuesday August 02, 2016 @08:35PM (#12214594)
It's less popular for several reasons:

* Tor heavily used to get some anonymity in big internet.

* Tor have bundle browser solution that anyone can use.

* I2P is Java and not everyone know there is C++ client.

* I2P also audited less have more undergoing changes.

While I2P can be used to do exactly same things as Tor it's just not goal of project.

Re:Debian and Tor Services Available as Onion Services by ashitlerferad on Tuesday August 02, 2016 @08:50PM (#12214676)
I2P isn't packaged and in Debian stable/backports yet, this would be a requirement for the Debian sysadmins to use it.
Re:Debian and Tor Services Available as Onion Services by catuskoti on Tuesday August 02, 2016 @08:51AM (#12209535)
We also need reproducible build to finally cover most of debian ...
Re:Debian and Tor Services Available as Onion Services by leni536 on Tuesday August 02, 2016 @09:59AM (#12209953)
Re:Debian and Tor Services Available as Onion Services by ashitlerferad on Tuesday August 02, 2016 @08:54PM (#12214695)
80% is misleading, since there are still variations that are missing, like user shells, build paths and filesystems (disorderfs isn't used yet).

https://tests.reproducible-builds.org/index_variations.html

Re:Debian and Tor Services Available as Onion Services by leni536 on Wednesday August 03, 2016 @02:41AM (#12216070)
Sure, but variations are there so the reproducible builds are more robust and can be done natively. It doesn't mean that you can't reproduce these packages, just stick to the standard build paths, filesystems, etc...

Also, I see that user login shell is varied.

Re:Debian and Tor Services Available as Onion Services by rbanffy on Tuesday August 02, 2016 @02:08PM (#12211858)
My font package is not. I am curious as to why would that be. Can you give me a hand with that?

https://github.com/rbanffy/3270font

Re:Debian and Tor Services Available as Onion Services by ashitlerferad on Tuesday August 02, 2016 @08:52PM (#12214686)
See the comments on the reproducible builds website and ask on the #debian-reproducible IRC channel on OFTC if you need more info:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable...