Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove linger option on sockets, made no difference, and I forgot to remove ↵ | Matthew Wild | 2008-12-05 | 1 | -2/+0 |
| | | | | it earlier | ||||
* | Remove an incorrect line which I didn't add, and fix the proper way. ↵ | Matthew Wild | 2008-12-05 | 1 | -0/+5 |
| | | | | Corrects the sending of stanzas over unauthed s2sout's. Also fixes mod_dialback to send stanzas and not strings. | ||||
* | Disconnect with stream errors on bad XML, or invalid stream namespace | Matthew Wild | 2008-12-05 | 2 | -4/+28 |
| | |||||
* | Abstract xmlhandlers a bit more, also add error callbacks | Matthew Wild | 2008-12-04 | 2 | -6/+7 |
| | |||||
* | Fix logger ids for c2s and s2sout | Matthew Wild | 2008-12-04 | 1 | -1/+1 |
| | |||||
* | Fix GPL'ing MIT/X licensed code :) | Matthew Wild | 2008-12-03 | 1 | -860/+838 |
| | |||||
* | Insert copyright/license headers | Matthew Wild | 2008-12-03 | 5 | -0/+100 |
| | |||||
* | Fix for loading connlisteners when running without CFG_SOURCEDIR | Matthew Wild | 2008-11-29 | 1 | -1/+1 |
| | |||||
* | Update Makefile to now pass config paths to prosody. Update prosody, ↵ | Matthew Wild | 2008-11-29 | 1 | -2/+3 |
| | | | | modulemanager and connectionlisteners to obey these paths. | ||||
* | Merge from waqas | Matthew Wild | 2008-11-28 | 1 | -1/+2 |
|\ | |||||
| * | Quickfix for dns.lua to not crash on failed connection to name servers | Waqas Hussain | 2008-11-28 | 1 | -1/+2 |
| | | |||||
* | | No more reading 1 byte at a time from sockets | Matthew Wild | 2008-11-28 | 2 | -2/+2 |
|/ | |||||
* | (Basic) IDNA and SRV fallback support | Matthew Wild | 2008-11-26 | 1 | -3/+8 |
| | |||||
* | Fix a waqas copy/paste error. It was my fault again apparently. | Matthew Wild | 2008-11-26 | 1 | -0/+1 |
| | |||||
* | Wrapped a core_process_stanza call in an xpcall call | Waqas Hussain | 2008-11-26 | 1 | -1/+1 |
| | |||||
* | Added temporary fix for srv on windows: using opendns nameservers | Waqas Hussain | 2008-11-23 | 1 | -5/+10 |
| | |||||
* | Small fix for connlisteners to accept nil for userdata | Matthew Wild | 2008-11-23 | 1 | -2/+2 |
| | |||||
* | Fix various mistakes in dns.lua | Matthew Wild | 2008-11-23 | 1 | -7/+7 |
| | |||||
* | Fix dns for poor Windows users, who have never seen a resolv.conf | Matthew Wild | 2008-11-23 | 1 | -1/+3 |
| | |||||
* | All the people who don't use TLS, this one's for you. | Matthew Wild | 2008-11-22 | 1 | -1/+1 |
| | |||||
* | Incorrect function set as callback | Matthew Wild | 2008-11-19 | 1 | -1/+2 |
| | |||||
* | We have SRV resolving \o/ | Matthew Wild | 2008-11-18 | 1 | -0/+795 |
| | |||||
* | Fix to prevent send retry when connection is already closed | Matthew Wild | 2008-11-18 | 1 | -6/+9 |
| | |||||
* | session:disconnect() -> session:close() for consistency with other Lua APIs | Matthew Wild | 2008-11-18 | 2 | -4/+4 |
| | |||||
* | Quite some changes, to: | Matthew Wild | 2008-11-18 | 2 | -16/+13 |
| | | | | | | | | - Small logging fix for s2smanager - Send a stream error if an incoming s2s connection is to an unrecognised hostname (fixes #11) - init_xmlhandlers now takes a table of callbacks (includes changes to net/xmpp*_listener for this) - Move sending of unavailable presence to where it should be, sessionmanager.destroy_session - Fix sending of stream errors to wrong connection | ||||
* | s2s sessions can now be disconnected, with or without a stream error. Fixes #8 | Matthew Wild | 2008-11-18 | 2 | -3/+34 |
| | |||||
* | Allow us to close client connections, with or without a stream error. ↵ | Matthew Wild | 2008-11-18 | 1 | -0/+34 |
| | | | | Partially fixes #8, we still need the same for s2s (though it should be almost a straight copy of the code, I'm too tired atm) | ||||
* | Flush write queue before closing socket | Matthew Wild | 2008-11-18 | 1 | -1/+5 |
| | |||||
* | Fix for putting TLS in stream:features for connections already using TLS. ↵ | Matthew Wild | 2008-11-16 | 1 | -0/+2 |
| | | | | Thanks to albert for spotting. | ||||
* | Fix logging in some cases for client disconnects | Matthew Wild | 2008-11-16 | 1 | -1/+1 |
| | |||||
* | Fix logging of disconnect reason, and also sending of unavailable presence ↵ | Matthew Wild | 2008-11-15 | 1 | -3/+4 |
| | | | | on disconnect | ||||
* | Some bugs fixed | Waqas Hussain | 2008-11-15 | 1 | -1/+1 |
| | |||||
* | Actually show error and position when we show a traceback :) | Matthew Wild | 2008-11-09 | 2 | -2/+2 |
| | |||||
* | Committing code to get nicer tracebacks for errors, also we no longer ↵ | Matthew Wild | 2008-11-08 | 2 | -3/+13 |
| | | | | consider such errors fatal (probably a bad thing, I know...) | ||||
* | Backed out changeset 4adc53e03b4d (garbage collection) | Matthew Wild | 2008-10-24 | 1 | -1/+1 |
| | |||||
* | Extra garbage collection, for debugging | Matthew Wild | 2008-10-24 | 1 | -1/+1 |
| | |||||
* | Clean up session when s2s connections are disconnected | Matthew Wild | 2008-10-24 | 1 | -0/+8 |
| | |||||
* | s2s works! \o/ \o/ | Matthew Wild | 2008-10-24 | 2 | -1/+96 |
| | |||||
* | dialback keys now verified | Matthew Wild | 2008-10-24 | 1 | -1/+0 |
| | |||||
* | Initial s2s stuff | Matthew Wild | 2008-10-23 | 2 | -6/+12 |
| | |||||
* | Fix for not destroying sessions when connection closed. | Matthew Wild | 2008-10-23 | 1 | -0/+13 |
| | |||||
* | Abstract connections with "connection listeners" | Matthew Wild | 2008-10-22 | 3 | -16/+114 |
| | | | | | | - Added connlistener for xmppclient - SASL/TLS now use a new session:reset_stream() method - main.lua on its way to being a bit neater | ||||
* | server.lua should degrade gracefully when LuaSec not present | Matthew Wild | 2008-10-22 | 1 | -2/+2 |
| | |||||
* | Remove debugging output from when doing TLS | Matthew Wild | 2008-10-08 | 1 | -1/+0 |
| | |||||
* | Working TLS! | Matthew Wild | 2008-10-05 | 1 | -39/+46 |
| | |||||
* | TLS: Handshake works, no data after that | Matthew Wild | 2008-10-05 | 1 | -5/+217 |
| | |||||
* | Convert spaces->tabs | Matthew Wild | 2008-10-05 | 1 | -476/+476 |
| | |||||
* | SASL! | Matthew Wild | 2008-10-02 | 1 | -0/+16 |
| | | | | | (but before you get too excited, no resource binding yet. And yes, there are still plenty of rough edges to the code...) ((eg. must move <stream:features> out of xmlhandlers.lua o_O )) | ||||
* | Moved server module to net/ | Matthew Wild | 2008-08-25 | 1 | -0/+613 |
also added note on licensing of that module |