aboutsummaryrefslogtreecommitdiffstats
path: root/src/dns.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug in librsapmdclient with uninitialized struct field.Vsevolod Stakhov2011-06-021-0/+6
| | | | Fix bug in DNS parser that caused invalid parsing of CNAME fields.
* * Add ability to specify dns nameservers in a configVsevolod Stakhov2011-04-061-9/+43
| | | | * Add ability to select between round-robin and master-slave algorithms for dns servers
* * Add more timeouts: for fuzzy operations, for worker task operationsVsevolod Stakhov2011-03-281-5/+2
| | | | Handle miliseconds using a common macro.
* Race (func MUST be called after all modifications to its argument)Vsevolod Stakhov2011-03-231-2/+6
|
* Add throttling timer only once.Vsevolod Stakhov2011-03-231-1/+1
|
* * Add throttling detection mechanic for dns resolverVsevolod Stakhov2011-03-231-3/+40
| | | | * Improve phishing module adding ability to define 'strict' phishing domains
* Fix parsing of DNS records :(Vsevolod Stakhov2011-02-251-7/+8
| | | | | | Fix parsing several mx addrs in spf parser [1] Reported by: Victor Ustugov
* Fix several memory leaks in rspamd.Vsevolod Stakhov2011-02-241-0/+3
|
* * Add ability to save symbols that are inside composites with '-' flag.Vsevolod Stakhov2011-02-191-4/+4
| | | | | | | Remove warnings from rspamc. Add new rules [1] Submitted by: Victor Ustugov [1]
* Optimize DNS parsing.Vsevolod Stakhov2011-02-181-2/+2
| | | | Suggested by: Igor Sysoev
* When parsing RRs 'eat' last '.' symbolVsevolod Stakhov2010-11-011-1/+1
|
* Fixes bugs found with clang-static analyser.Vsevolod Stakhov2010-10-111-5/+4
| | | | | Strictly follow c99 standart. Turn on pedantic c99 checks.
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-67/+67
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Write symbols weights to rspamc outputVsevolod Stakhov2010-07-311-1/+1
| | | | | | * Improve logic of selecting rspamc version * Do not try to parse broken DNS replies * Add 'raw' flag to FROM_EXCESS_BASE64 rule (requested by citrin)
* * Fix parsing txt records to avoid reading of uninitialized dataVsevolod Stakhov2010-07-281-3/+5
|
* * Fix labels parsingcebka2010-07-281-3/+6
|
* * Stupid error in calculation compressed label lengthVsevolod Stakhov2010-07-201-1/+1
|
* * Fix problems with parsing compressed namesVsevolod Stakhov2010-07-201-10/+37
| | | | * Fix TXT records parsing
* * Do not try to resolve names with several dots in a rowVsevolod Stakhov2010-07-191-0/+6
| | | | * Fix surbl request formatting for ip addresses
* * Calling callbacks may cause destroying session from which we are calling ↵Vsevolod Stakhov2010-07-131-6/+10
| | | | callback so we MUST call callback as the latest action
* * Do not insert unparsed RR's into replyVsevolod Stakhov2010-07-131-13/+26
|
* * Fix some problems with TXT recordsVsevolod Stakhov2010-07-131-11/+14
| | | | * Try to fix removing of DNS events
* * Fix lua DNS codeVsevolod Stakhov2010-07-131-5/+20
| | | | * Decompress labels in DNS packets more strictly
* * Remove evdns and use only rspamd resolverVsevolod Stakhov2010-07-091-4/+2
|
* * Make SURBL module to use rspamd dns moduleVsevolod Stakhov2010-07-091-8/+25
| | | | * Several fixes to DNS logic
* * Add support for parsing SPF and SRV recordsVsevolod Stakhov2010-07-091-8/+114
| | | | | * Fix PTR parsing * Add tests
* * Make DNS resolver workingVsevolod Stakhov2010-07-081-67/+239
| | | | | | * Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality * Write DNS resolver tests * Fix issues with memory_pool mutexes and with creating of statfiles
* * Add ability to test regexp with 'T' flagVsevolod Stakhov2010-07-061-9/+256
| | | | | | | * Write more code for DNS resolver: - initial RR parser - name compression - replies handler
* * Add resolv.conf parsing into dns.cVsevolod Stakhov2010-07-011-14/+113
| | | | * Fix microseconds<->milliseconds conversions
* * Add ability to set filters for smtp worker for each smtp stageVsevolod Stakhov2010-06-291-0/+636
* Add very initial version of DNS resolver (many things to be done)