]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
18 years agoFixed bug in new /who code spotted by jilles
brain [Fri, 4 Aug 2006 20:07:45 +0000 (20:07 +0000)]
Fixed bug in new /who code spotted by jilles

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

18 years agoSanity checks
brain [Fri, 4 Aug 2006 20:02:53 +0000 (20:02 +0000)]
Sanity checks

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

18 years agoAllow non-ops to view listmode lists
brain [Fri, 4 Aug 2006 19:45:21 +0000 (19:45 +0000)]
Allow non-ops to view listmode lists

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

18 years agoFix global session checks
brain [Fri, 4 Aug 2006 19:32:11 +0000 (19:32 +0000)]
Fix global session checks

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

18 years agoTypo in /stats u
brain [Fri, 4 Aug 2006 16:34:47 +0000 (16:34 +0000)]
Typo in /stats u

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

18 years agoAdd 'no such server' on remote stats to invalid name
brain [Fri, 4 Aug 2006 16:14:44 +0000 (16:14 +0000)]
Add 'no such server' on remote stats to invalid name

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

18 years agoBackwards mode stuff!
brain [Fri, 4 Aug 2006 16:08:04 +0000 (16:08 +0000)]
Backwards mode stuff!

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

18 years agoBetter detection for hosts starting with :
brain [Fri, 4 Aug 2006 15:59:11 +0000 (15:59 +0000)]
Better detection for hosts starting with :

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

18 years agoFixes?
brain [Fri, 4 Aug 2006 15:47:06 +0000 (15:47 +0000)]
Fixes?

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

18 years agoBugs bugs
brain [Fri, 4 Aug 2006 15:40:14 +0000 (15:40 +0000)]
Bugs bugs

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

18 years agoDebug
brain [Fri, 4 Aug 2006 15:35:56 +0000 (15:35 +0000)]
Debug

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

18 years agoFix craq loop
brain [Fri, 4 Aug 2006 15:33:34 +0000 (15:33 +0000)]
Fix craq loop

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

18 years agoMore fuckup
brain [Fri, 4 Aug 2006 15:28:05 +0000 (15:28 +0000)]
More fuckup

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

18 years agoNot checking a pointer, bad brain bad
brain [Fri, 4 Aug 2006 15:25:22 +0000 (15:25 +0000)]
Not checking a pointer, bad brain bad

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

18 years agoWhoops, typo
brain [Fri, 4 Aug 2006 15:22:31 +0000 (15:22 +0000)]
Whoops, typo

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

18 years agoFixes for ::0 ip's, disable autobind when using ::ffff: etc
brain [Fri, 4 Aug 2006 15:16:37 +0000 (15:16 +0000)]
Fixes for ::0 ip's, disable autobind when using ::ffff: etc

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

18 years agoMore changes
brain [Fri, 4 Aug 2006 12:59:04 +0000 (12:59 +0000)]
More changes

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

18 years agoChanges
brain [Fri, 4 Aug 2006 12:57:43 +0000 (12:57 +0000)]
Changes

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

18 years agoDebug
brain [Fri, 4 Aug 2006 12:47:19 +0000 (12:47 +0000)]
Debug

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

18 years agoExtra debug
brain [Fri, 4 Aug 2006 12:39:39 +0000 (12:39 +0000)]
Extra debug

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

18 years agoMisplaced backtick makes stuff look ugly
brain [Fri, 4 Aug 2006 11:05:06 +0000 (11:05 +0000)]
Misplaced backtick makes stuff look ugly

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

18 years agoSafety wrapper defines for ipv6 code on ipv4 ircds
brain [Fri, 4 Aug 2006 11:03:21 +0000 (11:03 +0000)]
Safety wrapper defines for ipv6 code on ipv4 ircds

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

18 years agoIPV6 compile fixes
brain [Fri, 4 Aug 2006 10:39:42 +0000 (10:39 +0000)]
IPV6 compile fixes

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

18 years agoIPV6 changes for userrec::ip
brain [Fri, 4 Aug 2006 10:30:31 +0000 (10:30 +0000)]
IPV6 changes for userrec::ip

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

18 years agoChange to using userrec::ip as a sockaddr to store port, ip and address family, rathe...
brain [Fri, 4 Aug 2006 01:59:41 +0000 (01:59 +0000)]
Change to using userrec::ip as a sockaddr to store port, ip and address family, rather than userrec::ip4 and userrec::port.
This allows us to handle remote ipv6 users on an ipv4 server, and vice versa.

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

18 years agoAdd proper support for "munging" of ipv6 addresses when ::ffff:addr is used (this...
brain [Thu, 3 Aug 2006 21:45:39 +0000 (21:45 +0000)]
Add proper support for "munging" of ipv6 addresses when ::ffff:addr is used (this is temporary)

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

18 years agoChange some checking
brain [Thu, 3 Aug 2006 21:37:01 +0000 (21:37 +0000)]
Change some checking

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

18 years agoMore stuff
brain [Thu, 3 Aug 2006 21:33:44 +0000 (21:33 +0000)]
More stuff

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

18 years agoOdd stuff with ::ffff ipv6 addresses
brain [Thu, 3 Aug 2006 21:24:08 +0000 (21:24 +0000)]
Odd stuff with ::ffff ipv6 addresses

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

18 years agoExtra debug
brain [Thu, 3 Aug 2006 21:19:28 +0000 (21:19 +0000)]
Extra debug

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

18 years agoTweak
brain [Thu, 3 Aug 2006 21:17:19 +0000 (21:17 +0000)]
Tweak

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

18 years agoTweak tweak
brain [Thu, 3 Aug 2006 21:15:13 +0000 (21:15 +0000)]
Tweak tweak

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

18 years agoChange to use inaddr6_any
brain [Thu, 3 Aug 2006 21:12:31 +0000 (21:12 +0000)]
Change to use inaddr6_any

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

18 years agoAdd more debug
brain [Thu, 3 Aug 2006 21:07:06 +0000 (21:07 +0000)]
Add more debug

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

18 years agoDebug output on invalid nameserver address in constructor
brain [Thu, 3 Aug 2006 21:04:21 +0000 (21:04 +0000)]
Debug output on invalid nameserver address in constructor

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

18 years agoAdd strerror stuff
brain [Thu, 3 Aug 2006 20:58:03 +0000 (20:58 +0000)]
Add strerror stuff

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

18 years agoChange comments to reflect change from ip6.int to ip6.arpa which occured on jul 1st
brain [Thu, 3 Aug 2006 19:10:05 +0000 (19:10 +0000)]
Change comments to reflect  change from ip6.int to ip6.arpa which occured on jul 1st

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

18 years agoTidier MakeIP6Int()
brain [Thu, 3 Aug 2006 19:06:05 +0000 (19:06 +0000)]
Tidier MakeIP6Int()

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

18 years agoIts ip6.arpa, not ip6.int?
brain [Thu, 3 Aug 2006 18:55:19 +0000 (18:55 +0000)]
Its ip6.arpa, not ip6.int?

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

18 years agoExtra stuff for forcing a v4 or v6 lookup
brain [Thu, 3 Aug 2006 18:46:17 +0000 (18:46 +0000)]
Extra stuff for forcing a v4 or v6 lookup

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

18 years agoImproved ip6.int builder (no more HUGE sprintf craq)
brain [Thu, 3 Aug 2006 17:14:13 +0000 (17:14 +0000)]
Improved ip6.int builder (no more HUGE sprintf craq)

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

18 years agoAdded test framework, so that i can work on improving MakeIP6Int
brain [Thu, 3 Aug 2006 16:47:40 +0000 (16:47 +0000)]
Added test framework, so that i can work on improving MakeIP6Int

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

18 years ago*.ip6.int PTR lookups. FUGLY AS FUCK. someone please help me tidy (backported from...
brain [Thu, 3 Aug 2006 16:27:16 +0000 (16:27 +0000)]
*.ip6.int PTR lookups. FUGLY AS FUCK. someone please help me tidy (backported from firedns)

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

18 years agoAAAA lookup fixed. Theyre returned as string, without need for inet_pton with an...
brain [Thu, 3 Aug 2006 16:17:54 +0000 (16:17 +0000)]
AAAA lookup fixed. Theyre returned as string, without need for inet_pton with an in6_addr, so that its possible to resolve ipv6 without an ipv6 supporting kernel ;)

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

18 years agoFixed resolver, forward lookup of ipv6 doesnt work right yet
brain [Thu, 3 Aug 2006 16:00:55 +0000 (16:00 +0000)]
Fixed resolver, forward lookup of ipv6 doesnt work right yet

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

18 years agoSupport CNAME, AAAA
brain [Thu, 3 Aug 2006 15:49:22 +0000 (15:49 +0000)]
Support CNAME, AAAA

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

18 years agoFix sockaddr structs for ipv6
brain [Thu, 3 Aug 2006 15:15:09 +0000 (15:15 +0000)]
Fix sockaddr structs for ipv6

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

18 years agoFix bindsocket to work in ipv6 mode
brain [Thu, 3 Aug 2006 15:09:38 +0000 (15:09 +0000)]
Fix bindsocket to work in ipv6 mode

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

18 years agoAdd some commenting
brain [Thu, 3 Aug 2006 14:43:59 +0000 (14:43 +0000)]
Add some commenting

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

18 years agoadd erroring if there are already 65536 id's in transit
brain [Thu, 3 Aug 2006 14:42:18 +0000 (14:42 +0000)]
add erroring if there are already 65536 id's in transit

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

18 years agoCheck for spoofed DNS replies where the source-port is invalid, or the ip is not...
brain [Thu, 3 Aug 2006 14:25:49 +0000 (14:25 +0000)]
Check for spoofed DNS replies where the source-port is invalid, or the ip is not that of the nameserver we're configured to use

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

18 years agoProperly check for duplicate dns id's from the PRNG
brain [Thu, 3 Aug 2006 13:46:42 +0000 (13:46 +0000)]
Properly check for duplicate dns id's from the PRNG

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

18 years agoImprove PRNG
brain [Thu, 3 Aug 2006 13:28:12 +0000 (13:28 +0000)]
Improve PRNG

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

18 years agoDynamically generate 004 numeric from the modehandler list
brain [Thu, 3 Aug 2006 11:17:03 +0000 (11:17 +0000)]
Dynamically generate 004 numeric from the modehandler list

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

18 years agoAdded comments to class DNS and typedefs
brain [Wed, 2 Aug 2006 22:52:31 +0000 (22:52 +0000)]
Added comments to class DNS and typedefs

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

18 years agoPseudo-random id's again, combined with incrementing value, gettimeofday and geteuid...
brain [Wed, 2 Aug 2006 22:07:43 +0000 (22:07 +0000)]
Pseudo-random id's again, combined with incrementing value, gettimeofday and geteuid using xor

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

18 years agoAdd back stats counters for dns total, good and bad
brain [Wed, 2 Aug 2006 21:46:22 +0000 (21:46 +0000)]
Add back stats counters for dns total, good and bad

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

18 years agoAllocate request id's in sequence, which means we wont get a duplicate id until 65536...
brain [Wed, 2 Aug 2006 21:39:12 +0000 (21:39 +0000)]
Allocate request id's in sequence, which means we wont get a duplicate id until 65536 id's have been given out.
Much safer than rand()

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

18 years agoChange to a const
brain [Wed, 2 Aug 2006 21:26:49 +0000 (21:26 +0000)]
Change to a const

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

18 years agoChange more names and types
brain [Wed, 2 Aug 2006 21:06:44 +0000 (21:06 +0000)]
Change more names and types

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

18 years agoAbsolutely everything is now part of class DNS, or class Resolver.
brain [Wed, 2 Aug 2006 20:54:39 +0000 (20:54 +0000)]
Absolutely everything is now part of class DNS, or class Resolver.
This means our dns code is totally encapsulated and we know that
changing it wont effect anything else so long as the interface stays
the same.

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

18 years agoMore tidying
brain [Wed, 2 Aug 2006 20:44:46 +0000 (20:44 +0000)]
More tidying

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

18 years agoMove more stuff into private members of class DNS
brain [Wed, 2 Aug 2006 20:34:23 +0000 (20:34 +0000)]
Move more stuff into private members of class DNS

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

18 years agoTidyups, rename some vars
brain [Wed, 2 Aug 2006 20:16:25 +0000 (20:16 +0000)]
Tidyups, rename some vars

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

18 years agoMade MasterSocket static
brain [Wed, 2 Aug 2006 20:06:50 +0000 (20:06 +0000)]
Made MasterSocket static

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

18 years agoMove more stuff into class DNS
brain [Wed, 2 Aug 2006 19:59:06 +0000 (19:59 +0000)]
Move more stuff into class DNS

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

18 years agoTweak case of all classes to match those in the rest of the core
brain [Wed, 2 Aug 2006 19:15:22 +0000 (19:15 +0000)]
Tweak case of all classes to match those in the rest of the core

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

18 years agoChange comment at start of the file, rename dns_connection
brain [Wed, 2 Aug 2006 19:07:12 +0000 (19:07 +0000)]
Change comment at start of the file, rename dns_connection
to dns_request (they no longer represent connections with
unique FD's so the old name was kind of silly)

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

18 years agoChange a message
brain [Wed, 2 Aug 2006 19:00:15 +0000 (19:00 +0000)]
Change a message

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

18 years agoMore tidying. Add comments. More comments to do :p
brain [Wed, 2 Aug 2006 18:55:10 +0000 (18:55 +0000)]
More tidying. Add comments. More comments to do :p

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

18 years agoAdd error messages to Resolver::OnError()
brain [Wed, 2 Aug 2006 18:44:13 +0000 (18:44 +0000)]
Add error messages to Resolver::OnError()
Add exception handling to several places that use Resolver (it can throw)
Remove Resolver::ProcessResult(), its now handled within the bowels of dns.cpp

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

18 years agoThe great summer clean (better than a spring clean)
brain [Wed, 2 Aug 2006 18:06:04 +0000 (18:06 +0000)]
The great summer clean (better than a spring clean)

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

18 years agoTidyup var names. people who use 'l' to mean 'length' need to be shot with a brick
brain [Wed, 2 Aug 2006 17:35:47 +0000 (17:35 +0000)]
Tidyup var names. people who use 'l' to mean 'length' need to be shot with a brick

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

18 years agoMore tidyups
brain [Wed, 2 Aug 2006 17:27:07 +0000 (17:27 +0000)]
More tidyups

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

18 years agoTidyups (as usual)
brain [Wed, 2 Aug 2006 17:19:55 +0000 (17:19 +0000)]
Tidyups (as usual)

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

18 years agoMore tidyups
brain [Wed, 2 Aug 2006 17:09:40 +0000 (17:09 +0000)]
More tidyups

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

18 years agoTidyup var names. If i ever meet this person who called all the firedns vars 'l'...
brain [Wed, 2 Aug 2006 17:06:03 +0000 (17:06 +0000)]
Tidyup var names. If i ever meet this person who called all the firedns vars 'l' and 'c' and 'r' im going to beat them with Om's fish.

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

18 years agoTidyup dns.cpp
brain [Wed, 2 Aug 2006 17:03:04 +0000 (17:03 +0000)]
Tidyup dns.cpp

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

18 years agoCheck for invalid ip's being bound to
brain [Wed, 2 Aug 2006 12:50:41 +0000 (12:50 +0000)]
Check for invalid ip's being bound to

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

18 years ago(1) remove CleanAndResolve.
brain [Wed, 2 Aug 2006 11:50:01 +0000 (11:50 +0000)]
(1) remove CleanAndResolve.
(2) remove feature of being able to bind hostnames in <bind> tags (it used CleanAndResolve) :p
(3) Fix the stuff in SpanningTree that used CleanAndResolve to validate connecting ip addresses - it now builds an 'allowed ip cache' on rehash/startup instead

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

18 years agoCheck for duplicate servers in OnLookupComplete
brain [Wed, 2 Aug 2006 10:36:38 +0000 (10:36 +0000)]
Check for duplicate servers in OnLookupComplete

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

18 years agoComment ServernameResolver class
brain [Wed, 2 Aug 2006 10:33:49 +0000 (10:33 +0000)]
Comment ServernameResolver class

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

18 years agoInspSocket no longer resolves hosts.
brain [Wed, 2 Aug 2006 10:26:21 +0000 (10:26 +0000)]
InspSocket no longer resolves hosts.
InspSocket::DoResolve() and the stuff that calls it is gone, if you pass InspSocket an invalid ip, it will bail during its connect.
You must now use Resolver classes to resolve hostnames into IP addresses, if you wish to do this. Currently, only one non-extra module
does this, see class ServernameResolver within m_spanningtree

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

18 years agoChange comment which referred to an fd, is now an id
brain [Wed, 2 Aug 2006 09:13:36 +0000 (09:13 +0000)]
Change comment which referred to an fd, is now an id

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

18 years agoFixes
brain [Wed, 2 Aug 2006 00:38:59 +0000 (00:38 +0000)]
Fixes

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

18 years agoRemove dnsqueue
brain [Tue, 1 Aug 2006 23:29:39 +0000 (23:29 +0000)]
Remove dnsqueue

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

18 years agoRemove dnsqueue
brain [Tue, 1 Aug 2006 23:29:24 +0000 (23:29 +0000)]
Remove dnsqueue

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

18 years agoComments, add more detail, remove dnsqueue.h include from tons of places
brain [Tue, 1 Aug 2006 23:26:11 +0000 (23:26 +0000)]
Comments, add more detail, remove dnsqueue.h include from tons of places
Remove THREADED_DNS defines from all over the place

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

18 years agoFixes
brain [Tue, 1 Aug 2006 23:09:07 +0000 (23:09 +0000)]
Fixes

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

18 years agoFixes
brain [Tue, 1 Aug 2006 23:07:26 +0000 (23:07 +0000)]
Fixes

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

18 years agoStuff to make user host resolving use class Resolver - not tested yet
brain [Tue, 1 Aug 2006 22:59:59 +0000 (22:59 +0000)]
Stuff to make user host resolving use class Resolver - not tested yet

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

18 years agoRemove X_ESTAB_CLASSDNS, X_ESTAB_DNS now does the job of this (i TOLD w00t and om...
brain [Tue, 1 Aug 2006 22:22:02 +0000 (22:22 +0000)]
Remove X_ESTAB_CLASSDNS, X_ESTAB_DNS now does the job of this (i TOLD w00t and om i was removing this eventually, and now i did :p)

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

18 years agoRemove unused vars from class DNS
brain [Tue, 1 Aug 2006 22:21:16 +0000 (22:21 +0000)]
Remove unused vars from class DNS

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

18 years agoRemove unused temp buffers
brain [Tue, 1 Aug 2006 22:19:31 +0000 (22:19 +0000)]
Remove unused temp buffers

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

18 years agoRemoved threaded dns (it might make a comeback some day, but as it stands its incompa...
brain [Tue, 1 Aug 2006 21:35:07 +0000 (21:35 +0000)]
Removed threaded dns (it might make a comeback some day, but as it stands its incompatible with the new OO resolver)
Migrated to new OO resolver, removed as much firedns craq as is safe to do so, operates over one file descriptor now and keyed against request id.
The only way to use the system is via class Resolver (so i'll need to migrate the rest of the ircd to use it)

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

18 years agoClone counting works with ipv6 now
brain [Tue, 1 Aug 2006 19:17:30 +0000 (19:17 +0000)]
Clone counting works with ipv6 now

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

18 years agoAdd support for comparing ipv6 for clone counting
brain [Tue, 1 Aug 2006 19:15:27 +0000 (19:15 +0000)]
Add support for comparing ipv6 for clone counting

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

18 years agoRemove the same craq
brain [Tue, 1 Aug 2006 17:34:52 +0000 (17:34 +0000)]
Remove the same craq

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

18 years agoRemove ZapThisDns
brain [Tue, 1 Aug 2006 17:25:39 +0000 (17:25 +0000)]
Remove ZapThisDns

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

18 years agoFix broken inet_pton call
brain [Tue, 1 Aug 2006 15:41:20 +0000 (15:41 +0000)]
Fix broken inet_pton call

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