summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2014-06-11m_spanningtree Strip membership id from KICKs sent to 1202 protocol serversAttila Molnar
2014-06-11Send the membership id when kicking a remote user and drop KICKs with ↵Attila Molnar
mismatching membership ids This fixes the desync happening when a PART+JOIN crosses a KICK targetting the same user.
2014-06-11m_spanningtree Strip membership ids from FJOINs sent to 1202 protocol serversAttila Molnar
2014-06-11m_spanningtree Send and parse FJOINs with membership idsAttila Molnar
2014-06-11m_spanningtree Add CmdBuilder::push_raw_int()Attila Molnar
2014-06-11m_spanningtree Use the FJOIN builder when a channel is createdAttila Molnar
2014-06-11m_spanningtree Add CmdBuilder specialization for FJOINAttila Molnar
2014-06-11m_spanningtree Send, parse and translate IJOINs with membership idsAttila Molnar
2014-06-11m_spanningtree Assign an id to new MembershipsAttila Molnar
2014-06-11m_spanningtree Initialize membership ids on loadAttila Molnar
2014-06-10Add channel TS to server-to-server INVITE to detect and drop unauthorized ↵Attila Molnar
invites The syntax of the server-to-server INVITE command changes from :<source> INVITE <target> <channel> [<expire>] to :<source> INVITE <target> <channel> <chants> [<expire>]
2014-06-10m_spanningtree Allow callers of InsertCurrentChannelTS() to customize positionsAttila Molnar
2014-06-10Use the iterator version of Channel::KickUser() in a few placesAttila Molnar
2014-06-09m_remove Make the protected rank configurable instead of hardcoding it to 50000Attila Molnar
Change type of ulevel and tlevel to unsigned int
2014-06-09m_remove Recognize /REMOVE <chan> <nick>Attila Molnar
The old syntax is now deprecated Fixes issue #860 reported by @Shawn-Smith
2014-06-09m_remove Manually forward all REMOVE messages, turn FPART into REMOVEAttila Molnar
2014-06-07m_ssl_openssl Remove unused MAX_DESCRIPTORS defineAttila Molnar
2014-06-07Fix harmless loop off-by-ones found by Moonlightningsatmd
2014-06-07m_channames Remove temporary vector from ValidateChans()Attila Molnar
2014-06-07m_channames Call ValidateChans() from cull() on unloadAttila Molnar
This ensures that if ValidateChans() removes everyone from a channel the channel is added to the cull list at the right time, that is, before the destruction of objects begin. The core IsChannel() is less strict than us regardless of our configuration (for now) but nevertheless this is the correct behavior.
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-28m_ident Close the ident socket when the object is culled instead of using hooksAttila Molnar
2014-05-28m_ident Make use of the min parameter of ConfigTag::getInt()Attila Molnar
2014-05-28m_ident: Add an option to allow idents of users to still be prefixed with a ↵Robby-
'~' for connect classes which have disabled ident lookups through the <connect:useident> setting. Fixes #683. Some changes by @attilamolnar, original PR #684
2014-05-26m_ssl_gnutls Don't include cap.hAttila Molnar
The tls cap is handled by m_starttls
2014-05-26Switch to std::string::compare() from substr() in a couple of placesAttila Molnar
2014-05-23Prefix all definitions in config.h to avoid potential collisions.Peter Powell
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-16m_passforward: Don't forward password if the connect block required a ↵Googolplexed
password to connect
2014-05-10m_ldap: time out LDAP queriesAdam
Set LDAP_OPT_NETWORK_TIMEOUT to 0 in m_ldap to prevent the asynchronous library calls from blocking Fix memory leak of pending queries when m_ldap is unloaded
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-26Remove redundant IS_LOCAL() checks discovered by static assertsAttila Molnar
2014-04-20Change the OnNamesListItem() hook to return ModResultAttila Molnar
Return MOD_RES_DENY to exclude the user from the NAMES list
2014-04-16m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TSAttila Molnar
Throws a ProtocolException if the input is invalid
2014-04-16m_spanningtree Throw an exception on protocol violations instead of ↵Attila Molnar
returning CMD_INVALID Catch CoreExceptions, log and close the link in OnDataReady()
2014-04-14m_sajoin, m_sapart Support a comma separated list of channelsAttila Molnar
Issue #818
2014-04-14m_sajoin Abort and report if the target user is already on the channelAttila Molnar
Fixes issue #820 reported by @UselessOper
2014-04-14m_spanningtree Fix routing of unicast messagesAttila Molnar
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-13m_auditorium Handle NULL return from Channel::GetUser() in OnSendWhoLine()Attila Molnar
Found by Coverity, CID: 1135647
2014-04-13m_ojoin Remove pointless FindChan() callAttila Molnar
Found by Coverity, CID: 1135649
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-11m_filter Allow exemption of messages sent to nicks specified in ↵Attila Molnar
<exemptfromfilter> tags Issue #655
2014-04-11m_filter Rename config key used in exemptfromfilter from "channel" to ↵Attila Molnar
"target", but keep compatibility