aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Don't say we need TLS after we've already started the handshakeMatthew Wild2008-12-051-4/+1
|
* Add TLS socket to readlist before handshake starts, fixes major slow-down on ↵Matthew Wild2008-12-052-5/+13
| | | | TLS connections
* Comment out debug logging for nowMatthew Wild2008-12-051-3/+3
|
* Remove linger option on sockets, made no difference, and I forgot to remove ↵Matthew Wild2008-12-051-2/+0
| | | | it earlier
* Remove an incorrect line which I didn't add, and fix the proper way. ↵Matthew Wild2008-12-051-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 namespaceMatthew Wild2008-12-052-4/+28
|
* Abstract xmlhandlers a bit more, also add error callbacksMatthew Wild2008-12-042-6/+7
|
* Fix logger ids for c2s and s2soutMatthew Wild2008-12-041-1/+1
|
* Fix GPL'ing MIT/X licensed code :)Matthew Wild2008-12-031-860/+838
|
* Insert copyright/license headersMatthew Wild2008-12-035-0/+100
|
* Fix for loading connlisteners when running without CFG_SOURCEDIRMatthew Wild2008-11-291-1/+1
|
* Update Makefile to now pass config paths to prosody. Update prosody, ↵Matthew Wild2008-11-291-2/+3
| | | | modulemanager and connectionlisteners to obey these paths.
* Merge from waqasMatthew Wild2008-11-281-1/+2
|\
| * Quickfix for dns.lua to not crash on failed connection to name serversWaqas Hussain2008-11-281-1/+2
| |
* | No more reading 1 byte at a time from socketsMatthew Wild2008-11-282-2/+2
|/
* (Basic) IDNA and SRV fallback supportMatthew Wild2008-11-261-3/+8
|
* Fix a waqas copy/paste error. It was my fault again apparently.Matthew Wild2008-11-261-0/+1
|
* Wrapped a core_process_stanza call in an xpcall callWaqas Hussain2008-11-261-1/+1
|
* Added temporary fix for srv on windows: using opendns nameserversWaqas Hussain2008-11-231-5/+10
|
* Small fix for connlisteners to accept nil for userdataMatthew Wild2008-11-231-2/+2
|
* Fix various mistakes in dns.luaMatthew Wild2008-11-231-7/+7
|
* Fix dns for poor Windows users, who have never seen a resolv.confMatthew Wild2008-11-231-1/+3
|
* All the people who don't use TLS, this one's for you.Matthew Wild2008-11-221-1/+1
|
* Incorrect function set as callbackMatthew Wild2008-11-191-1/+2
|
* We have SRV resolving \o/Matthew Wild2008-11-181-0/+795
|
* Fix to prevent send retry when connection is already closedMatthew Wild2008-11-181-6/+9
|
* session:disconnect() -> session:close() for consistency with other Lua APIsMatthew Wild2008-11-182-4/+4
|
* Quite some changes, to:Matthew Wild2008-11-182-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 #8Matthew Wild2008-11-182-3/+34
|
* Allow us to close client connections, with or without a stream error. ↵Matthew Wild2008-11-181-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 socketMatthew Wild2008-11-181-1/+5
|
* Fix for putting TLS in stream:features for connections already using TLS. ↵Matthew Wild2008-11-161-0/+2
| | | | Thanks to albert for spotting.
* Fix logging in some cases for client disconnectsMatthew Wild2008-11-161-1/+1
|
* Fix logging of disconnect reason, and also sending of unavailable presence ↵Matthew Wild2008-11-151-3/+4
| | | | on disconnect
* Some bugs fixedWaqas Hussain2008-11-151-1/+1
|
* Actually show error and position when we show a traceback :)Matthew Wild2008-11-092-2/+2
|
* Committing code to get nicer tracebacks for errors, also we no longer ↵Matthew Wild2008-11-082-3/+13
| | | | consider such errors fatal (probably a bad thing, I know...)
* Backed out changeset 4adc53e03b4d (garbage collection)Matthew Wild2008-10-241-1/+1
|
* Extra garbage collection, for debuggingMatthew Wild2008-10-241-1/+1
|
* Clean up session when s2s connections are disconnectedMatthew Wild2008-10-241-0/+8
|
* s2s works! \o/ \o/Matthew Wild2008-10-242-1/+96
|
* dialback keys now verifiedMatthew Wild2008-10-241-1/+0
|
* Initial s2s stuffMatthew Wild2008-10-232-6/+12
|
* Fix for not destroying sessions when connection closed.Matthew Wild2008-10-231-0/+13
|
* Abstract connections with "connection listeners"Matthew Wild2008-10-223-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 presentMatthew Wild2008-10-221-2/+2
|
* Remove debugging output from when doing TLSMatthew Wild2008-10-081-1/+0
|
* Working TLS!Matthew Wild2008-10-051-39/+46
|
* TLS: Handshake works, no data after thatMatthew Wild2008-10-051-5/+217
|
* Convert spaces->tabsMatthew Wild2008-10-051-476/+476
|