agl / xmpp-client

An XMPP client with OTR support
BSD 3-Clause "New" or "Revised" License
365 stars 71 forks source link

Add new Tor HS for alternative domains #81

Open ioerror opened 9 years ago

ioerror commented 9 years ago

We should add a few new domains that have Tor Hidden Services.

http://jabber.s7t.de / jabberip5hpbrafx.onion according to https://twitter.com/ManiacTwister/status/555759240875606016 securejabber.me / giyvshdnojeivkom.onion according to https://securejabber.me/ wtfismyip.com / ofkztxcohimx34la.onion according to https://wtfismyip.com/jabber/ so36.net / s4fgy24e2b5weqdb.onion according to https://so36.net/services/xmpp/ jabber.ipredator.se / 3iffdebkzzkpgipa.onion according to https://www.ipredator.se/page/services#service_jabber gabbler.de / gabbler7m74gkjci.onion according to http://www.gabbler.de/ jabber.autistici.org / wi7qkxyrdpu5cmvr.onion according to http://www.autistici.org/en/stuff/man_anon/tor.html

If somone could verify all of the above, I think one commit per domain would make sense - I have prepared a patch:

diff --git a/config.go b/config.go
index 40581b2..cadb2ba 100644
--- a/config.go
+++ b/config.go
@@ -190,6 +190,20 @@ func enroll(config *Config, term *terminal.Terminal) bool {
                "riseup.net":                "4cjw6cwpeaeppfqz.onion",
                "jabber.calyxinstitute.org": "ijeeynrc6x2uy5ob.onion",
                "jabber.otr.im":             "5rgdtlawqkcplz75.onion",
+               // https://twitter.com/ManiacTwister/status/555759240875606016
+               "jabber.s7t.de":             "jabberip5hpbrafx.onion",
+                // https://securejabber.me/
+               "securejabber.me":           "giyvshdnojeivkom.onion",
+               // https://wtfismyip.com/jabber/
+               "wtfismyip.com":             "ofkztxcohimx34la.onion",
+               // https://so36.net/services/xmpp/
+               "so36.net":                  "s4fgy24e2b5weqdb.onion",
+               // https://www.ipredator.se/page/services#service_jabber
+               "jabber.ipredator.se":       "3iffdebkzzkpgipa.onion",
+               // http://www.gabbler.de/
+               "gabbler.de":                "gabbler7m74gkjci.onion",
+               // http://www.autistici.org/en/stuff/man_anon/tor.html
+               "jabber.autistici.org":      "wi7qkxyrdpu5cmvr.onion",
        }

        // Autoconfigure well known Tor hidden services.

I would like someone else can sign of on my research above. @agl - do you want one pull with a commit per domain or one commit for everything?

leif commented 9 years ago

I confirmed that all of the URLs above indicate that these onion addresses are usable for these jabber services.

I've only actually tried connecting to one of them so far, however, jabber.autistici.org and it said <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>. When I change the host to autistici.org I instead get certificate signed by unknown authority. I haven't yet tried adding the ServerCertificateSHA256 config line to make the cert checking pass.

I'll try to test the rest of these at some point soon if nobody else does it first.

I think if this is merged there should perhaps also be a comment added to clarify that the presence of these mappings in xmpp-client's source code shouldn't be interpreted as an endorsement of these services.

virtualghetto commented 9 years ago

Not all of them work with xmpp-client, for example the hidden service for securejabber.me doesn't support TLS, but I was able to connect using xmpp-client to the clearnet address.

I can confirm the wtfismyip.com hidden service works with xmpp-client. jabber.s7t.de sometimes works, other times I get failed to connect: connection forbidden.

I haven't tried the rest.

Edit: I can confirm jabber.ipredator.se hidden service works with xmpp-client.

kenkes commented 9 years ago

A few suggestion from my side also.

adamas.ai gujl27qb6saznwv4.onion http://adamas.ai/cgi-bin/wiki.pl/Services

chatme.im wvyghocogqm35j4i.onion http://chatme.im/servizi/tor-onions-service

jabbi.pl hqtwuzqw53yaowch.onion https://jabbi.pl/informacje

podso xmppod4ch6cp6zzk.onion https://podso.net/xmpp

rows.io yz6yiv2hxyagvwy6.onion https://rows.io/

If someone is feeling experimental these have been active in the past (I think, I've pulled it from an old file).

Liberty's Hackers libertyy56ecbupa.onion http://libertyy56ecbupa.onion/im/jappix

Liberty's Hackers libertygb2nyeyay.onion https://xmpp.net/result.php?id=44377#general

grepular grepularmmmiatj7.onion https://xmpp.net/result.php?id=12930#general

home.xnyhps.nl 2keehwlgbekr2ft6.onion https://xmpp.net/result.php?id=19780#general

Jisko Jabber dl22eckqkahoktoo.onion https://xmpp.net/result.php?id=65748#general

tortureregex47xf tortureregex47xf.onion https://xmpp.net/result.php?id=19784#general

leif how does an onion URL structure indicate jabber services?

kenkes commented 9 years ago

securejabber.me giyvshdnojeivkom.onion https://twitter.com/jabbercccde/status/560817690735284228

DuckDuckGo wlcpmruglhxp6quz.onion https://twitter.com/runasand/status/636278183600484356

jabber.s7t.de jabberip5hpbrafx.onion #xmpp https://twitter.com/ManiacTwister/status/555759240875606016