]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Mon, 19 Feb 2007 09:20:25 +0000 (09:20 +0000)]
Better handling of nickname overruling
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6598
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 19 Feb 2007 08:41:50 +0000 (08:41 +0000)]
Whoops, typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6597
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 19 Feb 2007 08:38:26 +0000 (08:38 +0000)]
1) Fix for nickname overruled with new cullList stuff -- we have to change their nick, its not safe to quit them as it messes up the nick hash.
2) Add a mute flag for users, so we can drop commands from users who have been placed on the cullList. This is independent of the actual cullList and can be
used as a general mute flag e.g. by shun modules.
3) Fix /kill to also not quit the user immediately, remove need for CMD_USER_DELETED return anywhere in the code.
*** THIS NEEDS TESTING BY QA ***
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6596
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 19 Feb 2007 08:15:54 +0000 (08:15 +0000)]
Fix for crashbugs when quitting users as experienced by satmd, SiliconAI and others.
QA: Please test combinations of /quit, /kill, and friends.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6595
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sun, 18 Feb 2007 17:31:51 +0000 (17:31 +0000)]
Few more cleanups (no need to update, shouldn't have changed any behaviour..)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6594
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sun, 18 Feb 2007 17:08:42 +0000 (17:08 +0000)]
Stop this using some global ServerInstance (where's that even defined? :|) and do some slight cleanups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6593
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 18 Feb 2007 13:29:26 +0000 (13:29 +0000)]
Account for bearbots whos CTCP TIME misses the ending \1 from the CTCP
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6592
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 18 Feb 2007 00:50:09 +0000 (00:50 +0000)]
Eliminate some string copies, tidy some code, and reverse some short-circuit checks
(Expensive(x) && Cheap(y)) -> (Cheap(y) && Expensive(x))
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6591
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 17 Feb 2007 22:31:33 +0000 (22:31 +0000)]
Change bytes-used counter for commands (used by /stats m) as in excessive use (see BARAFRANCA!) they can wrap around past 2 million commands.
(YES REALLY. THEY ISSUED > 2 MILLION PRIVMSGS)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6590
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 17 Feb 2007 20:13:31 +0000 (20:13 +0000)]
Bump API version
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6589
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 17 Feb 2007 20:10:54 +0000 (20:10 +0000)]
Change /msg $* to have the correct source the same way /notice $* does
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6588
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 17 Feb 2007 17:04:36 +0000 (17:04 +0000)]
Remove redundant debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6587
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 17 Feb 2007 16:49:51 +0000 (16:49 +0000)]
Drop the invalid command generated by the bearbot CTCP TIME check
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6586
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 17 Feb 2007 16:14:42 +0000 (16:14 +0000)]
Check CTCP TIME on bearbots
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6585
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sat, 17 Feb 2007 15:37:43 +0000 (15:37 +0000)]
Get rid of a compile warning. We should remember to use time_t for time variables and not unsigned int.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6584
e03df62e -2008-0410-955e-
edbf42e46eb7
om [Sat, 17 Feb 2007 15:14:37 +0000 (15:14 +0000)]
Yes, we know how to spell voluntary (and involuntary!) :<
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6583
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 14 Feb 2007 21:22:46 +0000 (21:22 +0000)]
Force ipv4 lookups here - cgiirc doesnt support ipv6 anyway.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6582
e03df62e -2008-0410-955e-
edbf42e46eb7
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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