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

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