]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoFixed <link:bind> which was only working on an ipv6 connection. Fixes bug #213 report...
brain [Mon, 12 Feb 2007 21:43:56 +0000 (21:43 +0000)]
Fixed <link:bind> which was only working on an ipv6 connection. Fixes bug #213 reported by owine

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

17 years agoChange around the order of InspIRCd::Cleanup(), as per bug #212
brain [Mon, 12 Feb 2007 20:44:21 +0000 (20:44 +0000)]
Change around the order of InspIRCd::Cleanup(), as per bug #212

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

17 years agoI'm not sure OnPostOper is called for remote opering anyway, but to be sure, dont...
brain [Mon, 12 Feb 2007 19:26:31 +0000 (19:26 +0000)]
I'm not sure OnPostOper is called for remote opering anyway, but to be sure, dont execute it for remote users in this module (just wastes cpu time)

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

17 years agoOnly apply force join to local clients
brain [Mon, 12 Feb 2007 19:25:05 +0000 (19:25 +0000)]
Only apply force join to local clients

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

17 years agoFix odd warnings from propolice.
brain [Mon, 12 Feb 2007 18:22:04 +0000 (18:22 +0000)]
Fix odd warnings from propolice.
Obviously this isnt valid for it:   char b[MAXBUF];   getcwd(b, MAXBUF)..... it demands that b be 1024 in length. odd.

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

17 years agoGet rid of a compile warning.
peavey [Mon, 12 Feb 2007 00:17:57 +0000 (00:17 +0000)]
Get rid of a compile warning.

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

17 years agoAdd m_conn_join, allows force join of a user to one or more channels on connect ...
brain [Sun, 11 Feb 2007 21:47:13 +0000 (21:47 +0000)]
Add m_conn_join, allows force join of a user to one or more channels on connect (ick).
Tidy up m_operjoin a little.

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

17 years agoSpecial *slap* seems to have set this to true :/
brain [Sun, 11 Feb 2007 20:35:10 +0000 (20:35 +0000)]
Special *slap* seems to have set this to true :/

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

17 years agoBump API version (chanrec::setby increased from NICKMAX to 128)
brain [Sun, 11 Feb 2007 18:53:42 +0000 (18:53 +0000)]
Bump API version (chanrec::setby increased from NICKMAX to 128)

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

17 years agoAllow for nick!user@host in TOPIC information.
brain [Sun, 11 Feb 2007 18:50:04 +0000 (18:50 +0000)]
Allow for nick!user@host in TOPIC information.
Note that this adds another <options> tag value, 'hostintopic'. (defaults to yes)

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

17 years agoFix rehashing to display a success notice, tidy up some WriteOpers notices
brain [Sat, 10 Feb 2007 23:10:57 +0000 (23:10 +0000)]
Fix rehashing to display a success notice, tidy up some WriteOpers notices

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

17 years agoTweak hostname matching in HostMatchesEveryone to compensate for being able to match...
brain [Sat, 10 Feb 2007 21:47:42 +0000 (21:47 +0000)]
Tweak hostname matching in HostMatchesEveryone to compensate for being able to match all 3 of host and ip and CIDR

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

17 years agoUse userrec::MakeHost(), not strlcpy/strlcat!
brain [Sat, 10 Feb 2007 21:31:40 +0000 (21:31 +0000)]
Use userrec::MakeHost(), not strlcpy/strlcat!

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

17 years agoFix that equal sign '=' inside double quotes don't blow up confcheck.
peavey [Sat, 10 Feb 2007 21:26:32 +0000 (21:26 +0000)]
Fix that equal sign '=' inside double quotes don't blow up confcheck.

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

17 years agoFix typo reported by owine (bug #208)
brain [Sat, 10 Feb 2007 20:44:49 +0000 (20:44 +0000)]
Fix typo reported by owine (bug #208)

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

17 years agoMerge patch for WEBIRC command from satmd
brain [Sat, 10 Feb 2007 20:13:18 +0000 (20:13 +0000)]
Merge patch for WEBIRC command from satmd

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

17 years agoImprove +f kick message:
brain [Sat, 10 Feb 2007 17:19:01 +0000 (17:19 +0000)]
Improve +f kick message:
[17:25] --- You have been kicked from #test by test2.chatspike.net (Channel flood triggered (limit is 4 lines in 20 secs))

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

17 years agoMake some stuff configurable that hasnt been and should be.
brain [Sat, 10 Feb 2007 15:18:49 +0000 (15:18 +0000)]
Make some stuff configurable that hasnt been and should be.
<securelist waittime="n">: number of seconds a user must wait before LIST
<safelist throttle="n">: Number of seconds a user must wait between each LIST command

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

17 years agoAnd make it compile. (whoops)
brain [Sat, 10 Feb 2007 15:05:41 +0000 (15:05 +0000)]
And make it compile. (whoops)

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

17 years agotimermanager never had a ServerInstance. Give it one so we can use InspIRCd::Time...
brain [Sat, 10 Feb 2007 15:05:00 +0000 (15:05 +0000)]
timermanager never had a ServerInstance. Give it one so we can use InspIRCd::Time() rather than time()

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

17 years agoRemove dup code by calling TickTimers in a loop
brain [Sat, 10 Feb 2007 15:02:06 +0000 (15:02 +0000)]
Remove dup code by calling TickTimers in a loop

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

17 years agoDELETE() on the timergroup in DelTimer (small memory leak)
brain [Sat, 10 Feb 2007 14:58:04 +0000 (14:58 +0000)]
DELETE() on the timergroup in DelTimer (small memory leak)

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

17 years agoFinally make this module work at all on 1.1
brain [Sat, 10 Feb 2007 14:11:17 +0000 (14:11 +0000)]
Finally make this module work at all on 1.1

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

17 years agoWhen opening a file to read, check its not a directory with stat()
brain [Sat, 10 Feb 2007 00:11:02 +0000 (00:11 +0000)]
When opening a file to read, check its not a directory with stat()

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

17 years agoCheck for nonexistent file
brain [Fri, 9 Feb 2007 23:39:16 +0000 (23:39 +0000)]
Check for nonexistent file

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

17 years agoChange the constructor of ModeParser, make it just a tiny bit prettier.
brain [Fri, 9 Feb 2007 20:28:09 +0000 (20:28 +0000)]
Change the constructor of ModeParser, make it just a tiny bit prettier.
Rather than calling AddMode like 25 times, put them in a nice looking array and call it in a loop, doesnt look as craqy (although its exactly the same thing with makeup on)

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

17 years agoIncrement version and give codename -- release is planned for sunday.
brain [Fri, 9 Feb 2007 19:20:58 +0000 (19:20 +0000)]
Increment version and give codename -- release is planned for sunday.

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

17 years agoAdd and properly test the ability for an InspTimer to DelTimer itself from within...
brain [Fri, 9 Feb 2007 18:13:13 +0000 (18:13 +0000)]
Add and properly test the ability for an InspTimer to DelTimer itself from within its own Tick method.
This wasnt supported before and would corrupt the iterator in the TickTimers() method of TimerManager.
Non the less, peaveys new (perfectly sensible) fix broke it because i didnt document the caveat about DelTimer() :p
This FIXES m_ident and possibly some other stuff.

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

17 years agoAnd change this to gnutls in the debug message.
brain [Thu, 8 Feb 2007 20:40:47 +0000 (20:40 +0000)]
And change this to gnutls in the debug message.

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

17 years agoCatch the ModuleException thrown when AddIOHook fails, so that we can make a port...
brain [Thu, 8 Feb 2007 20:40:31 +0000 (20:40 +0000)]
Catch the ModuleException thrown when AddIOHook fails, so that we can make a port hook failure nonfatal.

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

17 years agoCheck for ::ffff:x.x.x.x ips in user resolver, and if we see one initiate an ipv4...
brain [Thu, 8 Feb 2007 20:31:35 +0000 (20:31 +0000)]
Check for ::ffff:x.x.x.x ips in user resolver, and if we see one initiate an ipv4 PTR lookup rather than ipv6

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

17 years ago"is now your hidden host" -> "is now your displayed host". Wording fits better when...
brain [Thu, 8 Feb 2007 19:01:35 +0000 (19:01 +0000)]
"is now your hidden host" -> "is now your displayed host". Wording fits better when uncloaking

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

17 years agoTry without deletes that it done anyway on close of InspSocket's socket.
peavey [Thu, 8 Feb 2007 02:49:23 +0000 (02:49 +0000)]
Try without deletes that it done anyway on close of InspSocket's socket.

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

17 years agoConsider your crackpipes confiscated, there was some right dailywtf-worthy stuff...
brain [Wed, 7 Feb 2007 22:18:06 +0000 (22:18 +0000)]
Consider your crackpipes confiscated, there was some right dailywtf-worthy stuff in here.

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

17 years agoRemove some debug
brain [Wed, 7 Feb 2007 21:58:22 +0000 (21:58 +0000)]
Remove some debug

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

17 years agoA quick unit test shows this is broken -- fix quick
brain [Wed, 7 Feb 2007 21:14:14 +0000 (21:14 +0000)]
A quick unit test shows this is broken -- fix quick

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

17 years agosatmd tell me if this works, if ive got the wrong octet i need to change a bit of...
brain [Wed, 7 Feb 2007 21:06:39 +0000 (21:06 +0000)]
satmd tell me if this works, if ive got the wrong octet i need to change a bit of logic ops

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

17 years agoFix warning, remove unused var
brain [Wed, 7 Feb 2007 20:03:42 +0000 (20:03 +0000)]
Fix warning, remove unused var

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

17 years agoRemember: C++ only works if you type the right method names and not ones that dont...
brain [Wed, 7 Feb 2007 20:02:51 +0000 (20:02 +0000)]
Remember: C++ only works if you type the right method names and not ones that dont exist.

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

17 years agoIdent fixes,
brain [Wed, 7 Feb 2007 19:56:35 +0000 (19:56 +0000)]
Ident fixes,
removal of some old craq we dont use.
cgiirc optimizations and tidyups

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

17 years agoFix ipv6 ass-u-me's
brain [Wed, 7 Feb 2007 19:46:05 +0000 (19:46 +0000)]
Fix ipv6 ass-u-me's

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

17 years agoAdd InvalidateCache() calls and fix a ton of ass-u-me :/
brain [Wed, 7 Feb 2007 19:41:42 +0000 (19:41 +0000)]
Add InvalidateCache() calls and fix a ton of ass-u-me :/

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

17 years agoMake this work when we have both ipv6 and ipv4 connections at once
brain [Wed, 7 Feb 2007 19:39:42 +0000 (19:39 +0000)]
Make this work when we have both ipv6 and ipv4 connections at once

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

17 years agoTo be more specific, specify rpath() macro here
brain [Wed, 7 Feb 2007 19:12:53 +0000 (19:12 +0000)]
To be more specific, specify rpath() macro here

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

17 years agoDocument bind value
brain [Wed, 7 Feb 2007 17:53:49 +0000 (17:53 +0000)]
Document bind value

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

17 years agoSupport port binding here
brain [Wed, 7 Feb 2007 17:50:41 +0000 (17:50 +0000)]
Support port binding here

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

17 years agoAdded support for explicitly binding an outbound connection to an ip. Will be used...
brain [Wed, 7 Feb 2007 17:42:20 +0000 (17:42 +0000)]
Added support for explicitly binding an outbound connection to an ip. Will be used by spanningtree.

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

17 years agoIf a user connects over 4in6 (YUCK) give them an ipv4 cloak
brain [Wed, 7 Feb 2007 17:19:12 +0000 (17:19 +0000)]
If a user connects over 4in6 (YUCK) give them an ipv4 cloak

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

17 years agoFix for bug #205 reported by nenolod (modules that erroneously check remote users...
brain [Wed, 7 Feb 2007 17:03:15 +0000 (17:03 +0000)]
Fix for bug #205 reported by nenolod (modules that erroneously check remote users to apply privmsg/notice restrictions)

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

17 years agoExtra safety checks while exchanging certs, just in case
brain [Tue, 6 Feb 2007 21:17:15 +0000 (21:17 +0000)]
Extra safety checks while exchanging certs, just in case

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

17 years agoRemove debug output that was only useful to me
brain [Tue, 6 Feb 2007 20:22:06 +0000 (20:22 +0000)]
Remove debug output that was only useful to me

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

17 years agoRemove ::ffff: 4in6 craq from documentation. Show that its still usable, but not...
brain [Tue, 6 Feb 2007 19:29:59 +0000 (19:29 +0000)]
Remove ::ffff: 4in6 craq from documentation. Show that its still usable, but not neccessary.

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

17 years agoChange the wording of configure, to indicate that building as ipv6 is no longer an...
brain [Tue, 6 Feb 2007 19:21:20 +0000 (19:21 +0000)]
Change the wording of configure, to indicate that building as ipv6 is no longer an absolute "IPV6 ONLY" option

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

17 years agoFix using wrong var to determine if host is ipv6 or ipv4, resulting in wrong cloak...
brain [Tue, 6 Feb 2007 19:17:45 +0000 (19:17 +0000)]
Fix using wrong var to determine if host is ipv6 or ipv4, resulting in wrong cloak algorithm being picked for ipv6 users

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

17 years agoLets try this fix
brain [Tue, 6 Feb 2007 19:11:46 +0000 (19:11 +0000)]
Lets try this fix

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

17 years agoAnd fix the bugs that show up when we try and build it on ipv6
brain [Tue, 6 Feb 2007 19:02:30 +0000 (19:02 +0000)]
And fix the bugs that show up when we try and build it on ipv6

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

17 years agoFix to work with mixed protocol environment
brain [Tue, 6 Feb 2007 19:00:22 +0000 (19:00 +0000)]
Fix to work with mixed protocol environment

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

17 years agoAnd fix typo.
brain [Tue, 6 Feb 2007 18:50:44 +0000 (18:50 +0000)]
And fix typo.

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

17 years agoMake use of new AAAA->A resolving
brain [Tue, 6 Feb 2007 18:49:47 +0000 (18:49 +0000)]
Make use of new AAAA->A resolving

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

17 years agoStuff to allow resolving of AAAA record, and on failure try A record
brain [Tue, 6 Feb 2007 18:49:30 +0000 (18:49 +0000)]
Stuff to allow resolving of AAAA record, and on failure try A record

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

17 years agoFix resolving of security ips to allow for ipv4 resolution when built for ipv6
brain [Tue, 6 Feb 2007 18:32:32 +0000 (18:32 +0000)]
Fix resolving of security ips to allow for ipv4 resolution when built for ipv6

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

17 years agoWhen brain adds code into a constructor to fix a destructor crash, make sure brain...
brain [Tue, 6 Feb 2007 18:04:14 +0000 (18:04 +0000)]
When brain adds code into a constructor to fix a destructor crash, make sure brain adds code to all three constructors, not just one.

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

17 years agoFix to stop failed sockets crashing in destructor
brain [Tue, 6 Feb 2007 17:57:27 +0000 (17:57 +0000)]
Fix to stop failed sockets crashing in destructor

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

17 years agoipv6 fixes
brain [Tue, 6 Feb 2007 17:50:32 +0000 (17:50 +0000)]
ipv6 fixes

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

17 years agoFixes to make this module build with the slightly changed inspsocket (insp_sockaddr...
brain [Tue, 6 Feb 2007 17:46:23 +0000 (17:46 +0000)]
Fixes to make this module build with the slightly changed inspsocket (insp_sockaddr addy is gone)

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

17 years agoFixes to allow inspsocket connects to be protocol transparent
brain [Tue, 6 Feb 2007 17:36:06 +0000 (17:36 +0000)]
Fixes to allow inspsocket connects to be protocol transparent

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

17 years agoIn InspSocket destructor remove any pending timers since the object is now gone....
peavey [Tue, 6 Feb 2007 03:12:51 +0000 (03:12 +0000)]
In InspSocket destructor remove any pending timers since the object is now gone. This also fixes bug #202 : m_ident crash.

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

17 years agoMove var around
brain [Tue, 6 Feb 2007 01:26:56 +0000 (01:26 +0000)]
Move var around

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

17 years agoDNS lookups now work for users.
brain [Tue, 6 Feb 2007 01:26:16 +0000 (01:26 +0000)]
DNS lookups now work for users.
Todo: Upon receiving 'no resource records found' on doing AAAA or PTR6, immediately re-insert a request looking for A or PTR.
someone remind me about this when i have time.
Also todo: inspsocket connects.

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

17 years agoFix for bug #203 : nicknames not invalidated stil.
peavey [Tue, 6 Feb 2007 00:17:30 +0000 (00:17 +0000)]
Fix for bug #203 : nicknames not invalidated stil.

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

17 years agoFix the ipv6 end
brain [Tue, 6 Feb 2007 00:07:19 +0000 (00:07 +0000)]
Fix the ipv6 end

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

17 years agoChange some stuff here to bind INADDR_ANY
brain [Tue, 6 Feb 2007 00:05:40 +0000 (00:05 +0000)]
Change some stuff here to bind INADDR_ANY

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

17 years agoNo gaurantees on this atm
brain [Mon, 5 Feb 2007 23:59:58 +0000 (23:59 +0000)]
No gaurantees on this atm

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

17 years agoThis wont compile atm
brain [Mon, 5 Feb 2007 23:51:03 +0000 (23:51 +0000)]
This wont compile atm

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

17 years agoStuff to make dns work protocol-independent
brain [Mon, 5 Feb 2007 23:43:44 +0000 (23:43 +0000)]
Stuff to make dns work protocol-independent

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

17 years agoFix typo
brain [Mon, 5 Feb 2007 23:26:43 +0000 (23:26 +0000)]
Fix typo

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

17 years agoFix for allowing dns lookups to work in mixed protocol mode
brain [Mon, 5 Feb 2007 23:25:50 +0000 (23:25 +0000)]
Fix for allowing dns lookups to work in mixed protocol mode

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

17 years agoNow working in svn:
brain [Mon, 5 Feb 2007 23:13:40 +0000 (23:13 +0000)]
Now working in svn:
Client connections and port bindings on both ipv4 and ipv6
Server port bindings on both ipv4 and ipv6
Now broken due to this:
cloaking (cloaks ipv4 users in an odd way when built as ipv6 enabled)
DNS (query fd doesnt init properly)
...probably other stuff. Stay tuned.

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

17 years agoNot safe for use yet
brain [Mon, 5 Feb 2007 22:29:02 +0000 (22:29 +0000)]
Not safe for use yet

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

17 years agoSmart tricks to allow for ipv4 and ipv6 bindings on client ports. WARNING, NOT FINISH...
brain [Mon, 5 Feb 2007 21:55:14 +0000 (21:55 +0000)]
Smart tricks to allow for ipv4 and ipv6 bindings on client ports. WARNING, NOT FINISHED YET

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

17 years agoPass sizeof(sockaddr) to bind now. Passing the size of a pointer really isnt a smart...
brain [Mon, 5 Feb 2007 21:05:35 +0000 (21:05 +0000)]
Pass sizeof(sockaddr) to bind now. Passing the size of a pointer really isnt a smart idea (and doesnt work)

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

17 years agoFix ipv4 bindings for ipv4 only servers
brain [Mon, 5 Feb 2007 21:00:42 +0000 (21:00 +0000)]
Fix ipv4 bindings for ipv4 only servers

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

17 years agoHeavy state of debug. If you are a developer, please avoid making use of this bit...
brain [Mon, 5 Feb 2007 20:48:35 +0000 (20:48 +0000)]
Heavy state of debug. If you are a developer, please avoid making use of this bit of code.

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

17 years agoMove quitting of clients to a central Cull List, and do quitting outside userrec...
peavey [Mon, 5 Feb 2007 20:08:51 +0000 (20:08 +0000)]
Move quitting of clients to a central Cull List, and do quitting outside userrec and in main loop.

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

17 years agoMake checkconf handle end of line comments.
peavey [Mon, 5 Feb 2007 18:26:59 +0000 (18:26 +0000)]
Make checkconf handle end of line comments.

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

17 years agoconfigure was linking a nonexistant header with ssl that has been in include/ for...
special [Mon, 5 Feb 2007 17:47:32 +0000 (17:47 +0000)]
configure was linking a nonexistant header with ssl that has been in include/ for awhile now

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

17 years agoFix crash in ReportConfigError when done via SIGHUP.
peavey [Mon, 5 Feb 2007 13:39:43 +0000 (13:39 +0000)]
Fix crash in ReportConfigError when done via SIGHUP.

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

17 years agoAnd another victim.
brain [Sun, 4 Feb 2007 23:13:03 +0000 (23:13 +0000)]
And another victim.

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

17 years agopeaveys checkconf finds its first victim, an extra quote in helpop-full.
brain [Sun, 4 Feb 2007 23:12:22 +0000 (23:12 +0000)]
peaveys checkconf finds its first victim, an extra quote in helpop-full.

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

17 years agoAdd a general xml syntax checker for config files. It parses includes and warns of...
peavey [Sun, 4 Feb 2007 22:52:06 +0000 (22:52 +0000)]
Add a general xml syntax checker for config files. It parses includes and warns of general syntax mistakes. ./inspircd checkconf to run.

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

17 years agoWe already have the numeric durations, why the fuck was I trying to get them again
w00t [Sun, 4 Feb 2007 14:36:06 +0000 (14:36 +0000)]
We already have the numeric durations, why the fuck was I trying to get them again

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

17 years agoSet a few defaults for <connect> tag.
peavey [Sun, 4 Feb 2007 14:14:56 +0000 (14:14 +0000)]
Set a few defaults for <connect> tag.

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

17 years agoCall events properly on KLINE, GLINE and ZLINE for DNSBL module. This fixes bans...
w00t [Sun, 4 Feb 2007 14:11:06 +0000 (14:11 +0000)]
Call events properly on KLINE, GLINE and ZLINE for DNSBL module. This fixes bans not propegating.

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

17 years agoBetter error reporting of failures to read certs in gnutls by calling gnutls_strerror...
brain [Sat, 3 Feb 2007 23:44:35 +0000 (23:44 +0000)]
Better error reporting of failures to read certs in gnutls by calling gnutls_strerror(). Man this api is so much nicer than the ugly one in ssl :)

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

17 years agoBetter logging for openssl, using SSL_print_error_cb() which calls a callback for...
brain [Sat, 3 Feb 2007 23:39:13 +0000 (23:39 +0000)]
Better logging for openssl, using SSL_print_error_cb() which calls a callback for error output (the default of outputting to stdout sucks)

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

17 years agoMake this work on ancient gcc's
brain [Sat, 3 Feb 2007 20:11:51 +0000 (20:11 +0000)]
Make this work on ancient gcc's

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

17 years agoOn ipv6 servers, if a user connects with 4in6 (0::ffff:...) then attempt a dnsbl...
brain [Sat, 3 Feb 2007 18:38:31 +0000 (18:38 +0000)]
On ipv6 servers, if a user connects with 4in6 (0::ffff:...) then attempt a dnsbl lookup of their ip (the bit after the 0::ffff:)

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

17 years agoUpdate the date here, remove the 'updated by' list, use SVN for that + there's a...
w00t [Sat, 3 Feb 2007 15:28:48 +0000 (15:28 +0000)]
Update the date here, remove the 'updated by' list, use SVN for that + there's a lot of people now :P

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

17 years agoFingerprint really shouldn't be in the example oper block by default; most people...
special [Sat, 3 Feb 2007 14:43:05 +0000 (14:43 +0000)]
Fingerprint really shouldn't be in the example oper block by default; most people don't use it, and quite a few seem to leave it in

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

17 years agoFix this not working.
peavey [Sat, 3 Feb 2007 01:19:14 +0000 (01:19 +0000)]
Fix this not working.

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