]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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

17 years agoAdded ability to send and receive a challenge, dont do anything with it yet
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

17 years agoAdd methods needed for storing challenge string
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

17 years agoMake the max '3 dots' and not 2
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

17 years agoFix to reinsert sockets into the list as read event
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

17 years agoAdd support for solaris 10 IO Completion Ports, contributed by nenolod
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

17 years agoIt might be slightly slower, but memset the array as we're using it as a matrix not...
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

17 years agoShould change the header too
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

17 years agoMake the lines wide enough to hold the new data
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

17 years agoAdd licensing headers to files which are missing them and make sure they are up to...
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

17 years agoSet the signals to 'quick exit' before the fork, not straight after, because theres...
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

17 years agoGorgonzola!
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

17 years agoMore information in error when a module cant be loaded
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

17 years agoChange wording of message
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

17 years agoFix params passed on /restart
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

17 years agoIncrease sleep delay to 20, to provide reading time for the message
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

17 years agoMissing newline
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

17 years agoAdd a facility to allow starting as root, bin/inspircd -runasroot
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

17 years agoWe had to roll our own time function because some craqsmoker thought having a carriag...
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

17 years agoShow expiry times of glines, klines, qlines and elines as the time theyre due to...
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

17 years agoCheck for people with lack of clue putting "!" in gline/kline/zline masks :p
brain [Fri, 6 Apr 2007 18:43:58 +0000 (18:43 +0000)]
Check for people with lack of clue putting "!" in gline/kline/zline masks :p

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

17 years agoAdd <hostname:charmap> to example.conf
peavey [Fri, 6 Apr 2007 18:43:23 +0000 (18:43 +0000)]
Add <hostname:charmap> to example.conf

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

17 years agoFix bug #224 by refreshing the security ip cache every hour. The easier solution...
brain [Fri, 6 Apr 2007 14:03:06 +0000 (14:03 +0000)]
Fix bug #224 by refreshing the security ip cache every hour. The easier solution of course is not use crappy dynamic ips :p

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

17 years agoFix the previous commit better - always copy the null terminator (oops)
brain [Fri, 6 Apr 2007 13:07:55 +0000 (13:07 +0000)]
Fix the previous commit better - always copy the null terminator (oops)

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

17 years agoFix issue spotted by devious - if a value is defined and a later rehash clears the...
brain [Fri, 6 Apr 2007 13:04:49 +0000 (13:04 +0000)]
Fix issue spotted by devious - if a value is defined and a later rehash clears the value to empty, the value is not unset properly because it tries to memcpy zero bytes to the value -
this means memcpy just returns immediately. Now if the string value is 0 in length we copy one byte instead (which just copies the null terminator)

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

17 years agoFix for bug #199 (Feature request) submitted by owine. Ended up adding an extra param...
brain [Thu, 5 Apr 2007 23:53:01 +0000 (23:53 +0000)]
Fix for bug #199 (Feature request) submitted by owine. Ended up adding an extra parameter to <uline> for this.
It turned into a biggie :P

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

17 years agoFix for bug #216, m_cloaking now tries to cloak a larger amount of the hostname for...
brain [Thu, 5 Apr 2007 23:13:54 +0000 (23:13 +0000)]
Fix for bug #216, m_cloaking now tries to cloak a larger amount of the hostname for resolving hosts to fix the issue reported by satmd in bug #216

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

17 years agoAdd 'silent' option to example conf
brain [Thu, 5 Apr 2007 22:32:25 +0000 (22:32 +0000)]
Add 'silent' option to example conf

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

17 years agoAdd filter type 'silent', as requested in bug #235 reported by Casey.
brain [Thu, 5 Apr 2007 22:31:28 +0000 (22:31 +0000)]
Add filter type 'silent', as requested in bug #235 reported by Casey.
filter type silent for m_filter and m_filter_pcre does not notify opers, and just blocks the text. It does however tell the user their text was blocked and still log.

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

17 years agoAdd support for <link:hidden> fixes feature request documented in bug #247 reported...
brain [Thu, 5 Apr 2007 22:17:23 +0000 (22:17 +0000)]
Add support for <link:hidden> fixes feature request documented in bug #247 reported by owine

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

17 years agoAdd extra /map info (connection uptime, and lag time) to /MAP for opers. Adds feature...
brain [Thu, 5 Apr 2007 21:57:48 +0000 (21:57 +0000)]
Add extra /map info (connection uptime, and lag time) to /MAP for opers. Adds feature requested by bug #246

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

17 years agoAdd feature outlined in bug #192, give a notice showing cipher on connect to users...
brain [Thu, 5 Apr 2007 21:03:35 +0000 (21:03 +0000)]
Add feature outlined in bug #192, give a notice showing cipher on connect to users. Its not possible (without something really spammy and ugly) to show it to opers, and its no use showing it to opers
anyway, this would just be a silly vanity feature :p (admins know its working - people are connecting on the ssl port!)

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

17 years agoBefore i was rudely interrupted by a FUCKING *RAM FAILURE*, i was going to commit...
brain [Wed, 4 Apr 2007 23:21:47 +0000 (23:21 +0000)]
Before i was rudely interrupted by a FUCKING *RAM FAILURE*, i was going to commit this patch which fixes the error message given out when a module cant be loaded. Thanks darix for spotting it first. :)

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

17 years agoIf the user has a nick, use it in the numeric
brain [Mon, 2 Apr 2007 22:25:59 +0000 (22:25 +0000)]
If the user has a nick, use it in the numeric

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

17 years ago"NICK :" did nothing and said nothing. It now says erroneous nick and uses the correc...
brain [Mon, 2 Apr 2007 22:25:19 +0000 (22:25 +0000)]
"NICK :" did nothing and said nothing. It now says erroneous nick and uses the correct numeric.

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

17 years agoA quick glance at ircu indicates that when an empty gecos is given in USER, it is...
brain [Mon, 2 Apr 2007 22:13:20 +0000 (22:13 +0000)]
A quick glance at ircu indicates that when an empty gecos is given in USER, it is replaced by 'No info', rather than our way of saying 'not enough parameters', so we'll do this as it seems to make
sense. The RFC is unclear here.

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

17 years agoThis needs some general QA-ing. Add support to new parser (introduced in 1.1) for...
brain [Mon, 2 Apr 2007 22:11:14 +0000 (22:11 +0000)]
This needs some general QA-ing. Add support to new parser (introduced in 1.1) for empty final params (just the colon)

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

17 years agoFixed a DNS timeout race condition that could result in a NOTICE AUTH message being...
special [Mon, 2 Apr 2007 04:46:01 +0000 (04:46 +0000)]
Fixed a DNS timeout race condition that could result in a NOTICE AUTH message being sent after connecting (thanks NBKWH5I)

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

17 years agoThe other half of special's LUSERS fix
brain [Mon, 2 Apr 2007 00:35:40 +0000 (00:35 +0000)]
The other half of special's LUSERS fix

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

17 years agoFixed numeric for one of the lusers messages (was 254, should've been 255)
special [Sun, 1 Apr 2007 22:10:49 +0000 (22:10 +0000)]
Fixed numeric for one of the lusers messages (was 254, should've been 255)

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

17 years agoAdd feature to this module which allows you to specify that an oper requires ssl...
brain [Sun, 1 Apr 2007 18:53:32 +0000 (18:53 +0000)]
Add feature to this module which allows you to specify that an oper requires ssl to oper up, but doesnt require a fingerprint

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

17 years agoAdd -config parameter to bin/inspircd which allows a user to specify the config file...
brain [Sun, 1 Apr 2007 18:34:19 +0000 (18:34 +0000)]
Add -config parameter to bin/inspircd which allows a user to specify the config file on the commandline
Note: This should really be a full pathname, and not a configuration file in the current directory.

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

17 years agoAdd m_seenicks.so, adds snomasks +nN which show local and remote nick changes (reques...
brain [Sun, 1 Apr 2007 18:00:18 +0000 (18:00 +0000)]
Add m_seenicks.so, adds snomasks +nN which show local and remote nick changes (requested by giggsey, http://www.inspircd.org/forum/showthread.php?t=187)
Fix m_nonicks description to not say it's globops.

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

17 years agoMake it use the static text for the reason instead, i have a feeling clients are...
brain [Sun, 1 Apr 2007 17:01:42 +0000 (17:01 +0000)]
Make it use the static text for the reason instead, i have a feeling clients are looking for the text of the numeric rather than the numeric itself :/

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

17 years agoAdd m_jumpserver, allows server forwarding with RPL_REDIR numeric 010. xchat doesnt...
brain [Sun, 1 Apr 2007 16:36:00 +0000 (16:36 +0000)]
Add m_jumpserver, allows server forwarding with RPL_REDIR numeric 010. xchat doesnt seem to support this, can someone with mirc please test? (documentation to follow, so you know how.)

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

17 years agoAdd <options:fixedquit> and <options:suffixquit> to go along with the existing <optio...
brain [Sun, 1 Apr 2007 15:22:54 +0000 (15:22 +0000)]
Add <options:fixedquit> and <options:suffixquit> to go along with the existing <options:prefixquit>. note that fixedquit overrides both suffix and prefix if set

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

17 years agoTweak to numeric 378: is connecting from ident@host
w00t [Sat, 31 Mar 2007 21:24:33 +0000 (21:24 +0000)]
Tweak to numeric 378: is connecting from ident@host

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

17 years agoAdd macros IS_OPER() and IS_AWAY()
brain [Sat, 31 Mar 2007 20:45:45 +0000 (20:45 +0000)]
Add macros IS_OPER() and IS_AWAY()

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

17 years agohidechans: allow showing on self whois, QA, test if you're bored :p
w00t [Fri, 30 Mar 2007 22:48:21 +0000 (22:48 +0000)]
hidechans: allow showing on self whois, QA, test if you're bored :p

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

17 years agoAdd extra stuff to LIST.
brain [Fri, 30 Mar 2007 19:48:50 +0000 (19:48 +0000)]
Add extra stuff to LIST.
Firstly allow RFC-specified >x and <x, and allow for glob matching to match the topic text, as well as the channel name

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

17 years agoMake this available to all users
brain [Thu, 29 Mar 2007 18:33:57 +0000 (18:33 +0000)]
Make this available to all users

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

17 years agoAdd snomasks to /check on a user (QA, please test), also return CMD_LOCALONLY as...
w00t [Thu, 29 Mar 2007 09:37:27 +0000 (09:37 +0000)]
Add snomasks to /check on a user (QA, please test), also return CMD_LOCALONLY as we do NOT want to route check.

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

17 years agoFix bug reported by darix where inspircd process returns 15 for successful startup...
brain [Mon, 26 Mar 2007 16:23:55 +0000 (16:23 +0000)]
Fix bug reported by darix where inspircd process returns 15 for successful startup rather than the correct 0

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

17 years ago1.1.4+Norvegia
brain [Sun, 25 Mar 2007 13:56:27 +0000 (13:56 +0000)]
1.1.4+Norvegia

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

17 years agoRemove excessive debugging
brain [Sun, 25 Mar 2007 02:04:59 +0000 (02:04 +0000)]
Remove excessive debugging

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

17 years agoAllow some commands to use a mask of * (this usually finds the 'root' server)
brain [Sun, 25 Mar 2007 01:09:33 +0000 (01:09 +0000)]
Allow some commands to use a mask of * (this usually finds the 'root' server)

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

17 years agoTest stuff to fix remote stats brokage
brain [Sat, 24 Mar 2007 23:01:52 +0000 (23:01 +0000)]
Test stuff to fix remote stats brokage

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

17 years agoRemove unused var
brain [Sat, 24 Mar 2007 18:51:48 +0000 (18:51 +0000)]
Remove unused var

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

17 years agoFix untidy debug output
brain [Sat, 24 Mar 2007 18:51:29 +0000 (18:51 +0000)]
Fix untidy debug output

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

17 years agoFix two things: (1) log gets replaced by a user fd after restart causing debug log...
brain [Sat, 24 Mar 2007 18:50:40 +0000 (18:50 +0000)]
Fix two things: (1) log gets replaced by a user fd after restart causing debug log to go to a user's status window (!)
(2) restart failing due to segfault within libc (this is because some moron decided that stdin, stdout, and stderr should still be non-null if the files arent actually open!)

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

17 years agom_showwhois now sends a message for remote whois as well
special [Sat, 24 Mar 2007 17:13:43 +0000 (17:13 +0000)]
m_showwhois now sends a message for remote whois as well

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

17 years agoCheck validity (length) of all NICK parameters to make sure we're not introducing...
brain [Sat, 24 Mar 2007 15:33:51 +0000 (15:33 +0000)]
Check validity (length) of all NICK parameters to make sure we're not introducing a dodgy client (such as one introduced by dmb's dodgy program)
Normally, NICK parameters longer than allowed are weeded out by CAPAB but sending CAPAB is optional.

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

17 years agoRemove unused variable
brain [Sat, 24 Mar 2007 14:01:18 +0000 (14:01 +0000)]
Remove unused variable

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

17 years agoIdent fixes, to make sure that if you dont get an ident reply you cant sneak through...
brain [Fri, 23 Mar 2007 20:25:32 +0000 (20:25 +0000)]
Ident fixes, to make sure that if you dont get an ident reply you cant sneak through without a "~"

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

17 years agoident over ipv6 fixes, and fixes to inspsocket BindAddr which wasnt doing ipv6 outbou...
brain [Fri, 23 Mar 2007 20:14:43 +0000 (20:14 +0000)]
ident over ipv6 fixes, and fixes to inspsocket BindAddr which wasnt doing ipv6 outbound connects properly. You'll need to restart to apply this one, dmb

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

17 years agoTweak some stuff about
brain [Fri, 23 Mar 2007 19:14:45 +0000 (19:14 +0000)]
Tweak some stuff about

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

17 years agoFix small memory leak
brain [Fri, 23 Mar 2007 19:08:37 +0000 (19:08 +0000)]
Fix small memory leak

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

17 years agoFix high-bandwidth stuff with inspsocket+ssl, and eagain
brain [Thu, 22 Mar 2007 20:21:03 +0000 (20:21 +0000)]
Fix high-bandwidth stuff with inspsocket+ssl, and eagain

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

17 years agoEAGAIN fixes for gnutls
brain [Thu, 22 Mar 2007 19:36:16 +0000 (19:36 +0000)]
EAGAIN fixes for gnutls

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

17 years agoWe're checking for non-null session->sess in VerifyCertificate now. theres very littl...
brain [Thu, 22 Mar 2007 19:08:00 +0000 (19:08 +0000)]
We're checking for non-null session->sess in VerifyCertificate now. theres very little else we can do, as we know that *whenever* we clear an ssl session, we set this to null.

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

17 years agoSome tweaks for gnutls
brain [Thu, 22 Mar 2007 18:55:37 +0000 (18:55 +0000)]
Some tweaks for gnutls

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

17 years agoMore checks in IS_HSDONE event hook
brain [Thu, 22 Mar 2007 18:38:38 +0000 (18:38 +0000)]
More checks in IS_HSDONE event hook

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

17 years agoFix crashes in ipv6 ssl using gnutls, and crashes when linking ssl to non-ssl by...
brain [Thu, 22 Mar 2007 18:12:03 +0000 (18:12 +0000)]
Fix crashes in ipv6 ssl using gnutls, and crashes when linking ssl to non-ssl by mistake, bug #245

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

17 years agoUpdate a notice on server already existing to be more clear
w00t [Tue, 20 Mar 2007 10:09:41 +0000 (10:09 +0000)]
Update a notice on server already existing to be more clear
- Update ModDesc for m_hidechans

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

17 years agoRemove two pointless casts, and remove some space indenting (how does this keep sneak...
brain [Sun, 18 Mar 2007 21:45:30 +0000 (21:45 +0000)]
Remove two pointless casts, and remove some space indenting (how does this keep sneaking back)

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

17 years agoChange back to FMODE for channel mode changes from users
brain [Sun, 18 Mar 2007 17:00:23 +0000 (17:00 +0000)]
Change back to FMODE for channel mode changes from users

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

17 years agoset the TS of a channel in JoinUser, not after the entire FJOIN, this is safer and...
brain [Sun, 18 Mar 2007 16:52:56 +0000 (16:52 +0000)]
set the TS of a channel in JoinUser, not after the entire FJOIN, this is safer and may fix the odd desync here and there

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

17 years agoAbort link at +/- 300secs, warn at +/- 30 secs
brain [Sat, 17 Mar 2007 19:22:32 +0000 (19:22 +0000)]
Abort link at +/- 300secs, warn at +/- 30 secs

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

17 years agoRemote /MODULES
brain [Fri, 16 Mar 2007 22:34:00 +0000 (22:34 +0000)]
Remote /MODULES

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

17 years agoRemove <options:timesync>, add <timesync enable="no" master="no"> ...and document...
brain [Fri, 16 Mar 2007 18:35:22 +0000 (18:35 +0000)]
Remove <options:timesync>, add <timesync enable="no" master="no"> ...and document it in the example conf

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

17 years agoNow syncs with the master every 10 mins
brain [Fri, 16 Mar 2007 18:23:53 +0000 (18:23 +0000)]
Now syncs with the master every 10 mins

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

17 years agoWtf, ive found the source of the drift, it adds the old delta to the new!
brain [Fri, 16 Mar 2007 18:19:22 +0000 (18:19 +0000)]
Wtf, ive found the source of the drift, it adds the old delta to the new!

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

17 years agoImprove this to show time with and without delta, without the user having to work...
brain [Fri, 16 Mar 2007 17:53:53 +0000 (17:53 +0000)]
Improve this to show time with and without delta, without the user having to work it out in their head

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

17 years agoDifferent timesync, dont use yet
brain [Fri, 16 Mar 2007 17:42:51 +0000 (17:42 +0000)]
Different timesync, dont use yet

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

17 years agoOptimise caps loop making it real neat. Thx Brain.
peavey [Fri, 16 Mar 2007 00:44:20 +0000 (00:44 +0000)]
Optimise caps loop making it real neat. Thx Brain.

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

17 years agoChange wording of 404 numeric to reflect that it's minlen or more.
peavey [Fri, 16 Mar 2007 00:36:21 +0000 (00:36 +0000)]
Change wording of 404 numeric to reflect that it's minlen or more.

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

17 years agoChange the numeric text to match the new configuration. Tidyup comments and DEBUG.
peavey [Thu, 15 Mar 2007 23:50:43 +0000 (23:50 +0000)]
Change the numeric text to match the new configuration. Tidyup comments and DEBUG.

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

17 years agoAdd capsmap to m_blockcaps in example.conf
peavey [Thu, 15 Mar 2007 23:39:34 +0000 (23:39 +0000)]
Add capsmap to m_blockcaps in example.conf

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

17 years agoAdd support for MAP of chars considered to be CAPS to config for better control.
peavey [Thu, 15 Mar 2007 23:39:03 +0000 (23:39 +0000)]
Add support for MAP of chars considered to be CAPS to config for better control.

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

17 years agoSeems netsplit.de changed hosts to echo940.server4you.de.
brain [Thu, 15 Mar 2007 19:18:32 +0000 (19:18 +0000)]
Seems netsplit.de changed hosts to echo940.server4you.de.
Add this to the default securelist config.

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

17 years agoAdd third parameter to OnUserQuit (quit reason for opers only) - bump api version
brain [Thu, 15 Mar 2007 17:37:25 +0000 (17:37 +0000)]
Add third parameter to OnUserQuit (quit reason for opers only) - bump api version
Add SetOperQuit and GetOperQuit methods to userrec
Add OPERQUIT command to protocol - bump protocol version
All this is to properly allow hidebans etc to work properly

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

17 years agoFixed hidebans behavior to not always be on as well; there are probablyother issues...
special [Thu, 15 Mar 2007 05:16:31 +0000 (05:16 +0000)]
Fixed hidebans behavior to not always be on as well; there are probablyother issues here, see #243

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

17 years agoSomeone is getting slapped for this; the new hidesplits/hidebans behavior doesn't...
special [Thu, 15 Mar 2007 05:04:51 +0000 (05:04 +0000)]
Someone is getting slapped for this; the new hidesplits/hidebans behavior doesn't actually check if those options are enabled.

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

17 years agoFix blockcaps. Who on earth thought that percentage was x*100 / y ???
brain [Wed, 14 Mar 2007 17:55:26 +0000 (17:55 +0000)]
Fix blockcaps. Who on earth thought that percentage was x*100 / y ???
Its (x/y)*100, muppets :p
(also, you cant do floating point maths on integers)

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

17 years agoFix /who thing that dmb spotted
brain [Tue, 13 Mar 2007 23:17:32 +0000 (23:17 +0000)]
Fix /who thing that dmb spotted

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

17 years agoTag with 1.1.3 version name (StinkingBishop)
brain [Tue, 13 Mar 2007 21:48:03 +0000 (21:48 +0000)]
Tag with 1.1.3 version name (StinkingBishop)

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