summaryrefslogtreecommitdiff
path: root/src/dns.cpp
AgeCommit message (Collapse)Author
2012-12-15Move DNS handling to a moduleAdam
2012-11-30Allow services to return more than one NS recordAdam
2012-11-26Revert a small part of 90930619bc124e94bac5048c0b13c3f4748b559d, evidently ↵Adam
this was important
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-11-01Fixed quite a bit of dumbness with m_ssl. Had toAdam
modify socketengines to allow polling for write & no read, but is it cleaner now. Made m_httpd able to listen using SSL.
2012-10-30Fixed build errors and warnings with -std=c++11Adam
2012-10-27Ues timestamp for dns serial not yyyymmddnn.. there are too many problems ↵Adam
with this (restarts, >99 zone updates/day, etc)
2012-10-27Expand single digit serial revisions to match nnAdam
2012-10-26Sometimes zone transfers can be really bigAdam
2012-10-26Don't attempt to process any query packets if we aren't explicitly given ↵Adam
permission to bind to a port (we do anyway currently for m_dnsbl to get replies)
2012-10-24BIND's forward ability did not work as I expectedAdam
because it will not forward non recursive queries. So, added support for SOA, NS, and AXFR requests.
2012-10-22Cleanup of last few commits/warning fixAdam
2012-10-22Add os_dns, a way to control your DNS zone via servicesAdam
2012-09-02Fix WindowsAdam
2012-04-06Fixed unpacking questions from dns packetsAdam
2012-03-27Fixed unpacking multiple names from dns packets when one has multiple ↵Adam
compression pointers. Currently this will just fail at unpacking the later name due to offsets being invalid. Also cleaned up the existing code and made unpacking error messages more helpful.
2012-03-13Bug #1389 - readd RNG seed in the config and start DNS query ids off on a ↵Adam
random number
2012-02-14Clean up and reorganize our header filesAdam
2012-02-13Removed our RNG and just use the systems, it's not very widely used. Also ↵Adam
made DNS query ids not random as they don't need to be.
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.