summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2014-02-09Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*)Attila Molnar
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-08Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME defineAttila Molnar
2014-02-08Change SocketEngine functions that do not require an instance to be staticAttila Molnar
2014-02-07m_ldapauth.cpp: Allow multiple patterns for users to bypass LDAP authThiago Crepaldi
2014-02-06Convert irc::stringjoiner to be a method instead of a class.Peter Powell
Add separator parameter
2014-02-06Fix various cases of UUID exposure.Peter Powell
- Introduce WriteCommand which sends * when the user has not registered. - Switch a ton of code to use WriteCommand instead of WriteServ. - Convert WriteNotice to be a wrapper around WriteCommand. - Only send * when NICK has not been sent instead of before registration.
2014-02-06m_cap Instead of using case insensitive compare convert the subcommand to ↵Attila Molnar
uppercase This way if we send back the subcommand it will be in uppercase even if the client sent it in lowercase
2014-01-31Remove a few unnecessary .c_str() callsAttila Molnar
2014-01-31Remove some dead codeAttila Molnar
2014-01-30m_conn_join Read default settings in ReadConfig()Attila Molnar
2014-01-30m_conn_join: Allow time-delayed joinsDaniel Vassdal
2014-01-30m_conn_join: Fixed indentationDaniel Vassdal
2014-01-30Allow Timers to delete themselves in Tick()Attila Molnar
2014-01-28m_spanningtree Rewrite /mapAdam
2014-01-27m_tline Minor improvementsAttila Molnar
- Replace floats with integers - Use size() instead of counting elements - Use WriteNotice()
2014-01-27m_alias Remove duplicate checksAttila Molnar
2014-01-27m_alias Use equal_range() when searching for aliasesAttila Molnar
2014-01-26Add m_clearchan which removes users from a channel without sending n*(n+1)/2 ↵Attila Molnar
QUIT messages
2014-01-26Add ProtocolInterface::BroadcastEncap() and infrastructure for manually ↵Attila Molnar
forwarding ENCAPs
2014-01-26ProtocolInterface::SendEncapsulatedData() changesAttila Molnar
- Pass command name and destination as real parameters - Allow callers to specify the command source - Send a SID instead of a server name if the target is a single server
2014-01-25Add Channel* parameter to OnSendWhoLineAttila Molnar
2014-01-25Omit the server name internally when building a /STATS reply and prepend it ↵Attila Molnar
later
2014-01-25Convert InspIRCd::PassCompare to return bool instead of int.Peter Powell
The insane behaviour of this method was due to an implementation detail which has since become irrelevent.
2014-01-24Convert UserChanList to an intrusively linked listAttila Molnar
2014-01-23Remove whitespace and minor style changesAttila Molnar
2014-01-23Globally #undef min and max on WindowsAttila Molnar
2014-01-22Split IOHook into IOHook and IOHookProviderAttila Molnar
Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established.
2014-01-22Add the ability to have multiple SSL profilesAttila Molnar
SSL profiles are now used instead of fixed SSL settings for everything SSL, making it possible to use completely different settings for each listener and outgoing connection. Outgoing connections are broken until the next commit.
2014-01-22m_ssl_gnutls Create GNUTLS_NEW_CERT_CALLBACK_API and cert_cb_last_param_typeAttila Molnar
2014-01-21Merge insp20Attila Molnar
2014-01-21m_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messagesAttila Molnar
2014-01-21Add m_starttls and remove it from m_ssl_gnutls, which allows it to work with ↵Adam
both openssl and gnutls
2014-01-21m_httpd_stats Be more conservative when escaping dataAttila Molnar
Fix clang warning
2014-01-21m_joinflood Unset the mode on unloadAttila Molnar
2014-01-21Fix some logically dead code which was found by Coverity.Peter Powell
2014-01-20m_svshold Add config option to hide snoticesAttila Molnar
2014-01-20m_httpd Add timeout option; remove timed out connectionsAttila Molnar
2014-01-20m_services_account Add workaround for wrong host being displayed in numeric ↵Attila Molnar
when cgiirc users log in using SASL
2014-01-20m_dnsbl Don't send snotice when the {G|K|Z}line already existsAttila Molnar
Fixes issue #717 reported by @Robby-
2014-01-19m_joinflood Fix remote joins affecting local joinflood state when the ↵Attila Molnar
channel is locked Fixes issue #694 reported by @TurkDesk
2014-01-19Use FindNickOnly() in a few more places if a local user is performing an ↵Attila Molnar
action to prevent UID walking
2014-01-19m_dccallow Increase penalty for /DCCALLOW helpAttila Molnar
2014-01-19m_alias Fix out of bounds string access that happened with certain replace ↵Attila Molnar
strings
2014-01-16Merge pull request #732 from grawity/saslfixAttila Molnar
m_sasl: properly handle bad-mechanism failures
2014-01-14m_sajoin Send global snotice when the join happensAttila Molnar
Remove "sent remote SAJOIN" local snotice Fixes issue #382 reported by @JDowny
2014-01-13m_mlock Only deny the mlocked mode from being changed instead of denying the ↵Attila Molnar
entire mode change if it contains a single mlocked mode Fixes issue #615 reported by @BlacklightShining
2014-01-11Support SASL messages other than 'C' and 'D'Mantas Mikulėnas
2014-01-11Handle SASL failures during SASL_INIT (wrong mechanism, etc.)Mantas Mikulėnas
2014-01-09Stop null checking pointers that are always validAttila Molnar