summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-24Add intrusive list templateAttila Molnar
2014-01-23Remove whitespace and minor style changesAttila Molnar
2014-01-23Globally #undef min and max on WindowsAttila Molnar
2014-01-23Remove unneeded classbase inheritance from FileReaderAttila 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-21Release 2.0.15Attila Molnar
2014-01-21Bump API version because of 3f4d54eb031f1cd6b016dfe1f768ed86303e3856Attila Molnar
2014-01-21m_httpd_stats Be more conservative when escaping dataAttila Molnar
Fix clang warning
2014-01-21Increase the penalty for a few core commandsAttila Molnar
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-20Update example configs/helpopAttila Molnar
2014-01-20Use standard example addresses in configsMantas Mikulėnas
`2001:db8::/32` is the [standard][1] IPv6 example address range, using it also makes it clear when the user has just copy-pasted the example config and didn't actually whitelist 6BONE for some strange reason. Similarly, there are example addresses for [IPv4][2] and [DNS][3]. [1]: http://tools.ietf.org/html/rfc3849 [2]: http://tools.ietf.org/html/rfc5737 [3]: http://tools.ietf.org/html/rfc2606
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-17Fix OOB error in sa2cidr()Daniel Vassdal
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-13Don't send the "your unique ID" (numeric 042) message on connectAttila Molnar
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
2014-01-08Remove PreText()-like functionsAttila Molnar
Do processing in OnUserPreMessage()
2014-01-08Read uline state in spanningtree; remove ConfigReader::ulinesAttila Molnar
2014-01-06Automatically register and unregister mode watchersAttila Molnar
2014-01-06Unset all extensions and the topic when lowering TS on a channelAttila Molnar
2014-01-06m_deaf Simplify logicAttila Molnar
2014-01-05Move server description field from TreeServer into Server; remove ↵Attila Molnar
OnGetServerDescription hook
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
2014-01-05Remove useless ULine() checksAttila Molnar
2014-01-05m_spanningtree Remove vector from TreeServer::QuitUsers()Attila Molnar
2014-01-05Improve UserManager::QuitUser() and related codeAttila Molnar
- Make operreason optional; NULL means same as quitreason - Remove User::quietquit, it is now handled internally in spanningtree - Send snotice about quitting remote users from spanningtree
2014-01-05Fix possible use of invalid iterator on module unloadAttila Molnar
When a module quits a user or destroys a channel in OnCleanup() the object is no longer in the container being iterated by the time OnCleanup() returns
2014-01-04Change type of snomask parameter to char in ProtocolInterface::SendSNONotice()Attila Molnar
2014-01-04Add functor that does strict weak ordering based on ↵Attila Molnar
national_case_insensitive_map
2014-01-04Fix some Windows-related problems.Peter Powell
- Fix an error relating to the unavailability of std::back_inserter. - Fix loading configuration files when using relative paths. - Fix two methods in hashcomp being exported twice. - Remove some unimportant error messages.
2014-01-04Show +i users on a channel to opers having the channels/auspex priv who do ↵Attila Molnar
/NAMES from outside of the chan Discovered by @Cronus89
2013-12-27Merge pull request #714 from SaberUK/insp20+fix-helpopAttila Molnar
[2.0] Fix the HELPOP database being destroyed when a rehash fails.