aboutsummaryrefslogtreecommitdiffstats
path: root/src/dns.c
Commit message (Collapse)AuthorAgeFilesLines
* Use chacha20 for DNS id permutation.Vsevolod Stakhov2013-12-281-255/+65
|
* Fix critical bug in DNS resolver.Vsevolod Stakhov2013-12-201-30/+10
|
* Use sockets pool for DNS requests.Vsevolod Stakhov2013-12-181-72/+105
| | | | Inspired by: Vadim Goncharov
* Do not break lua plugins if there is no DNS.Vsevolod Stakhov2013-12-161-2/+6
|
* Revert dns changes for now, as they require more testing.Vsevolod Stakhov2013-12-101-146/+77
|
* Rework rspamd DNS resolver.Vsevolod Stakhov2013-12-101-97/+120
|
* Randomize source port to make a DNS request.Vsevolod Stakhov2013-12-091-13/+59
|
* Fix bug with DNS labels decompression.Vsevolod Stakhov2013-12-091-39/+66
|
* Use entropy from OpenSSL if possible.Vsevolod Stakhov2013-09-171-1/+11
|
* Rework socket creation logic to support both ipv4 and ipv6 sockets.Vsevolod Stakhov2013-06-011-11/+13
|
* Another debian license fix.Vsevolod Stakhov2012-09-101-1/+1
| | | | | Add apache license for regexp that were delivered from SpamAssassin project. Fix debian/copyright for src/dns.c.
* Update copyright (required by debian).Vsevolod Stakhov2012-09-041-3/+3
|
* * Fix spf plugin that was broken in 0.4.7Vsevolod Stakhov2012-04-201-2/+48
| | | | * Add partial ipv6 support for some rspamd modules.
* Add quarks to events to determine source of event inside rspamd.Vsevolod Stakhov2012-02-131-4/+4
| | | | Another try to fix threading.
* More cleanups and fixes for compiler warnings.0.4.6Vsevolod Stakhov2011-12-201-3/+3
|
* * Finally get rid of stupid savepoints system and migrate to async events ↵Vsevolod Stakhov2011-12-141-4/+9
| | | | | | logic completely Fix lua redis library.
* Fix DNS hashing issue.Vsevolod Stakhov2011-11-221-10/+25
|
* * Use event_base thread safe API to allow parallelism based on threadsVsevolod Stakhov2011-10-261-1/+8
|
* * Support for IDN urlsVsevolod Stakhov2011-08-231-38/+243
| | | | * DNS resolver now can handle international domains correctly
* * Fix DNS PTR resolvingVsevolod Stakhov2011-08-221-10/+7
| | | | * Add ability to resolve ip in once_received plugin to avoid temporary DNS fails of SMTP resolving
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-041-7/+3
|
* Make DNS requests with unique id.Vsevolod Stakhov2011-08-011-0/+7
|
* Fix up another event related problem.Vsevolod Stakhov2011-07-261-6/+2
|
* Fix for libevent.0.4.0Vsevolod Stakhov2011-07-221-0/+4
|
* Fix phishing detection with img flag.Vsevolod Stakhov2011-07-111-4/+4
| | | | | | Handle unclosed HTML tags properly. Remove warnings for types on 32 bit archs. Do not touch grow factor many times when one shot mode is turned on.
* Fixes from previous commit.Vsevolod Stakhov2011-06-101-1/+0
|
* * Add LRU caching structureVsevolod Stakhov2011-06-101-28/+33
| | | | | | | * Add SPF records cache * Add ability to parse doubles to xmlrpc Several fixes to dns interface. Trie plugin now checks urls as well.
* 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