You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ChangeLog 35KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808
  1. 0.9.4:
  2. * Fix critical bugs in tokenization algorithm
  3. * Write unit tests for tokenization
  4. * Add documentation for lua_tcp
  5. * Switch off legacy tokenization by default.
  6. * Fix critical bugs in words normalization
  7. * Add lua bindings to tokenizer.
  8. * Implement storing of HTTP headers inside task
  9. * Add lua API to accerss HTTP headers data
  10. * Implemented base64 encoding suitable for MIME
  11. * Use caseless hash and equal functions for HTTP request headers.
  12. * Improve debian architectures support (by @dottedmag)
  13. 0.9.3:
  14. * Revert incorrect regexp change that broke the default rules
  15. * Fix lua_tcp module
  16. 0.9.2:
  17. * Fix error on spawning unique workers.
  18. * Add preliminary version of generic LUA TCP requests API.
  19. * Use lua 5.1 if luajit is not available (Arm64, PowerPC, s390x etc)
  20. * Fix fuzzy mime strings with only type.
  21. * Improve thunderbird sanity checks.
  22. * Fix critical bug on matching regular expressions.
  23. * Make hiredis optional dependency.
  24. * Fix multiple bugs in daemon reloading
  25. 0.9.1:
  26. * Restore utf8 validation for regular expressions to avoid crashes
  27. * Fix symbols displaying in the interface
  28. * Add symbol groups to the interface
  29. * Fix maps ID parsing in the controller
  30. * Add multimap and regexp modules documentation
  31. * Backport fixes from libucl
  32. * Fix debian package (by @dottedmag)
  33. * Rework XXH32 invocations
  34. 0.9.0:
  35. * Add support of the fast and secure protocol level encryption:
  36. - curve25519 is used for key exchange;
  37. - chacha20/poly1305 cryptobox construction for bulk encryption;
  38. - zero latency overhead;
  39. - encrypting and balancing HTTP proxy worker
  40. * Rework expressions and create new expressions library:
  41. - aggressive optimizations based on the abstract syntax tree;
  42. - abstract expressions support (regular expressions, functions, lua modules
  43. composites and so on)
  44. - New comparision and '+' operators support
  45. - New greedy algorithm to minimize execution time of expressions and
  46. all symbols
  47. - Dynamic expressions benchmark and reoptimizations
  48. * Many improvements to the LUA API:
  49. - reworked logger module allowing to do pretty print of the most of lua
  50. types (including tables and userdata classes)
  51. - reworked lua redis and lua HTTP to support more features
  52. - added opaque type for passing large text chunks without copying
  53. - new regexp module with many auxiliary functions (e.g. `re:split`)
  54. * LuaJIT is now the default requirement for rspamd allowing to speed up lua
  55. execution by a large margin (however, plain lua is still supported)
  56. * New plugins:
  57. - spamassassin rules plugin that allows to load and re-use the most of
  58. SA rules natively
  59. - DMARC plugin that evaluates SPF and DKIM policies to the domain policies
  60. - many old plugins has been reworked to implement new features and improve
  61. stability
  62. * New aho-corasic trie implementation from @mischasan that allows to load and
  63. use hundreds of thousands of patterns with no influence on load
  64. * Support of PCRE JIT and PCRE JIT fast path modes that significantly improves
  65. the performance of regular expressions if supported by PCRE
  66. * New URLs parser and extractor:
  67. - removed legacy code that was useless for url finding
  68. - reworked algorithms of URL parsing for more precise and accurate results
  69. - added top-level-domains tree from http://publicsuffix.org
  70. - improved emails parsing
  71. - removed many phishing false positives due to TLD tree check
  72. * New statistics infrastructure:
  73. - created a separate layer of statistic library
  74. - improved OSB-Bayes by re-weighting tokens according to the original
  75. academic paper and `crm114` implementation, which reduced false positives
  76. rate significantly
  77. - created learn cache to avoid double learning of statistics and providing
  78. an efficient way to re-learn class for a message
  79. - created abstract layers for different statistics backends
  80. - implemented new tokenization algorithms with fast or secure (siphash)
  81. hashes to generate statistics features
  82. * Reworked utf8 tokenization that previously corrupted all UTF8 words (minor
  83. incompatibility with old fuzzy hashes with utf-8 symbols)
  84. * SPF module has been completely rewritten to support complex cases of
  85. `include` and `redirect` within SPF records
  86. * DKIM module now supports multiple signatures
  87. * Controller passwords can now be stored encrypted by `PBKDF2-HMAC` in the
  88. configuration file
  89. * Many hand-written HTTP clients has been replaced with the common rspamd
  90. http module
  91. * New test framework:
  92. - import lua `telescope` test framework
  93. - add unit tests for many rspamd modules and routines
  94. - create a unit test for each possible bug found
  95. - use luajit ffi for testing C code
  96. - added preliminary support of functional testing by creating tasks from lua
  97. * Randomize hash seed to avoid certain hash tables vulnerabilities
  98. * Documentation improvements:
  99. - added documentation for the vast majority of rspamd modules
  100. - added documentation for rspamd protocol
  101. - added documentation for the most of rspamd LUA extensions
  102. * Fixed tonns of bugs and memory leaks
  103. * Added tonns of minor features
  104. 0.8.3:
  105. * Various critical fixes in distribution (by @dottedmag and @fatalbanana)
  106. * Fixed bugs in url detector to parse certain patterns
  107. * Add default host and helo for a client
  108. * Some sanity checks for tokenizer and classifier
  109. * Reiterate on systemd support
  110. * Fix missing symbol registration
  111. * Add support of spamc compatible output
  112. * Filter double-dots in rbl.lua validate_dns (by @fatalbanana)
  113. * Update ucl submodule due to critical bugfix
  114. 0.8.2:
  115. * Create fuzzy db if it does not exist
  116. * Fix: Centos init script: configtest() (by @AlexeySa)
  117. * Enable one_shot for RECEIVED_SPAMHAUS_XBL - Fixes #102 (by @fatalbanana)
  118. * Update Exim patch (by @fatalbanana)
  119. * Fix processing of unix sockets.
  120. * Allow applying settings to authenticated users (by @fatalbanana)
  121. * Make settings priorities work as documented (by @fatalbanana)
  122. * Fix race condition in symbols planner
  123. * Add DNSWL_BLOCKED symbol (by @fatalbanana)
  124. * Make Exim pass usernames to rspamd (by @fatalbanana)
  125. * Update RBL module (by @fatalbanana):
  126. - fix indentation;
  127. - collapse loops;
  128. - avoid calling for un-needed information;
  129. - allow disabling RBLs for authenticated users
  130. * once_received.lua: Fix indentation & add exclusion for authenticated users (by @fatalbanana)
  131. * hfilter.lua: Add exclusion for authenticated users (by @AlexeySa)
  132. * Updates to hfilter rules (by @AlexeySa)
  133. * Set empty <> user or addr for msgs without FROM (by @eneq123)
  134. * Fix: attempt to index field '?' (a nil value) (by @eneq123)
  135. * Fix: if not exist Date-header (by @AlexeySa)
  136. * Add task:get_content() method.
  137. * rbl.lua: Ignore private IP space (by @fatalbanana)
  138. * Allow to check radix maps from lua by rspamd{ip}
  139. * Make local exclusions configurable per-RBL (by @fatalbanana)
  140. * Add rspamd_config:radix_from_config() (by @fatalbanana)
  141. * Support emails dnsbl in rbl (by @fatalbanana)
  142. * Complete rework of url extraction logic
  143. * Allow customizations for unix sockets. (fixes #182)
  144. * Set lua path according to rspamd settings.
  145. * Import lua-functional for plugins stuff.
  146. * Completely rewrite multimap plugin in functional style.
  147. * Fix FORGED_MUA_THUNDERBIRD_MSGID (fixes #186)
  148. * Check IPv6 addresses at dnswl.org and Spamhaus whitelist (by @fatalbanana)
  149. * Add lowercase utility for utf8 strings.
  150. * Various fixes to build system
  151. * Updated debian configuration infrastructure (by @dottedmag)
  152. 0.8.1:
  153. * Add sqlite and perl as dependencies for RPM/Debian packages (by @fatalbanana)
  154. * Remove whitelist.lua from RPM file list (by @fatalbanana)
  155. * Make Exim pass hostnames to rspamd (by @fatalbanana)
  156. * Fix building on Fedora (by @fatalbanana)
  157. * Add toggle for disabling installation of systemd units on Linux (by @fatalbanana)
  158. * Fix double format rounding that caused output corruption (reported by @fatalbanana)
  159. * Revert broken change for destructors ordering that led to memory corruption
  160. * Do not reset symbols case of settings if parsed from lua (reported by @andrejzverev)
  161. * Fix build on SunOS (by @wiedi)
  162. * Fix multiple crashes on broken DKIM DNS records
  163. * Fix critical issue with composites weights removing
  164. * Fix memory corruption in composites processing code
  165. * Ignore non-SPF TXT records when parsing SPF includes
  166. 0.8.0:
  167. * New fuzzy check logic:
  168. - use shingles algorithm for fuzzy matching
  169. - use blake2 instead of md5 for larger output space
  170. - combine fuzzy and strict matching
  171. - allow to organize private storages by means of keys
  172. - preserve compatibility with previous versions
  173. * New fuzzy storage:
  174. - use sqlite instead of own memory based hash tables
  175. - rework commands interface
  176. - add conversion from the old format
  177. - add fuzzy match by shignles
  178. - support old rspamd versions
  179. * Add lemmatizing for words used in fuzzy hashes that allows to improve match
  180. quality by using of the first forms of all words
  181. * Rework language detection
  182. * Fix several critical bugs, memory leaks and deadlocks:
  183. - memory leak in HTML nodes parsing
  184. - deadlock in logger code
  185. - deadlock in signals processing
  186. - crashes in fuzzy_storage
  187. - crashes in tokenizers if the input was empty
  188. * Import new libucl with several bugfixes and improvements
  189. * Support listening on ipv6 addresses only
  190. * Fix macro expansion in SPF module
  191. * Several bugfixes in DKIM module
  192. * Add load headers support for mime parts to the lua API
  193. * Add documentation for:
  194. - workers in general
  195. - fuzzy_storage worker
  196. - fuzzy_check plugin
  197. - mimepart and textpart lua API modules
  198. 0.7.6:
  199. * Apply boundary fix for dkim simple canonization
  200. * Fix ping command
  201. * Return nil if header was not found in lua_task
  202. * Fix hang in upstreams revive logic
  203. * Decode entitles when normalizing HTML parts
  204. * Fix logic of finding URLs in HTML parts
  205. * Do not include \0 into length of text when performing conversion to utf8
  206. * Fix raw vs parsed reperesentations
  207. Raw parts are now:
  208. - decoded b64/qp, but *NOT* converted to utf-8
  209. Processed parts are now:
  210. - converted to UTF-8
  211. - normalized if needed (e.g. HTML tags are stripped)
  212. * Rework DKIM canonization to line based
  213. * Fix fuzzy hashes addding
  214. * Use more specific hash function for fuzzy
  215. * Fix leaking of iconv descriptors
  216. * Fix PTR resolving in lua resolver
  217. * Rework spf module.
  218. - Copy data to memory pool as cached record might be destroyed causing
  219. freed memory being passed to the protocol output (use after free)
  220. - Allow SPF_NEUTRAL policy to be handled separately
  221. - Add R_SPF_NEUTRAL to the default config
  222. * Rework `register_symbols` function
  223. * Allow to disable components of hfilter
  224. 0.7.5:
  225. * Fix owner when creating folder /run/rspamd (by @sfirmery)
  226. * Fix IP validity checks
  227. * Decode URLs obtained from HTML tags
  228. * Fix crash with unweighted upstreams
  229. * Stop processing headers in parts
  230. * Set sockaddr.sa_family properly when connectig to upstreams
  231. * Fix reload issues in surbl and fuzzy_check (reported by @citrin)
  232. * Fix timeouts in redirector
  233. * Improve lua errors reporting
  234. * Fix lua closures processing in libucl
  235. * Rework calling of lua functions from regexp module
  236. * Choose raw regexp for raw headers
  237. * Rework conversion to utf since glib one is broken
  238. * Ignore SGML style tags in html
  239. * Fix old bug with non-capturing https urls
  240. * Fix memory corruption on fuzzy reload (reported by @citrin)
  241. * Fix percents display in rspamc
  242. * Fix buffer update for DKIM
  243. * Do not validate utf for raw headers
  244. 0.7.4:
  245. * Fix build under *BSD
  246. * Detect HAN unicode script
  247. * Implement language detection heuristic for text parts
  248. * Fix time output in history
  249. * Improve piechart coloring
  250. * Fix \r\n conversion in DKIM module (reported by @citrin)
  251. * Try to detect systems with no IPv6 support
  252. * Fix multiple/single values in use settings (reported by @citrin)
  253. * Rework IP addresses in upstreams:
  254. - Select ipv4/unix addresses if they exist and use ipv6 for ipv6 only
  255. upstreams (since the support of ipv6 is poor in many OSes and
  256. environments)
  257. - Free IP list on upstream destruction
  258. - Add test cases for addresses selection
  259. - Allow adding of free form IP addresses to upstreams
  260. * Fix endiannes in lua_radix search (reported by @citrin)
  261. * Soft shutdown should also set wanna_die flag (reported by @citrin)
  262. * Stop use-after-free in event loop termination
  263. * Fix processing of very short messages in DKIM (reported by @citrin)
  264. * Detect systems without shared mutexes
  265. * Fix issues with PTR and MX elements in SPF parser (reported by @citrin)
  266. 0.7.3:
  267. * New upstreams code:
  268. - simplify upstreams API;
  269. - unify strings parsing in upstreams definition;
  270. - add configuration options for the upstreams;
  271. - for failed upstreams re-resolve their addresses;
  272. - use all resolved addresses for an upstream (round-robin);
  273. - implement stable hashing and use it by default for upstreams;
  274. - add unit test for upstreams module.
  275. * Rework signals processing in all rspamd workers:
  276. - signals are now processed in the event loop;
  277. - implement the most common signal handlers for all workers;
  278. - add callbacks for workers specific signal handlers
  279. * Fix critical issue with fuzzy storage:
  280. Fuzzy stroage could not save any hashes on termination due to bugged
  281. signals handling
  282. * Fix roll history IP storage
  283. * Rework ipv4/ipv6 handling in parsing addresses:
  284. - turn off support of IPV6_V6ONLY socket option;
  285. - create ipv6 socket prior to ipv4 one to handle systems with v6/v4
  286. sockets enabled (Linux)
  287. * Remove CBL as it's wholly included in Spamhaus XBL (by @fatalbanana)
  288. * Remove nszones.com fake RBL (by @citrin)
  289. * Fix upstreams interaction for fuzzy_check
  290. * Verify spf PTR records (reported by @citrin)
  291. * Fix spf MX records parsing
  292. * Add compatibility for old libevent (by @yellowman)
  293. * Sync bugfixes from libucl
  294. 0.7.2:
  295. * Convert all maps to the compressed radix trie
  296. * Allow IPv6 addresses in IP maps
  297. * Remove dynamic items support from symbols cache
  298. * Allow hex encoded output of strings
  299. * Fix bug with control connections count
  300. * Process fuzzy weight correctly (reported by @fatalbanana)
  301. * Remove extra reference retain of http connection on error
  302. * Remove deprecated options from the default config
  303. * Add `one_shot` attr to metric's symbols
  304. * Doc: add documentation for metrics
  305. * Add Upstart job to debian packaging (by @CameronNemo)
  306. * Config: improve SURBL symbols descriptions (by @citrin)
  307. * Config: reflect SURBL changes (by @citrin):
  308. - Outblaze removed, malware moved to separate list:
  309. http://www.surbl.org/news/internal/MW-malware-sublist-added-to-multi
  310. * Fix C modules initialization on restart
  311. * Treat single IP as a single IP in radix lists (reported by @citrin)
  312. * Do not touch file and core limits if not asked explicitly (reported by @citrin)
  313. * Improve logging for fuzzy errors
  314. * Block SIGPIPE for HTTP writing
  315. * Doc: update manual pages
  316. * Fix HTTP connection termination
  317. * Reduce default number of parallel requests to 8
  318. * Sync with libucl include features
  319. 0.7.1:
  320. * Fix typo in stat output.
  321. * Fix issues with includes crossing with the system includes
  322. * Restore testing framework
  323. * Add radix trie test suite
  324. * Implement new path-compressed radix trie.
  325. - The performance benefit over the old algorithm is about 1.5 times.
  326. - Memory usage is significantly lower as well.
  327. - Now radix trie can accept any IPv4/IPv6 values
  328. * Various improvements to the memory pools code
  329. * Fix writing reply to a client when no filters are defined
  330. * Write base32 encoded fuzzy
  331. * Fix 'soft reject' action
  332. * Fix rspamd reload and modules reconfiguration
  333. * Fix subject rewriting for the default subject
  334. * Fix states for processing task and pre-filters
  335. * Fix issues with connection closing
  336. * Fix crashes in rdns
  337. * Fix ratelimit pre-filter
  338. * Update exim patch.
  339. - Update to the recent exim version
  340. - Strip extra leading src/ from the patch
  341. - Remove sendfile since it was broken
  342. - Fix rspamd spam report for exim
  343. * Improve documentation
  344. 0.7.0:
  345. * Use HTTP protocol for all operatiosn
  346. * Webui worker is now removed and controller works as webui
  347. * Allow to serve static files via controller by option `static_dir`
  348. * Rspamd interface is now a part of rspamd
  349. * Rspamc client has been rewritten to use HTTP and non-blocking mode
  350. allowing to start multiple operations simultaneously (see `-n` option)
  351. * Lua API was completely reworked to satisfy modern standards of LUA:
  352. * Module `lua-message` was removed
  353. * Reduced number of superglobals registered by rspamd
  354. * Many functions has been redesigned
  355. * Symbols registration is now more convenient
  356. * Users settings has been rewritten as lua plugin
  357. * Reworked headers system as gmime's based one misses many headers and is
  358. very slow to get headers values
  359. * Reorganized code and removed embedded jannsson by using UCL for all json
  360. parsing
  361. * Migrated to `librdns` for DNS resolving that improves concurrency for
  362. DNS requests significantly
  363. * Fixed tonns of bugs in MIME processing
  364. * Improved metrcis and default symbol's weights
  365. * Added new RBL's
  366. * Fixed a number of issues in the modules
  367. * Removed several memory leaks found
  368. * Fix unicode processing
  369. * Fix fuzzy checking for unicode parts
  370. * Significantly improve documentation and especially LUA API docs
  371. * See migration notes at https://rspamd.com/doc/migration.html
  372. 0.6.8:
  373. * Controller now listen for localhost and not for 127.0.0.1 by default
  374. * Allow FCrDNS-style RBL lookups (by @fatalbanana)
  375. * Reduce threshold for parts_differ function.
  376. * Fix hostname lookup for rdns rbl (by @AlexeySa)
  377. * Fix HFILTER_URL_ONELINE to reduce false positive rate.
  378. * Fix whitelist module.
  379. * Allow override system predefined settings without touching system ones
  380. by .try_include macro (by @andrejzverev)
  381. * Check for [ip.address]-style HELO and suppress lookups. (by
  382. @fatalbanana)
  383. * Optimize hfilter (by @AlexeySa)
  384. * Fix issue with random numbers generator in dns.
  385. * Use more clever time values to setup entropy.
  386. * Synced with the recent libucl.
  387. 0.6.7:
  388. * Use ChaCha20 for DNS generator (more secure DNS id)
  389. * Unknown symbols now has zero weight and not 1.0
  390. * Fix fuzzy hashes expire time
  391. * Fix critical issue in statfiles on FreeBSD 9 (and some other platforms)
  392. * Add .include_map macro to ucl parser
  393. * Update libucl
  394. * Fix headers end detection for DKIM module
  395. * Fix a bug in received headers parser
  396. * Validate IP addresses before pushing them to lua
  397. * Start new documentation project
  398. * Fixed tonns of other minor bugs
  399. * Start to prepare for 0.7 with HTTP protocol and new settings
  400. 0.6.6:
  401. * Removed issue with BUFSIZ limitation in the controller output
  402. * Simplify logging symbols escaping
  403. * Adjusted weights for several rules
  404. * Improve spamhaus rbl support
  405. * Removed PBL for received headers checks
  406. * Added hfilter module that performs various HELO and IP checks.
  407. * Rspamd can now be reloaded by HUP signal
  408. * Fuzzy storage should expire hashes properly
  409. * Build system has been reworked for better supportof pkg-config
  410. * Various minor bugfixes
  411. 0.6.5:
  412. * Fixed critical bug in DNS resolver, introduced in 0.6.4
  413. * Improved multimap and rbl plugins to skip
  414. * Add dns_sockets option for tuning sockets per server in DNS resolver
  415. * Improved packages for rspamd
  416. 0.6.4:
  417. * Added io channels for DNS request to balance load and reduce id
  418. collisions chance
  419. * Fixed a bug in SPF filter that may cause core dump in specific
  420. circumstances
  421. * FIxed default config for rbl module
  422. * It is possible to get a list of rspamc commands with their descriptions
  423. * Added SORBS bl to the default config
  424. * 2tld file for surbl module has been significantly extended
  425. * Perl modules has been removed from the code.
  426. * Fixed an issue in libucl when parsing macros
  427. 0.6.3:
  428. * Fixed issues with DNS:
  429. - labels decompression algorithm was fixed;
  430. - added resolve_mx to lua API;
  431. - fixed modules that use DNS.
  432. * Lua modules once_received and emails reworked for new resolver API and UCL.
  433. * Debian package was polished.
  434. * Fixed a bug in fuzzy_check module that prevents correct processing messages
  435. without valid parts.
  436. 0.6.2:
  437. * Fuzzy check module has been reworked:
  438. - now fuzzy_check operates with a group of rules, that define which
  439. servers sre to be checked;
  440. - it is possible to specify read_only groups to avoid learning errors;
  441. - turn fuzzy_check to one_shot mode permanently;
  442. - fuzzy_check module configuration is now incompatible with the previous
  443. versions.
  444. * Imported bugfixes from libucl.
  445. * Fixed whitelist plugin.
  446. * Fixed statfiles resizing.
  447. * Improved logging initialization order.
  448. * Fixed race condition in the controller worker.
  449. 0.6.1:
  450. * Critical bugfixes:
  451. - fixed build system;
  452. - fixed in_class setting in bayes learning;
  453. 0.6.0:
  454. * Use UCL instead xml for configuration (https://github.com/vstakhov/libucl)
  455. * Fix statistics module normalization
  456. * Rework the many modules for the new configuration:
  457. - surbl has incompatible configuration;
  458. - fuzzy_check has incompatible configuration;
  459. - multimap has now new configuration;
  460. - received_rbl is removed and replaced by rbl module.
  461. * Removed deprecated options:
  462. - statfile_pool_size;
  463. - action and required/reject score for a metric.
  464. * Simplify build system and unify configuration for all platforms.
  465. * Improved URL detector (reduced false positive rate).
  466. * Lua 5.2 is now the default and fully supported version.
  467. * Tons of bugfixes and minor improvements.
  468. 0.5.6:
  469. * Fix bug with counters incrementing in rolling history
  470. * Detect expl and exp2l as some systems do not have it
  471. * Support input streams without Content-Length
  472. * Implement counters output via rspamc and controller interface
  473. * Fix bug with udp sockets in fuzzy storage
  474. 0.5.5:
  475. * New bayes normalizator based on inverse chi-square function
  476. * Various fixes to fuzzy storage
  477. * Allow update fuzzy storage only from specific IP addresses
  478. * Better support of IPv6 and address selection algorithms
  479. * Add CentOS spec file
  480. 0.5.4:
  481. * Fixed issues with diff algorithm
  482. * Added support of RRD statistics
  483. * Add webui worker for interface interaction
  484. * Fix a lot of issues with dynamic conf
  485. * Fix critical memory leak in settings code
  486. * Improve stability of the system
  487. 0.5.3:
  488. * Added dynamic options
  489. * Added advanced metaclassfication
  490. * Added RESTfull API for controller
  491. * Improved hashing algorithms
  492. * Various fixes for rspamc client:
  493. - allow interacting with unix sockets
  494. - librspamdclient major cleanup
  495. - bayes is now default classifier
  496. 0.5.2:
  497. * Added lua bindings for:
  498. - basic mime parts, that allows checkign attachements for example;
  499. - DNS resolver;
  500. * Existing lua bindings now works without task object allowing to use them
  501. in custom code.
  502. * Threads system was reworked to avoid global lua interpreter lock.
  503. * DKIM module now converts all line endings to CRLF how opendkim does.
  504. * URL detector is now more accurate for text parts.
  505. * Several critical bugs and memory leaks were fixed.
  506. 0.5.1:
  507. * Added lua worker type to handle network connections in lua.
  508. * Added lua bindings for async_session, IO dispatcher, memory_pool, and
  509. worker.
  510. * Composites can now uses other composites in expressions.
  511. * Fixes for debian package and for FreeBSD >= 9.1
  512. * Add support of gmime-2.6 if gmime-2.4 is not found.
  513. * Improve url detection and phishing detection.
  514. * Add lua mime_part library to get an access to all message part
  515. attributes (like filename, length, type).
  516. 0.5.0:
  517. * Added SMTP lightweight balancing proxy with XCLIENT support.
  518. * Added lua bindings for upstreams objects and API.
  519. * New pre-filters are implemented to support initial checking for messages.
  520. * Added ratelimit plugin that uses redis protocol to store data.
  521. * Added ipv6 support to spf and some other modules.
  522. * Unbreak spf plugin.
  523. * Allow options with the same name be threated as list.
  524. * DKIM plugin an parsing code was added.
  525. * Separate build system to put logic in several shared libraries.
  526. * Many bugfixes.
  527. 0.3.2:
  528. * Add error handling for regexps
  529. * Fix quit command in controller interface
  530. * Write symbols weights to rspamc output
  531. * Improve logic of selecting rspamc version
  532. * Do not try to parse broken DNS replies
  533. * Add 'raw' flag to FROM_EXCESS_BASE64 rule (requested by citrin)
  534. * Output message id in rspamc reply
  535. * Fix inserting composite symbol
  536. * Fix output of log line
  537. * Document composites
  538. * Add logging for fuzzy checks
  539. * Add logging for learning
  540. * Improve logic of learning messages - do not learn more than specific threshold
  541. * Fix inserting results for symbols that were incorrectly (for example more than 1 time) defined in config file
  542. * Do not output control characters if output is not terminal
  543. * Fix some logic errors in learning
  544. * Consider lua plugins errors as fatal configuration errors
  545. * Fix wirting message id during fuzzy_add command
  546. * Display weight of symbols correctly
  547. * Fixes to winnow learning
  548. * One more try to improve accuracy of winnow algorithm
  549. * Add bayesian classifier (initial version)
  550. * Remove normalizer as it is winnow specific thing, so all statistic algorithms now returns value from 0 to 1
  551. * Some fixes to fuzzy hashes expiration:
  552. * Fix assertion while look up value in NULL hash (found by cirtin)
  553. * Fix normalization for systems that have not tanhl function
  554. * Ignore rfc822 group addresses
  555. * Move images library to core rspamd
  556. * Add lua api to access images properties
  557. * Add post filters to lua API - filters that would be called after all message's processing
  558. * Add ability to check for specified symbol in task results from lua
  559. * Add ability to check for metric's results from lua
  560. * Add ability to learn specified statfile form lua
  561. * Add ability to extract filename and size of images from lua
  562. * Fix assertion while extracting internet address
  563. * Fix races in fuzzy storage
  564. * Make spf parser case insensitive
  565. * Add ability to check hashes of selected mime types
  566. * Add ability to set minimum size in bytes for mime types
  567. * Add ability to set minimum dimensions for images
  568. * Assume all text/* content types as text/plain
  569. * Fix getting data wrapper for gmime24
  570. * Many fixes to statfile syncronization system
  571. * Fixed statfile pool initialization and synchronization with disk
  572. * Prepare 0.3.2
  573. * Fix Mail::Rspamd::Config for new rspamd features
  574. * Use Mail::Rspamd::Config in rspamc client
  575. * Write user's name to rspamd log
  576. * Prepare rspamd build infrastructure for creating rpm and deb packages
  577. * Fix depends
  578. * Add start script for linux systems
  579. * Fix shared usage of statfiles
  580. * Add invalidation of statfiles in case of learning, so now statfiles
  581. * This should fix shared usage of statfile pool by several processes
  582. * Fix misprint (reported by az)
  583. * Fix stupid error when all checks can be done in a single pass
  584. * New trie based url scanner (based on libcamel)
  585. * Small fixes to rspamd perl client
  586. * Write fuzzy hashes info to log
  587. * Add trie interface to lua api
  588. * Explain sample config and cleanup it
  589. 0.3.1:
  590. * Add modules documentation
  591. * Continue implementing smtp proxy
  592. * Implement new learning system, now rspamd should be much more intelligent while learning messages
  593. * Convert statistic sums to use long double for counters
  594. * Use hyperbolic tangent for internal normalizer
  595. * In classify normalize result after comparing, not before
  596. * New symbols sorter
  597. * Fix strict aliasing while compiling with optimization
  598. * Fix tanhl detection for platforms that have not implementation of it
  599. * Remove several compile warnings
  600. * Add experimental support of dynamic rules to regexp module
  601. * Document views configuration
  602. * Several fixes to documentation
  603. * Add more logic for dynamic rules
  604. * Add documentation for dynamic rules
  605. * Add ability to make negations in networks in dynamic rules
  606. * Clean up cache items correctly
  607. * Implement basic SMTP dialog:
  608. * Implement interaction with smtp upstream (with support of XCLIENT)
  609. * Check messages received via smtp proxy
  610. * Add support for sendfile in io dispatcher
  611. * Fix issues with compatibility of worker_task and smtp proxy
  612. * Proxy DATA command
  613. * Fix SMTP
  614. * Change metric logic
  615. * Completely remove lex/yacc readers for config
  616. * Make common sense of metric/action and symbols
  617. * Sync changes with all plugins
  618. * Incorrectly removed in previous commit
  619. * Fix misprint (by Andrej Zverev)
  620. * announce the "password" keyword in usage list
  621. * Implement initial version of greylisting triplets storage
  622. * Fix issues with smtp worker
  623. * Fix QUIT command in SMTP worker
  624. * Some fixes about new metrics system (may be incomplete)
  625. * Get weights of symbol from default metric for symbols cache
  626. * Fix setting task->from/task->rctp in smtp client
  627. * Copy from and rcpt correctly
  628. * Some performance improvements to IO dispatcher (do not drain the whole buffer after a single line readed)
  629. * Fix smtp data input
  630. * Fix misprint
  631. * Add limit of maximum allowed smtp session errors
  632. * New logic of SURBL module:
  633. * Use system mkstemp(3) on systems where it is available as glib implementation
  634. * Try to fix memmove issues in io dispatcher
  635. * Remove debug from SURBL module
  636. * Rewrite buffered input for line policy (again)
  637. * Fix issue with links that are ip addresses in numeric form in surbl
  638. * On Darwin use BSD style sendfile definition
  639. * Reorganize platform specific knobs in CMakeLists
  640. * Use gettimeofday on systems that have not clock_getres
  641. * Use ftime for dns trans id generation on systems without clock_getres
  642. * Darwin sendfile(2) support
  643. * TIMEDB->TIMEB
  644. * More to previous commit
  645. * Pass env from main() arguments instead of platform specific global environ
  646. * Fix compatibility issues
  647. * Fix -lintl detection
  648. * Init some variables to avoid problems
  649. * Remove garbadge (gnome terminal sucks)
  650. * Add more information about why we drop smtp connection
  651. * Fix mkstemp call
  652. * Send to upstream QUIT command at the end of session
  653. * Check return value of each rspamd_dispatcher_write as in case of write errors sessions can be destroyed early
  654. * Fix states in smtp dialog
  655. * Use rspamd_snprintf instead of libc one
  656. * Fix URLS command
  657. * Fix reconfigure process of surbl module
  658. * Fix destroying smtp session (unmap memory and do not delete pool early)
  659. * Delete pool after using its variables
  660. * Delay timer must be registered in async session to correctly handle connection termination
  661. * Register dns requests in session too
  662. * Make session before registering events
  663. * Remove events in handlers
  664. * Add ability to set filters for smtp worker for each smtp stage
  665. * Add very initial version of DNS resolver (many things to be done)
  666. * Announce weights and sync
  667. * Fix few typo
  668. * Understand short names of facility in logging config
  669. * Add ability to make whitelist for spf checks
  670. * Misprint != -> ==
  671. * Handle lua tag in way that it is not required to write additional text:
  672. * Strip all starting whitespace symbols from xml texts
  673. * Fix stupid bug in calculating buffer length while reading file maps
  674. * Add resolv.conf parsing into dns.c
  675. * Fix microseconds<->milliseconds conversions
  676. * Take callback argument in Mail::Rspamd::Client for processing files and directories
  677. * Print results if rspamc is called for a directory
  678. * Fix stupid error with surbl module reconfig (another one, blame me)
  679. * Do not show duplicate urls in url header
  680. * Fix detection of numeric urls (reported by citrin)
  681. * Write real time of message's scan to log (not only virtual)
  682. * Fix chartable module in utf mode
  683. * Fix parsing of some broken urls
  684. * Add ability to test regexp with 'T' flag
  685. * Write more code for DNS resolver:
  686. * Make DNS resolver working
  687. * Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality
  688. * Write DNS resolver tests
  689. * Fix issues with memory_pool mutexes and with creating of statfiles
  690. * Forgotten in previous commit
  691. * Add support for parsing SPF and SRV records
  692. * Fix PTR parsing
  693. * Add tests
  694. * Make SURBL module to use rspamd dns module
  695. * Several fixes to DNS logic
  696. * Remove evdns and use only rspamd resolver
  697. * Very hard to detect problem with race among error in socket and destroying task while we are writing to socket and go through a hash table
  698. * Fix resolving in smtp module
  699. * Init events before configuring resolver in smtp worker
  700. * Set resolver inside task
  701. * Fix reload signal (reported by citrin)
  702. * Some improvements to redirector
  703. * Call has_forked method to inform POE about fork
  704. * Fix lua DNS code
  705. * Decompress labels in DNS packets more strictly
  706. * Fix some problems with TXT records
  707. * Try to fix removing of DNS events
  708. * Do not insert unparsed RR's into reply
  709. * Calling callbacks may cause destroying session from which we are calling callback so we MUST call callback as the latest action
  710. * Fix check_smtp_data function
  711. * Add ability to make views by recipient
  712. * Add ability to set metric's action from config file
  713. * Fix bug with writing garbadge if message has no urls or no messages
  714. * Fix bug with incorrect behaviour of compare_parts_distance function
  715. * Add ability to assign several actions to one metric
  716. * Report action in rspamc protocol
  717. * Mail::Rspamd::Client and rspamc can now understand Action header too
  718. * Write action to log as well
  719. * Make valgrind happy about comparing symbols
  720. * Add more debug to comparing parts distance function
  721. * Write action even if message has no symbols
  722. * Make improvements to HTML entites decoder: now it replaces entities with common characters and
  723. * Add -d option to force debug output
  724. * Assume 7bit as default transfer encoding
  725. * Do not overwrite lua plugins and configs if they already exists in target directory
  726. * Improve logging
  727. * Write queue id to log
  728. * Remove test messages from cmake
  729. * Reopen log file by USR1 signal
  730. * Add reopenlog method to FreeBSD rc script
  731. * Adopt foreach for cmake 2.6
  732. * Fix to rc script
  733. * Do not try to resolve names with several dots in a row
  734. * Fix surbl request formatting for ip addresses
  735. * Handle cases of broken requests
  736. * Fix problems with parsing compressed names
  737. * Fix TXT records parsing
  738. * Fix expanding spf macros that may fail in rare cases
  739. * Fix another error with early task destroying
  740. * Handle empty from header
  741. * Improve reopenlog command in rc script
  742. * Strip trailing whitespace characters in Mail::Rspamd::Client
  743. * Use ungreedy match to strip trailing whitespaces
  744. * Stupid error in calculation compressed label length
  745. * Some optimizations to client library
  746. * Do not compare empty parts
  747. * Empty and non-empty parts are allways different
  748. * Save in regexp cache the whole regexp with header name (if exists) and with flags
  749. * Add rspamd_log variable to lua plugins to access logging functions
  750. * Each part in rspamd task now can have parent part
  751. * Check for parts distance only for multipart/alternative subparts
  752. * Do not check attachements even if they are text (but attached as file)
  753. * Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second)
  754. * Add ability to turn on debug for specific symbols
  755. * Add ability to configure dns timeouts and dns retransmits in config file
  756. * More debug
  757. * Fix extracting arguments in lua logger interface
  758. * Turn off debug_ip during reload if it was disabled by new config
  759. * Improve lua logging
  760. * Pre-init symbols cache when rereading config
  761. * Fix lua representing of invalid ip (nil, not 255.255.255.255)
  762. * Fix R_TO_SEEMS_AUTO rule (by citrin)
  763. * Add multimap lua plugin
  764. * Fix some multimap issues
  765. * Try to save images hashes to fuzzy storage to stop some annoying spammers
  766. * Allocate some more bytes for read buffer to avoid incorrect behavoiur
  767. * Add ability to check dns black lists by multimap module
  768. * Add multimap documentation
  769. * Fix labels parsing
  770. * Another try to save regexps in cache correctly
  771. * Improve test logs for regexps
  772. * Fix parsing txt records to avoid reading of uninitialized data
  773. * Fix error with writing symbols cache file
  774. * Fix error while working in utf mode when raw regexps was not created properly
  775. * Do not add extra byte while converting text to utf
  776. * Add error handling for regexps