-
Zash
Fellow server devs, in server-to-server certificate validation, do you (or your TLS library) check for the client auth extendedKeyUsage on incomming connections? Do you have the same trick as Prosody, where client certs are validated as server certs?
-
Zash
Sounds like the clientAuth purpose is going away, and it would be nice if that doesn't cause problems we had in the past to reappear: https://infosec.exchange/@mattm/114004472428368645 https://www.chromium.org/Home/chromium-security/root-ca-policy/#32-promote-use-of-dedicated-tls-server-authentication-pki-hierarchies
-
moparisthebest
> Do you have the same trick as Prosody, where client certs are validated as server certs? Yes, well, the opposite way, server certs are used for client auth but validated as server certs
-
Zash
You're saying the same thing as I did.
-
Zash
client cert as in the cert sent by the initiating party
-
moparisthebest
then yes :)
-
moparisthebest
Though at least for me the need for that hack wasn't obvious until it didn't work without it...
-
marcl
It seems like it's common for iOS XMPP users to have unreliable notifications for group chats
-
marcl
Apparently, when the app is in the background and goes offline for a day, the server maybe assume the user left the group chat
-
marcl
Monal recommends increasing the server's session timeout https://github.com/monal-im/Monal/wiki/Considerations-for-XMPP-server-admins/#session-timeout
-
marcl
Prosody: smacks_hibernation_time = 72 * 60 * 60 --72 hours
-
marcl
ejabberd: resume_timeout https://docs.ejabberd.im/admin/configuration/modules/#mod_stream_mgmt
-
marcl
I wonder how many iOS XMPP users have been lost due to frustration with notifications
-
singpolyma
I think when you enable push on a prosody session it extends smacks timeout to that
-
singpolyma
certainly mod_push2 does and for similar reasons
-
marcl
Is this a recent change?
-
singpolyma
I don't think so
-
singpolyma
https://modules.prosody.im/mod_cloud_notify.html
-
marcl
Good. Is this the same as what's discussed here about snikket? https://github.com/snikket-im/snikket-server/issues/240#issuecomment-2614430241
-
singpolyma
it is touched on there, but that ticket is about something unrelated
-
Thilo Molitor
singpolyma, marcl: yes, both, prosody and ejabberd extend the smacks timeout if no push was sent. the timeout only starts after the first push was sent...but if the device in question isn't connected to the internet (turned off, flight mode, no mobile coverage etc.), then that push will get lost on apple systems...that means the timeout started, but Monal won't know...
-
Thilo Molitor
if apple delivered pushes after the device came online again, that problem wouldn't exist at all...
-
Thilo Molitor
only starting the timeout after the first push isn't a recent change but at least ~4 years old (both, for ejabberd and prosody)