summaryrefslogtreecommitdiff
path: root/src/dns.cpp
AgeCommit message (Collapse)Author
2011-09-10Cleaned up the dns engine, and fixed sometimes parsing multiple answer ↵Adam
queries incorrectly
2011-08-10Fixed windows buildAdam
2011-07-06Only call send once per write event in dns managerAdam
2011-07-03Clean up some of the dns code, udp is connectionless anyway so this isnt ↵Adam
required
2011-05-21Made Anope able to process normally when disconnected from the uplink and ↵Adam
not sleep(), enable usage of non-blocking connect() and default all sockets to non blocking mode. Some cleanup to m_ssl and some cleanup to main.cpp.
2011-05-16Unmodularized the socket engine because its causing problems and really is ↵Adam
unnecessary
2011-04-25Don't attempt to connect to the uplink if given invalid hostnamesAdam
2010-12-21Allow hostmasks to be in uplink:hostAdam
2010-12-13Bug #1079 - Don't use users real host and IPs when matching againstAdam
bans and excepts, except when a user is unbanning themselves, in an attempt to prevent people from gaining other users IPs. This removes support for Unreal and Bahamuts SVSMode -b because it will unban users by real host and IP.
2010-12-12Fixed DNS caching and made DNS cache empty resultsAdam
2010-11-11Removed an unused variableAdam
2010-11-11Fixed possible unsafe iteration when purging dns cache, and fixed the dns ↵Adam
cache to not expire all of the records for specific hosts if the records have different TTLs (cherry picked from commit 736df4bd98b952aad459fdf7914735e88f97c4b2)
2010-11-09Fixed DNS caching and made DNS cache empty resultsAdam
(cherry picked from commit 438ae629e51b519d0d5f70531d0262be1b9fe2bc)
2010-11-09Fixed a crash in the DNS engine when using cached resultsAdam
2010-10-21Changed the log:normal config directive to a list like the other log values, ↵Adam
and fixed a potential crash from rehashing while sending mail
2010-10-11Fixed Windows buildAdam
2010-10-11Fixed some warningsAdam
2010-10-09Fixed a crash in the dns engine if we receive a reply after a request has ↵Adam
timedout
2010-10-07Fixed a crash if the dns engine is unable to add questions into DNS packetsAdam
2010-10-01Rewrote some of the socket code to allow m_ssl to be a service.Adam
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-09-18DNSSocket doesn't need to save the server addr anymoreAdam
2010-09-17Rejig of some of the socket stuff. Fixed marking sockets as nonblocking on ↵Adam
Windows. Added in a LastError function to keep having to use strerror/GetLastError everywhere.
2010-09-16Fixed connecting back to the nameserver if we lose connection, and detecting ↵Adam
the nameserver
2010-09-14Give DNS requests an error when their creator is being unloaded instead of ↵Adam
just deleting them, and fixed a compile warning
2010-09-14Cleanup DNS requests when modules are unloaded, fixes unloading m_dnsbl ↵Adam
during the middle of queries
2010-09-10Added Anope::CurTime to keep us from calling time() everywhereAdam
2010-09-09Added an asynchronous DNS system and m_dnsbl, which checks clients against ↵Adam
DNS blacklists. Rewrote internal handling of IPs, we now properly support users using IPv6. Fixed a few problems with the UnrealIRCd protocol module.