aboutsummaryrefslogtreecommitdiff
path: root/src/xmpp_stream_out.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move move randoms module to p1_utils repoEvgeniy Khramtsov2018-07-051-2/+2
|
* Move shaper to p1_utils repoEvgeniy Khramtsov2018-07-051-1/+1
|
* Set 'from' attribute for client connections when it is absentEvgeniy Khramtsov2018-07-041-1/+19
|
* Don't set from/to attributes in resource binding iqEvgeniy Khramtsov2018-07-041-4/+2
|
* Accept IP address as a return value from resolve/2 callbackEvgeniy Khramtsov2018-06-301-29/+29
|
* Support SASL PLAIN by xmpp_stream_outEvgeniy Khramtsov2018-06-251-55/+140
| | | | | | | | | Also, SASL mechanisms chaining is now supported: if several mechanisms are supported and authentication fails, next mechanism in the list is picked, until the list is exhausted. In the case of a failure, the latest SASL failure reason is returned within handle_auth_failure/3 callback.
* Don't pass sockmod to xmpp_stream_outEvgeniy Khramtsov2018-06-251-1/+1
|
* Introduce resolve/2 and connect_options/3 callbacks for xmpp_stream_outEvgeniy Khramtsov2018-06-251-33/+64
|
* Allow gen_server process registrationEvgeniy Khramtsov2018-06-251-0/+4
|
* Allow reconnecting from disconnected stateEvgeniy Khramtsov2018-06-251-0/+11
|
* Intercept EXIT signalEvgeniy Khramtsov2018-06-251-0/+2
|
* Add Resource Binding support to xmpp_stream_outEvgeniy Khramtsov2018-06-251-5/+70
|
* Use error formatting functions from xmpp libraryEvgeniy Khramtsov2018-06-251-30/+5
|
* Generate SASL failures on unencrypted connections only for s2sEvgeniy Khramtsov2018-06-231-3/+3
|
* Send trailer and close socket explicitly on stream endEvgeniy Khramtsov2018-06-011-2/+1
|
* Don't call Mod:function() in xmpp_stream callbacksEvgeniy Khramtsov2018-05-261-86/+111
| | | | | | If a callback function is not defined by the `Mod` then a call to code_server process is performed. Under heavy load this may cause code_server to get overloaded. We now avoid this.
* Introduce option 'validate_stream'Evgeniy Khramtsov2018-02-091-2/+3
| | | | | | | | | | | | If set to `true`, all incoming XML packets are fully validated against known schemas. If an error occurs, the packet will be bounced with the corresponding error reason. The default value is `false`. The option might be useful to protect client software from sofisticated bugs related to XML validation as well as for client developers who want to catch validation errors at early stage of development. Note that the option might have slight performance impact, so use it with care on loaded machines.
* Improve logging of idle s2s connectionsEvgeniy Khramtsov2018-01-281-2/+3
|
* Improve logging of failed s2s EXTERNAL authenticationEvgeniy Khramtsov2018-01-131-2/+4
|
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Get rid of ejabberd receiverEvgeniy Khramtsov2017-12-261-37/+51
| | | | | | | | | | | | ejabberd receivers were meant to serve connections from frontends to backends. However, this approach was not popular and frontend related code was removed in previous releases. Now, ejabberd receiver's code was also removed, making the code shorter and cleaner. Also, in stress tests ejabberd now handles load more robustly, without c2s processes overload (even with disabled shapers). ejabberd_socket.erl is renamed to xmpp_socket.erl: it's supposed to be finally moved into stand-alone xmpp library.
* Better process subtag decoding errorsEvgeniy Khramtsov2017-12-091-2/+8
|
* Improve code using new xmpp APIEvgeniy Khramtsov2017-12-061-5/+3
|
* Fix another typo ;)Evgeniy Khramtsov2017-10-251-1/+1
|
* Fix typoEvgeniy Khramtsov2017-10-251-1/+1
|
* Mix _xmpp-server and _xmpps-server SRV recordsEvgeniy Khramtsov2017-10-251-62/+76
| | | | | | | | | XEP-0368 describes this procedure as following: > Both 'xmpp-' and 'xmpps-' records SHOULD be treated as > the same record with regard to connection order as specified > by RFC 2782 [3], in that all priorities and weights are mixed. > This enables the server operator to decide if they would > rather clients connect with STARTTLS or direct TLS.
* Mention XEP-0368 supportEvgeniy Khramtsov2017-10-251-0/+1
|
* Reflect changes in the xmpp libEvgeniy Khramtsov2017-10-131-5/+5
|
* Fix function clause introduced by c17ec50e3aEvgeniy Khramtsov2017-09-281-3/+3
|
* Add support for XEP-0368: SRV records for XMPP over TLSEvgeniy Khramtsov2017-09-271-26/+65
| | | | | | | Currently this is only supported for outgoing s2s connections. For such connections ejabberd is now able to resolve SRV records of type "_xmpps-server._tcp". Also, SNI and ALPN fields are set during TLS handshake. No additional configuration is required.
* Fix closing of outbound S2S connectionsEvgeniy Khramtsov2017-04-151-16/+15
|
* Improve ejabberd_c2s:close()Evgeniy Khramtsov2017-04-151-20/+15
|
* Make sure stream trailer is sent in the very endEvgeniy Khramtsov2017-04-141-6/+7
|
* Fix c2s connection close on demandEvgeniy Khramtsov2017-04-041-0/+10
| | | | Fixes #1652
* Better log s2s auth failures when TLS is not availableEvgeniy Khramtsov2017-03-181-0/+6
|
* Return 'closed' instead of 'einval' on closed socketsEvgeniy Khramtsov2017-03-121-0/+2
|
* Improve reporting of unavailable SASL mechanismsEvgeniy Khramtsov2017-03-011-5/+6
|
* Resolve all addresses from SRV lookupEvgeniy Khramtsov2017-03-011-8/+10
|
* Don't crash on malformed IP addressesEvgeniy Khramtsov2017-02-281-6/+8
|
* Improve logging of outbound s2s auth failuresEvgeniy Khramtsov2017-02-281-1/+14
|
* Resend stream header before calling handle_auth_success/2 callbackEvgeniy Khramtsov2017-02-281-11/+11
|
* Get rid of jid:to_string/1 and jid:from_string/1Evgeniy Khramtsov2017-02-261-1/+1
|
* Fix s2s_dns_timeout issuesEvgeniy Khramtsov2017-02-201-2/+13
|
* Fix some dialyzer warningsEvgeniy Khramtsov2017-02-181-2/+3
|
* Use p1_server behaviour in xmpp_stream layerEvgeniy Khramtsov2017-02-081-1/+1
|
* Update copyright headers in new filesEvgeniy Khramtsov2017-01-201-1/+1
|
* Don't attempt to resolve _jabber._tcp SRV recordEvgeniy Khramtsov2017-01-181-10/+4
|
* Fix some corner cases while re-reading RFC6120Evgeniy Khramtsov2017-01-131-3/+3
|
* Adopt remaining code to support new hooksEvgeniy Khramtsov2017-01-091-76/+154
|
* Better cope with IPv6 domainsEvgeniy Khramtsov2016-12-311-1/+20
|