jdev - 2024-04-26


  1. Schimon

    Good day to one and all

  2. Schimon

    I need help to convey an argument about adding XMPP PubSub support for Feed Readers https://github.com/fossar/selfoss/issues/1483

  3. Schimon

    edhelas, how would you respond to this comment? > Looks like the IETF draft expired: https://datatracker.ietf.org/doc/draft-saintandre-atompub-notify/ https://github.com/fossar/selfoss/issues/1483#issuecomment-2078295455

  4. Schimon

    I have wrote this: > Atom Over XMPP is incorporating two standards and is implemented very nicely on Movim (XMPP client system based on PHP).

  5. Schimon

    Question: > What are the benefits compared to WebSub (previously PubSubHubBub)? WebSub is a W3C standard, widely implemented (including Wordpress and Blogger) and apparently uses WebHooks, so it does not require the feed reader to be persistently running. Answer: > In XMPP, you get notified when you are connected again, including receiving all messages (private and groupchat) from when you were disconnected. > > This is a realization: > > 00:00 selfoss connects > 00:10 selfoss subscribes to Node A > 00:20 selfoss disconnects > 00:30 Node A sends an update to selfoss > 03:30 Node A sends an update to selfoss > 06:30 Node A sends an update to selfoss > 09:20 selfoss reconnects > 09:20 selfoss receives the updates of Node A which were sent to its JID (Jabber ID) at 00:30, 03:30 and 06:30 > 09:30 Node A sends an update to selfoss > 09:30 selfoss receives the update https://github.com/fossar/selfoss/issues/1483#issuecomment-2078717727

  6. Schimon

    If you have a better answer, please kindly propose it.

  7. Schimon

    Another benefit would be this: > Because PubSub nodes have permission management system, the JID used by selfoss would be used as an identifier, instead of entering or storing a password to a password protected HTTP server.

  8. Mike Yellow

    Maybe there could be such a function for room owners that limits the message frequency of new-joiners (No-affiliations) of MUC? To reduce the destruction from spam bots. It could be set to 3 or 4 seconds per message. Also it could be applied to general private message and private messages in room?

  9. MattJ

    That's what mod_muc_limits does in Prosody

  10. Mike Yellow

    That is good.

  11. Mike Yellow

    That is good...

  12. MattJ

    It's a shared rate limit for unaffiliated users, which is the only way to prevent targeted flooding

  13. singpolyma

    It's also all stanzas not just visible messages

  14. MSavoritias (fae,ve)

    can coap be used with xmpp?

  15. MSavoritias (fae,ve)

    a quick search shows only comparisons

  16. MSavoritias (fae,ve)

    the docs i am reading say: > CoAP may be transported over UDP [RFC 7252], stream transports such as TCP or WebSockets [RFC 8323], Unix sockets, over Delay Tolerant Networks [Auzias2015] or experimental protocols such as GNUnet CADET. so i am surprised there havent been any xmpp coap work xeped

  17. moparisthebest

    At a quick glance COAP appears to be only for http ?

  18. MSavoritias (fae,ve)

    hmm thats what i am wondering too. the rfc says its for the web and with http in mind

  19. MSavoritias (fae,ve)

    but here it says https://eris.codeberg.page/eer/coap.xml

  20. MSavoritias (fae,ve)

    that it can be used with anything else

  21. MSavoritias (fae,ve)

    probably its too complicated tho and i might as well join in on whatever compression/effecient xmpp comes up

  22. MSavoritias (fae,ve)

    in the end it also says > This protocol does not recommend or define any specific transport layer encryption. Options include DTLS when using UDP (see Section 9.1 of RFC 7252), TLS (see Section 9 of RFC 8323), IPsec [RFC 5406], Tor or Yggdrasil).

  23. moparisthebest

    and dtls over udp never really took off and had a ton of footguns iirc, QUIC replaces all that these days

  24. singpolyma

    I mean, it took off for webrtc 🙂

  25. MSavoritias (fae,ve)

    sure. i was more interested tbh since coap seems to be adding compression.

  26. moparisthebest

    (both TLS over TCP and DTLS over UDP, you can do streams and datagrams in the same quic connection)

  27. MSavoritias (fae,ve)

    which eris doesnt have it has only encoding

  28. moparisthebest

    singpolyma: true, but that's the only place I can think of actually

  29. moparisthebest

    COAP seems to just be a more compact http request/response format

  30. MSavoritias (fae,ve)

    actually i found a cbor one for eris so never mind https://eris.codeberg.page/eer/cbor.xml

  31. MSavoritias (fae,ve)

    worst case whatever comes up with xmpp i have to follow this and put it over eris. if something comes up