summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-02Register all commands, modes and extensions using AddService()attilamolnar
AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-12-02Attach to events and register services in init()attilamolnar
2012-12-02Merge pull request #376 from SaberUK/insp20+fix-cleanAttila Molnar
Fix the list of files to be removed by make.
2012-12-02Fix the list of files to be removed by make.Peter Powell
2012-11-29Make LocalUserList an std::listattilamolnar
2012-11-29Add a typedef for LocalUserListattilamolnar
2012-11-29m_cgiirc Fix wrong announcement when the host in WEBIRC is too longattilamolnar
2012-11-29m_cgiirc Don't apply resolved host or send notifications when the user is ↵attilamolnar
quitting (matched a line)
2012-11-29m_cgiirc Don't resolve IPs when <performance:nouserdns> is trueattilamolnar
2012-11-29m_cgiirc De-duplicate code, recheck elines after ip/host changesattilamolnar
Fixes #350 reported by @MistrX New functions: - RecheckElineAndClass() - ChangeIP() - decreases clone counts for a user, calls SetUserIP, increases clone counts after the new ip is applied - HandleIdentOrPass() - common code extracted from CheckIdent() and CheckPass()
2012-11-29m_cgiirc Remove dead code, warn when a <cgihost> block has an invalid type ↵attilamolnar
value, misc. cleanup
2012-11-29m_dnsbl Add usednsbl option to connect classesattilamolnar
Don't touch users in classes where it's off
2012-11-29Reorder local user initialization stepsattilamolnar
OnSetUserIP hook now runs after the user has a connect class and the g/k/z lines were checked (ip only, no host at that point) Fixes #360 reported by @JDowny Allows #336
2012-11-29cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hopattilamolnar
Fixes #375 reported by @JDowny
2012-11-29Merge pull request #374 from rburchell/ldapauth_vhostsAttila Molnar
Ldapauth vhosts
2012-11-29ldapauth: register both extensionsRobin Burchell
2012-11-29ldapauth: RAII returned ldap message.Robin Burchell
This ensures it is always freed, and coincidentally fixes freeing in the case of LDAP errors.
2012-11-29ldapauth: fix memory leakRobin Burchell
ldap_get_dn() results need to be freed. Use a RAII wrapper to do this. Original code by Attila Molnar
2012-11-29ldapauth: Allow setting virtual hosts on identification with m_ldapauth.Robin Burchell
<ldapauth:host>, when set, will be applied to users identifying with ldapauth. The host can also take formatters from fields set on the DN of the user.
2012-11-29ldapauth: Add missing verbose logging to required attributes.Robin Burchell
2012-11-29ldapauth: Rework required attributes code to use only one exit path.Robin Burchell
This makes the upcoming patch to add optional virtual host support cleaner.
2012-11-28Change empty string assignments to .clear() or remove them entirelyattilamolnar
Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f
2012-11-28Have FindUUID(const char*) call FindUUID(const std::string&), not the other ↵attilamolnar
way around
2012-11-28m_spanningtree Remove redundant params.size() checksattilamolnar
TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters
2012-11-28Fix GnuTLS certificate generation on OS X.Peter Powell
2012-11-28Silence OpenSSL deprecation warnings on OS X.Peter Powell
2012-11-24m_noctcp Make extban 'C' work as intendedattilamolnar
2012-11-24m_check, m_namesx, m_timedbans Minor cleanupattilamolnar
2012-11-24Simplify UserManager::AddLocalClone()/AddGlobalClone()attilamolnar
2012-11-23Remove TAXONOMY from opers.conf.example, it doesn't exist in 2.0attilamolnar
Fixes #369 reported by @DjGolia
2012-11-19m_ssl_gnutls Dynamically detect the number of certificates in the certfileattilamolnar
Remove the "certcount" setting, as it's no longer needed When finished reading the certs, resize the buffer to the actual number of certs read
2012-11-19m_nokicks Remove u-line check, OnUserPreKick doesn't run in that caseattilamolnar
2012-11-19m_customtitle Minor cleanupattilamolnar
- Remove TRANSLATE() as it makes no sense here (user parameter is not a nick) - Compare strings with == instead of strcmp - PassCompare uses strings, pass them as-is without c_str()
2012-11-19m_jumpserver Fix wrong nickname in the numeric when redirecting all users ↵attilamolnar
immediately, cleanup - Fix typo - Iterate string with iterator - Move variables into the command handler that aren't used elsewhere
2012-11-19m_securelist Update descriptionattilamolnar
2012-11-19m_remove Cleanupattilamolnar
- Command handler concatenates when maxparams is specified, don't do it ourselves - String references to user and channel names are fine, no need for .c_str()
2012-11-19ServerConfig::ServerName is a std::string, don't call .c_str() on it when ↵attilamolnar
passing it to Channel::WriteChannelWithServ, etc.
2012-11-19m_remove, m_services_account Don't check whether nicks are u-lined, checking ↵attilamolnar
the server is enough
2012-11-19Change empty string assignments to .clear() or remove them entirelyattilamolnar
2012-11-19m_globalload Fix wrong error message being sent when the module given to ↵attilamolnar
/gunloadmodule is not found
2012-11-19Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()attilamolnar
2012-11-19Remove calls to ListModeBase::OnCleanup (deprecated, empty function)attilamolnar
2012-11-19Fix m_ssl_gnutls under GCC on recent versions of GnuTLS.Peter Powell
Commas at the end of enumerator lists are valid in C99 but are not valid in C++ before C++11. This causes a build error on GCC when using -pedantic.
2012-11-18Merge pull request #365 from StevenVanAcker/unhook-uidAttila Molnar
unhook --uid from --system in configure script
2012-11-18Merge pull request #366 from StevenVanAcker/autoconnect-reminderAttila Molnar
added warning that autoconnect is now a separate tag
2012-11-15added warning that autoconnect is now a separate tagSteven Van Acker
2012-11-15unhook --uid from --system in configure scriptSteven Van Acker
Specifying --uid allows the ircd to run as a specific user, while --system fixes the install directories to be spread all over the system. Specifying --uid shouldn't imply --system. This fix allows a uid to be set while not interfering with --prefix
2012-11-12Remove usage of the deprecated ConfigReaderattilamolnar
2012-11-12m_operprefix Enhance compatibility with m_hideoper using a ModeWatcherattilamolnar
Prioritize after m_opermodes, so we know when it sets +H on somebody