?

Log in

No account? Create an account
DJabberd status: incoming s2s works - brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

DJabberd status: incoming s2s works [Mar. 7th, 2006|06:35 pm]
Brad Fitzpatrick
[Tags|, , , , ]

We now support dialback (the old pre-XMPP s2s peer verification system), so now jabber.org (which I believe runs ejabberd) can connect to us and pass messages.

Will tackle my SSL s2s problem later. I bought the ORA OpenSSL book and many mysteries have been answered. All is now clear.

I need to do outbound s2s next.

Then I can do the "routing"/queueing system and rename all the hooks to be more consistent/useful. And adding lots more hooks at different stages.

Fun.
LinkReply

Comments:
From: evan
2006-03-08 07:34 am (UTC)
Do you know if this'll mean LJ users will show up in my gmail buddy list?
I wonder if they show non-Google Jabber users.
(Reply) (Thread)
[User Picture]From: mart
2006-03-08 08:21 am (UTC)

Google Talk doesn't do s2s does it? Or has it been secretly added when I wasn't paying attention?

If Google Talk supports s2s then you should be able to, unless Google Talk is deliberately preventing it, add any Jabber ID to your roster, including hypothetical LiveJournal users. With the LJ roster module being based on the friends list, though, I'm not sure how this would work in reverse — can't add arbitrary Jabber IDs to your LJ friends list!

(Reply) (Parent) (Thread)
[User Picture]From: mart
2006-03-08 06:10 pm (UTC)

I guess that gives me an excuse to finally get my local Jabber server here talking to the rest of the world…

(Reply) (Parent) (Thread)
[User Picture]From: brad
2006-03-08 04:44 pm (UTC)
GTalk does s2s... we've seen it work.

And you're a step ahead of me: we will have to support adding arbitrary JIDs to your friends list. And then by doing vCard queries to the other party, discovering their blog and thus RSS/Atom ....
(Reply) (Parent) (Thread)
[User Picture]From: mart
2006-03-08 06:08 pm (UTC)

Hmm. That reminds me that I never did finish the series of changes I was working on to make OpenID accounts be syn accounts. Got distracted by changes to make the talklinks work better for syn accounts, which required changing the style systems and inspired me to rewrite S1 to use S2 so that I wouldn't have to change it twice. Except I never did finish that…

A project for the weekend, I guess.

(Reply) (Parent) (Thread)
[User Picture]From: mart
2006-03-08 07:35 pm (UTC)

One problem with all this business of adding “foreign” accounts (whether they be OpenID, Jabber or whatever) to your friends list is that it doesn't take into account the fact that people already have various accounts.

I have an LJ account, a Jabber ID and an OpenID identity, and ideally I'd want LiveJournal to encapsulate them all under one account. This isn't too hard for me as a “real” LJ user, but if you take the LJ account out of the equation then what you have left is an identity account that's both an OpenID identity and a Jabber ID but not a local account. The clean solution would be to have only one type of account that unifies person and identity, and then have a flag (an account type cap?) that says whether the account has a local journal or not. Accounts can then point at zero or more off-site identities. Need to work syn in there somewhere too, I guess. Most likely too much would have to change to unify the different “person” account types, though. Shame.

I wonder if it would be possible to have my account on LJ's future Jabber server forward messages to my real account while preserving the illusion by rewriting my responses. I don't think that could work, since my replies wouldn't go through LiveJournal's server unless some trickery was afoot. This kind of “hiding” doesn't seem to be allowed by Jabber's architecture, which is a shame. To enable it would make anonymous spamming easier though, I guess.

(Reply) (Parent) (Thread)
[User Picture]From: marikoda
2006-03-16 05:56 pm (UTC)

Re:

AFAIK Jabber Software Foundation is making standart for message forwarding

http://www.jabber.org/jeps/inbox/forwarding-delivery.html

(Reply) (Parent) (Thread)