summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2008-07-01oh forgot, thanks psychon for noticing the PATH_MAX and limits problem :)peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9943 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-01include limits to get correct PATH_MAX where availablepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9942 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-27Make gcc 4.3 whine lesspeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9940 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-26Yet another module priority shuffler fix from Phoenix, bad phoenix bad bad\!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9938 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-26Merge in patch from nenolod to make channelmode +z not count ulined clients ↵brain
when determining if all users on a channel are ssl before setting the mode. Thanks nenolod. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9936 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-24Module priority 'shuffler' fix from Phoenix, bounds checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9934 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-24Module priority 'shuffler' suggestion from Phoenix, needs some testing but ↵brain
works ok for him git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9933 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-24This is more correct, thanks Phoenixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-22Merge swhois patch from jackmcbarnbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9931 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-21Change the value of number of secs in a year to be 31557600 for Duration() ↵brain
with 'y' value. This is 365.25 days slightly more accurate than 365 days. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9930 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-20Updated svn:ignore for src/modules/ with some newer files from ↵special
src/modules/extra/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9929 e03df62e-2008-0410-955e-edbf42e46eb7