friendica.mafiaspiel.org
lang
@Friendica Developers @Mike the Friendican The normal setup when two people get friends using Zot or DFRN is that both parties are reachable from the outside, i.e. no one must be behind a router.
Does DFRN or Zot (in its current implementation) theoretically support the case that one party is behind a router? Then, obviously all communication must be in the form of polling and pushing from the router guy to the reachable guy. Also, it is of course not possible that two parties get friends who both are behind a router.
But, given these limitations, would it work?
I ask because I think about writing a Firefox extension that would need to be a Zot or DFRN endpoint. The alternative to using these established protocols would be to write a Friendica addon that adds a "light" communication protocol that allows us to do this...
You probably would need a lightweight protocol to do this. I'd advise not implementing DFRN because it is approaching end of life and secures the pipe from end-to-end, and this probably isn't going to be what you want. zot is not yet defined adequately to recommend it.

However, you may be able to make use of one of our other existing protocol channels, like Diaspora or OStatus. Hard to say. We can build an atom message easy enough. I think the missing piece is a unidirectional pipe. If I'm reading correctly, one side opens a channel and sends out any queued items and also does a poll.
Ok, thanks! So I will perhaps try it with a lightweight protocol...