summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-12Remove some long commented out code: we never used to start unless a client ↵w00t
port was bound git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9998 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Remove a slightly odd commentw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9997 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12peavey already fixed this with climits include, remove limits.h. Keep the ↵w00t
warning, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9996 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Allow opers to view modelists regardless of <security:hidemodelists>w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9995 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Document m_gecosbanw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9994 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Remove debugw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9993 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Add support for ban exceptions on non-user extbans (e.g, +be r:*lol* ↵w00t
r:lol?is?gay will now hopefully work) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9992 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Make m_gecosban work. We can't make assumptions about how an extban banmask ↵w00t
must look, as they won't necessarily be a usermask type affair. :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9991 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Debugw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9990 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Add m_gecosban, implements extban +b r: - hostname bans.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9989 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Okay, and there's the working version of it. Extbans that don't work on ↵w00t
users have OnCheckStringExtBan. ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9988 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Overload IsExtBanned to provide a *string matching* version, this finally ↵w00t
opens the way for non-hostmask based extbans, which is good ;p. On the downside, this requires rethinking of the extban exemption stuff I did yesterday. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9987 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Fix for bug #569, thanks dz.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9986 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Change sprintf to snprintf, just in case; Update comments.om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9985 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Increase static buffer size to 44 to account for a full IPv6 CIDR mask: ↵om
1111:1111:1111:1111:1111:1111:1111:1111/128 + null terminator. Also remove newlines in returned mask. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9984 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Remove 'global' from gline description, add 'local' to KLine description. ↵w00t
Thanks Namegduf. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9983 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Add CIDR mask use to m_connectban, detection and banning may now happen over ↵w00t
IP ranges instead of individual IPs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9982 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Scary.. CIDR range clone checking for <connect> tags.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9981 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Add <cidr> block, and documentation in example config.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9980 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Cleanup of some of the new CIDR code: compiles but untested; Also: My first ↵om
commit for a very long time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9979 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Convert SVSHOLD to use the new XLine frameworkw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9978 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Fix m_cban /stats C, broken after the XLine conversion some months agow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9977 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Delete all XLines when destroying modulew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9976 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Add XLineManager::DelAll to delete all lines of a given type.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9975 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Don't add a 10 second penalty to all connecting users (this was accidental)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9974 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Add .example suffix to namew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9973 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Copy new conf location and seperate modules.conf on installw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9972 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Add <gecos> field to <server> in XML stats output, also add to ProtoServer. ↵w00t
Fixes part of bug #571, reported by Majic. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9971 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Split example conf into example conf and modules conf, include modules conf ↵w00t
from the main example. This should provide a slightly less heavy introduction to things. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9970 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Move example conf to conf/ directory, it makes more sense given all the ↵w00t
others are here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9969 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Implement suggestion from Stealth in bug #572: expand <channeltopic> tag ↵w00t
into a subsection storing text, setter and set time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9968 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Don't broadcast CHANCREATE snotice if channel is +P, fixes second half of ↵w00t
bug #565, thanks Aleksi for both of these git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9967 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Delete channel on -P if usercount is 0, fixes part of #565w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9966 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Fix for bug #541: /taxonomy reporting metadata for incorrect user. Can ↵w00t
someone please test? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9964 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Fix a memory leak in m_mysql, found and patched by Dart in bug #570 - thanksw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9962 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Fix for #564w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9961 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Remove individual read buffers inside of BufferedSocket, use the shared ↵w00t
netbuffer instead, like users. This means a 65kb saving per BufferedSocket. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9960 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-12Add User::GetCIDRMask(int range), will be used for CIDR throttling, etc. ↵w00t
Also probably opens up the way for /gline nickname to place CIDR bans instead of regular bans, which could be helpful. Much thanks to Om for his help. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9959 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-11Extended ban exceptions (untested, probably will explode as I'm tired..)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9958 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-11Add OnCheckExtBan, will be used for exceptions to extbansw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9957 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-11Convert API to use std::string, fixes my slight bug from earlier and looks ↵w00t
tidier git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9956 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-11Pull in limits.h to fix PATH_MAX problems, thanks to Uli Slachter ↵w00t
(psychon).. Not sure why this wouldn't work anyway, as we define it manually, but.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9954 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-11Fix m_nopartmsg to work via API modification, involves a string copy that ↵w00t
won't last too long. Compiles cleanly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9953 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-09- xml has no html entities :(pippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9952 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-09that failed to applypippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9951 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-09- disabled m_nopartmsg for now, since it requires API changes to workpippijn
- fixed m_httpd_stats so it does not send negative numerical xml entities git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9950 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02Add module implementing +b p: - channel part message extban. Breaks compile ↵w00t
currently as API isn't quite going to let me do this, adding as a reminder to force me to do it tomorrow. (let's see if it works) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9949 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02Back out the incomplete linebuffering stuff that shouldn't have been committed..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9948 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02Forward port r9946: make SVSHOLD silent to avoid useless irritation to opersw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9947 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-02Fix an off-by-one which could possibly perhaps cause djGrrr/satmd's bug by ↵w00t
dropping a read buffer into the bit bucket if it was of an exact enough size to cause problems. No guarentees. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9944 e03df62e-2008-0410-955e-edbf42e46eb7