]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
brain [Mon, 9 Apr 2007 14:07:18 +0000 (14:07 +0000)]
Added ability to send and receive a challenge, dont do anything with it yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6767
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 9 Apr 2007 13:51:33 +0000 (13:51 +0000)]
Add methods needed for storing challenge string
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6766
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 8 Apr 2007 22:36:32 +0000 (22:36 +0000)]
Make the max '3 dots' and not 2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6765
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 8 Apr 2007 19:48:57 +0000 (19:48 +0000)]
Fix to reinsert sockets into the list as read event
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6764
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 8 Apr 2007 18:08:20 +0000 (18:08 +0000)]
Add support for solaris 10 IO Completion Ports, contributed by nenolod
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6763
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 8 Apr 2007 17:10:48 +0000 (17:10 +0000)]
It might be slightly slower, but memset the array as we're using it as a matrix not a simple char*. This will mean that the possibility of past data being left behind in the buffer wont happen
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6762
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 8 Apr 2007 17:04:50 +0000 (17:04 +0000)]
Should change the header too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6761
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 8 Apr 2007 17:03:45 +0000 (17:03 +0000)]
Make the lines wide enough to hold the new data
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6760
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 7 Apr 2007 21:01:01 +0000 (21:01 +0000)]
Add licensing headers to files which are missing them and make sure they are up to date in others (e.g. point at the developer page on the wiki not list names)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6759
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 7 Apr 2007 16:12:12 +0000 (16:12 +0000)]
Set the signals to 'quick exit' before the fork, not straight after, because theres a very slight chance of minor race condition if the child process sends kill() before we signal() otherwise.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6758
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 6 Apr 2007 21:19:58 +0000 (21:19 +0000)]
Gorgonzola!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6756
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 6 Apr 2007 20:44:46 +0000 (20:44 +0000)]
More information in error when a module cant be loaded
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6755
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 6 Apr 2007 20:22:06 +0000 (20:22 +0000)]
Change wording of message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6754
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 6 Apr 2007 20:21:14 +0000 (20:21 +0000)]
Fix params passed on /restart
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6753
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 6 Apr 2007 20:20:05 +0000 (20:20 +0000)]
Increase sleep delay to 20, to provide reading time for the message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6752
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 6 Apr 2007 20:18:36 +0000 (20:18 +0000)]
Missing newline
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6751
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 6 Apr 2007 20:17:59 +0000 (20:17 +0000)]
Add a facility to allow starting as root, bin/inspircd -runasroot
if you actually specify this parameter, the daemon displays a huge warning in caps, then hangs for 5 secs to give you chance to ctrl+c if you made a mistake.
If you dont ctrl+c it, it then starts normally.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6750
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 6 Apr 2007 19:18:08 +0000 (19:18 +0000)]
We had to roll our own time function because some craqsmoker thought having a carriage return on the end of ctime and asctime was a great idea, and the only other solution is to fanny around with
strftime.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6749
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 6 Apr 2007 19:03:11 +0000 (19:03 +0000)]
Show expiry times of glines, klines, qlines and elines as the time theyre due to expire rather than number of secs (thanks bricker)
Oh, and i hate C time formatting functions.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6748
e03df62e -2008-0410-955e-
edbf42e46eb7