]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoForgot something important!
brain [Fri, 4 May 2007 15:37:32 +0000 (15:37 +0000)]
Forgot something important!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6873 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCheck visibility states
brain [Fri, 4 May 2007 15:02:17 +0000 (15:02 +0000)]
Check visibility states

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6872 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agofoolish human! you can't /mode query a user that isnt there!
brain [Fri, 4 May 2007 14:53:56 +0000 (14:53 +0000)]
foolish human! you can't /mode query a user that isnt there!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6871 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix /who to hide users marked invisibile in some way by a module
brain [Fri, 4 May 2007 14:52:31 +0000 (14:52 +0000)]
Fix /who to hide users marked invisibile in some way by a module

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6870 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoApply visibility state to whois, next stop, /who
brain [Fri, 4 May 2007 14:50:34 +0000 (14:50 +0000)]
Apply visibility state to whois, next stop, /who

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6869 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBrain really must remember svn add.
brain [Fri, 4 May 2007 14:36:29 +0000 (14:36 +0000)]
Brain really must remember svn add.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6868 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhere others charge, we give for free. Have fun and use wisely. With great power...
brain [Fri, 4 May 2007 14:30:08 +0000 (14:30 +0000)]
Where others charge, we give for free. Have fun and use wisely. With great power comes great responsbility.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6867 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd auditorium to example conf
brain [Fri, 4 May 2007 12:40:03 +0000 (12:40 +0000)]
Add auditorium to example conf

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6866 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago...And learn to spell right
brain [Fri, 4 May 2007 12:33:24 +0000 (12:33 +0000)]
...And learn to spell right

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6865 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDo the same for KICK, but in the case of KICK, send to the user doing the kick AND...
brain [Fri, 4 May 2007 12:33:04 +0000 (12:33 +0000)]
Do the same for KICK, but in the case of KICK, send to the user doing the kick AND the user being kicked only

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6864 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhen we silence the event, not even the user whos leaving/joining gets the output...
brain [Fri, 4 May 2007 12:31:53 +0000 (12:31 +0000)]
When we silence the event, not even the user whos leaving/joining gets the output, make sure we send it to them in the module

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6863 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agosvn add helps, too. :<
brain [Fri, 4 May 2007 12:25:42 +0000 (12:25 +0000)]
svn add helps, too. :<

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6862 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFirst compilable commit of m_auditorium. Not yet tested IN ANY WAY.
brain [Fri, 4 May 2007 12:25:26 +0000 (12:25 +0000)]
First compilable commit of m_auditorium. Not yet tested IN ANY WAY.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6861 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix broken modules (broken due to api change)
brain [Thu, 3 May 2007 22:05:56 +0000 (22:05 +0000)]
Fix broken modules (broken due to api change)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6860 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for new api
brain [Thu, 3 May 2007 22:00:09 +0000 (22:00 +0000)]
Fix for new api

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6859 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDO NOT USE THIS COMMIT - if you do, most of the modules wont work.
brain [Thu, 3 May 2007 21:57:58 +0000 (21:57 +0000)]
DO NOT USE THIS COMMIT - if you do, most of the modules wont work.
DEVS: Please fix all modules that have warnings to use the new parameters to OnUserJoin, OnUserPart and OnUserKick (bool &silent)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6858 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoImplement feature request in bug #271 by HiroP, allow disabling of maxlocal and maxgl...
brain [Tue, 1 May 2007 20:25:45 +0000 (20:25 +0000)]
Implement feature request in bug #271 by HiroP, allow disabling of maxlocal and maxglobal by leaving out each value from the tag

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6857 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMuch more detailed logging of lowlevel socket errors to the +l snomask
brain [Tue, 1 May 2007 20:18:10 +0000 (20:18 +0000)]
Much more detailed logging of lowlevel socket errors to the +l snomask

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6856 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix crashbug in latest svn introduced by inspsocket cull list, which can cause a...
brain [Tue, 1 May 2007 19:41:27 +0000 (19:41 +0000)]
Fix crashbug in latest svn introduced by inspsocket cull list, which can cause a crash if the connection times out and an error occurs on the socket before its deleted

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6855 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange a return NULL to a continue so that where host matches but port doesnt, skip...
brain [Tue, 1 May 2007 16:14:31 +0000 (16:14 +0000)]
Change a return NULL to a continue so that where host matches but port doesnt, skip the connect tag

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6854 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove new listmode check deeper into the mode parser so that it doesnt generate spurio...
brain [Tue, 1 May 2007 16:04:26 +0000 (16:04 +0000)]
Move new listmode check deeper into the mode parser so that it doesnt generate spurious craq (thanks HiroP_)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6853 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix one issue, add another feature: When sending MODE +beI, weed out duplicates with...
brain [Mon, 30 Apr 2007 16:50:08 +0000 (16:50 +0000)]
Fix one issue, add another feature: When sending MODE +beI, weed out duplicates with simple O(1) check so that users dont send MODE #chan +bbbbbbbbbbbb.
Allow configuration of which listmodes you want to deny to below halfops. For example <options hidemodes="eI">. This is because blocking +b can break mirc, blocking +eI usually wont break it so
severely.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6852 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agosquash a compile warning found by giggsey.
peavey [Sat, 28 Apr 2007 12:11:28 +0000 (12:11 +0000)]
squash a compile warning found by giggsey.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6851 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoupdate svn:ignore for modules to include latest in extras.
peavey [Fri, 27 Apr 2007 22:21:16 +0000 (22:21 +0000)]
update svn:ignore for modules to include latest in extras.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6850 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd support for hiding listmode lists such as +beI from unprivileged users.
brain [Fri, 27 Apr 2007 17:55:08 +0000 (17:55 +0000)]
Add support for hiding listmode lists such as +beI from unprivileged users.
See bug #258

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6849 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd and document m_clones as requested by bug #267
brain [Fri, 27 Apr 2007 17:39:11 +0000 (17:39 +0000)]
Add and document m_clones as requested by bug #267

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6848 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agom_dnsbl stats should count no result as a miss
special [Fri, 27 Apr 2007 00:07:56 +0000 (00:07 +0000)]
m_dnsbl stats should count no result as a miss

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6847 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFixed bug #266 (m_dnsbl stats), patch by satmd
special [Thu, 26 Apr 2007 23:46:17 +0000 (23:46 +0000)]
Fixed bug #266 (m_dnsbl stats), patch by satmd

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6846 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhen running in nofork, keep the tty open (we were closing it, which meant that while...
brain [Thu, 26 Apr 2007 19:21:24 +0000 (19:21 +0000)]
When running in nofork, keep the tty open (we were closing it, which meant that while we were in -nofork we would see no logs!)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6845 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake error reporting work properly, it seemed to loose errors.
brain [Thu, 26 Apr 2007 16:51:41 +0000 (16:51 +0000)]
Make error reporting work properly, it seemed to loose errors.
First change: Add a culling list of inspsockets waiting to be closed, so the close() is less likely to be called before the buffer is entirely empty. This seems to work well on my LAN.
Second change: Add a SendError() method, rather than WriteLine("ERROR : ..."). This can be used to effect by also echoing out "Sent ERROR to %s: ..." onto the +l snomask meaning at least one end
will always see the error even if the ERROR command is lost due to latency or design of the transport (e.g. ssl which may be writing during a read event etc)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6844 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoLet's pretend the number after 6838 is 6840, so this commit never happened
special [Wed, 25 Apr 2007 20:35:47 +0000 (20:35 +0000)]
Let's pretend the number after 6838 is 6840, so this commit never happened

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6839 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdded m_chancreate to the example config
special [Wed, 25 Apr 2007 19:45:53 +0000 (19:45 +0000)]
Added m_chancreate to the example config

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6838 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdded m_chancreate, which adds snomask +j to show when new channels are created
special [Wed, 25 Apr 2007 19:28:41 +0000 (19:28 +0000)]
Added m_chancreate, which adds snomask +j to show when new channels are created

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6837 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoPlease try this, satmd
brain [Wed, 25 Apr 2007 00:38:08 +0000 (00:38 +0000)]
Please try this, satmd

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6835 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUse segments of 8 in length not ten, reducing the length of a cloaked ipv6 host by...
brain [Wed, 25 Apr 2007 00:36:23 +0000 (00:36 +0000)]
Use segments of 8 in length not ten, reducing the length of a cloaked ipv6 host by 12 chars (2*6)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6834 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agodhost and host are both char[65], so let stringcopy take up to 64 chars here.
peavey [Wed, 25 Apr 2007 00:01:10 +0000 (00:01 +0000)]
dhost and host are both char[65], so let stringcopy take up to 64 chars here.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6833 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoShorten the length of ipv6 cloaks so that a character isnt lost (6 segments plus...
brain [Tue, 24 Apr 2007 23:42:08 +0000 (23:42 +0000)]
Shorten the length of ipv6 cloaks so that a character isnt lost (6 segments plus :'s means > 63), its now 5 segments plus 5 colons equalling 55.
QA Please test if possible. (connect unresolving ipv6's to a network and check they display ok on join and quit and not like this:)
seeboo ( seeboo@128D1B1808:B184FB403B:282A02A3AB:6949B425CE:D744031274:2587FA5 ) has quit IRC ( Client exited )
seeboo ( seeboo@128D1B1808:B184FB403B:282A02A3AB:6949B425CE:D744031274:2587FA5C ) has joined

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6832 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoversion 1.1.6+DevilsDance
peavey [Tue, 24 Apr 2007 17:54:45 +0000 (17:54 +0000)]
version 1.1.6+DevilsDance

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6831 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoupdate some comments.
peavey [Sun, 22 Apr 2007 23:17:08 +0000 (23:17 +0000)]
update some comments.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6830 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix crash if trying to remove pattern that does not exist.
peavey [Sun, 22 Apr 2007 22:38:18 +0000 (22:38 +0000)]
Fix crash if trying to remove pattern that does not exist.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6829 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThe devil's dancing :p
brain [Sun, 22 Apr 2007 19:11:00 +0000 (19:11 +0000)]
The devil's dancing :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6827 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix typo
brain [Sun, 22 Apr 2007 18:51:52 +0000 (18:51 +0000)]
Fix typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6826 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agocleanup space indenting
peavey [Sun, 22 Apr 2007 11:01:29 +0000 (11:01 +0000)]
cleanup space indenting

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6825 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSend numeric when item doesnt exist on remove
brain [Sun, 22 Apr 2007 10:38:36 +0000 (10:38 +0000)]
Send numeric when item doesnt exist on remove

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6824 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix memory consumption of m_slence, users silence lists arent deleted till they quit...
brain [Sun, 22 Apr 2007 10:18:54 +0000 (10:18 +0000)]
Fix memory consumption of m_slence, users silence lists arent deleted till they quit, they should be deleted when they empty their list to save ram

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6823 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoEnsure it cant happen the other way around, either
brain [Sat, 21 Apr 2007 19:25:04 +0000 (19:25 +0000)]
Ensure it cant happen the other way around, either

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6822 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix spurious 'found host' messages after being told it couldnt.
brain [Sat, 21 Apr 2007 19:21:26 +0000 (19:21 +0000)]
Fix spurious 'found host' messages after being told it couldnt.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6821 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd *** to +s SNOTICEs
peavey [Sat, 21 Apr 2007 18:11:41 +0000 (18:11 +0000)]
Add *** to +s SNOTICEs

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6820 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd *** to +s SNOTICEs
brain [Sat, 21 Apr 2007 18:10:47 +0000 (18:10 +0000)]
Add *** to +s SNOTICEs

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6819 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for "hanging" when controlling terminal is not a tty (nofork check and isatty...
brain [Fri, 20 Apr 2007 16:37:37 +0000 (16:37 +0000)]
Fix for "hanging" when controlling terminal is not a tty (nofork check and isatty checks lumped together by mistake)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6818 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix bug #259 proper by doing what I should have done back in r6618 when I first fixed...
peavey [Fri, 20 Apr 2007 00:28:28 +0000 (00:28 +0000)]
Fix bug #259 proper by doing what I should have done back in r6618 when I first fixed logout issue.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6817 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRevert this back to previous.
peavey [Fri, 20 Apr 2007 00:27:21 +0000 (00:27 +0000)]
Revert this back to previous.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6816 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDo not add empty strings to outgoing lines. *needs testing, may break stuff*
peavey [Thu, 19 Apr 2007 23:48:12 +0000 (23:48 +0000)]
Do not add empty strings to outgoing lines. *needs testing, may break stuff*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6815 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCheck some userrec values in remote whois, so that it wont crash if a user has quit...
brain [Thu, 19 Apr 2007 20:06:01 +0000 (20:06 +0000)]
Check some userrec values in remote whois, so that it wont crash if a user has quit before the IDLE command arrives.
Fixes bug #260

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6814 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for bug #261 - Needs QA'ing.
brain [Thu, 19 Apr 2007 18:51:28 +0000 (18:51 +0000)]
Fix for bug #261 - Needs QA'ing.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6813 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd another trim() to outgoing metadata accountname. *needs test*
peavey [Wed, 18 Apr 2007 21:28:40 +0000 (21:28 +0000)]
Add another trim() to outgoing metadata accountname. *needs test*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6812 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agooops, overlooked a reference.
peavey [Wed, 18 Apr 2007 21:09:14 +0000 (21:09 +0000)]
oops, overlooked a reference.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6811 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd fix for bug #259 now that Brain is RAM impaired :p *QA please test*
peavey [Wed, 18 Apr 2007 20:59:21 +0000 (20:59 +0000)]
Add fix for bug #259 now that Brain is RAM impaired :p *QA please test*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6810 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd trim() to hashcomp to trail leading and traling spaces from std::strings
peavey [Wed, 18 Apr 2007 20:57:25 +0000 (20:57 +0000)]
Add trim() to hashcomp to trail leading and traling spaces from std::strings

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6809 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWe dont ever maintain this, lets whack it
brain [Mon, 16 Apr 2007 20:25:01 +0000 (20:25 +0000)]
We dont ever maintain this, lets whack it

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6808 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument options:deprotectothers
brain [Mon, 16 Apr 2007 20:20:59 +0000 (20:20 +0000)]
Document options:deprotectothers

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6807 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdded options:deprotectothers, this is like options:deprotectself, but if set allows...
brain [Mon, 16 Apr 2007 20:18:08 +0000 (20:18 +0000)]
Added options:deprotectothers, this is like options:deprotectself, but if set allows one user with +a to remove another users +a, and a user with +q to remove another users +q.
Default behaviour is to turn this option off like previous versions of insp defaulted to. Thanks to Bricker for the idea and w00t not getting pissy at me :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6806 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNow this looks like it was supposed to.
brain [Mon, 16 Apr 2007 16:33:01 +0000 (16:33 +0000)]
Now this looks like it was supposed to.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6805 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix the restart stuff that bricker noticed while testing an feature request
brain [Mon, 16 Apr 2007 16:11:00 +0000 (16:11 +0000)]
Fix the restart stuff that bricker noticed while testing an feature request

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6804 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument <connect:port>
peavey [Mon, 16 Apr 2007 03:10:31 +0000 (03:10 +0000)]
Document <connect:port>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6803 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for bug that took ages to track down and was very subtle.
brain [Sun, 15 Apr 2007 22:18:01 +0000 (22:18 +0000)]
Fix for bug that took ages to track down and was very subtle.
During authentication the flow of commands is as follows:
> SERVER aaaaaa
< SERVER bbbbbb
> BURST
< BURST
... what can happen is that between the two server commands we can introduce SERVER aaaa to server bbbbb again, from a different socket. As server aaaaa doesnt exist yet and we're waiting for it to say
yes or no to our own SERVER command over at bbbbbb, it cant be found with FindServer.
Therefore we need a second list of servers that arent yet authenticated, but are waiting TO authenticate, by the pointer their socket has and the name they want to become after auth.
If two servers introduce themselves at the same time, triggering what was the race condition, both servers are disconnected with "ERROR :Negotiation collision" and must try again until only one succeeds.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6802 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhoooooooooooooooooooops. Forgot to initialize a varaible, so wether insp starts...
brain [Sun, 15 Apr 2007 21:05:50 +0000 (21:05 +0000)]
Whoooooooooooooooooooops. Forgot to initialize a varaible, so wether insp starts up or not is random :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6801 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd --version parameter to the binary bin/inspircd, i remember someone requesting...
brain [Sun, 15 Apr 2007 12:15:39 +0000 (12:15 +0000)]
Add --version parameter to the binary bin/inspircd, i remember someone requesting this

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6800 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd tweaks to support feature request in bug #256, now awaiting QA test
brain [Sun, 15 Apr 2007 11:47:54 +0000 (11:47 +0000)]
Add tweaks to support feature request in bug #256, now awaiting QA test

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6799 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFeature request outlined in bug #257, allow connect/allow lines by port
brain [Sun, 15 Apr 2007 11:42:42 +0000 (11:42 +0000)]
Feature request outlined in bug #257, allow connect/allow lines by port
Needs QA test

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6798 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoView the diffs for a giggle.
brain [Sun, 15 Apr 2007 00:55:11 +0000 (00:55 +0000)]
View the diffs for a giggle.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6797 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoReport the correct MAXMODES value
brain [Sun, 15 Apr 2007 00:27:44 +0000 (00:27 +0000)]
Report the correct MAXMODES value

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6796 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDon't send SYNTAX to clients which havent registered fully yet. Nothing says we cant...
brain [Sat, 14 Apr 2007 23:39:41 +0000 (23:39 +0000)]
Don't send SYNTAX to clients which havent registered fully yet. Nothing says we cant but its a bit 'odd' and may break something

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6795 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWorking in m_filter_pcre.
brain [Sat, 14 Apr 2007 12:05:27 +0000 (12:05 +0000)]
Working in m_filter_pcre.
Thanks DarkPrince (PingBad) for the idea we messed with - when a match is successful move that match to the head of the list (O(1) operation)
The original suggestion was to sort, this would be far too expensive

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6794 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd move-match-to-head-of-queue stuff to pcre filter
brain [Sat, 14 Apr 2007 11:54:20 +0000 (11:54 +0000)]
Add move-match-to-head-of-queue stuff to pcre filter

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6793 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWorking for m_filter, needs implementing in m_filter_pcre
brain [Sat, 14 Apr 2007 11:43:00 +0000 (11:43 +0000)]
Working for m_filter, needs implementing in m_filter_pcre

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6792 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSome tweaks suggested by pingbad, dont use yet :p
brain [Sat, 14 Apr 2007 11:33:59 +0000 (11:33 +0000)]
Some tweaks suggested by pingbad, dont use yet :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6791 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd a pair of curly braces because gcc will whine otherwise about declaration of...
brain [Sat, 14 Apr 2007 10:57:08 +0000 (10:57 +0000)]
Add a pair of curly braces because gcc will whine otherwise about declaration of a variable within a case statement

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6790 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFind out from the commit notices that we're still using ctime() here and should be...
brain [Sat, 14 Apr 2007 10:47:23 +0000 (10:47 +0000)]
Find out from the commit notices that we're still using ctime() here and should be using InspIRCd::TimeStr (ick)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6789 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDont use send_mode_explicit protocol call, use send_mode, which doesnt try and force...
brain [Thu, 12 Apr 2007 19:28:57 +0000 (19:28 +0000)]
Dont use send_mode_explicit protocol call, use send_mode, which doesnt try and force the mode through via non-FMODE

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6788 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThe hmac stuff was slightly wrong, calculating the 2nd part
brain [Mon, 9 Apr 2007 20:24:04 +0000 (20:24 +0000)]
The hmac stuff was slightly wrong, calculating the 2nd part
left a concatenation outside the bracket

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6787 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoD'oh, this is what causes it to randomly not allow the HMAC, when theres an = in...
brain [Mon, 9 Apr 2007 18:43:11 +0000 (18:43 +0000)]
D'oh, this is what causes it to randomly not allow the HMAC, when theres an = in the string, it borks!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6786 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd spell it right.
brain [Mon, 9 Apr 2007 18:38:23 +0000 (18:38 +0000)]
And spell it right.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6785 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMinor change, easy to roll back if it fucks up
brain [Mon, 9 Apr 2007 18:37:55 +0000 (18:37 +0000)]
Minor change, easy to roll back if it fucks up

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6784 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhoopsie
brain [Mon, 9 Apr 2007 18:15:43 +0000 (18:15 +0000)]
Whoopsie

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6783 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWait longer before sending data on the connect than on the accept
brain [Mon, 9 Apr 2007 18:12:13 +0000 (18:12 +0000)]
Wait longer before sending data on the connect than on the accept

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6782 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRevert
brain [Mon, 9 Apr 2007 18:06:33 +0000 (18:06 +0000)]
Revert

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6781 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTest tweak to make it sync faster
brain [Mon, 9 Apr 2007 17:59:00 +0000 (17:59 +0000)]
Test tweak to make it sync faster

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6780 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDifferent way of generating random string
brain [Mon, 9 Apr 2007 17:48:52 +0000 (17:48 +0000)]
Different way of generating random string

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6779 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoGive information in snomask +l to what type of auth was used
brain [Mon, 9 Apr 2007 17:17:17 +0000 (17:17 +0000)]
Give information in snomask +l to what type of auth was used

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6778 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoHandle non-hmac servers smarter without having to globally turn off hmac
brain [Mon, 9 Apr 2007 17:11:33 +0000 (17:11 +0000)]
Handle non-hmac servers smarter without having to globally turn off hmac

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6777 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd config <options:disablehmac> to support disabling of HMAC, and tidy up to detect...
brain [Mon, 9 Apr 2007 16:42:09 +0000 (16:42 +0000)]
Add config <options:disablehmac> to support disabling of HMAC, and tidy up to detect if the other side hasnt got it enabled and we did, or if we enabled it and dont have sha256 (that would be an oops)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6776 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove debug: This now works!
brain [Mon, 9 Apr 2007 16:21:38 +0000 (16:21 +0000)]
Remove debug: This now works!
WARNING: I have no idea how this will react to being linked to a past version without HMAC-challenge-response..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6775 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoI think we're almost there now
brain [Mon, 9 Apr 2007 16:15:13 +0000 (16:15 +0000)]
I think we're almost there now

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6774 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore fucking around
brain [Mon, 9 Apr 2007 16:04:13 +0000 (16:04 +0000)]
More fucking around

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6773 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis is likely fucked up beyond all recognition. Today is fubar day :p
brain [Mon, 9 Apr 2007 15:55:06 +0000 (15:55 +0000)]
This is likely fucked up beyond all recognition. Today is fubar day :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6772 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDebug, and we seem to be sending capab twice
brain [Mon, 9 Apr 2007 15:34:14 +0000 (15:34 +0000)]
Debug, and we seem to be sending capab twice

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6771 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCheck against the HMAC challenge now: *UNTESTED*
brain [Mon, 9 Apr 2007 15:24:43 +0000 (15:24 +0000)]
Check against the HMAC challenge now: *UNTESTED*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6770 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd basic HMAC suggested by jilles to make the auth not suck -- this is probably...
brain [Mon, 9 Apr 2007 15:18:13 +0000 (15:18 +0000)]
Add basic HMAC suggested by jilles to make the auth not suck -- this is probably buggy, and the other side doesnt auth yet. do not use.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6769 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTest code that pretends to send a hashed value if its got a challenge - don't use...
brain [Mon, 9 Apr 2007 14:46:39 +0000 (14:46 +0000)]
Test code that pretends to send a hashed value if its got a challenge - don't use this, it wont connect

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6768 e03df62e-2008-0410-955e-edbf42e46eb7