summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-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-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-20It is unnecessary and rather less efficient to use memmove() everywhere; ↵special
it's only needed when the buffers may overlap. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9927 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-19Whos been commiting a quarter of a fix?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9925 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18Properly clear the bandwidth measurementsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9923 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18more fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9922 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18more fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9921 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18another fix just to piss off people who are trying to build every svn revisionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9920 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18Fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9919 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18Measure bandwidth statistics from the socket engine (kiloBITS per second in, ↵brain
out, total) and display them in /stats z plus send them via the named pipe to the windows gui git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9918 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-18Add the rest of the stuff for named pipe comms, including feedback ↵brain
information, and fix a bug in configreader that made it load the core commands every rehash git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9913 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-15IPC now works for receiving one-byte commands in the same manner as the ↵brain
mailslot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9911 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-15Define PATH_MAX if its not already definedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9907 e03df62e-2008-0410-955e-edbf42e46eb7