Adam
b5ff856f47
Windows
2011-11-08 17:29:16 -05:00
Adam
b504791bad
Cleaned up the dns engine, and fixed sometimes parsing multiple answer queries incorrectly
2011-09-10 01:55:37 -04:00
Adam
2caf5868d0
Clean up some of the dns code, udp is connectionless anyway so this isnt required
2011-07-03 00:19:54 -04:00
Adam
115f94bfc2
Made Anope able to process normally when disconnected from the uplink and 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-21 04:57:27 -04:00
Adam
b4450294af
Fixed Windows build
2011-05-15 21:02:06 -04:00
Adam
4a733c93d4
Don't attempt to connect to the uplink if given invalid hostnames
2011-04-25 04:17:21 -04:00
Adam
18377ac9fd
Allow hostmasks to be in uplink:host
2010-12-21 15:57:57 -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
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
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
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
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