]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoLeft nick out of the cidr/ip check in bans/join, would never match
brain [Sun, 6 Aug 2006 23:16:25 +0000 (23:16 +0000)]
Left nick out of the cidr/ip check in bans/join, would never match

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

17 years agoFix for ipv6 build
brain [Sun, 6 Aug 2006 22:50:19 +0000 (22:50 +0000)]
Fix for ipv6 build

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

17 years agoreturn statement in wrong place caused modes to be dropped
brain [Sun, 6 Aug 2006 22:27:14 +0000 (22:27 +0000)]
return statement in wrong place caused modes to be dropped

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

17 years agoGive a full path to .gdbargs, should let you run the ./inspircd script from outside...
om [Sun, 6 Aug 2006 22:26:18 +0000 (22:26 +0000)]
Give a full path to .gdbargs, should let you run the ./inspircd script from outside the install dir (from this point of view, anyway

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

17 years agoInstall .gdbargs with ./inspircd
om [Sun, 6 Aug 2006 22:17:37 +0000 (22:17 +0000)]
Install .gdbargs with ./inspircd

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

17 years agoSyntax notice on bad commandline
brain [Sun, 6 Aug 2006 22:00:08 +0000 (22:00 +0000)]
Syntax notice on bad commandline

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

17 years agoAdd -notraceback startup option, disables automatic backtrace facility so that you...
brain [Sun, 6 Aug 2006 21:55:01 +0000 (21:55 +0000)]
Add -notraceback startup option, disables automatic backtrace facility so that you can do it yourself with a coredump and gdb (auto backtrace doesnt dump cores)

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

17 years agoRemove check that very rarely equates to true
brain [Sun, 6 Aug 2006 21:44:55 +0000 (21:44 +0000)]
Remove check that very rarely equates to true

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

17 years agoChange to strrchr when looking for '/'. faster
brain [Sun, 6 Aug 2006 21:37:26 +0000 (21:37 +0000)]
Change to strrchr when looking for '/'. faster

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

17 years agoTidy up comments
brain [Sun, 6 Aug 2006 21:03:41 +0000 (21:03 +0000)]
Tidy up comments

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

17 years agoComments
brain [Sun, 6 Aug 2006 19:51:15 +0000 (19:51 +0000)]
Comments

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

17 years agoExtra comments
brain [Sun, 6 Aug 2006 19:49:32 +0000 (19:49 +0000)]
Extra comments

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

17 years agoUpdate to reflect allowing CIDR in new places
brain [Sun, 6 Aug 2006 19:45:42 +0000 (19:45 +0000)]
Update to reflect allowing CIDR in new places

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

17 years agoCIDR g/k/e lines to go with zlines
brain [Sun, 6 Aug 2006 19:43:47 +0000 (19:43 +0000)]
CIDR g/k/e lines to go with zlines

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

17 years agoJust comments
brain [Sun, 6 Aug 2006 19:03:14 +0000 (19:03 +0000)]
Just comments

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

17 years agoAllow non-cidr ip's still
brain [Sun, 6 Aug 2006 18:46:32 +0000 (18:46 +0000)]
Allow non-cidr ip's still

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

17 years agoAllow CIDR channel bans to be matched
brain [Sun, 6 Aug 2006 18:38:37 +0000 (18:38 +0000)]
Allow CIDR channel bans to be matched

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

17 years agoUpdate docs to indicate ident@mask/bits is allowed in <oper>
brain [Sun, 6 Aug 2006 18:35:40 +0000 (18:35 +0000)]
Update docs to indicate ident@mask/bits is allowed in <oper>

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

17 years agoAllow nick!ident@ and ident@ portions in a CIDR mask if given, use match() without...
brain [Sun, 6 Aug 2006 18:34:39 +0000 (18:34 +0000)]
Allow nick!ident@ and ident@ portions in a CIDR mask if given, use match() without CIDR against that portion. This allows for CIDR operhosts while still matching idents (AND CIDR CHANNEL BANS)

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

17 years agoUpdate docs to reflect where CIDR is allowed
brain [Sun, 6 Aug 2006 18:06:21 +0000 (18:06 +0000)]
Update docs to reflect where CIDR is allowed

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

17 years agoAdd docs for m_httpd and m_http_stats
brain [Sun, 6 Aug 2006 17:11:50 +0000 (17:11 +0000)]
Add docs for m_httpd and m_http_stats

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

17 years agoAdd documentation of <link:allowmask>
brain [Sun, 6 Aug 2006 16:55:02 +0000 (16:55 +0000)]
Add documentation of <link:allowmask>

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

17 years agoAdd <link:allowmask>
brain [Sun, 6 Aug 2006 16:51:45 +0000 (16:51 +0000)]
Add <link:allowmask>

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

17 years agoClamp mask sizes to 128 for ipv6 and 32 for ipv4
brain [Sun, 6 Aug 2006 16:38:54 +0000 (16:38 +0000)]
Clamp mask sizes to 128 for ipv6 and 32 for ipv4

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

17 years agoExtra safety checks
brain [Sun, 6 Aug 2006 16:16:07 +0000 (16:16 +0000)]
Extra safety checks

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

17 years agoSupport CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR oper, ident...
brain [Sun, 6 Aug 2006 16:09:29 +0000 (16:09 +0000)]
Support CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR oper, ident field is not supported (yet)

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

17 years agoFix CIDR functions so they work
brain [Sun, 6 Aug 2006 15:26:16 +0000 (15:26 +0000)]
Fix CIDR functions so they work

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

17 years agoSimple CIDR checking routine
brain [Sun, 6 Aug 2006 15:10:40 +0000 (15:10 +0000)]
Simple CIDR checking routine

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

17 years agoFix TS lowering, also update local variable
brain [Sun, 6 Aug 2006 14:36:24 +0000 (14:36 +0000)]
Fix TS lowering, also update local variable

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

17 years agoDont try and cloak remote clients
brain [Sat, 5 Aug 2006 22:32:50 +0000 (22:32 +0000)]
Dont try and cloak remote clients

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

17 years agoExtra stuff for identifying ipv6 addresses
brain [Sat, 5 Aug 2006 22:30:39 +0000 (22:30 +0000)]
Extra stuff for identifying ipv6 addresses

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

17 years agoUse insp_aton so we can correctly cloak ipv6
brain [Sat, 5 Aug 2006 22:27:36 +0000 (22:27 +0000)]
Use insp_aton so we can correctly cloak ipv6

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

17 years agoHopefully stop compile warning which I don't get anyway
om [Sat, 5 Aug 2006 13:07:17 +0000 (13:07 +0000)]
Hopefully stop compile warning which I don't get anyway

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

17 years agoChange a loop which uppercases the command to std::transform()
brain [Sat, 5 Aug 2006 01:30:14 +0000 (01:30 +0000)]
Change a loop which uppercases the command to std::transform()

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

17 years agoFix /stats T dns totals
brain [Fri, 4 Aug 2006 21:07:35 +0000 (21:07 +0000)]
Fix /stats T dns totals

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

17 years agoRemove leading : from /stats l, add /stats L
brain [Fri, 4 Aug 2006 21:00:04 +0000 (21:00 +0000)]
Remove leading : from /stats l, add /stats L

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

17 years agoChange field name to time_open
brain [Fri, 4 Aug 2006 20:54:25 +0000 (20:54 +0000)]
Change field name to time_open

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

17 years agoChange /stats l to be more usable
brain [Fri, 4 Aug 2006 20:52:51 +0000 (20:52 +0000)]
Change /stats l to be more usable

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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