-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement SRV lookup and use correct ALPN value in TLS #206
Labels
🎉 Feature
Idea or new feature to implement
Comments
Additional information: XEP-0368 explains SRV records for direct TLS. |
Monal has had SRV lookups since 2012. |
But no support for XEP-0368 and it doesnt set correct ALPN TLS values. |
this will also allow for faster reconnects and is needed in environments where slow mobile internet access prevents monal from connecting (in time, because of background)... |
anurodhp
pushed a commit
that referenced
this issue
Apr 13, 2020
* Fix #206 This is a bugfix for usage of multiple SRV records and additionally adds xmpps SRV record and ALPN support * Make database access concurrent * Revert "dont block main thread" This reverts commit 2ffc1a5. * Fix crash when registering new account via QuickSetup * Use Apple's new Network Framework
anurodhp
pushed a commit
that referenced
this issue
Apr 13, 2020
* Fix utf-8 decoding error DOS vector * Fix all kinds of state related bugs (carbons etc.) * fixed logic and builds * Try to fix multicarbon issue and add more logging * update active chat with own messages * Try to fix smacks request bug * Make outputBuffer dynamic in size * Fix smacks request bug this time for sure * Allow jid as roster source * Fix ambiguous column name * != nil * show correct message timestamp * Basic message draft support (#382) * Save message drafts * Using completion handler * dont block main thread * stanzaid * typo * Implement XEP-0368, fixes #206 This is a bugfix for usage of multiple SRV records and additionally adds xmpps SRV record and ALPN support * Make database access concurrent * Revert "dont block main thread" This reverts commit 2ffc1a5. * Fix crash when registering new account via QuickSetup * remove help * Create XEPsupport.md @marmistrz I create the file in here, so you can start committing and helping out. I will also link that within the read me. Thank you for you pre-work! @anurodhp I will merge this directly as a link in the ReadMe. If you disagree on anything just contact me! * Update ReadMe.md Added link to XEP list * Update XEPsupport.md * Update XEPsupport.md * Update XEPsupport.md * Minor XEPSupport.md fix. * text fix * super view did load * v 4.6 * super ugly but allows presence inside presence for now. * dont crash * Fix #370 (#388) * display geo location (#390) * Revert "text fix" This reverts commit c30f81f. Co-authored-by: Anurodh Pokharel <info@monal.im> Co-authored-by: Friedrich Altheide <11352905+FriedrichAltheide@users.noreply.github.com> Co-authored-by: Echolon <Echolon@users.noreply.github.com> Co-authored-by: Marcin Mielniczuk <marmistrz.dev@zoho.eu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please implement SRV DNS-record lookup (see here: https://wiki.xmpp.org/web/SRV_Records)
This way it is possible to provide an IP/port combination different to the A-record of the xmpp domain.
Even multiple SRV records with different priority are possible and should be tried in order by clients.
This allows server operators to even use port 443 (https) as fallback for environments where only http/https is allowed and all other ports are filtered out.
To multiplex https and xmpp (and possibly others) on port 443 a correct ALPN value of
xmpp-client
and support of_xmpps-client
SRV records is needed.One service provider (apart from myself) using port 443 multiplexing based on ALPN values and SRV records is conversations.im
The text was updated successfully, but these errors were encountered: