Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Lack of TLS support is also detected now if the server doesn't support | Wilmer van der Gaast | 2006-10-04 | -16/+45 |
| | | | | | | XMPP 1.0 (properly), and restored immediate writes by splitting up the jabber_write_callback() function. | |||
* | Added a useful error message for SASL negotiation failures and turned off | Wilmer van der Gaast | 2006-10-02 | -1/+7 |
| | | | | | the little hack in jabber_write() for now because it breaks error handling. | |||
* | No more double free()/crashes when trying to set up an SSL connection to | Wilmer van der Gaast | 2006-10-02 | -0/+5 |
| | | | | | | | a non-SSL server, and better handling of TLS connection setup by initializing the TLS session from a callback function (which guarantees a valid return value from ssl_starttls() before any error callback could be called). | |||
* | Better fix for servers that report to comply with XMPP 1.0 but don't offer | Wilmer van der Gaast | 2006-10-01 | -8/+7 |
| | | | | | | SASL authentication options. Previous fix tried to do IQ authentication even after successful SASL authentications. | |||
* | Can now log in to the jabber.com server (which pretends to support XMPP 1.0 | Wilmer van der Gaast | 2006-10-01 | -0/+12 |
| | | | | | but does NOT (seem to) support SASL authentication). | |||
* | Some initial hooks/stuff for privacy lists, and fixed a crash bug on | Wilmer van der Gaast | 2006-10-01 | -1/+1 |
| | | | | | connecting to Google Talk. | |||
* | Better handling of user tls setting. | Wilmer van der Gaast | 2006-09-24 | -6/+24 |
| | ||||
* | Added support for SSL- and TLS-connections. Checking of the "tls" user | Wilmer van der Gaast | 2006-09-24 | -9/+98 |
| | | | | | | setting has to be finished, plus an ssl_starttls() function for the other SSL libraries (this code will only compile with GnuTLS for now). | |||
* | Better detection of successful IQ authentication (using packet caching), | Wilmer van der Gaast | 2006-09-22 | -3/+30 |
| | | | | | properly working SASL authentication (although only PLAIN so far). | |||
* | Fixed return value on incomplete write()s in write handler, protection | Wilmer van der Gaast | 2006-09-22 | -9/+58 |
| | | | | | | | against write()ing to sockets that are closed already, hopefully sane detection for SASL support, and only sending type=unavailable presence tag to logged in sessions. | |||
* | Basic SASL (PLAIN only ATM) authentication code. Doesn't log in completely | Wilmer van der Gaast | 2006-09-22 | -3/+12 |
| | | | | | yet. | |||
* | Now also sending <presence type="unavailable"/> tag on disconnect, as | Wilmer van der Gaast | 2006-09-21 | -6/+14 |
| | | | | | recommended by rfc3921/5.1.5. | |||
* | Added simple parsing of incoming <presence> tags, a nice </stream:stream> | Wilmer van der Gaast | 2006-09-21 | -3/+14 |
| | | | | | | at the end of sessions, support for sending messages, and restored the old (and leaking) xt_print(), which I'll only use for debugging. | |||
* | It can send a valid (pre-XMPP) login packet. Lots of work to do, still... | Wilmer van der Gaast | 2006-09-20 | -0/+237 |