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 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. 0.6.3:
  2. * Fixed issues with DNS:
  3. - labels decompression algorithm was fixed;
  4. - added resolve_mx to lua API;
  5. - fixed modules that use DNS.
  6. * Lua modules once_received and emails reworked for new resolver API and UCL.
  7. * Debian package was polished.
  8. * Fixed a bug in fuzzy_check module that prevents correct processing messages
  9. without valid parts.
  10. 0.6.2:
  11. * Fuzzy check module has been reworked:
  12. - now fuzzy_check operates with a group of rules, that define which
  13. servers sre to be checked;
  14. - it is possible to specify read_only groups to avoid learning errors;
  15. - turn fuzzy_check to one_shot mode permanently;
  16. - fuzzy_check module configuration is now incompatible with the previous
  17. versions.
  18. * Imported bugfixes from libucl.
  19. * Fixed whitelist plugin.
  20. * Fixed statfiles resizing.
  21. * Improved logging initialization order.
  22. * Fixed race condition in the controller worker.
  23. 0.6.1:
  24. * Critical bugfixes:
  25. - fixed build system;
  26. - fixed in_class setting in bayes learning;
  27. 0.6.0:
  28. * Use UCL instead xml for configuration (https://github.com/vstakhov/libucl)
  29. * Fix statistics module normalization
  30. * Rework the many modules for the new configuration:
  31. - surbl has incompatible configuration;
  32. - fuzzy_check has incompatible configuration;
  33. - multimap has now new configuration;
  34. - received_rbl is removed and replaced by rbl module.
  35. * Removed deprecated options:
  36. - statfile_pool_size;
  37. - action and required/reject score for a metric.
  38. * Simplify build system and unify configuration for all platforms.
  39. * Improved URL detector (reduced false positive rate).
  40. * Lua 5.2 is now the default and fully supported version.
  41. * Tons of bugfixes and minor improvements.
  42. 0.5.6:
  43. * Fix bug with counters incrementing in rolling history
  44. * Detect expl and exp2l as some systems do not have it
  45. * Support input streams without Content-Length
  46. * Implement counters output via rspamc and controller interface
  47. * Fix bug with udp sockets in fuzzy storage
  48. 0.5.5:
  49. * New bayes normalizator based on inverse chi-square function
  50. * Various fixes to fuzzy storage
  51. * Allow update fuzzy storage only from specific IP addresses
  52. * Better support of IPv6 and address selection algorithms
  53. * Add CentOS spec file
  54. 0.5.4:
  55. * Fixed issues with diff algorithm
  56. * Added support of RRD statistics
  57. * Add webui worker for interface interaction
  58. * Fix a lot of issues with dynamic conf
  59. * Fix critical memory leak in settings code
  60. * Improve stability of the system
  61. 0.5.3:
  62. * Added dynamic options
  63. * Added advanced metaclassfication
  64. * Added RESTfull API for controller
  65. * Improved hashing algorithms
  66. * Various fixes for rspamc client:
  67. - allow interacting with unix sockets
  68. - librspamdclient major cleanup
  69. - bayes is now default classifier
  70. 0.5.2:
  71. * Added lua bindings for:
  72. - basic mime parts, that allows checkign attachements for example;
  73. - DNS resolver;
  74. * Existing lua bindings now works without task object allowing to use them
  75. in custom code.
  76. * Threads system was reworked to avoid global lua interpreter lock.
  77. * DKIM module now converts all line endings to CRLF how opendkim does.
  78. * URL detector is now more accurate for text parts.
  79. * Several critical bugs and memory leaks were fixed.
  80. 0.5.1:
  81. * Added lua worker type to handle network connections in lua.
  82. * Added lua bindings for async_session, IO dispatcher, memory_pool, and
  83. worker.
  84. * Composites can now uses other composites in expressions.
  85. * Fixes for debian package and for FreeBSD >= 9.1
  86. * Add support of gmime-2.6 if gmime-2.4 is not found.
  87. * Improve url detection and phishing detection.
  88. * Add lua mime_part library to get an access to all message part
  89. attributes (like filename, length, type).
  90. 0.5.0:
  91. * Added SMTP lightweight balancing proxy with XCLIENT support.
  92. * Added lua bindings for upstreams objects and API.
  93. * New pre-filters are implemented to support initial checking for messages.
  94. * Added ratelimit plugin that uses redis protocol to store data.
  95. * Added ipv6 support to spf and some other modules.
  96. * Unbreak spf plugin.
  97. * Allow options with the same name be threated as list.
  98. * DKIM plugin an parsing code was added.
  99. * Separate build system to put logic in several shared libraries.
  100. * Many bugfixes.
  101. 0.3.2:
  102. * Add error handling for regexps
  103. * Fix quit command in controller interface
  104. * Write symbols weights to rspamc output
  105. * Improve logic of selecting rspamc version
  106. * Do not try to parse broken DNS replies
  107. * Add 'raw' flag to FROM_EXCESS_BASE64 rule (requested by citrin)
  108. * Output message id in rspamc reply
  109. * Fix inserting composite symbol
  110. * Fix output of log line
  111. * Document composites
  112. * Add logging for fuzzy checks
  113. * Add logging for learning
  114. * Improve logic of learning messages - do not learn more than specific threshold
  115. * Fix inserting results for symbols that were incorrectly (for example more than 1 time) defined in config file
  116. * Do not output control characters if output is not terminal
  117. * Fix some logic errors in learning
  118. * Consider lua plugins errors as fatal configuration errors
  119. * Fix wirting message id during fuzzy_add command
  120. * Display weight of symbols correctly
  121. * Fixes to winnow learning
  122. * One more try to improve accuracy of winnow algorithm
  123. * Add bayesian classifier (initial version)
  124. * Remove normalizer as it is winnow specific thing, so all statistic algorithms now returns value from 0 to 1
  125. * Some fixes to fuzzy hashes expiration:
  126. * Fix assertion while look up value in NULL hash (found by cirtin)
  127. * Fix normalization for systems that have not tanhl function
  128. * Ignore rfc822 group addresses
  129. * Move images library to core rspamd
  130. * Add lua api to access images properties
  131. * Add post filters to lua API - filters that would be called after all message's processing
  132. * Add ability to check for specified symbol in task results from lua
  133. * Add ability to check for metric's results from lua
  134. * Add ability to learn specified statfile form lua
  135. * Add ability to extract filename and size of images from lua
  136. * Fix assertion while extracting internet address
  137. * Fix races in fuzzy storage
  138. * Make spf parser case insensitive
  139. * Add ability to check hashes of selected mime types
  140. * Add ability to set minimum size in bytes for mime types
  141. * Add ability to set minimum dimensions for images
  142. * Assume all text/* content types as text/plain
  143. * Fix getting data wrapper for gmime24
  144. * Many fixes to statfile syncronization system
  145. * Fixed statfile pool initialization and synchronization with disk
  146. * Prepare 0.3.2
  147. * Fix Mail::Rspamd::Config for new rspamd features
  148. * Use Mail::Rspamd::Config in rspamc client
  149. * Write user's name to rspamd log
  150. * Prepare rspamd build infrastructure for creating rpm and deb packages
  151. * Fix depends
  152. * Add start script for linux systems
  153. * Fix shared usage of statfiles
  154. * Add invalidation of statfiles in case of learning, so now statfiles
  155. * This should fix shared usage of statfile pool by several processes
  156. * Fix misprint (reported by az)
  157. * Fix stupid error when all checks can be done in a single pass
  158. * New trie based url scanner (based on libcamel)
  159. * Small fixes to rspamd perl client
  160. * Write fuzzy hashes info to log
  161. * Add trie interface to lua api
  162. * Explain sample config and cleanup it
  163. 0.3.1:
  164. * Add modules documentation
  165. * Continue implementing smtp proxy
  166. * Implement new learning system, now rspamd should be much more intelligent while learning messages
  167. * Convert statistic sums to use long double for counters
  168. * Use hyperbolic tangent for internal normalizer
  169. * In classify normalize result after comparing, not before
  170. * New symbols sorter
  171. * Fix strict aliasing while compiling with optimization
  172. * Fix tanhl detection for platforms that have not implementation of it
  173. * Remove several compile warnings
  174. * Add experimental support of dynamic rules to regexp module
  175. * Document views configuration
  176. * Several fixes to documentation
  177. * Add more logic for dynamic rules
  178. * Add documentation for dynamic rules
  179. * Add ability to make negations in networks in dynamic rules
  180. * Clean up cache items correctly
  181. * Implement basic SMTP dialog:
  182. * Implement interaction with smtp upstream (with support of XCLIENT)
  183. * Check messages received via smtp proxy
  184. * Add support for sendfile in io dispatcher
  185. * Fix issues with compatibility of worker_task and smtp proxy
  186. * Proxy DATA command
  187. * Fix SMTP
  188. * Change metric logic
  189. * Completely remove lex/yacc readers for config
  190. * Make common sense of metric/action and symbols
  191. * Sync changes with all plugins
  192. * Incorrectly removed in previous commit
  193. * Fix misprint (by Andrej Zverev)
  194. * announce the "password" keyword in usage list
  195. * Implement initial version of greylisting triplets storage
  196. * Fix issues with smtp worker
  197. * Fix QUIT command in SMTP worker
  198. * Some fixes about new metrics system (may be incomplete)
  199. * Get weights of symbol from default metric for symbols cache
  200. * Fix setting task->from/task->rctp in smtp client
  201. * Copy from and rcpt correctly
  202. * Some performance improvements to IO dispatcher (do not drain the whole buffer after a single line readed)
  203. * Fix smtp data input
  204. * Fix misprint
  205. * Add limit of maximum allowed smtp session errors
  206. * New logic of SURBL module:
  207. * Use system mkstemp(3) on systems where it is available as glib implementation
  208. * Try to fix memmove issues in io dispatcher
  209. * Remove debug from SURBL module
  210. * Rewrite buffered input for line policy (again)
  211. * Fix issue with links that are ip addresses in numeric form in surbl
  212. * On Darwin use BSD style sendfile definition
  213. * Reorganize platform specific knobs in CMakeLists
  214. * Use gettimeofday on systems that have not clock_getres
  215. * Use ftime for dns trans id generation on systems without clock_getres
  216. * Darwin sendfile(2) support
  217. * TIMEDB->TIMEB
  218. * More to previous commit
  219. * Pass env from main() arguments instead of platform specific global environ
  220. * Fix compatibility issues
  221. * Fix -lintl detection
  222. * Init some variables to avoid problems
  223. * Remove garbadge (gnome terminal sucks)
  224. * Add more information about why we drop smtp connection
  225. * Fix mkstemp call
  226. * Send to upstream QUIT command at the end of session
  227. * Check return value of each rspamd_dispatcher_write as in case of write errors sessions can be destroyed early
  228. * Fix states in smtp dialog
  229. * Use rspamd_snprintf instead of libc one
  230. * Fix URLS command
  231. * Fix reconfigure process of surbl module
  232. * Fix destroying smtp session (unmap memory and do not delete pool early)
  233. * Delete pool after using its variables
  234. * Delay timer must be registered in async session to correctly handle connection termination
  235. * Register dns requests in session too
  236. * Make session before registering events
  237. * Remove events in handlers
  238. * Add ability to set filters for smtp worker for each smtp stage
  239. * Add very initial version of DNS resolver (many things to be done)
  240. * Announce weights and sync
  241. * Fix few typo
  242. * Understand short names of facility in logging config
  243. * Add ability to make whitelist for spf checks
  244. * Misprint != -> ==
  245. * Handle lua tag in way that it is not required to write additional text:
  246. * Strip all starting whitespace symbols from xml texts
  247. * Fix stupid bug in calculating buffer length while reading file maps
  248. * Add resolv.conf parsing into dns.c
  249. * Fix microseconds<->milliseconds conversions
  250. * Take callback argument in Mail::Rspamd::Client for processing files and directories
  251. * Print results if rspamc is called for a directory
  252. * Fix stupid error with surbl module reconfig (another one, blame me)
  253. * Do not show duplicate urls in url header
  254. * Fix detection of numeric urls (reported by citrin)
  255. * Write real time of message's scan to log (not only virtual)
  256. * Fix chartable module in utf mode
  257. * Fix parsing of some broken urls
  258. * Add ability to test regexp with 'T' flag
  259. * Write more code for DNS resolver:
  260. * Make DNS resolver working
  261. * Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality
  262. * Write DNS resolver tests
  263. * Fix issues with memory_pool mutexes and with creating of statfiles
  264. * Forgotten in previous commit
  265. * Add support for parsing SPF and SRV records
  266. * Fix PTR parsing
  267. * Add tests
  268. * Make SURBL module to use rspamd dns module
  269. * Several fixes to DNS logic
  270. * Remove evdns and use only rspamd resolver
  271. * 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
  272. * Fix resolving in smtp module
  273. * Init events before configuring resolver in smtp worker
  274. * Set resolver inside task
  275. * Fix reload signal (reported by citrin)
  276. * Some improvements to redirector
  277. * Call has_forked method to inform POE about fork
  278. * Fix lua DNS code
  279. * Decompress labels in DNS packets more strictly
  280. * Fix some problems with TXT records
  281. * Try to fix removing of DNS events
  282. * Do not insert unparsed RR's into reply
  283. * Calling callbacks may cause destroying session from which we are calling callback so we MUST call callback as the latest action
  284. * Fix check_smtp_data function
  285. * Add ability to make views by recipient
  286. * Add ability to set metric's action from config file
  287. * Fix bug with writing garbadge if message has no urls or no messages
  288. * Fix bug with incorrect behaviour of compare_parts_distance function
  289. * Add ability to assign several actions to one metric
  290. * Report action in rspamc protocol
  291. * Mail::Rspamd::Client and rspamc can now understand Action header too
  292. * Write action to log as well
  293. * Make valgrind happy about comparing symbols
  294. * Add more debug to comparing parts distance function
  295. * Write action even if message has no symbols
  296. * Make improvements to HTML entites decoder: now it replaces entities with common characters and
  297. * Add -d option to force debug output
  298. * Assume 7bit as default transfer encoding
  299. * Do not overwrite lua plugins and configs if they already exists in target directory
  300. * Improve logging
  301. * Write queue id to log
  302. * Remove test messages from cmake
  303. * Reopen log file by USR1 signal
  304. * Add reopenlog method to FreeBSD rc script
  305. * Adopt foreach for cmake 2.6
  306. * Fix to rc script
  307. * Do not try to resolve names with several dots in a row
  308. * Fix surbl request formatting for ip addresses
  309. * Handle cases of broken requests
  310. * Fix problems with parsing compressed names
  311. * Fix TXT records parsing
  312. * Fix expanding spf macros that may fail in rare cases
  313. * Fix another error with early task destroying
  314. * Handle empty from header
  315. * Improve reopenlog command in rc script
  316. * Strip trailing whitespace characters in Mail::Rspamd::Client
  317. * Use ungreedy match to strip trailing whitespaces
  318. * Stupid error in calculation compressed label length
  319. * Some optimizations to client library
  320. * Do not compare empty parts
  321. * Empty and non-empty parts are allways different
  322. * Save in regexp cache the whole regexp with header name (if exists) and with flags
  323. * Add rspamd_log variable to lua plugins to access logging functions
  324. * Each part in rspamd task now can have parent part
  325. * Check for parts distance only for multipart/alternative subparts
  326. * Do not check attachements even if they are text (but attached as file)
  327. * Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second)
  328. * Add ability to turn on debug for specific symbols
  329. * Add ability to configure dns timeouts and dns retransmits in config file
  330. * More debug
  331. * Fix extracting arguments in lua logger interface
  332. * Turn off debug_ip during reload if it was disabled by new config
  333. * Improve lua logging
  334. * Pre-init symbols cache when rereading config
  335. * Fix lua representing of invalid ip (nil, not 255.255.255.255)
  336. * Fix R_TO_SEEMS_AUTO rule (by citrin)
  337. * Add multimap lua plugin
  338. * Fix some multimap issues
  339. * Try to save images hashes to fuzzy storage to stop some annoying spammers
  340. * Allocate some more bytes for read buffer to avoid incorrect behavoiur
  341. * Add ability to check dns black lists by multimap module
  342. * Add multimap documentation
  343. * Fix labels parsing
  344. * Another try to save regexps in cache correctly
  345. * Improve test logs for regexps
  346. * Fix parsing txt records to avoid reading of uninitialized data
  347. * Fix error with writing symbols cache file
  348. * Fix error while working in utf mode when raw regexps was not created properly
  349. * Do not add extra byte while converting text to utf
  350. * Add error handling for regexps