summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-09-26Take advantage of FD_READ_WILL_BLOCK and FD_WRITE_WILL_BLOCK to reduce ↵danieldg
syscalls run by gnutls git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11761 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Clean up SocketEngine interface to allow edge-triggered I/O and sockets that ↵danieldg
do not force readability. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11760 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-24Move configuration filename specification to start script, to reduce ↵danieldg
hardcoded paths in executable git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11759 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-22Describe module purpose in /MODULES outputdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Improve speed of SSL sendq processingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11756 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Fix RSQUIT/RCONNECT routingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11755 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Allow objects to be added to cull list during apply - fixes user deletion on ↵danieldg
netsplit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11754 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Don't try to write to dead users, add debug to SquitServer, and remove a ↵danieldg
string copy in spanningtree write git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11753 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Create StreamSocket for IO hooking implementationdanieldg
Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Remove mistaken duplicate check for fake usersdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11751 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Always use user->SplitChanList in whois reply [jackmcbarn]danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11750 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Add channames module [jackmcbarn]danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11749 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Prevent fake users from quittingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11748 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-18Separate spy channels [jackmcbarn]danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11747 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17Remove SID from /map for non-opers, and add it to non-spanningtree for opers ↵danieldg
[dKingston] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11745 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17Prevent fake users from quittingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11743 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17Add <autoconnect> blocks [jackmcbarn]danieldg
Replaces <link:failover> and <link:autoconnect> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11741 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16Don't let R-lines be bancached [jackmcbarn]danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11737 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16Add support for zline on rline [jackmcbarn]danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11736 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16Attempt to revert r11734danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11735 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16Merge commands and modules in source, since they are already merged in installdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11734 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16Fix iteration of ServerInstance->Users->local_users now that QuitUser can ↵danieldg
modify the vector git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11732 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-15Make end of netburst SNOMASK REMOTELINK unless servers are directly linked ↵danieldg
[jackmcbarn] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11731 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-15Remove Extensible items from user, channel, and Membership on module unloaddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11730 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-15Fix null ExtensionItem when unregistering hooks; fix CORE_FLAGS on darwindanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11729 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-15Where there are hidden servers, report the /map server count as the hidden ↵brain
count if the user cant see these servers. and calculate the user average over this number of servers too. -- Reported by Syloq, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11727 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-15Fix quoting in permchannels DB, discovered by jackmcbarn (could result in ↵danieldg
command execution) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11726 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-14Properly spacify opertypes in error messages. Patch by dKingstonspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11724 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-14Improve link error message on SSL fingerprint mismatchdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11723 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-14Fix incorrect min/max parameters on commandsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11722 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-14Introduce "X" snomask for remote *:line messages [patch by jackmcbarn]danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11721 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-14Fix OnHostCycle in m_delayjoin [patch by dKingston]danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11720 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-14Fix compile warningdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11719 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Clarify <include:executable> error messagedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11718 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Fix access checks on chanprotect preventing use of SAMODEdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11717 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Translate TR_NICK back from UID on mode parsedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11716 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Fix automated metadata decoding with ExtItemdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11715 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Fix REMOVE maxparamsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11714 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Fix cloaking/invite exception for new extban checksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11713 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Fix max-parameters in MODE commanddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11712 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Change match direction of extbans to allow stackingdanieldg
This allows you create stacked bans like: +b m:r:*bot* to mute anyone with bot in their gecos +e S:j:+#staff to allow voices in #staff to use color It also deprecates extban M, which can be implemented using m:R: git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11711 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Prevent <include:executable> from running <include:executable> itself ↵danieldg
[jackmcbarn] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11710 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13GnuTLS: Send SSL client certificate when requesteddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11708 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Clean up Command constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Fix GetPrefixChar returning empty if a non-prefix mode was useddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11706 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Forgotten Extensible::Register invocationsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11705 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Add SerializeFormat for easier metadata formattingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11704 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Remove redundant ServerInstance* fieldsdanieldg
It has been impossible to have more than one InspIRCd* object in the same address space for some time now, and this feature was never used. This formalizes class InspIRCd as a singleton object. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11703 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Use FindMode instead of FindPrefix for OnUserPreJoin privs; makes it ↵danieldg
possible to give +q or +Y on join even without prefix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11702 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Simplify ModeHandler constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7