brain
a54cfebb04
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
2006-08-02 10:26:21 +00:00
brain
b4f7f64413
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
2006-08-02 09:13:36 +00:00
brain
b53b47ca75
Fixes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4632 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02 00:38:59 +00:00
brain
8521a64963
Remove dnsqueue
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4631 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 23:29:39 +00:00
brain
bc6975c361
Remove dnsqueue
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4630 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 23:29:24 +00:00
brain
e00b5b82db
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
2006-08-01 23:26:11 +00:00
brain
f44d25e8c3
Fixes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4628 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 23:09:07 +00:00
brain
be1e2e4ee5
Fixes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4627 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 23:07:26 +00:00
brain
e74bb16a4f
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
2006-08-01 22:59:59 +00:00
brain
cc83231b94
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
2006-08-01 22:22:02 +00:00
brain
f368a03cf2
Remove unused vars from class DNS
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4624 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 22:21:16 +00:00
brain
ce9d870efa
Remove unused temp buffers
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4623 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 22:19:31 +00:00
brain
a5c9214743
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
2006-08-01 21:35:07 +00:00
brain
cf2836550f
Clone counting works with ipv6 now
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4621 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 19:17:30 +00:00
brain
145862efc7
Add support for comparing ipv6 for clone counting
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4620 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 19:15:27 +00:00
brain
424463bf9d
Remove the same craq
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4619 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 17:34:52 +00:00
brain
22416a1108
Remove ZapThisDns
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4617 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 17:25:39 +00:00
brain
3a3a73bce3
Fix broken inet_pton call
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4616 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 15:41:20 +00:00
brain
e505d47dc8
Fixes for inspsocket in ipv6 environment
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4615 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 15:08:52 +00:00
brain
821b8f5555
Still working under ipv4 now
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4614 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 14:52:31 +00:00
brain
cd361db4b9
Dns stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4613 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01 14:42:39 +00:00
brain
4a26a36523
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
2006-08-01 12:33:13 +00:00
brain
4488e47713
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
2006-08-01 11:46:19 +00:00
brain
4789b3f653
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
2006-08-01 10:42:22 +00:00
brain
c80508b28b
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
2006-08-01 10:37:16 +00:00
brain
15a3422e9e
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
2006-08-01 10:09:16 +00:00
brain
11376014e3
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
2006-07-31 12:30:42 +00:00
brain
cfc2715066
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
2006-07-30 23:05:46 +00:00
brain
63ecaa7059
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
2006-07-30 19:03:58 +00:00
brain
17a296ff58
Back to 1.1.0+SVN
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4602 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30 15:43:03 +00:00
brain
3f3fb76db3
1.1.0+PartyHats(ATP)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4599 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.0a1
2006-07-30 13:40:50 +00:00
brain
c746f9a964
REMOTE STATS! WOOO AND YAY!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30 13:00:51 +00:00
brain
08007a721e
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
2006-07-30 11:21:51 +00:00
brain
2a81a45118
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
2006-07-30 01:36:58 +00:00
brain
ba1807932b
Fix for bug which can lock up ircd if someone adds a timed ban when the banlist is full
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4589 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-29 22:02:11 +00:00
brain
c0449726a4
Started UserManager class
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4586 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-29 16:14:38 +00:00
brain
0eeab51f49
Fix typo
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4585 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-29 13:50:52 +00:00
brain
194365ecfb
Allow invalid nicks from remote users in NICK (we'll need this soon for UID nick collision handling)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4584 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 22:16:15 +00:00
brain
58a5cf7e39
Remove documentation of m_operwho from here
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4583 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 20:46:24 +00:00
brain
51a32f1abd
Remove m_operwho, no longer required in 1.1 as standard /who can do its job
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4582 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 20:45:42 +00:00
brain
66ce314989
Finish off /WHO (i think it covers everything). Now has a few extra options
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4581 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 20:44:20 +00:00
brain
6d06ed1a9e
Tidyup
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4580 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 17:13:38 +00:00
brain
4f22db0f87
Typical, forgot a ;
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4579 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 16:55:14 +00:00
brain
28cfa7d8ae
Document <options:syntaxhints> and <options:nouserdns>
...
Change syntaxhints to seperate RPL_TEXT (prefix SYNTAX)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4578 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 16:54:42 +00:00
brain
1448d13e17
Take invisible requirement out of chlist()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4577 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 15:45:38 +00:00
brain
f05102db9a
Remove casts
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4576 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 15:42:00 +00:00
om
96fbde1268
Remove unnecessary cast ;p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4575 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 12:36:37 +00:00
brain
c4f036dd5d
Beat om to the commit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4574 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 12:28:55 +00:00
brain
0caead69fb
Tidyup message.cpp, remove some really old craq.
...
Improve tidiness of new common_channels function
Add timeout value to blocking CleanAndResolve function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4572 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 12:15:26 +00:00
brain
af284a476e
Remove TODO, we just did it.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4571 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 12:01:41 +00:00