Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-07 | Merge pull request #380 from SaberUK/insp20+fix-clang-warning | Attila Molnar | |
Fix invalid argument warnings on clang. | |||
2012-12-07 | Fix invalid argument warnings on clang. | Peter Powell | |
2012-12-05 | m_svshold Fix crash when called with 2 params, only triggerable by u-lines | attilamolnar | |
2012-12-05 | m_cban, m_rline, m_shun Don't broadcast when user is a local user | attilamolnar | |
spanningtree sends an ADDLINE in this case | |||
2012-12-05 | Change a few signed counter variables to unsigned so they roll over later | attilamolnar | |
2012-12-05 | Fix expired xlines being treated as live ones in XLineManager::AddLine() | attilamolnar | |
This fixes ADDLINEs not being propagated and /gline etc. failing for already existing but expired xlines Special thanks to @JDowny (TinMan) for his detailed report and cooperation that made this fix possible Fixes #306 reported by @TurkDesk Fixes #379 reported by @JDowny | |||
2012-12-04 | Unbreak m_geoip | attilamolnar | |
2012-12-03 | Fix thread handle leak in StartServiceThread() | attilamolnar | |
2012-12-03 | Fix broken RetrieveLastError() | attilamolnar | |
- FORMAT_MESSAGE_IGNORE_INSERTS flag wasn't used and we never pass insertion parameters, this could cause FormatMessage() to fail - The return value of FormatMessage() wasn't checked, if it returned zero (failure) then RetrieveLastError() returned garbage if err[] wasn't initialized previously | |||
2012-12-03 | Fix typos in ebdaf368e137fc933e648ee88a08a4f83e796f87 | attilamolnar | |
2012-12-03 | Properly shut down stdin | attilamolnar | |
Replace hardcoded ints | |||
2012-12-02 | m_remove Fix potential desync caused by committing the PART before getting ↵ | attilamolnar | |
acknowledgement from the target server | |||
2012-12-02 | Fix DLLManager leak when an exception is thrown in init() | attilamolnar | |
This also caused the dlopen()'d library to stay open forever | |||
2012-12-02 | Throw an exception when attempting to register an extension with a name that ↵ | attilamolnar | |
already exists Previously this silently failed | |||
2012-12-02 | Register a few extensions that weren't registered | attilamolnar | |
2012-12-02 | Register 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-02 | Dynamically 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-02 | Attach to events and register services in init() | attilamolnar | |
2012-12-02 | Merge pull request #376 from SaberUK/insp20+fix-clean | Attila Molnar | |
Fix the list of files to be removed by make. | |||
2012-12-02 | Fix the list of files to be removed by make. | Peter Powell | |
2012-11-29 | Make LocalUserList an std::list | attilamolnar | |
2012-11-29 | Add a typedef for LocalUserList | attilamolnar | |
2012-11-29 | m_cgiirc Fix wrong announcement when the host in WEBIRC is too long | attilamolnar | |
2012-11-29 | m_cgiirc Don't apply resolved host or send notifications when the user is ↵ | attilamolnar | |
quitting (matched a line) | |||
2012-11-29 | m_cgiirc Don't resolve IPs when <performance:nouserdns> is true | attilamolnar | |
2012-11-29 | m_cgiirc De-duplicate code, recheck elines after ip/host changes | attilamolnar | |
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-29 | m_cgiirc Remove dead code, warn when a <cgihost> block has an invalid type ↵ | attilamolnar | |
value, misc. cleanup | |||
2012-11-29 | m_dnsbl Add usednsbl option to connect classes | attilamolnar | |
Don't touch users in classes where it's off | |||
2012-11-29 | Reorder local user initialization steps | attilamolnar | |
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-29 | cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hop | attilamolnar | |
Fixes #375 reported by @JDowny | |||
2012-11-29 | Merge pull request #374 from rburchell/ldapauth_vhosts | Attila Molnar | |
Ldapauth vhosts | |||
2012-11-29 | ldapauth: register both extensions | Robin Burchell | |
2012-11-29 | ldapauth: RAII returned ldap message. | Robin Burchell | |
This ensures it is always freed, and coincidentally fixes freeing in the case of LDAP errors. | |||
2012-11-29 | ldapauth: fix memory leak | Robin Burchell | |
ldap_get_dn() results need to be freed. Use a RAII wrapper to do this. Original code by Attila Molnar | |||
2012-11-29 | ldapauth: 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-29 | ldapauth: Add missing verbose logging to required attributes. | Robin Burchell | |
2012-11-29 | ldapauth: 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-28 | Change empty string assignments to .clear() or remove them entirely | attilamolnar | |
Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f | |||
2012-11-28 | Have FindUUID(const char*) call FindUUID(const std::string&), not the other ↵ | attilamolnar | |
way around | |||
2012-11-28 | m_spanningtree Remove redundant params.size() checks | attilamolnar | |
TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters | |||
2012-11-28 | Fix GnuTLS certificate generation on OS X. | Peter Powell | |
2012-11-28 | Silence OpenSSL deprecation warnings on OS X. | Peter Powell | |
2012-11-24 | m_noctcp Make extban 'C' work as intended | attilamolnar | |
2012-11-24 | m_check, m_namesx, m_timedbans Minor cleanup | attilamolnar | |
2012-11-24 | Simplify UserManager::AddLocalClone()/AddGlobalClone() | attilamolnar | |
2012-11-23 | Remove TAXONOMY from opers.conf.example, it doesn't exist in 2.0 | attilamolnar | |
Fixes #369 reported by @DjGolia | |||
2012-11-19 | m_ssl_gnutls Dynamically detect the number of certificates in the certfile | attilamolnar | |
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-19 | m_nokicks Remove u-line check, OnUserPreKick doesn't run in that case | attilamolnar | |
2012-11-19 | m_customtitle Minor cleanup | attilamolnar | |
- 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-19 | m_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 |