News for hackers. Stuff that matters.
Re:“How do I choose not to share my account information with... by AceJohnny2 on Thursday August 25, 2016 @12:44PM (#12360447)
Man, remember the late 90s and early 2000s, when the IM scene was a mess of incompatible networks like ICQ and AIM and MSN Messenger, and people were like "fuck this" and came up with this protocol that was interoperable with all the others through gateways and also it was extendable, and we could all be happy together?...

/grump

The worst part is that WhatsApp is actually based on Jabber >:(

Re:“How do I choose not to share my account information with... by omginternets on Thursday August 25, 2016 @01:00PM (#12360586)
I recently started looking into XMPP again a few days ago. I have a few ideas for projects built on top thereof.

Can anybody recommend XMPP servers? I know duckduckgo has an XMPP service up and running, but I can't seem to find any relevant API documentation. All I found was this [0], which doesn't go into details about encryption settings and isn't very useful for programmatic interaction.

[0] https://duck.co/blog/post/2/using-pidgin-with-xmpp-jabber

Re:“How do I choose not to share my account information with... by jalami on Thursday August 25, 2016 @01:51PM (#12360996)
I use prosody and it's really slick.

Extensions that implement server-side XEPs are really easy to add on as well. Just git pull the community XEP repo and then add a line to the ini and you can add more superpowers. I have it on a cheap VPS. I'm using conversations with it and it has been mostly flawless. Now I just need a good linux application that understands OMEMO. There's a Gajim hack, but it's kind of messy.

[0]: https://prosody.im/

Re:“How do I choose not to share my account information with... by hointytointy on Thursday August 25, 2016 @01:07PM (#12360645)
Conversations.im has made great progress in making XMPP usable on mobile devices, although its services don't seem ready for public adoption quite yet. There are very few XMPP servers which support the XEPs Conversations does so while federation is theoretically possible, it is not yet a reality.

https://account.conversations.im/

Re:“How do I choose not to share my account information with... by ge0rg on Thursday August 25, 2016 @01:21PM (#12360744)
The new extensions are all public and supported by the two main server implementations, prosody and ejabberd. You can nicely ask your server operator to enable them.
Re:“How do I choose not to share my account information with... by e12e on Thursday August 25, 2016 @08:07PM (#12363432)
See also zom.im - wraps up otr and xmpp in a package along with boatload of cuteness - and is FOSS:

https://github.com/zom/Zom-Android

Re:“How do I choose not to share my account information with... by omginternets on Thursday August 25, 2016 @01:19PM (#12360731)
Thanks. I can't really justify using a paid XMPP service, though. I was hoping for something indefinitely free.

(Maybe I should look into running my own server...)

Re:“How do I choose not to share my account information with... by erlehmann_ on Thursday August 25, 2016 @01:34PM (#12360863)
You do not need an account at conversations.im – the app works without it.
Re:“How do I choose not to share my account information with... by omginternets on Thursday August 25, 2016 @03:17PM (#12361657)
Ah, okay. I misunderstood. Cool!
Re:“How do I choose not to share my account information with... by arm on Thursday August 25, 2016 @09:38PM (#12363787)
Yep. In addition to that, it’s also FOSS¹ and you aren’t limited to only getting it from the Google Play Store; it’s also distributed² on F-Droid³ too. One thing to note though is that the version of Conversations on F-Droid doesn’t support push notifications, since that functionality uses Google Cloud Notifications.

――――――

¹ — https://github.com/siacs/Conversations

² — https://f-droid.org/repository/browse/?fdid=eu.siacs.convers...

³ — https://en.wikipedia.org/wiki/F-Droid

Re:“How do I choose not to share my account information with... by hointytointy on Thursday August 25, 2016 @01:31PM (#12360832)
If you only need voice + video, Ostel has been running for a few years.

https://ostel.co/

Re:“How do I choose not to share my account information with... by abecode on Thursday August 25, 2016 @01:20PM (#12360742)
I used ejabberd (https://www.ejabberd.im/) and it was fairly easy to get up and running and make minor tweaks like logging conversations, but I can't say about encryption but it seems to have it from cursory web searching. It's Erlang so that was an interesting learning hurdle.
Re:“How do I choose not to share my account information with... by SamWhited on Thursday August 25, 2016 @01:38PM (#12360902)
I'm a big fan of jabber.at; it should support most modern XMPP features. Dukgo is notorious for not supporting new features and having large ammounts of downtime, I would not recommend it.
Re:“How do I choose not to share my account information with... by cs02rm0 on Thursday August 25, 2016 @02:41PM (#12361356)
Re:“How do I choose not to share my account information with... by ganeshkrishnan on Thursday August 25, 2016 @08:00PM (#12363405)
I used tigase server and tried building an open source messaging client that you can use to chat as well as share your realtime location with your friends and groups : https://play.google.com/store/apps/details?id=co.getintouch....

Never took off in developed world but I strangely got plenty of users in Iran & middle east

Re:“How do I choose not to share my account information with... by mst on Thursday August 25, 2016 @09:10PM (#12363675)
Consider looking at matrix.org and vector.im as an alternative that won't make your eyes bleed from the Xcessive nature of XMPP.
Re:“How do I choose not to share my account information with... by AceJohnny2 on Thursday August 25, 2016 @12:50PM (#12360500)
And yes, I absolutely realize that the protocol had flaws, was overly verbose, the base spec required a continuous connection which is hard/impossible on mobile networks, its extensibility meant that clients could end up with little common compatibility, etc etc... But still.
Re:“How do I choose not to share my account information with... by SamWhited on Thursday August 25, 2016 @01:40PM (#12360923)
A continuous connection is actually desirable on mobile networks to save battery; your phone can turn the radio on to a power saving mode if you use a single TCP connection and no traffic is being sent and only wake it up again when it gets a paging message alerting it that there is new data to be sent down over the TCP connection. However, if you use something that requires multiple connections (eg. to poll and see if new data is available), you will have to put the radio into full power mode every time you poll to check if there's new data.
Re:“How do I choose not to share my account information with... by AceJohnny2 on Thursday August 25, 2016 @08:04PM (#12363415)
Very tangential: which server do you personally use Conversations with, and does it have gateways to other networks?
Re:“How do I choose not to share my account information with... by efaref on Thursday August 25, 2016 @01:15PM (#12360700)
The protocol is an absolute nightmare to work with, even when you're only using it for your own internal systems and so control everything that's involved. I heard that WhatsApp stopped using it long ago, and if so, that wouldn't surprise me.
Re:“How do I choose not to share my account information with... by SamWhited on Thursday August 25, 2016 @01:41PM (#12360925)
This is untrue; WhatsApp still uses a profile of XMPP with a custom compression layer.
Re:“How do I choose not to share my account information with... by erlehmann_ on Thursday August 25, 2016 @02:00PM (#12361064)
Please elaborate on what exactly you dislike about XMPP.
Re:“How do I choose not to share my account information with... by cortesoft on Thursday August 25, 2016 @01:08PM (#12360650)
Jabber is still around and works, there is nothing that stops you from using it.

However, clearly people prefer to use other systems, such as Whatsapp. They offered something different (and simple) enough that it enticed people to use it, and so they have the users. It would appear that people just don't care enough about interoperability to switch to something else.

Re:“How do I choose not to share my account information with... by ori_b on Thursday August 25, 2016 @03:14PM (#12361640)
> Man, remember the late 90s and early 2000s, when the IM scene was a mess of incompatible networks like ICQ and AIM and MSN Messenger, and people were like "fuck this" and came up with this protocol that was interoperable with all the others through gateways and also it was extendable, and we could all be happy together?

IRC is still alive, at least.

Re:“How do I choose not to share my account information with... by SamWhited on Thursday August 25, 2016 @01:44PM (#12360951)
> The worst part is that WhatsApp is actually based on Jabber

I'm missing something here; why is this a bad thing?

Re:“How do I choose not to share my account information with... by niftich on Thursday August 25, 2016 @01:48PM (#12360978)
It's ironic; that albeit they started with an open federation protocol they don't federate and are essentially a proprietary service.
Re:“How do I choose not to share my account information with... by SamWhited on Thursday August 25, 2016 @02:51PM (#12361436)
XMPP isn't an "open federation protocol" it's just a protocol that includes a means to federate; doing so is a matter of server preference. It would be great if more large services federated, but I'd rather have them use XMPP and not federate than build more custom protocols and not use XMPP at all so that I can't write a third party client for them.

My point is that being based on XMPP is still a good thing, regardless of whether they federate or not.

Re:“How do I choose not to share my account information with... by bad_user on Thursday August 25, 2016 @03:55PM (#12361976)
The whole point of XMPP is interoperability, so saying some proprietary service uses it internally is useless for the rest of the world without interoperability.

Can you connect with third party clients? Can they federate? Are they contributing to the protocol? No.

So what's good about it?

Re:“How do I choose not to share my account information with... by avar on Thursday August 25, 2016 @04:29PM (#12362222)
Big proprietary users of protocols tend to discover bugs in them, that they feed upstream, even if they run otherwise closed networks.

E.g. it benefits you that Google uses TCP internally, even if you can't get on their network? Why? Because they've submitted patches to Linux to make it work better.

Re:“How do I choose not to share my account information with... by type0 on Thursday August 25, 2016 @10:13PM (#12363904)
> E.g. it benefits you that Google uses TCP internally

But they didn't modify TCP to prevent interoperability did they?

Re:“How do I choose not to share my account information with... by avar on Friday August 26, 2016 @10:25AM (#12366480)
So what if they did? How are we any worse off than if they'd written their own TCP replacement from scratch to begin with?

Maybe someone outside Google gains nothing, but presumably their engineers will spend less time reinvesting the wheel, which is a net gain for humanity in less time wasted.

Re:“How do I choose not to share my account information with... by yoo1I on Thursday August 25, 2016 @05:43PM (#12362738)
> but I'd rather have them use XMPP and not federate than build more custom protocols

Well, bad news then: They never federated and they modified their implementation of XMPP to the point of third party clients not being able to connect.

Re:“How do I choose not to share my account information with... by herbst on Friday August 26, 2016 @12:26PM (#12367319)
as is (original) hangout, facebook chat and probably much more.

in the early days both worked with external clients/servers too.