]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
brain [Tue, 1 Aug 2006 15:08:52 +0000 (15:08 +0000)]
Fixes for inspsocket in ipv6 environment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4615
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 14:52:31 +0000 (14:52 +0000)]
Still working under ipv4 now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4614
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 14:42:39 +0000 (14:42 +0000)]
Dns stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4613
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 12:33:13 +0000 (12:33 +0000)]
This might well be the last commit to this dns resolver in its current form. With a bit of luck, we can make a better (always-threaded) one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4612
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 11:46:19 +0000 (11:46 +0000)]
The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if this works yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 10:42:22 +0000 (10:42 +0000)]
AF_INET -> define to AF_FAMILY, will be either AF_INET or AF_INET6
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4610
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 10:37:16 +0000 (10:37 +0000)]
Move to entirely using insp_sockaddr and insp_inaddr for socket stuff, first step on the road to ipv6 support
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4609
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 1 Aug 2006 10:09:16 +0000 (10:09 +0000)]
Missing include breaks "make clean" on the cmd_* files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4608
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 31 Jul 2006 12:30:42 +0000 (12:30 +0000)]
Remove match/wildcmp wrapper which just casts from const char* to char*, do the cast within wildcmp and rename wildcmp to match.
Remove other casts by casting directly to unsigned char* first time around
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4607
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 23:05:46 +0000 (23:05 +0000)]
I think ive found the answer to the hanging connections problem. The majority of stuff in userprocess is skipped over when fd==0, it was fd > 0 rather than fd > -1 in a check. This would prevent one user (near the first) with fd 0 from connecting properly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4605
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 19:03:58 +0000 (19:03 +0000)]
When m_ident isnt loaded, dont prepend ~ to idents
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4604
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 15:43:03 +0000 (15:43 +0000)]
Back to 1.1.0+SVN
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4602
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 13:40:50 +0000 (13:40 +0000)]
1.1.0+PartyHats(ATP)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4599
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 13:00:51 +0000 (13:00 +0000)]
REMOTE STATS! WOOO AND YAY!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 11:21:51 +0000 (11:21 +0000)]
Fix to send out modes remotely when a ban expires so that other ircds have their bans removed (they used to rely upon the expiry of the ban at the opposite end of the connection by the other end's m_timedbans, now they dont have to)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4595
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Jul 2006 01:36:58 +0000 (01:36 +0000)]
Fix more timedban stuff - possible infinite loop if ban expires after the channel has been deleted (and/or re-created under the same name)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4592
e03df62e -2008-0410-955e-
edbf42e46eb7