3055 Commits

Author SHA1 Message Date
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
brain
075e89d6be Fix for mode string getting cut, breaks on some +L
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3994 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-08 22:00:12 +00:00
brain
38a8f5cbe2 Fix for segfault if a user quits before their ident is complete, due to session limit reached
Do this by checking their pointer in the fd_ref_table against the pointer we got when we started
the lookup, so we can know if its been invalidated or not (just in case the OnClose occurs
before we NULL the user)


git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3993 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-07 15:47:58 +00:00
brain
a66ec8e863 Collision safety just in case the clocks are out
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3990 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-05 20:15:24 +00:00
brain
43a045f451 Fix for an/a and vowel detection in "is an ircop" numeric, noticed by Smartys
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3989 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-04 13:36:16 +00:00
brain
f158d2dc43 Fix for bug found by douglas - when replace= is undefined value (probably due to config error) a crash can occur, and this crash can (and will) propogate to other ircds on the network
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3987 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-03 00:52:03 +00:00
brain
be9928f7e5 Fixed logic for OnWhois "is using SSL" numeric. Was broken: required the user to have the 'ssl' extensible AND be in the listen ports, so it didnt work on remote users which didnt have the listen port.
Now properly checks to display by using: if(dest->GetExt("ssl") || (IS_LOCAL(dest) &&  isin(dest->port, listenports)))   


git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3985 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-01 16:19:14 +00:00
brain
2201d1336e Stuff from trunk found its way here
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3983 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-31 15:01:14 +00:00
brain
ae9b6eb731 Newline in the deps, gentoo seems happy with this so does freebsd, others dont?
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3982 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-31 14:29:56 +00:00
brain
fd136de1c8 Fix for -j on multiprocessor systems (and probably distcc)
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3981 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-31 09:00:25 +00:00
brain
32e7531d67 Prevent crash when displaying error for server already existing (this only happens for lauren anyway)
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3979 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-31 08:24:24 +00:00
brain
6f6cf3fee9 Apply mirq's optimization patches
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3978 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-30 20:43:30 +00:00
brain
fd6b647413 Back to 1.0.5+SVN again
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3976 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-28 20:59:22 +00:00
brain
71b0de15d3 Forgot to svn copy for 1.0.4 tag
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3974 e03df62e-2008-0410-955e-edbf42e46eb7
v1.0.4
2006-05-28 20:57:46 +00:00
brain
f6466265e6 Move SVN -> 1.0.5+SVN
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3973 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-28 18:15:47 +00:00
brain
2cea20a46b Move to 1.0.4 release
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3972 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-28 15:53:38 +00:00