9005 Commits

Author SHA1 Message Date
aquanight
0615c83bb2 Make valdebug-unattended create the logging directory if necessary, and use sysopen with mode to open the logfiles rather than umasking.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10846 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-05 21:01:31 +00:00
psychon
cde4352b02 Minor style cleanup to inspircd: Remove trailing spaces and use tabs for indent
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10845 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-05 14:33:07 +00:00
brain
1a111a2ee7 install .gdbargs to $(BASE) in make install
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10843 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-04 11:36:32 +00:00
w00t
7cf886f8f8 Remove flood/threshold from example config.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10840 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01 20:14:52 +00:00
w00t
a23a840749 Rip flood/threshold out of config classes also.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10839 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01 20:14:50 +00:00
w00t
be2a677ddd Remove lines_in and reset_due flood protection mechanism, recvq/sendq on their own now fill this role, as we have proper penalties.
This tidies up *a lot* of code, and also saves a further sizeof(time_t) + sizeof(unsigned int) per user.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10838 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01 20:14:49 +00:00
w00t
9994478a85 Remove m_operflood, add privs: users/flood/no-throttle & users/flood/increased-buffers.
This also saves another sizeof(bool) per user.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10837 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01 18:10:24 +00:00
w00t
fc7eba500a Remove OverPenalty, saves sizeof(bool) per user.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10836 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01 18:10:22 +00:00
w00t
f58879f359 Remove unused variable (thanks to everyone who noticed it)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10835 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-30 21:36:06 +00:00
w00t
4387918fd7 Don't append server name to kill reasons.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10833 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-27 23:23:21 +00:00
w00t
fb07f6293e Forward-port: Created commit fcadb0b: Change rm to force removal for configureclean target, obsoletes debian patch.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10829 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-27 14:17:41 +00:00
w00t
adf2b2c999 Add OperPrefixMode::GetPrefixRank(), so +y is ranked above all other prefix modes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10825 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24 14:24:41 +00:00
w00t
ae98f6f0e0 Add missing docs, thanks KT.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10824 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24 14:24:40 +00:00
w00t
169acfe584 Off-by-one without a rehash event, causes cores on load
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10823 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24 14:24:39 +00:00
w00t
8547cb30c1 Add m_operprefix, more simplified version of module written by Phoenix (thanks!). Adds cmode +y, set on-join which grants opers an optional prefix status on the channel.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10822 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24 14:12:24 +00:00
w00t
06396fb2b5 Don't check permission to +Q for remote users, probably fixes bug #619 reported by yell0w.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10821 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24 08:58:13 +00:00
w00t
f5f20e3773 Fix crashes in m_joinflood and m_nickflood, found by Schitz0, introduced by commit f123b4f0081360e96dad620e5a143f983c1f3a04 (time()) conversion - the settings classes had pointers that were *never* initialised...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10819 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24 08:29:05 +00:00
brain
ad9cb625d9 Braunvieh!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10817 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0b3
2008-11-23 20:45:57 +00:00
brain
e56fad4840 Update solutions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10816 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-23 20:42:59 +00:00
brain
30ce3ec004 Fix installer to work with the new name for the test confs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10815 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-23 20:42:10 +00:00
brain
ad9ef2fe6c start upload in a seperate dos window
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10814 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22 23:48:44 +00:00
brain
0c024eeffd I have managed to do this without giving away any hostnames or usernames, so this is secure enough to be part of subversion. still wont release unless you have the correctly named winscp and putty profiles set to the right places, though
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10813 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22 23:46:04 +00:00
brain
11d0ad57d5 Add auto build step for site release. The actual batch file that does this wont be included in the build as it contains information relating to the webservers, users who want to do their own site release can roll their own batchfile.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10812 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22 22:09:11 +00:00
brain
9bddcf91ac Thread safety fixes to avoid crashes on rehash, dont reopen logs within the rehash thread. Put this in the safe part of the rehash operation, after the thread exits. Put a mutex around the part where the thread exits, just in case somehow there are two rehash threads exiting at the same time due to user
muppetry.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10811 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22 16:54:32 +00:00
brain
f7844096dc Fix for potential crash with invalid prefixes (prefixes which are neither valid SID nor UID, but are a valid nickname, outdated protocol)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10810 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-20 19:43:38 +00:00
w00t
125a7442f7 Fix recursion in QuitUser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10809 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-17 19:45:38 +00:00
w00t
4abc2ff167 Don't burst expired X:, should help stop bounce wars..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10808 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-16 15:50:42 +00:00
w00t
4377cbc7da Add alias for ALIS, closes bug #632.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10805 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-10 13:08:43 +00:00
w00t
e1a734f1ba Add Phoenix to regular contributors list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10804 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-10 11:59:43 +00:00
w00t
a4b45b6dc4 Some doc updates.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10803 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-10 11:58:08 +00:00
dz
e37d0c4fe1 Add a few modules to the example conf that were missing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10801 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-09 21:37:32 +00:00
dz
2db8d29ba1 Tweak the example conf a bit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10800 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-08 17:45:17 +00:00
brain
450b638526 Module class was still called QuitBan, rename to ConnectBan for sanity
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10799 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-08 17:21:46 +00:00
brain
bcc2276fd7 Fix a log source
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10798 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-08 17:21:06 +00:00
brain
ff68bc95c3 Fix malformed UID errors so that w00t can troubleshoot! :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10796 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-04 12:31:43 +00:00
peavey
72004ee571 Fix typo. Thanks Sm0ke0ut.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10795 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-04 09:41:14 +00:00
w00t
54f3d3f31e Remove +s when no snomasks are set.. bug found (indirectly) by jackmcbarn.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10793 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-02 19:46:09 +00:00
w00t
0d2b6637ca This was never supposed to be invoked on /rehash, only startup.. so move it to startup only. Also remove (redundant) user arg.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10792 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-02 14:29:40 +00:00
w00t
7901c49c54 Fix incorrect watch usage, patch from dz (thanks).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10791 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-02 04:28:23 +00:00
w00t
de184f9d62 Forward-port: Fix an uninitialised variable in ConfigReader::GetError()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10790 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-02 04:22:11 +00:00
w00t
0f33be2964 Leak fix on /rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10787 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-02 04:18:42 +00:00
w00t
0df7645dbb Fire every debug.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10786 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-02 04:18:41 +00:00
w00t
b15038c4c3 Obsolete m_restrictbanned, add <security:restrictbannedusers>, default on.. this is insane to leave off, really, but allow it anyway.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10785 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01 23:58:33 +00:00
w00t
3c93d5d1c4 Correct this error message to confuse people less.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10784 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01 23:15:23 +00:00
w00t
78f26492a6 Second attempt at time() -> SI->Time(), now problems with the original were fixed. (SI::TIME was not initialised).
Thanks Namegduf!
(Please test, all, valdebug etc, report odd behaviour/warnings!)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10783 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01 23:02:23 +00:00
w00t
b438e659fe Fix opercert to behave correctly, patch from and tested by dz -- thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10782 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01 20:22:48 +00:00
w00t
11e2a5c8a1 Remove now-unneeded 4in6 hacks [danieldg]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10781 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01 20:20:12 +00:00
w00t
622a6b263a Add comments on Daniel's work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10780 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01 20:20:12 +00:00
w00t
ab65273f9f Simulate AF_INET addresses for 4in6 connections [danieldg]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10779 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01 20:20:11 +00:00
w00t
73de881eaf Merge commit 'ddg/out-12'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10778 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01 17:32:19 +00:00