w00t
|
95538518b3
|
Add include/numerics.h, contains/will contain an enum for numerics. Work in progress.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10006 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-13 19:01:17 +00:00 |
|
w00t
|
33f80efab6
|
Fix order of arguments, this means that ban exceptions for extbans actually work again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10005 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-13 17:54:16 +00:00 |
|
w00t
|
78ecfd4064
|
Default to adding uppercase characters to allowed hostmap list, this has caught a few people out (including me)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10004 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-13 17:30:23 +00:00 |
|
brain
|
08496283c0
|
Indentation tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10003 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-13 10:34:43 +00:00 |
|
special
|
aff121b07c
|
Fixed #568 - gnutls does not allow reuse of credentials, which was making /rehash ssl not work properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10001 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 23:26:45 +00:00 |
|
w00t
|
f5dec38514
|
And, just because I can. The one pointless one-liner of the evening. :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10000 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 22:01:45 +00:00 |
|
w00t
|
dd93ad66c2
|
Add a snotice about time jumping by more than a second at a time, and move both this and time skew notice into debug snomask
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9999 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 22:00:46 +00:00 |
|
w00t
|
2917d39961
|
Remove some long commented out code: we never used to start unless a client port was bound
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9998 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 21:57:39 +00:00 |
|
w00t
|
97ef4d2d75
|
Remove a slightly odd comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9997 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 21:52:28 +00:00 |
|
w00t
|
feb6904d32
|
peavey already fixed this with climits include, remove limits.h. Keep the warning, though.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9996 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 21:49:45 +00:00 |
|
w00t
|
83497c7354
|
Allow opers to view modelists regardless of <security:hidemodelists>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9995 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 21:41:29 +00:00 |
|
w00t
|
6297389bec
|
Document m_gecosban
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9994 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 21:38:44 +00:00 |
|
w00t
|
f2360a777d
|
Remove debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9993 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 21:35:33 +00:00 |
|
w00t
|
bb7d85d51e
|
Add support for ban exceptions on non-user extbans (e.g, +be r:*lol* 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-12 21:30:44 +00:00 |
|
w00t
|
4676743fac
|
Make m_gecosban work. We can't make assumptions about how an extban banmask 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-12 21:25:11 +00:00 |
|
w00t
|
6f4b5cbc45
|
Debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9990 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 21:14:33 +00:00 |
|
w00t
|
432bfa9dfa
|
Add m_gecosban, implements extban +b r: - hostname bans.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9989 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 21:10:15 +00:00 |
|
w00t
|
8ed5d452db
|
Okay, and there's the working version of it. Extbans that don't work on users have OnCheckStringExtBan. ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9988 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 20:53:19 +00:00 |
|
w00t
|
0e4715e8e3
|
Overload IsExtBanned to provide a *string matching* version, this finally 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-12 20:38:14 +00:00 |
|
w00t
|
12ffb909a6
|
Fix for bug #569, thanks dz.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9986 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 20:24:06 +00:00 |
|
om
|
ea7694a8db
|
Change sprintf to snprintf, just in case; Update comments.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9985 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 15:42:30 +00:00 |
|
om
|
ab348e6c8b
|
Increase static buffer size to 44 to account for a full IPv6 CIDR mask: 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-12 15:33:19 +00:00 |
|
w00t
|
3573a074cf
|
Remove 'global' from gline description, add 'local' to KLine description. Thanks Namegduf. :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9983 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 14:47:50 +00:00 |
|
w00t
|
7ae8ab4a17
|
Add CIDR mask use to m_connectban, detection and banning may now happen over IP ranges instead of individual IPs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9982 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 14:37:24 +00:00 |
|
w00t
|
d19f03dc3a
|
Scary.. CIDR range clone checking for <connect> tags.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9981 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 14:11:57 +00:00 |
|
w00t
|
19916fcab2
|
Add <cidr> block, and documentation in example config.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9980 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 13:58:37 +00:00 |
|
om
|
ce53937c42
|
Cleanup of some of the new CIDR code: compiles but untested; Also: My first commit for a very long time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9979 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 12:28:25 +00:00 |
|
w00t
|
ebb32bc0ed
|
Convert SVSHOLD to use the new XLine framework
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9978 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 11:24:17 +00:00 |
|
w00t
|
7047c17eab
|
Fix m_cban /stats C, broken after the XLine conversion some months ago
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9977 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 11:03:12 +00:00 |
|
w00t
|
cb14d57cfb
|
Delete all XLines when destroying module
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9976 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 11:01:45 +00:00 |
|
w00t
|
8f0b1082d8
|
Add XLineManager::DelAll to delete all lines of a given type.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9975 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 10:53:31 +00:00 |
|
w00t
|
3798e67d95
|
Don't add a 10 second penalty to all connecting users (this was accidental)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9974 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 10:44:14 +00:00 |
|
w00t
|
84ae7f133e
|
Add .example suffix to name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9973 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 10:41:40 +00:00 |
|
w00t
|
c38c75dbc0
|
Copy new conf location and seperate modules.conf on install
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9972 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 10:40:59 +00:00 |
|
w00t
|
e078fae142
|
Add <gecos> field to <server> in XML stats output, also add to ProtoServer. 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-12 10:39:03 +00:00 |
|
w00t
|
c0cf560ec2
|
Split example conf into example conf and modules conf, include modules conf 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-12 10:24:19 +00:00 |
|
w00t
|
5ba37c89f6
|
Move example conf to conf/ directory, it makes more sense given all the others are here.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9969 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 10:19:56 +00:00 |
|
w00t
|
fdf211be00
|
Implement suggestion from Stealth in bug #572: expand <channeltopic> tag 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-12 10:16:58 +00:00 |
|
w00t
|
0de0e25586
|
Don't broadcast CHANCREATE snotice if channel is +P, fixes second half of 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-12 10:12:51 +00:00 |
|
w00t
|
288f9406b5
|
Delete channel on -P if usercount is 0, fixes part of #565
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9966 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 10:11:13 +00:00 |
|
w00t
|
8096138d9a
|
Fix for bug #541: /taxonomy reporting metadata for incorrect user. Can someone please test?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9964 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 09:59:39 +00:00 |
|
w00t
|
96d2e6ff72
|
Fix a memory leak in m_mysql, found and patched by Dart in bug #570 - thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9962 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 09:51:38 +00:00 |
|
w00t
|
c5d8d3e3c6
|
Fix for #564
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9961 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-12 09:43:58 +00:00 |
|
w00t
|
0a45c56f10
|
Remove individual read buffers inside of BufferedSocket, use the shared 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-12 09:13:06 +00:00 |
|
w00t
|
c92f8ebd92
|
Add User::GetCIDRMask(int range), will be used for CIDR throttling, etc. 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-12 08:57:44 +00:00 |
|
w00t
|
328b3ef856
|
Extended ban exceptions (untested, probably will explode as I'm tired..)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9958 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-11 21:34:45 +00:00 |
|
w00t
|
bd2782b9e8
|
Add OnCheckExtBan, will be used for exceptions to extbans
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9957 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-11 21:26:27 +00:00 |
|
w00t
|
0b070b52bc
|
Convert API to use std::string, fixes my slight bug from earlier and looks tidier
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9956 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-07-11 21:15:02 +00:00 |
|
w00t
|
f8d9c51317
|
Pull in limits.h to fix PATH_MAX problems, thanks to Uli Slachter (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-11 15:37:31 +00:00 |
|
w00t
|
4e599dd4fb
|
Fix m_nopartmsg to work via API modification, involves a string copy that 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-11 14:44:17 +00:00 |
|