summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-06-18m_chghost Allow ulined servers to change the host of unregistered users (for ↵Attila Molnar
SASL)
2014-06-07Fix harmless loop off-by-ones found by Moonlightningsatmd
2014-06-06m_spanningtree Forward NICK messages when they cause a collision with the ↵Attila Molnar
new nick param rewritten to the uuid Suppressing these messages meant that we relied on an appropriate NICK to come from the direction the SAVE was sent to; this left all servers behind us uninformed until the target server of the SAVE reacted with a nick change to uuid. This was problematic because someone can legitimately change nick to the past nick of the SAVEd user on a server that already has the SAVEd user with the uuid nick and that nick change message can reach servers that haven't yet seen the nick change to uuid of the SAVEd user.
2014-06-06m_spanningtree Fix cleanup of connections when unloading a module that ↵Attila Molnar
provides an IOHook
2014-05-21Update server.cppDan Parsons
Rewrote "invalid credentials" error message to remove confusion regarding "server snomask", which some users interpreted as "I must make sure the snomask on each server is identical" (which makes no sense), when really the intention is basically "look at the logs on the other server".
2014-05-08Fix m_permchannels and m_xline_db on WindowsAdam
The call to remove() can fail if the database doesn't already exist. Just ignore the error, which effectively makes the rename() call below work as it does on nix
2014-05-01m_cgiirc Call User::InvalidateCache() after changing host and dhost in ↵Attila Molnar
OnCheckReady()
2014-04-29m_spanningtree Advertise the availability of m_globops in CAPAB CAPABILITIESAttila Molnar
2014-04-26m_spanningtree Set the bursting flag in the FJOIN handler based on whether ↵Attila Molnar
the source of the FJOIN is bursting or not Previously the flag was true if our route to the source was bursting, which resulted in m_joinflood incorrectly registering netjoins when a remote server was bursting Fixes issue #839 reported by @joshtek0
2014-04-13Change Windows libraries to be dynamically linkedAdam
2014-04-13m_ssl_openssl Avoid Applink on Windows by calling PEM_read_bio_DHparams() ↵Attila Molnar
instead of PEM_read_DHparams()
2014-04-13Allow uppercase letters in IPv6 CIDR masksAttila Molnar
2014-04-13m_auditorium Handle NULL return from Channel::GetUser() in OnSendWhoLine()Attila Molnar
Found by Coverity, CID: 1135647
2014-04-13Ignore NULL callbacks in ModuleManager::Reload()Attila Molnar
Found by Coverity, CID: 1201453
2014-04-13m_ojoin Remove pointless FindChan() callAttila Molnar
Found by Coverity, CID: 1135649
2014-04-12Change FormatMessage() usage in DLLManager::RetrieveLastError() to match ↵Attila Molnar
SocketEngine::LastError() See 4451fd13a1accec8d7c2b1bb7fdafd6e50a2566b
2014-04-12Filter out newlines from error messages on WindowsAttila Molnar
2014-04-12m_watch Be more strict when checking whether the watch list of a user is fullAttila Molnar
After a rehash MAX_WATCH can become lower than it was before
2014-04-12Correct the syntax messages of a few modules.Robby-
2014-04-06Release 2.0.16Attila Molnar
2014-04-06Fix IPv6 address handling in 6aaf7047297b739377e7d509cb914f32447fb281Attila Molnar
2014-04-04Fix snotice about disabled command usage being sent to the wrong snomaskAttila Molnar
2014-04-04Add REG_ALL checks to treat unregistered users as nonexistent in more casesAttila Molnar
2014-03-27m_watch Validate targ before use, noticed while rewriting m_watch for 2.2Attila Molnar
2014-03-26m_globalload Don't pass a callback to ModuleManager::Reload() if reloading ↵Attila Molnar
m_globalload
2014-03-25m_httpd Fix typo noticed by @SaberUKAttila Molnar
2014-03-23m_operprefix Don't set +y on the oper if hideoper is being unset due to ↵Attila Molnar
deopering Fixes issue #801 reported by @UselessOper
2014-03-13Fix NAMES list getting truncated on servers having an excessively long ↵Attila Molnar
server name
2014-03-13Backport "Refactor Channel::UserList() to use std::string"Attila Molnar
This gets rid of questionable snprintf() usage, reported by @hifi Backported commit: 8a06d54076551387f83a29360478ee6605e241b6
2014-03-11cmd_names Allow opers having the channels/auspex priv to view the NAMES list ↵Attila Molnar
of +s channels from outside A version of the check removed by this commit is in Channel::UserList() which takes the priv into account Discovered by @Cronus89
2014-03-10Improve detection for non-cidr masks to prevent unwanted matchesAttila Molnar
Fixes issue #762 reported by @neoinr
2014-03-02m_spanningtree Do pointer comparison before deleting one of the pointers in ↵Attila Molnar
TreeSocket::Squit() While the previous code worked fine in practice, it was incorrect in theory
2014-03-02m_spanningtree Don't send snotices to servers about remote servers splittingAttila Molnar
The snotice is sent to opers when the SQUIT is processed by their server
2014-03-01Fix NULL dereference on rehash when there is a fatal error in the ↵Attila Molnar
configuration of connect classes Fixes issue #780 reported by @JDowny
2014-02-20Fix /who on opers incorrectly showing +i opers toAdam
users without the privilege to see them, introduced in b328aad53b044bd9cf9720dfed216b0ee61c8e31
2014-02-19Merge pull request #772 from SaberUK/insp20+llvm34Attila Molnar
Fix various problems detected by Clang 3.4.
2014-02-13socketengine_select Reset the values in the timeval struct on *nix before ↵Attila Molnar
select()
2014-02-11Fix various problems detected by Clang 3.4.Peter Powell
- cidr.cpp: remove inverted_bits; unused since 9fad3ecb9215a0034bf407f192926b04cb5efaed. - cmd_stats.cpp: remove needless inversion and comparison to 0. - inspircd.cpp: remove needless comparison to 0. - socket.cpp: remove all_zero; unused since 03a1bf15b1da7643b237c22db1a478916a976ccf.
2014-02-05socketengine_epoll Initialize CurrentSetSize (only used by m_httpd_stats)Attila Molnar
2014-02-04Fix new file descriptor debug log message in socketengine_poll to show the ↵Adam
correct events
2014-02-03m_banredirect Fix typo in a message (transfered -> transferred)Attila Molnar
Fixes issue #757 reported by @guikcd
2014-01-26m_ssl_openssl Fix memory leaks on /rehash ssl, unload and in VerifyCertificate()Attila Molnar
2014-01-24Set a session id on our server ssl context in m_ssl_openssl. It is required ↵Adam
for some clients which try to restore SSL sessions.
2014-01-21Release 2.0.15Attila 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