Adam
a2a6708f1a
Allow hostmasks to be in uplink:host
...
(cherry picked from commit 18377ac9fd )
2010-12-24 20:06:25 -05:00
Adam
8662b0989e
Removed an unused variable
2010-11-11 19:49:00 -05:00
Adam
12c5314863
Fixed possible unsafe iteration when purging dns cache, and fixed the dns cache to not expire all of the records for specific hosts if the records have different TTLs
...
(cherry picked from commit 736df4bd98b952aad459fdf7914735e88f97c4b2)
2010-11-11 19:34:23 -05:00
Adam
0d2db1f9f9
Fixed DNS caching and made DNS cache empty results
...
(cherry picked from commit 438ae629e51b519d0d5f70531d0262be1b9fe2bc)
2010-11-09 15:04:28 -05:00
Adam
fe6d7913ce
Fixed a crash in the DNS engine when using cached results
2010-11-09 03:20:50 -05:00
Adam
791c2b89a5
Changed the log:normal config directive to a list like the other log values, and fixed a potential crash from rehashing while sending mail
2010-10-21 23:20:48 -04:00
Adam
d7aa5f6a3a
Fixed Windows build
2010-10-11 18:47:54 -04:00
Adam
717c123441
Fixed some warnings
2010-10-11 15:37:39 -04:00
Adam
0ac77d0e42
Fixed a crash in the dns engine if we receive a reply after a request has timedout
2010-10-09 20:02:19 -04:00
Adam
21a61f162e
Fixed a crash if the dns engine is unable to add questions into DNS packets
2010-10-07 21:27:32 -04:00
Adam
d44f7971b1
Rewrote some of the socket code to allow m_ssl to be a service.
...
This allows modules (xmlrpc) to create and accept SSL connections.
Also fixed unloading m_mysql at certain times and made the threading
engine always work correctly on Windows.
2010-10-01 21:01:49 -04:00
Adam
ebd2997b79
DNSSocket doesn't need to save the server addr anymore
2010-09-18 17:27:58 -04:00
Adam
227909e2cf
Rejig of some of the socket stuff. Fixed marking sockets as nonblocking on Windows. Added in a LastError function to keep having to use strerror/GetLastError everywhere.
2010-09-17 19:20:07 -04:00
Adam
61e7564633
Fixed connecting back to the nameserver if we lose connection, and detecting the nameserver
2010-09-16 22:21:55 -04:00
Adam
6239b5a053
Give DNS requests an error when their creator is being unloaded instead of just deleting them, and fixed a compile warning
2010-09-14 19:31:22 -04:00
Adam
e7ac33fd62
Cleanup DNS requests when modules are unloaded, fixes unloading m_dnsbl during the middle of queries
2010-09-14 18:24:14 -04:00
Adam
f00e76d30a
Added Anope::CurTime to keep us from calling time() everywhere
2010-09-10 20:31:31 -04:00
Adam
46813ccb8c
Added an asynchronous DNS system and m_dnsbl, which checks clients against DNS blacklists.
...
Rewrote internal handling of IPs, we now properly support users using IPv6.
Fixed a few problems with the UnrealIRCd protocol module.
2010-09-09 23:43:11 -04:00