]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Mon, 7 Aug 2006 11:53:21 +0000 (11:53 +0000)]
Remove dependent commands BEFORE deleting the Module*, otherwise things go tits over arse
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4761
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 7 Aug 2006 00:03:18 +0000 (00:03 +0000)]
Remove old debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4760
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 6 Aug 2006 23:38:58 +0000 (23:38 +0000)]
Remove trailing spaces from input in irc::ircsepstream
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4759
e03df62e -2008-0410-955e-
edbf42e46eb7
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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