23 Commits

Author SHA1 Message Date
Sadie Powell
b4a174ee9c Fix a bunch of weird indentation and spacing issues. 2021-04-27 16:41:14 +01:00
Sadie Powell
fc3c650e8d Add support for per-DNSBL timeouts.
This should fix the issue of some DNSBLs being slower than others.
2021-03-31 13:41:55 +01:00
Sadie Powell
952ee5cc60 Fix various documentation comments. 2021-03-31 10:51:51 +01:00
InspIRCd Robot
1bf7ca3894 Update copyright headers. 2021-02-26 06:58:13 +00:00
Sadie Powell
a601cf2f0d Add <dns:enabled>; allows disabling DNS lookups entirely.
Ref: #1839.
2021-01-19 08:42:44 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Peter Powell
51b9b4c9b4 Add GetTypeStr to the DNS API. 2019-10-13 22:05:19 +01:00
Peter Powell
91e0af0fc4 Add the override keyword in places that it is missing.
GCCs warnings for this are much better than Clangs.
2017-11-21 15:51:45 +00:00
Peter Powell
74dd288542 Move <dns:timeout> out of the core. 2017-09-03 19:28:50 +01:00
Adam
f2e3762ff4
core_dns: add support for txt records
This might be used later by m_dnsbl to get reasons for listings
2017-04-23 16:35:21 -04:00
Adam
14556541bb core_dns Make question a member of request, move common FindAnswerOfType to be a member of query 2016-08-25 17:12:48 +02:00
Adam
70542e525b Fail invalid dns responses instead of drop 2015-07-06 17:53:21 +02:00
Attila Molnar
c090e54be9 core_dns Add DNS timeout timer in Process() not in DNS::Request constructor 2015-05-13 00:43:00 +02:00
Attila Molnar
d1f028db2b core_dns Make MAX_REQUEST_ID unsigned, move it to core_dns from header 2015-05-13 00:39:54 +02:00
Attila Molnar
3d32852e7e core_dns Drop incoming packets containing a different question from what we asked 2015-04-27 19:28:00 +02:00
Attila Molnar
edfe7f035e core_dns Remove incomplete support for multiple questions per query 2015-04-21 15:24:10 +02:00
Attila Molnar
a28f095db8 core_dns Don't store query class code in Question 2015-04-21 15:14:29 +02:00
Attila Molnar
4e58282058 core_dns Add typedef for request id, change it to uint16_t 2015-04-21 15:08:10 +02:00
Attila Molnar
acccaa3964 Remove current time parameter of the Timer constructor 2014-07-10 12:17:55 +02:00
Attila Molnar
0babd8c078 Change allocation of InspIRCd::Timers to be physically part of the object containing it 2014-03-15 15:38:09 +01:00
Attila Molnar
5ac1ffce11 Allow Timers to delete themselves in Tick() 2014-01-30 21:44:51 +01:00
Attila Molnar
d02011d69f Remove whitespace and minor style changes 2014-01-23 14:37:09 +01:00
Adam
8428bbb387 Modularize DNS
The DNS modules are temporarily in commands/ so they're loaded automatically

Thanks to Attila for helping with much of this.
2013-04-26 16:59:29 -05:00