Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move move randoms module to p1_utils repo | Evgeniy Khramtsov | 2018-07-05 | 1 | -2/+2 |
| | |||||
* | Move shaper to p1_utils repo | Evgeniy Khramtsov | 2018-07-05 | 1 | -1/+1 |
| | |||||
* | Set 'from' attribute for client connections when it is absent | Evgeniy Khramtsov | 2018-07-04 | 1 | -1/+19 |
| | |||||
* | Don't set from/to attributes in resource binding iq | Evgeniy Khramtsov | 2018-07-04 | 1 | -4/+2 |
| | |||||
* | Accept IP address as a return value from resolve/2 callback | Evgeniy Khramtsov | 2018-06-30 | 1 | -29/+29 |
| | |||||
* | Support SASL PLAIN by xmpp_stream_out | Evgeniy Khramtsov | 2018-06-25 | 1 | -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_out | Evgeniy Khramtsov | 2018-06-25 | 1 | -1/+1 |
| | |||||
* | Introduce resolve/2 and connect_options/3 callbacks for xmpp_stream_out | Evgeniy Khramtsov | 2018-06-25 | 1 | -33/+64 |
| | |||||
* | Allow gen_server process registration | Evgeniy Khramtsov | 2018-06-25 | 1 | -0/+4 |
| | |||||
* | Allow reconnecting from disconnected state | Evgeniy Khramtsov | 2018-06-25 | 1 | -0/+11 |
| | |||||
* | Intercept EXIT signal | Evgeniy Khramtsov | 2018-06-25 | 1 | -0/+2 |
| | |||||
* | Add Resource Binding support to xmpp_stream_out | Evgeniy Khramtsov | 2018-06-25 | 1 | -5/+70 |
| | |||||
* | Use error formatting functions from xmpp library | Evgeniy Khramtsov | 2018-06-25 | 1 | -30/+5 |
| | |||||
* | Generate SASL failures on unencrypted connections only for s2s | Evgeniy Khramtsov | 2018-06-23 | 1 | -3/+3 |
| | |||||
* | Send trailer and close socket explicitly on stream end | Evgeniy Khramtsov | 2018-06-01 | 1 | -2/+1 |
| | |||||
* | Don't call Mod:function() in xmpp_stream callbacks | Evgeniy Khramtsov | 2018-05-26 | 1 | -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 Khramtsov | 2018-02-09 | 1 | -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 connections | Evgeniy Khramtsov | 2018-01-28 | 1 | -2/+3 |
| | |||||
* | Improve logging of failed s2s EXTERNAL authentication | Evgeniy Khramtsov | 2018-01-13 | 1 | -2/+4 |
| | |||||
* | Update copyright dates | Evgeniy Khramtsov | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | Get rid of ejabberd receiver | Evgeniy Khramtsov | 2017-12-26 | 1 | -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 errors | Evgeniy Khramtsov | 2017-12-09 | 1 | -2/+8 |
| | |||||
* | Improve code using new xmpp API | Evgeniy Khramtsov | 2017-12-06 | 1 | -5/+3 |
| | |||||
* | Fix another typo ;) | Evgeniy Khramtsov | 2017-10-25 | 1 | -1/+1 |
| | |||||
* | Fix typo | Evgeniy Khramtsov | 2017-10-25 | 1 | -1/+1 |
| | |||||
* | Mix _xmpp-server and _xmpps-server SRV records | Evgeniy Khramtsov | 2017-10-25 | 1 | -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 support | Evgeniy Khramtsov | 2017-10-25 | 1 | -0/+1 |
| | |||||
* | Reflect changes in the xmpp lib | Evgeniy Khramtsov | 2017-10-13 | 1 | -5/+5 |
| | |||||
* | Fix function clause introduced by c17ec50e3a | Evgeniy Khramtsov | 2017-09-28 | 1 | -3/+3 |
| | |||||
* | Add support for XEP-0368: SRV records for XMPP over TLS | Evgeniy Khramtsov | 2017-09-27 | 1 | -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 connections | Evgeniy Khramtsov | 2017-04-15 | 1 | -16/+15 |
| | |||||
* | Improve ejabberd_c2s:close() | Evgeniy Khramtsov | 2017-04-15 | 1 | -20/+15 |
| | |||||
* | Make sure stream trailer is sent in the very end | Evgeniy Khramtsov | 2017-04-14 | 1 | -6/+7 |
| | |||||
* | Fix c2s connection close on demand | Evgeniy Khramtsov | 2017-04-04 | 1 | -0/+10 |
| | | | | Fixes #1652 | ||||
* | Better log s2s auth failures when TLS is not available | Evgeniy Khramtsov | 2017-03-18 | 1 | -0/+6 |
| | |||||
* | Return 'closed' instead of 'einval' on closed sockets | Evgeniy Khramtsov | 2017-03-12 | 1 | -0/+2 |
| | |||||
* | Improve reporting of unavailable SASL mechanisms | Evgeniy Khramtsov | 2017-03-01 | 1 | -5/+6 |
| | |||||
* | Resolve all addresses from SRV lookup | Evgeniy Khramtsov | 2017-03-01 | 1 | -8/+10 |
| | |||||
* | Don't crash on malformed IP addresses | Evgeniy Khramtsov | 2017-02-28 | 1 | -6/+8 |
| | |||||
* | Improve logging of outbound s2s auth failures | Evgeniy Khramtsov | 2017-02-28 | 1 | -1/+14 |
| | |||||
* | Resend stream header before calling handle_auth_success/2 callback | Evgeniy Khramtsov | 2017-02-28 | 1 | -11/+11 |
| | |||||
* | Get rid of jid:to_string/1 and jid:from_string/1 | Evgeniy Khramtsov | 2017-02-26 | 1 | -1/+1 |
| | |||||
* | Fix s2s_dns_timeout issues | Evgeniy Khramtsov | 2017-02-20 | 1 | -2/+13 |
| | |||||
* | Fix some dialyzer warnings | Evgeniy Khramtsov | 2017-02-18 | 1 | -2/+3 |
| | |||||
* | Use p1_server behaviour in xmpp_stream layer | Evgeniy Khramtsov | 2017-02-08 | 1 | -1/+1 |
| | |||||
* | Update copyright headers in new files | Evgeniy Khramtsov | 2017-01-20 | 1 | -1/+1 |
| | |||||
* | Don't attempt to resolve _jabber._tcp SRV record | Evgeniy Khramtsov | 2017-01-18 | 1 | -10/+4 |
| | |||||
* | Fix some corner cases while re-reading RFC6120 | Evgeniy Khramtsov | 2017-01-13 | 1 | -3/+3 |
| | |||||
* | Adopt remaining code to support new hooks | Evgeniy Khramtsov | 2017-01-09 | 1 | -76/+154 |
| | |||||
* | Better cope with IPv6 domains | Evgeniy Khramtsov | 2016-12-31 | 1 | -1/+20 |
| |