3070 Commits

Author SHA1 Message Date
brain
4a3c94024b Fix syntax example
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4139 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-07 19:20:56 +00:00
brain
69371e6e38 Tag v1.0.5
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4117 e03df62e-2008-0410-955e-edbf42e46eb7
v1.0.5
2006-07-04 14:29:23 +00:00
brain
93ba2d391c Add pippijn under code contributors for m_connflood
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4116 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-04 10:38:57 +00:00
brain
97b0920048 Added docs for connflood
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4113 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03 20:39:02 +00:00
brain
99ca7d36c1 Someone made silence require 1 parameter, so no way to list the silence entries :p
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4110 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03 16:02:21 +00:00
brain
100db2a34f Add m_connflood, pippijn's connect throttle module (now we are offering another paid unreal feature for nothing :p)
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4108 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03 15:33:18 +00:00
om
154defd7f0 ...
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4105 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03 12:41:51 +00:00
om
f917ce4608 Typo fix
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4101 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-03 12:28:18 +00:00
brain
b019813cbd Enhance m_antibear with numerics 931 and 437
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4099 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-02 14:51:30 +00:00
w00t
3168bb4cd1 Add an fflush() call after logging, hopefully fixes the issue with delayed logging on low activity. Reported by Rob from Anope.
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4092 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-01 10:22:43 +00:00
brain
3a730fa0c9 Tweak to IS_LOCAL macro to exclude invalid fd's that are > MAX_DESCRIPTORS
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4090 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-30 18:19:34 +00:00
brain
9388588f05 *** Interesting fix ***
When a remote kill occurs, the user record for the remotely killed user may still hang around in the servers user list which is used when removing users during a netsplit.
I managed to duplicate the old 'crash on netsplit' bug by sending a remote kill to a server, and then squitting that server without receipt of the corresponding QUIT.
The fix now removes the user record explicitly upon remote kill (this also includes collisions)


git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4089 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-30 17:54:58 +00:00
special
cb88326687 Made CullList::Apply return something other than 0, and added myself to the list of developers on startup
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4086 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29 15:32:05 +00:00
brain
53bd1da118 Allow hosts in <bind> and <link> -- see FIXME for minor issue to be fixed in 1.1 (probably not major enough to fix in 1.0?)
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4077 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-28 11:02:14 +00:00
brain
03522584b4 Allow binding by hostname again in <link> and <bind>
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4075 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-28 10:54:24 +00:00
brain
495af6d4b7 Remove references to hostnames in <link> tag, use ip's instead
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4073 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-27 23:15:45 +00:00
brain
cbc40cf19c Add m_services_account
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4071 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-27 23:12:19 +00:00
brain
caaa2a9c88 'inspircd' target missing from OSX makefile
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4070 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-27 22:55:19 +00:00
brain
9cff9e30ca Commenting
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4068 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-27 20:58:40 +00:00
brain
1a574d0355 We can re-enable special's security fix now - note this is good for boxes with one or more static ip's and still doesnt resolve the issue for smelly dynamic-ip users (well boo hoo :p)
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4067 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-27 17:57:13 +00:00
brain
7dbd72891c Added BindAddr() smart binding, ensures that outbound ports always bind to the first server ip given rather than INADDR_ANY unless of course none are available or the only ip is localhost...
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4065 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-27 17:52:46 +00:00
brain
49028ccff0 Temporarily revert special's security improvement until we have bind= and mask=
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4062 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-27 17:09:02 +00:00
brain
eaa89f6e70 New patch from buildsmart for osx
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4061 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-26 21:06:09 +00:00
brain
5d5b21c720 Extra safety for user lists to not keep bad pointers hanging about
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4060 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-25 00:16:32 +00:00
brain
3bdd25e560 Dont allow /REMOVE of a uline, dont allow /REMOVE of a user who isnt on the channel (*slaps* Om)
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4058 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-24 18:00:35 +00:00
brain
a6df42573f Pointer safety for Write* functions (check the local user exists in the fd_ref_table as a safety measure before attempting to use their user pointer)
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4055 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-24 14:38:05 +00:00
special
406c2995a4 Speed, craq, and double space fix for samode's notice
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4053 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-23 14:43:21 +00:00
w00t
a2b16e6433 m_services_account: Allows ircu-alike account support for services use. It owns you.
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4049 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-23 08:38:48 +00:00
brain
ac5206ed64 Added support for OSX back, based upon particularly weighty patch from BuildSmart
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4048 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-22 17:12:28 +00:00
special
389e157ad7 I'm famous again\!
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4047 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-22 13:41:41 +00:00
special
d98abf9e8a Fix for potential oper flood - connections on server ports from IPs that don't match any link blocks are immediately dropped
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4044 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-22 13:31:46 +00:00
special
04f4da1460 Backport of ./inspircd restart fix
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4043 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-22 10:27:59 +00:00
brain
ec448c2898 Don't allow non-ulines to kick ulines from channels - return numeric 482 if this is attempted (you are not a chanop) with different text
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4037 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-20 09:11:03 +00:00
w00t
78a932d01d Un-break expiry, which my last commit did.
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4034 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-19 02:49:36 +00:00
w00t
d36607b139 Fix permanent CBANs
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4033 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-19 02:28:01 +00:00
brain
e4ed42df1b Fix to send KILL message through to a user when theyre remote killed
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4026 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-17 13:36:54 +00:00
brain
5d24398e35 A commit never went through here because...there were other changes? :/
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4024 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-17 13:09:50 +00:00
w00t
1d27423b18 Hopefully we now have hostmask matching on both vhost and host.
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4022 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-17 11:19:50 +00:00
w00t
0b612d1198 Fix for IP-based check
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4021 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-17 11:07:03 +00:00
om
00ae5a3d5d undo w00t's screwage
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4020 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-17 10:28:01 +00:00
w00t
bf3c73e9c4 m_check now does IP addresses, hosts are next.
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4019 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-17 10:24:50 +00:00
w00t
06fa6bc5e9 Sync m_check with trunk
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4017 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-16 12:50:19 +00:00
brain
ea097271f6 Added FindMatchingLocal and FindMatchingGlobal exports
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4016 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-16 12:39:32 +00:00
brain
a5c5a42d61 Now uses stdint
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4011 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15 17:54:33 +00:00
brain
a6a3cb49c5 Updated to use mysql_config
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4010 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15 13:34:33 +00:00
brain
43aad8cfbd Helper script for mysql rpath
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4009 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15 13:34:00 +00:00
brain
d222ba4c31 Nicer SQLQuery::Sanitise
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4005 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15 13:03:51 +00:00
brain
ae24a95c2a Look at this further later - 64 bit fixes
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4003 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-15 08:41:01 +00:00
brain
b5305c2f66 Backport a trunk fix which prevents the 'oper overrode your limit' when theres no limit set or when +l isnt reached yet (bug#120)
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3999 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-13 14:05:51 +00:00
brain
927cdae529 If the <ALLOW> or <DENY> tag specifies an ip, and this user resolves,
then their ip will be taken as 'priority' anyway, so for example,
<connect allow="127.0.0.1"> will match joe!bloggs@localhost


git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3998 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-12 15:58:11 +00:00