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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636
  1. 1.8.1: 16 Oct 2018
  2. * [CritFix] Fix options insertion
  3. * [CritFix] Fix words decay one more time (affects long messages)
  4. * [CritFix] Increase default words_decay
  5. * [CritFix] Plug memory leak in redis pool
  6. * [Feature] Add `check_violation` feature to DKIM/ARC signing
  7. * [Feature] Add only unique elements to Clickhouse url arrays
  8. * [Feature] Allow `g+:` and `g-:` composite atoms
  9. * [Feature] Allow dkim domains check in surbl
  10. * [Feature] Allow maps with HTTP auth
  11. * [Feature] Allow to disable actions by users settings
  12. * [Feature] Extend whitelisting options
  13. * [Feature] Store url object in images
  14. * [Feature] Use verdict instead of the plain action in plugins
  15. * [Fix] Allow to call fstring append with NULL string
  16. * [Fix] DCC - luacheck
  17. * [Fix] Do not load torch on each rspamadm invocation
  18. * [Fix] Fix boundaries detection and rework stop words algorithm
  19. * [Fix] Fix dependencies for DNS_SIGNED symbol
  20. * [Fix] Fix errors when dealing with dynamic rates/bursts in Ratelimit
  21. * [Fix] Fix groups mess
  22. * [Fix] Fix groups mess
  23. * [Fix] Fix parsing address with comments
  24. * [Fix] Fix resolving in DMARC reports
  25. * [Fix] Fix various issues with parsing of the received headers
  26. * [Fix] Fix watchers issue in lua_tcp when doing no resolving
  27. * [Fix] Plug memory leak in language detector (affects reloads)
  28. * [Fix] Remove one letter stop words
  29. * [Fix] Slashing: backport chunk logic from libucl
  30. * [Fix] Stop libevent from using cached time in rspamadm
  31. * [Fix] Try to fix watchers chaining
  32. * [Fix] Various fixes in redis sync interface
  33. * [Fix] ip_score - respect check_authed and check_local settings from config
  34. * [Project] Rework passthrough actions
  35. * [Project] Clustering module
  36. * [Rework] Always create result for a task
  37. * [Rework] Completely rewrite DMARC checks logic
  38. * [Rework] Rework and fix whitelist plugin
  39. * [WebUI] Add symbols sorting buttons
  40. * [WebUI] Change symbols order without updating history
  41. * [WebUI] Colorize symbols
  42. * [WebUI] Do not display password form when secure_ip is set
  43. * [WebUI] Fix symbol description tooltips display
  44. * [WebUI] History: add sorting by symbol score value
  45. 1.8.0: 24 Sep 2018
  46. * [Feature] Add arguments schemas to processors and extractors
  47. * [Feature] Add functional selectors library
  48. * [Feature] Add generic selector to reputation module
  49. * [Feature] Add more ratelimits: by digest, by attachments data, by filenames
  50. * [Feature] Add preliminary stop words detection support
  51. * [Feature] Add pure Lua debugm function
  52. * [Feature] Add schema validation for Redis settings
  53. * [Feature] Add selectors combine function
  54. * [Feature] Add some recursion protection to lua logger
  55. * [Feature] Add support for Lua API tracing
  56. * [Feature] Allow to apply schema to arguments
  57. * [Feature] Allow to get dkim signing data directly from HTTP headers
  58. * [Feature] Allow to reuse existing authentication results
  59. * [Feature] Cache selectors results in re runtime
  60. * [Feature] Implement new text tokenizer based on libicu
  61. * [Feature] Integrate selectors framework to multimap
  62. * [Feature] Relax FORGED_RECIPIENTS
  63. * [Feature] Support (almost) all html entities
  64. * [Feature] Support adding and deletion of recipients in the milter block
  65. * [Feature] Support gathering HTTP body from fragments in lua_http
  66. * [Feature] Support multi flag in regexp and glob maps
  67. * [Feature] Support selectors in ratelimit module
  68. * [Feature] Support selectors in settings
  69. * [Feature] Use khash in HTML parser
  70. * [Feature] Use pure Lua debugm function
  71. * [Fix] Add fail-safety for destroying sessions
  72. * [Fix] Allow to add result-less fake DNS records
  73. * [Fix] Another try to fix race conditions on config unload
  74. * [Fix] Call Lua callback on DNS timeouts
  75. * [Fix] Deprecate task:inc_dns_req as it is redundant
  76. * [Fix] Do not allow events deletions on cleanup
  77. * [Fix] Do not try to process skipped messages
  78. * [Fix] Fix HTTP requests with no body
  79. * [Fix] Fix another cleanup race condition
  80. * [Fix] Fix bug in processing of pcre regexps
  81. * [Fix] Fix byte array allocation in the pool
  82. * [Fix] Fix crashes on task cleanup
  83. * [Fix] Fix dynamic buckets in ratelimits
  84. * [Fix] Fix endless loop when waiting for Rspamd to stop
  85. * [Fix] Fix lua_util.str_split in case of delimiters set
  86. * [Fix] Fix more issues with watching of async events
  87. * [Fix] Fix stop words detection and loading logic
  88. * [Fix] Fix various corner cases for language detection
  89. * [Fix] Fix watchers in lua_tcp
  90. * [Fix] Fix words decay algorithm
  91. * [Fix] Implement watchers replacement to handle nested calls
  92. * [Fix] Save faked code into fake dns record
  93. * [Fix] Show the proper frame when using lua_util.debugm
  94. * [Fix] Use fake dns records in tests
  95. * [Fix] Use unicode replacements for HTML entities
  96. * [Fix] fixed "cannot find dependency on symbol 1" issue when using replaced symbols in spamassassin rules
  97. * [Fix] partition_id is not available in old versions of CH
  98. * [Project] Add implicit conversion logic to selectors
  99. * [Project] Add initial support for selectors in regexps
  100. * [Project] Add method concept
  101. * [Project] Further changes in unicode operations
  102. * [Project] Implement Clickhouse migrations
  103. * [Project] Implement implicit conversions to userdata
  104. * [Project] Implement insert method
  105. * [Project] Implement selectors registration for regular expressions
  106. * [Project] Implement selectors support in re_cache
  107. * [Project] Improve language detector: cleanup unused files, categorize
  108. * [Project] Migrate CH data to a fat table
  109. * [Project] Rework selectors logic
  110. * [Project] Start Clickhouse utilities library
  111. * [Project] Start unicode rework
  112. * [Project] coroutine threaded model for API calls: thread pool
  113. * [Rework] Move phishtank to a DNS based service
  114. * [Rework] Rework Clickhouse plugin to use the new API
  115. * [Rework] Rework language detector
  116. * [Rework] Rework utf content processing in text parts
  117. * [WebUI] Add progress bar for AJAX requests
  118. * [WebUI] Avoid errors table reinitialization
  119. * [WebUI] Avoid history table reinitialization
  120. * [WebUI] Avoid throughput summary table reinitialization
  121. * [WebUI] Destroy summary table on disconnect
  122. * [WebUI] Fix "auth" request URL
  123. * [WebUI] Fix disabling and hiding controls on page reload
  124. * [WebUI] Fix maps loading from neighbours
  125. * [WebUI] Fix symbols sorting by score
  126. * [WebUI] Fix tables destroying
  127. * [WebUI] Fix throughput data consolidation
  128. * [WebUI] Fix upload buttons disabling
  129. * [WebUI] Notify user on module loading failure
  130. * [WebUI] Update FooTable 3.1.4 -> 3.1.6
  131. 1.7.9: 01 Aug 2018
  132. * [CritFix] Fix caseless comparison of equal length strings
  133. * [Feature] Add HTTP basic auth support to elastic and clickhouse plugins
  134. * [Feature] Add SPF selector to reputation
  135. * [Feature] Add support of the fallback backends for HTTP maps
  136. * [Feature] Allow to print full mime structure when extracting mime data
  137. * [Feature] Allow to split symbols in reputation plugin
  138. * [Feature] Check attachments only on AV scanners in attachments_only mode
  139. * [Feature] Disable all SSL checks if ssl_no_verify flag is set
  140. * [Feature] Implement parsing of scoped IPv6 addresses
  141. * [Feature] Improve `rspamc counters` output
  142. * [Fix] Add sanity checks when expanding SPF macros
  143. * [Fix] Allow to parse SA rules with no spaces around =~ (dirty hack)
  144. * [Fix] Avoid one extra byte writing
  145. * [Fix] Deal with direct hash table
  146. * [Fix] Detect empty text part as text, not HTML
  147. * [Fix] Do not reduce map watch timeout for mixed http/file maps
  148. * [Fix] Fix HTML part detection heuristic
  149. * [Fix] Fix double free in redirectors cleanup
  150. * [Fix] Fix legacy history handling in the controller
  151. * [Fix] Fix messages insertion
  152. * [Fix] Fix sending string method
  153. * [Fix] Fix statconver command line arguments
  154. * [Fix] Fixed argument checking for being null
  155. * [Fix] Fixed issues reported by luacheck
  156. * [Fix] Freeze updates queue when do actual storage update
  157. * [Fix] HTTP map hash is per-backend and not per-map
  158. * [Fix] Plug memory leak in fuzzy updates
  159. * [Fix] Prefer 'MTA-Name' when producing authentication results
  160. * [Fix] Replace bad unicode sequences instead of stopping on them
  161. * [Fix] Set classifier version on learning
  162. * [Project] Reworked ratelimits
  163. * [Project] Apply topological sorting for symbols in Rspamd
  164. * [Project] Remove global contexts from C modules
  165. * [Project] Move performance critical hash tables to khash
  166. * [WebUI] Avoid unused indexes
  167. * [WebUI] Do not execute `on_success` callback
  168. * [WebUI] Fix history reset for "All SERVERS" (#2346)
  169. * [WebUI] Fix query URL for selected server
  170. * [WebUI] Fix symbols display in legacy history,
  171. * [WebUI] Hide symbols order selector for legacy history
  172. * [WebUI] Refactor query functions into one
  173. * [WebUI] Remove previously-attached event handlers
  174. * [WebUI] Save symbols to the selected server
  175. * [WebUI] Unify arguments of query functions
  176. * [WebUI] Use common query functions to get graph data
  177. * [WebUI] Use common query functions to save symbols
  178. 1.7.8: 12 Jul 2018
  179. * [Feature] Add more extended statistics about fuzzy updates
  180. * [Feature] Add more non-conformant Received headers support
  181. * [Feature] Add preliminary function to get fuzzy hashes from text in Lua
  182. * [Feature] Allow to configure AV module rejection message
  183. * [Feature] Implement fuzzy hashes extraction in mime tool
  184. * [Feature] Improve WHITE_ON_WHITE rule
  185. * [Feature] Improve integer -> string conversion
  186. * [Feature] Reuse maps in multimap module more aggressively
  187. * [Fix] Avoid race condition in skip map as pool lifetime is not enough
  188. * [Fix] Eliminate all specific C plugins pools
  189. * [Fix] Fix DKIM check rule if DNS is unavailable
  190. * [Fix] Fix build where ucontext is defined in ucontext.h
  191. * [Fix] Fix crash in base url handling
  192. * [Fix] Fix descriptors leak in sqlite3 locking code
  193. * [Fix] Fix messages quarantine
  194. * [Fix] Fix padded numbers printing
  195. * [Fix] Fix race condition on maps reinit
  196. * [Fix] Fix regexp functions when no data is passed
  197. * [Fix] Fix specific urls extraction
  198. * [Fix] Fix styles propagation
  199. * [Fix] Improve resetting of the limit buckets
  200. * [Fix] Initialize sqlite3 properly
  201. * [Fix] Work with broken resolvers in resolv.conf
  202. * [Project] Implement HTTP maps caching
  203. * [Project] Refresh fuzzy hashes when matched
  204. * [Project] Add logic to deduplicate fuzzy updates queue
  205. * [WebUI] Add missed declarations
  206. * [WebUI] Avoid using "undefined" property
  207. * [WebUI] Do not accept passwords containing control characters
  208. * [WebUI] Do not redeclare variables
  209. * [WebUI] Enable strict mode,
  210. * [WebUI] Fix variable assignment
  211. * [WebUI] Initialize variables at declaration
  212. * [WebUI] Remove duplicated path from RequireJS config
  213. * [WebUI] Remove unused block
  214. * [WebUI] Remove unused variable
  215. * [WebUI] Remove unused variables
  216. * [WebUI] Use self-explanatory notation
  217. * [WebUI] Use type-safe equality operators
  218. 1.7.7: 02 Jul 2018
  219. * [CritFix] Check NM part of pubkey to match it with rotating keypairs
  220. * [CritFix] Do not overwrite PID of the main process
  221. * [CritFix] Fix maps after reload
  222. * [CritFix] Fix maps race conditions on reload
  223. * [CritFix] Fix shmem leak in encrypting proxy mode
  224. * [Feature] Add a concept of ignored symbols to avoid race conditions
  225. * [Feature] Add ability to print bayes tokens in rspamadm mime
  226. * [Feature] Add method to get statistical tokens in Lua API
  227. * [Feature] Add preliminary mime stat command
  228. * [Feature] Add rspamadm mime tool
  229. * [Feature] Add urls extraction tool
  230. * [Feature] Address ZeroFont exploit
  231. * [Feature] Allow rspamadm mime to process multiple files
  232. * [Feature] Allow to extract words in `rspamadm mime`
  233. * [Feature] Allow to print mime part data
  234. * [Feature] Allow to show HTML structure on extraction
  235. * [Feature] Distinguish IP failures from connection failures
  236. * [Feature] Improve output for mime command
  237. * [Feature] Improve styles propagation
  238. * [Feature] Main process crash will now cleanup all children
  239. * [Feature] Preload file and static maps in main process
  240. * [Feature] Print stack trace on crash
  241. * [Feature] Process font size in HTML parser
  242. * [Feature] Propagate content length of invisible tags
  243. * [Feature] Read ordinary file maps in chunks to be more safe on rewrites
  244. * [Feature] Support base tag in HTML
  245. * [Feature] Support more size suffixes when parsing HTML styles
  246. * [Feature] Support opacity style
  247. * [Fix] Another fix for nested composites
  248. * [Fix] Fill nm id in keypairs cache code
  249. * [Fix] Fix colors alpha channel handling
  250. * [Fix] Fix destruction logic
  251. * [Fix] Fix double free
  252. * [Fix] Fix maps preload logic
  253. * [Fix] Fix nested composites process
  254. * [Fix] Fix proxying of Exim connections
  255. * [Fix] Fix reload crash
  256. * [Fix] Fix rspamadm -l command
  257. * [Fix] Update ed25519 signing schema
  258. * [WebUI] Stop using "const" declaration
  259. * [WebUI] Update RequireJS to 2.3.5
  260. 1.7.6: 15 Jun 2018
  261. * [CritFix] Fix multiple neural networks support
  262. * [Feature] Add decryption function to keypair command
  263. * [Feature] Add gzip compression for HTTP requests in elastic module
  264. * [Feature] Add gzip methods to lua util
  265. * [Feature] Add maps based on Top Level Domains
  266. * [Feature] Add pubkey checks for dkim_signing
  267. * [Feature] Add support of fake DNS records
  268. * [Feature] Add tool to encrypt files
  269. * [Feature] Allow to add symbols using settings directly
  270. * [Feature] Allow to match private and public keys for DKIM signatures
  271. * [Feature] Allow to set task flags via settings
  272. * [Feature] Allow to specify fake DNS address from the config
  273. * [Feature] Implement signatures verification using rspamadm keypair
  274. * [Feature] Implement signing using `rspamadm keypair`
  275. * [Feature] Improve error reporting for DKIM key access issues
  276. * [Feature] Provide $HOSTNAME variable in UCL
  277. * [Feature] Rework levenshtein distance computation
  278. * [Feature] Split message parsing and processing
  279. * [Feature] Support ED25519 DKIM signatures
  280. * [Feature] Support encrypted configs in UCL
  281. * [Feature] Suppress duplicate warning on very large radix tries
  282. * [Feature] Use OSB to combine header names
  283. * [Fix] Cleanup maps data on shutdown
  284. * [Fix] Fix '~' behaviour in composites
  285. * [Fix] Fix HTTP maps updates
  286. * [Fix] Fix NIST signatures
  287. * [Fix] Fix RFC822 comments when processing a mime address
  288. * [Fix] Fix double free
  289. * [Fix] Fix dynamic settings application
  290. * [Fix] Fix for CommuniGate Pro maillist
  291. * [Fix] Fix keypair creation method to actually create keypair...
  292. * [Fix] Fix matching patterns with no paths
  293. * [Fix] Fix memory leak in parsing comments
  294. * [Fix] Fix parsing of urls with numeric password
  295. * [Fix] Fix plugins intialisation in configwizard
  296. * [Fix] Fix potential crash on reload
  297. * [Fix] Fix potential race condition for a finished HTTP connections
  298. * [Fix] Fix race-condition leak on processes reload
  299. * [Fix] Fix signing in openssl mode
  300. * [Fix] Free language detector structures
  301. * [Fix] Relax alignment requirements
  302. * [Fix] Send DMARC reports compressed
  303. * [Fix] Try to fix leak in dmarc module
  304. * [Fix] Try to plug memory leak in metric exporter
  305. * [Project] Convert rspamadm subcommands to Lua
  306. * [WebUI] Display smtp sender/recipient in history
  307. * [WebUI] Fix elements disabling in "Symbols" tab
  308. * [WebUI] Limit recipients list in history column to 3
  309. * [WebUI] Match envelope and mime addresses following in arbitrary order
  310. * [WebUI] Update column header
  311. * [WebUI] Wrap addresses in history
  312. 1.7.5: 18 May 2018
  313. * [Conf] Add MSBL proposed return codes
  314. * [Conf] Add additional groups for policies
  315. * [CritFix] Do not use volatile Lua strings as UCL keys
  316. * [Feature] Add ability to add fuzzy hashes to headers
  317. * [Feature] Add function to extract most meaningful urls
  318. * [Feature] Add rule to block mixed text and encrypted parts
  319. * [Feature] Allow multiple groups for symbols
  320. * [Feature] Allow to disable lua squeezing logic
  321. * [Feature] Allow to get multipart children in Lua
  322. * [Feature] Allow to insert multiple headers from milter headers
  323. * [Feature] Allow to print scores in subject and further extensions
  324. * [Feature] Be more error-prone in squeezed rules
  325. * [Feature] Support multiple return codes in emails module
  326. * [Feature] Use EMA for calculating averages
  327. * [Feature] Use common jit cache for all regexps
  328. * [Feature] support for CommuniGate Pro self-generated messages
  329. * [Fix] Allow to have multiple values for headers as arrays
  330. * [Fix] Do not open sockets for disabled workers
  331. * [Fix] Fix AuthservId
  332. * [Fix] Fix base64 folding in Lua API
  333. * [Fix] Fix build on non-x86 platforms
  334. * [Fix] Fix cached maps logic
  335. * [Fix] Fix compatibility with old maps query logic
  336. * [Fix] Fix crash if skip_map is used
  337. * [Fix] Fix importing static maps from UCL
  338. * [Fix] Fix parsing of unix sockets
  339. * [Fix] Fix raw_mime regexp on HTML part with no text content
  340. * [Fix] Fix tables logging
  341. * [Fix] Fix vertical tab handling in libucl
  342. * [Fix] Try to fix frequency counters
  343. * [Fix] Use better sharding for ip_score
  344. * [Fix] Use multiple results from SURBL DNS reply
  345. * [Fix] When doing AV scan select a different server for retransmit
  346. 1.7.4: 01 May 2018
  347. * [Conf] Major stock config updates:
  348. - Workers are now specified in a new format worker "type" { ... }
  349. - Enable fuzzy worker to simplify local fuzzy storages configuration
  350. - Bind all workers to localhost by default to avoid security flaws
  351. * [Conf] Make more sane fuzzy_check default settings
  352. * [CritFix] Fix ucl escape for bad symbols
  353. * [Feature] Add failure symbol for AV module
  354. * [Feature] Add lazy expiration mode for new classifier schema
  355. * [Feature] Add preliminary version of maps stats plugin
  356. * [Feature] Allow to block fuzzy requests from specific networks
  357. * [Feature] Allow to change `expire` of live statistics
  358. * [Feature] Distinguish AV failure from clean result
  359. * [Feature] Further improvements of language detector by using khash
  360. * [Feature] Further optimization of the lang_detection
  361. * [Feature] Implement cluster-aware bayes expiry
  362. * [Feature] Implement exclude patterns in rspamc
  363. * [Feature] Implement glob maps in addition to regexp maps
  364. * [Feature] Implement map statistics function for lua API
  365. * [Feature] Implement stop symbols for Clickhouse collection
  366. * [Feature] Support recipients separated by commas
  367. * [Feature] Try harder to upload scripts to the Redis server
  368. * [Feature] Upgrade t1ha distribution
  369. * [Feature] use_domain_sign_inbound
  370. * [Feature] Use scores from maps if `symbols_set` is not defined
  371. * [Fix] Add resolving version of radix map helper
  372. * [Fix] Check URL before adding implicit prefix
  373. * [Fix] Do not check pid/state when using PRNG
  374. * [Fix] Fix CentOS logrotate script for systemd
  375. * [Fix] Fix slash + dot in urls
  376. * [Fix] Fix systemd version of the logrotate script
  377. * [Fix] Propagate key when import implicit array from Lua
  378. * [Fix] Strip spaces from map keys and values
  379. * [Fix] Try to fix a specific case when processing milter protocol
  380. * [Fix] Try to fix crash when a tcp connection cannot be set
  381. * [Fix] Typo use_domain_local --> use_domain_sign_local
  382. * [Fix] Various fixes to once_received module
  383. * [Project] Store hits counters for map elements
  384. 1.7.3: 10 Apr 2018
  385. * [CritFix] Plug bad memory leak in protocol reply
  386. * [Feature] Add avx2 codec for base64
  387. * [Feature] Add method to receive all URL flags from Lua API
  388. * [Feature] Allow to fold headers on stop characters
  389. * [Feature] Allow to set lua_cpath from options
  390. * [Feature] Allow to specify custom rejection message in milter
  391. * [Feature] Deal with unnormalised Unicode obfuscation
  392. * [Feature] Do not detect language twice for relative parts
  393. * [Feature] Implement oversigning feature
  394. * [Feature] Implement silent logging level to minimize noise in logs
  395. * [Feature] Improve URL_IN_SUBJECT rule
  396. * [Feature] Use hashing to reduce redis attack surface
  397. * [Fix] Add oversigning for the most important headers
  398. * [Fix] add 'rewrite subject' to History dropdown
  399. * [Fix] Another fix in folding algorithm
  400. * [Fix] Do not call multimap addr for parts of addr if filter is presented
  401. * [Fix] Do not clean hostname on generic reset
  402. * [Fix] Do not create pid file in no-fork mode
  403. * [Fix] Fix fold_after case to preserve multiple spaces
  404. * [Fix] Fix folding and folding tests
  405. * [Fix] Fix hostname usage in milter mode
  406. * [Fix] Fix lua RSA verify and its tests
  407. * [Fix] Fix metadata exporter send_mail backend (#2124)
  408. * [Fix] Fix processing of '\v' in libucl
  409. * [Fix] Fix shemaless URLs detection
  410. * [Fix] Fix support of multiple headers in sign_header
  411. * [Fix] Fix usage of util.parse_mail_address
  412. * [Fix] Fix weights of dynamic squeezed rules
  413. * [Fix] Leak from bucket before checking the burst
  414. * [Fix] Stop using own localtime as DST could be messy in many cases
  415. * [Fix] Treat unnormalised URLs as obscured
  416. * [Rework] Restore leaky bucket model in ratelimit plugin
  417. * [WebUI] Add messages total to throughput summary
  418. * [WebUI] Add symbols order selector to history
  419. * [WebUI] Config: Load list on demand
  420. * [WebUI] Fix modalBody for maps that appear more than once
  421. * [WebUI] History: Fix Tooltips on paging, filtering and sorting
  422. * [WebUI] Remove a previously-attached event handler
  423. * [WebUI] Update D3 to v5.0.0 and jQuery to v3.3.1
  424. 1.7.2: 23 Mar 2018
  425. * [Feature] Store emails in Clickhouse
  426. * [Feature] Support single quotes in config
  427. * [Feature] Use templates when publishing CH schema
  428. * [Feature] Improve Docker image
  429. * [Fix] Add rounding when printing a lot of FP variables
  430. * [Fix] Allow to disable certain actions by assigning null to them
  431. * [Fix] Disable results caching
  432. * [Fix] Fix disabling of squeezed symbols
  433. * [Fix] Fix scan time set
  434. * [Fix] Rework logic of actions setting
  435. * [Fix] Try to fix various Lua stack issues
  436. * [WebUI] Add link tag for favicon.ico
  437. * [WebUI] Display hostname:port/path in the page title
  438. 1.7.1: 20 Mar 2018
  439. * [CritFix] Fix lowercase comparison
  440. * [CritFix] Timezone defines seconds WEST UTC not East
  441. * [Feature] Add filename to log format
  442. * [Feature] Add lua rules squeezing
  443. * [Feature] Add related symbols analysis to rspamd_stats
  444. * [Feature] Remove upstream `X-Spam: Yes` header by default
  445. * [Feature] rspamd_stats: Output progress info on STDERR
  446. * [Feature] Whitelist for emails module
  447. * [Fix] Do not allow dependencies on self
  448. * [Fix] Do not cache metric result
  449. * [Fix] Do not trust all issuers as a client certificate
  450. * [Fix] Fix dependencies in lua squeeze
  451. * [Fix] Fix enabling/disabling squeezed rules
  452. * [Fix] Fix enabling/disabling symbols
  453. * [Fix] Fix external dependencies
  454. * [Fix] Fix processing of a single compressed file
  455. * [Fix] Fix some typos
  456. * [Fix] Fix various modules in case of empty message
  457. * [Fix] Handle callbacks that returns table of options
  458. * [Fix] Improve cached action interaction
  459. * [Fix] Make dynamic conf more NaN aware
  460. * [Fix] Never hide actions from WebUI `configuration` tab
  461. * [Project] Implementation of Lua rules squeezing
  462. 1.7.0: 12 Mar 2018
  463. * [Conf] Add bayes_expiry as explicit module
  464. * [Conf] Adjust names and weights for neural network plugin
  465. * [Conf] Change updates url
  466. * [Conf] Default statistics is stored in Redis now
  467. * [Conf] Disable fann_redis module by default
  468. * [Conf] Fix default elastic configuration
  469. * [Conf] Fix double quote position
  470. * [Conf] Massive config rework for new structure of symbols and scores
  471. * [Conf] Rename Rambler BLs as they are now Rspamd's ones
  472. * [Conf] Use dedicated rspamd.com subdomains
  473. * [Conf] Use more data from rspamd.com fuzzy storage
  474. * [CritFix] Add sanity guards for badly broken HTML
  475. * [CritFix] Another errors path handling fix
  476. * [CritFix] Another portion of tokenization fixes
  477. * [CritFix] Do not send reject messages after set reply
  478. * [CritFix] Fix ARC chain verification
  479. * [CritFix] Fix crash in milter errors handler
  480. * [CritFix] Fix memory leak in spf caching logic
  481. * [CritFix] Fix milter commands pipelining
  482. * [CritFix] Fix newlines detection
  483. * [CritFix] Fix semicolons parsing in the content type
  484. * [CritFix] Plug memory leak in zstd protocol compression
  485. * [Feature] Add ability to match score in force_actions module
  486. * [Feature] Add aes-rng PRF to libottery
  487. * [Feature] Add 'composites' debug module
  488. * [Feature] Add concept of experimental modules
  489. * [Feature] Add DKIM trace symbol
  490. * [Feature] Add EBL to the default config
  491. * [Feature] Add expected ip check for emails plugin
  492. * [Feature] Add framework to manage Redis scripts
  493. * [Feature] Add framing for the new reputation generic plugin
  494. * [Feature] Add function to show plugins stat
  495. * [Feature] Add gzip compression support for clickhouse module
  496. * [Feature] Add gzip compression support for rspamd controller
  497. * [Feature] Add gzip support when sending lua http requests
  498. * [Feature] Add json output for rspamd_stats
  499. * [Feature] Add method to do a synchronous Redis connection
  500. * [Feature] Add method to get all content-type attributes in Lua
  501. * [Feature] Add `-m` flag to configdump to show modules states
  502. * [Feature] Add mime types to extensions map
  503. * [Feature] Add more features to rescore utility
  504. * [Feature] Add more gtube like patterns to test other spam actions
  505. * [Feature] Add more metafunctions, improve logging
  506. * [Feature] Add more text attributes
  507. * [Feature] Add new configwizard command to rspamadm
  508. * [Feature] Add new tooling for stats conversation
  509. * [Feature] Add old groups migration tool
  510. * [Feature] Add plugins state variable
  511. * [Feature] Add preliminary ecdsa keys support in DKIM
  512. * [Feature] Add preliminary support of idempotent symbols
  513. * [Feature] Add Redis server wizard
  514. * [Feature] Add routine to convert old style stats to a new one
  515. * [Feature] Add some sanity checks for actions and controller
  516. * [Feature] Add statistic convertation module to configwizard
  517. * [Feature] Add sugestions logic to mempool allocator
  518. * [Feature] Add support of config transform in Lua
  519. * [Feature] Add timeout to rspamc when doing corpus test
  520. * [Feature] Add tooling to convert bayes schemas
  521. * [Feature] Add torch conditional to configuration
  522. * [Feature] Add torch-decisiontree package
  523. * [Feature] Add torch-optim contrib package
  524. * [Feature] Add TTL autodetection
  525. * [Feature] Add urls reputation to the reputation framework
  526. * [Feature] Allow floating and negative values in expressions limits
  527. * [Feature] Allow multiple CTs in full extensions map
  528. * [Feature] Allow multiple fann rules
  529. * [Feature] Allow randomly select User-Agent from a list
  530. * [Feature] Allow rspamadm commands to export methods in Lua
  531. * [Feature] Allow rule specific min_bytes in fuzzy check
  532. * [Feature] Allow to adjust symbols scores from Lua
  533. * [Feature] Allow to attach stat signature to messages
  534. * [Feature] Allow to change SMTP from via milter headers
  535. * [Feature] Allow to configure monitored
  536. * [Feature] Allow to create directories in Lua API
  537. * [Feature] Allow to disable torch and skip train samples for ANN
  538. * [Feature] Allow to discard messages dynamically
  539. * [Feature] Allow to enable/disable languages from the detector
  540. * [Feature] Allow to generate DKIM keys from rspamadm API
  541. * [Feature] Allow to get CPU flags from Lua
  542. * [Feature] Allow to have high precision timestamps in logs
  543. * [Feature] Allow to insert headers into specific position
  544. * [Feature] Allow to limit redirector requests per task
  545. * [Feature] Allow to load and use dynamic ANNs with torch
  546. * [Feature] Allow to quarantine rejected messages using milter interface
  547. * [Feature] Allow to receive signing keys from mempool vars
  548. * [Feature] Allow to reserve elements in libucl
  549. * [Feature] Allow to reuse signal handlers chains
  550. * [Feature] Allow to set custom mempool variables from settings
  551. * [Feature] Allow to set headers from settings
  552. * [Feature] Allow to set Settings-Id for all connections
  553. * [Feature] Allow to skip real action and add a header instead
  554. * [Feature] Allow to skip specific hashes in fuzzy storage
  555. * [Feature] Allow to spawn asynchronous processes from Lua
  556. * [Feature] Allow to specify number of threads for ANN learning
  557. * [Feature] Allow to use global lua maps in settings
  558. * [Feature] Allow to use postfilters in composites
  559. * [Feature] Allow to verify signatures from HTTP headers in maps
  560. * [Feature] Antivirus: ordered pattern matches
  561. * [Feature] Authentication-Results: support hiding usernames
  562. * [Feature] Automatically create tables in clickhouse
  563. * [Feature] Catch next-to-last bad extension
  564. * [Feature] Check cached maps more frequently
  565. * [Feature] Check groups sanity
  566. * [Feature] Deal with obscured URLs with @ symbols
  567. * [Feature] Enhance task:store_in_file method
  568. * [Feature] Export password encryption routines to Redis
  569. * [Feature] Filter nan and inf when adding scores
  570. * [Feature] Finalize 7zip files support
  571. * [Feature] Further improvements in language detection
  572. * [Feature] Further improvements in language detection algorithm
  573. * [Feature] Generic key name expansion for Redis keys
  574. * [Feature] Hash whitelist for fuzzy_check
  575. * [Feature] Implement bayes signatures storage
  576. * [Feature] Implement buckets for Redis backend
  577. * [Feature] Implement DKIM reputation adjustments
  578. * [Feature] Implement forked workers children monitoring
  579. * [Feature] Implement headers flags in mime parser
  580. * [Feature] Implement l1/l2 regularization against the current weights
  581. * [Feature] Implement manual ANN train mode
  582. * [Feature] Implement per-user ANN support
  583. * [Feature] Implement torch based ANN learning
  584. * [Feature] Implement upstreams logic for clickhouse exporter
  585. * [Feature] Import torch to Rspamd...
  586. * [Feature] Improve allocation policy when interacting with Lua
  587. * [Feature] Improve Lua/C interaction in history_redis
  588. * [Feature] Improve multiple fuzzy results combining
  589. * [Feature] Improve parsing of DKIM keys: parse algorithm
  590. * [Feature] Improve subprocesses termination handle
  591. * [Feature] Improve symbol type parsing in Lua API
  592. * [Feature] Metadata Exporter: e-Mail Alerts: support multiple recipients; alerting senders/recipients/users (#1600)
  593. * [Feature] Milter headers: support adding/removing arbitrary headers from config
  594. * [Feature] More metatokens
  595. * [Feature] Multimap: checking of symbol options
  596. * [Feature] Multimap: template URL filter
  597. * [Feature] New bayes expiry plugin
  598. * [Feature] Periodically save rspamd stats to disk
  599. * [Feature] Preliminary import of the elasticsearch module
  600. * [Feature] Ratelimit: allow full addresses in whitelisted_rcpts
  601. * [Feature] Ratelimit: support fetching limits from Redis
  602. * [Feature] RBL: received: filtering by position & flags
  603. * [Feature] Read global maps for lua
  604. * [Feature] Redis settings: support checking multiple keys
  605. * [Feature] Rework fann plugin to be a normal post-filter
  606. * [Feature] Rework logging configuration for rspamadm case
  607. * [Feature] Rework short hashes generation to avoid FP
  608. * [Feature] Save real ucl types when exporting to Lua
  609. * [Feature] Set TCP_NODELAY for milter sockets
  610. * [Feature] Setup DKIM signing from configwizard
  611. * [Feature] Skip certain symbols from ANN classify
  612. * [Feature] Store plugins state
  613. * [Feature] Support etag for HTTP maps
  614. * [Feature] Support Expires header when using HTTP maps
  615. * [Feature] Support sending given header multiple times in lua_http
  616. * [Feature] Support sha512 in DKIM signatures
  617. * [Feature] Try to detect HTML messages better
  618. * [Feature] Use array instead of queue to reduce memory fragmentation
  619. * [Feature] Use controller port by default when connecting to local IP
  620. * [Feature] Use rdtsc where possible
  621. * [Fix] Actively load skip hashes map in fuzzy storage
  622. * [Fix] Add another workaround to display history properly
  623. * [Fix] Add definition for old glib compatibility method
  624. * [Fix] Add missing rspamadm control options to help
  625. * [Fix] Add workaround for IPv6 in sendmail
  626. * [Fix] Add workaround for system with non-XSI compatible tzset
  627. * [Fix] Allow oversigning in DKIM signatures
  628. * [Fix] Allow to check negative scores in force_actions
  629. * [Fix] Allow to have negative actions limits
  630. * [Fix] Allow to set any layers number for fann rules
  631. * [Fix] Another fix for rdtcs
  632. * [Fix] Another fix to lua xmlrpc
  633. * [Fix] Another try to deal with #1998
  634. * [Fix] Another try to fix #1998
  635. * [Fix] Another try to fix threading in torch
  636. * [Fix] Apply language detection when adding fuzzy hashes
  637. * [Fix] ARC: Fix Lua 5.3 compatibility; timestamp should be integer
  638. * [Fix] Authentication Results: Fix SPF smtp.mail_from
  639. * [Fix] Auth-Results: Multiple DKIM signatures
  640. * [Fix] Avoid changing content-transfer-encoding header's value
  641. * [Fix] Better handling of the legacy protocol
  642. * [Fix] Check decoded headers sanity (e.g. by excluding \0)
  643. * [Fix] Check for magic when checking for an archive
  644. * [Fix] Cleanup mess with groups
  645. * [Fix] Clickhouse: Insertion in the symbols table
  646. * [Fix] Crash in URL processing
  647. * [Fix] Deal with another case when processing exceptions
  648. * [Fix] Deal with deeply nested messages more aggressively
  649. * [Fix] Deal with nan and inf encoding in json/ucl
  650. * [Fix] Deal with non-key arguments in lua_redis.exec_script
  651. * [Fix] Deal with unknown weight
  652. * [Fix] Deal with URLs with no slashes after protocol
  653. * [Fix] Deal with URLs wrapped in [] in text parts
  654. * [Fix] Deal with zero scores symbols
  655. * [Fix] Default monitoring domain for surbl plugin
  656. * [Fix] Delay upstream re-resolving when one upstream is defined
  657. * [Fix] Detection of maillist optimized and fixed
  658. * [Fix] DKIM signing: allow for auth_only to be false
  659. * [Fix] DMARC: require report_settings for sending reports only
  660. * [Fix] Do not allow garbadge when checking url domain
  661. * [Fix] Do not cache SPF records with PTR elements
  662. * [Fix] Do not constantly re-resolve failed upstreams with a single element
  663. * [Fix] Do not crash if no words defined
  664. * [Fix] Do not crash on empty subtype
  665. * [Fix] Do not expose spamtrap messages to SMTP reply
  666. * [Fix] Do not fail rbl plugin when there are no received or emails
  667. * [Fix] Do not ignore short words
  668. * [Fix] Do not include idempotent/nostat symbols to checksum
  669. * [Fix] Do not override groups when converting metrics
  670. * [Fix] Do not override unix socket group when group comes before owner
  671. * [Fix] Do not skip the last character
  672. * [Fix] Do not spawn too many workers by default
  673. * [Fix] Do not stop monitored on dns errors
  674. * [Fix] Do not stop parsing headers on bad IP header
  675. * [Fix] Do not strip last character in the last word
  676. * [Fix] Do not treat script content as text
  677. * [Fix] Do not try to connect to non-supported addresses
  678. * [Fix] Do not try to dereference last character
  679. * [Fix] Do not try to sign unknown domains
  680. * [Fix] Don't use whitelist/greylist maps as regexp, but as map
  681. * [Fix] Erase unknown HTML entities
  682. * [Fix] Exim Received header protocol parsing
  683. * [Fix] First load selector_map and path_map. And only return false when domain not found if try_fallback is false
  684. * [Fix] Fix a lot of FP in chartable in mixed languages
  685. * [Fix] Fix ANN checks
  686. * [Fix] Fix ANN loading logic
  687. * [Fix] Fix another tokenization issue
  688. * [Fix] Fix autolearn parameters reading
  689. * [Fix] Fix bad archive characters stripping
  690. * [Fix] Fix bad extension check
  691. * [Fix] Fix bayes schema conversion
  692. * [Fix] Fix blacklists and DMARC in whitelist
  693. * [Fix] Fix brain-damaged torch build system
  694. * [Fix] Fix build on FreeBSD
  695. * [Fix] Fix clickhouse exporter
  696. * [Fix] Fix clickhouse schema
  697. * [Fix] Fix comparision
  698. * [Fix] Fix composites processing
  699. * [Fix] Fix connecting to a unix socket in rspamadm statconvert
  700. * [Fix] Fix couple of warnings
  701. * [Fix] Fix crashes in the rspamd_control path
  702. * [Fix] Fix deletion from hash
  703. * [Fix] Fix DKIM forgeries via multiple headers
  704. * [Fix] FIx dynamic conf plugin
  705. * [Fix] Fix emails detection
  706. * [Fix] Fix empty headers simple canonicalization
  707. * [Fix] Fix empty threshold check in greylisting module
  708. * [Fix] Fix encrypted legacy reply in fuzzy storage
  709. * [Fix] Fix enormous scores for R_WHITE_ON_WHITE
  710. * [Fix] Fix exceptions list in surbl
  711. * [Fix] Fix *_EXCESS_BASE64 rules
  712. * [Fix] Fix expire rounding
  713. * [Fix] Fix extra hits in PCRE mode for regular expressions
  714. * [Fix] Fix format strings
  715. * [Fix] Fix get_content method
  716. * [Fix] Fix groups override when defining symbols
  717. * [Fix] Fix learned count in new schema
  718. * [Fix] Fix learn errors propagation
  719. * [Fix] Fix loading of per-user redis backend for statistics
  720. * [Fix] Fix logging buffer corruption in case of repeated messages
  721. * [Fix] Fix lua cached elements invalidation
  722. * [Fix] Fix merging of the implicit arrays
  723. * [Fix] Fix mime_types scoring
  724. * [Fix] Fix multiple headers in DKIM headers list
  725. * [Fix] Fix null callee case in clang plugin
  726. * [Fix] Fix obscured url in format user@@example.com
  727. * [Fix] Fix parsing of the per-user script
  728. * [Fix] Fix priorities in rspamd_update, disable rules execution
  729. * [Fix] Fix processing of closed tags
  730. * [Fix] Fix processing of idempotent rules when autolearn fails
  731. * [Fix] Fix processing of multipart parts with no headers
  732. * [Fix] Fix processing of skip-hashes in fuzzy storage
  733. * [Fix] Fix PTR processing in SPF
  734. * [Fix] Fix pushing country to clickhouse asn table
  735. * [Fix] Fix random forests module
  736. * [Fix] Fix real IP parsing for some strange Exim received
  737. * [Fix] Fix Redis timeout setup
  738. * [Fix] Fix reload crash when hyperscan is enabled
  739. * [Fix] Fix reusing of redis connection after exec
  740. * [Fix] Fix sanity checks on macro value
  741. * [Fix] Fix setting of path and cpath for Lua
  742. * [Fix] Fix setting of signals when spawning a thread
  743. * [Fix] Fix text splitting: stack overflow (too many captures)
  744. * [Fix] Fix ticks processing
  745. * [Fix] Fix upstream addrs updating
  746. * [Fix] Fix urls/emails distinguishing found in queries
  747. * [Fix] Fix user settings check
  748. * [Fix] Fix variable increment
  749. * [Fix] Fix various issues in stat_convert
  750. * [Fix] F-PROT Antivirus infection string for all known occurences
  751. * [Fix] F-PROT Antivirus: only check return code to determine infection
  752. * [Fix] Further fixes around floating point expressions
  753. * [Fix] Further fixes to ANN module
  754. * [Fix] Further fixes to rescore tool
  755. * [Fix] Further fixes to support ES 6
  756. * [Fix] Further tokenization fixes
  757. * [Fix] Greylisting set phase is not idempotent
  758. * [Fix] Handle proxy copy errors
  759. * [Fix] Header checks: Fix get_raw_header method
  760. * [Fix] Header checks: REPLYTO_UNPARSEABLE rule
  761. * [Fix] Kill spawned processes on termination
  762. * [Fix] Load skip map from all processes as shared cache is unavailable
  763. * [Fix] Lowercase HTTP headers to make them searchable from Lua
  764. * [Fix] Lowercase words
  765. * [Fix] Lua_http: freeing
  766. * [Fix] Lua: lpeg to be loaded with rspamd_lua_add_preload, to avoid "rspamd_config_read: rcl parse error: cannot init lua file […] module 'lpeg' not found"
  767. * [Fix] Map absence is not an error
  768. * [Fix] Metadata exporter: check IP sanity
  769. * [Fix] Milter headers: custom headers: removing headers
  770. * [Fix] Milter headers: skip_local / skip_authenticated settings
  771. * [Fix] Milter headers: X-Spamd-Result header if X-Virus ran first
  772. * [Fix] mime_types: fix next-to-last extension length check
  773. * [Fix] More hacks to deal with old configs
  774. * [Fix] Move composites second pass to the dedicated stage
  775. * [Fix] Multimap: received: filtering of artificial header
  776. * [Fix] Multiple fixes in torch based ANN plugins
  777. * [Fix] Once more (#1879) fix bad extension check
  778. * [Fix] Optimize rspamd_fstring_t reallocations
  779. * [Fix] options.local_networks setting
  780. * [Fix] Parse HREF urls without explicit prefix
  781. * [Fix] Plan new event on HTTP errors
  782. * [Fix] Plug another possible memory leak
  783. * [Fix] Plug memory leak
  784. * [Fix] Plug memory leak in lua_tcp
  785. * [Fix] Plug memory leak when setting email addresses from Lua
  786. * [Fix] Propagate learn/stat errors more precisely
  787. * [Fix] Ratelimit: fix whitelisted_rcpts matching
  788. * [Fix] Ratelimit: lowercase email addresses
  789. * [Fix] RBL: received: deal with missing data (#1965)
  790. * [Fix] Rebalance and slightly rework MX check plugin
  791. * [Fix] Redis key expansion: EVAL: deal with strings
  792. * [Fix] Redis script loading in DMARC; URL tags; URL reputation
  793. * [Fix] Reject invalid bh for DKIM signatures earlier
  794. * [Fix] Relax pem signature detection
  795. * [Fix] Relax unicode properties requirements for chartable module
  796. * [Fix] Remove extra noise from dkim and arc signing
  797. * [Fix] Remove hop-by-hop headers in proxy
  798. * [Fix] Remove incorrect method `task:set_metric_subject`
  799. * [Fix] Replace space like characters in headers with plain space
  800. * [Fix] Restore old style ratelimits support
  801. * [Fix] Rework elasticsearch plugin
  802. * [Fix] Rewriting subjects via force actions module
  803. * [Fix] RPM postinstall
  804. * [Fix] Sanitize IP in history redis
  805. * [Fix] Select the correct signature when doing simple canon
  806. * [Fix] Set CLOEXEC flag on files opened
  807. * [Fix] Setting check_local / check_authed in plugins (#1954)
  808. * [Fix] Settings: avoid checking invalid IP (#1981)
  809. * [Fix] Settings: header: deal with multiple settings (#1988)
  810. * [Fix] Skip checks if both extensions are not bad
  811. * [Fix] Skip nostat tokens when get number of tokens
  812. * [Fix] Some more fixes towards emails detection
  813. * [Fix] SpamAssassin: Fail check_freemail_header if regexp didn't match
  814. * [Fix] Stop using of g_slice...
  815. * [Fix] Switch rspamadm logging to message level
  816. * [Fix] Symbol 'FANNR_SPAM' has its score defined..
  817. * [Fix] Table parameter for rspamd_config:add_doc()
  818. * [Fix] Treat 'rewrite subject' as spam action
  819. * [Fix] Try harder in passing IPv6 addresses
  820. * [Fix] Try harder to find rfc822 notifications
  821. * [Fix] Try harder to find urls
  822. * [Fix] Use decoded values when parsing mime addresses
  823. * [Fix] Use full URL when making an HTTP request
  824. * [Fix] Use greylisting threshold in greylisting module
  825. * [Fix] Use n_words attribute from ngramms
  826. * [Fix] Use raw urls when sending requests to redirector
  827. * [Fix] Use the right boolean operator on error check
  828. * [Fix] Use weight from map for fuzzy scoring
  829. * [Fix] Various fixes to elastic plugin
  830. * [Fix] Various fixes to fann_redis instantiation
  831. * [Fix] Various improvements in language detection
  832. * [Fix] Virus infection string for F-PROT Antivirus
  833. * [Fix] Virus infetction string for F-PROT Antivirus
  834. * [Fix] WebUI: use relative path for savemap (#1943)
  835. * [Fix] WHITE_ON_WHITE: Ensure score is matched to part that fired the rule
  836. * [Fix] Write configuration changes as UCL config
  837. * [Project] Add detection logic for words
  838. * [Project] Add fast debug logging infrastructure
  839. * [Project] Add more flags to languages
  840. * [Project] Add n-gramms data files
  841. * [Project] Add ngramms frequencies detector
  842. * [Project] Add random words selection logic
  843. * [Project] Add unigramms to language detection as well
  844. * [Project] Convert all C modules to fast debug infrastructure
  845. * [Project] Detect some languages based on unicode script
  846. * [Project] Enable fast debug lookup for some modules
  847. * [Project] Enable language detector init in scanner workers
  848. * [Project] Further improvements to language detector
  849. * [Project] Implement logic of ngramms application
  850. * [Project] Improve weighting in lang_detection
  851. * [Project] Initialize language detector
  852. * [Project] Preliminary version of ngramms based language detector
  853. * [Project] Preliminary version of the new stat_convert
  854. * [Project] Remove old language detector
  855. * [Project] Rework language detection ngramms structure
  856. * [Project] Start language detection project
  857. * [Project] Start rework of language detection to improve quality
  858. * [Project] Use fast debug logging check
  859. * [Rework] Add frame for new reputation based IP score module
  860. * [Rework] Continue stat_convert rework task
  861. * [Rework] Implement new version of fuzzy replies
  862. * [Rework] Improve readability of xmlrpc API
  863. * [Rework] Kill metrics!11
  864. * [Rework] Ratelimit module
  865. * [Rework] Rename fann_redis to neural plugin
  866. * [Rework] Reorganize mime_types module
  867. * [Rework] Rework rescore utility
  868. * [Rework] Rewrite model and learning logic for rescore
  869. * [Rework] Run post-loads when all initialization is completed
  870. * [Rework] Simplify lua path initialization
  871. * [Rework] Start major stat_convert rework
  872. * [Rework] Start mempool fragmentation reduce project
  873. * [Rework] Start moving of fann redis to torch
  874. * [Rework] Stop embedding rspamadm scripts into C
  875. * [Rework] Use floating point arithmetics in Rspamd expressions
  876. * [Rework] Use frequencies distribution in language detector
  877. * [Rules] Penalise R_BAD_CTE_7BIT for utf8 messages
  878. * [WebUI] Compact graph selectors
  879. * [WebUI] Escape strings inside HTML in history
  880. * [WebUI] Fix message count in throughput summary (#1724)
  881. * [WebUI] Fix NaNs display on Throughput graph
  882. * [WebUI] Migrate widgets to D3 v4
  883. * [WebUI] Restore passwordless login support (#2003)
  884. * [WebUI] Show symbol descriptions as tooltips in history
  885. * [WebUI] Stop using commas in pie chart tooltips
  886. * [WebUI] Update D3 and jQuery
  887. * [WebUI] Update D3Evolution 1.0.0 -> 1.1.0
  888. 1.6.6: 16 Feb 2018
  889. * [CritFix] Add sanity guards for badly broken HTML
  890. * [CritFix] Another errors path handling fix
  891. * [CritFix] Fix ARC chain verification
  892. * [CritFix] Fix crash in milter errors handler
  893. * [Feature] Allow to insert headers into specific position
  894. * [Feature] Allow to receive signing keys from mempool vars
  895. * [Feature] Authentication-Results: support hiding usernames
  896. * [Fix] Another try to deal with #1998
  897. * [Fix] Another try to fix #1998
  898. * [Fix] Better handling of the legacy protocol
  899. * [Fix] Check decoded headers sanity (e.g. by excluding \0)
  900. * [Fix] Deal with nan and inf encoding in json/ucl
  901. * [Fix] Deal with URLs wrapped in [] in text parts
  902. * [Fix] DKIM signing: allow for auth_only to be false
  903. * [Fix] Do not crash on empty subtype
  904. * [Fix] Do not fail rbl plugin when there are no received or emails
  905. * [Fix] Do not skip the last character
  906. * [Fix] Do not try to dereference last character
  907. * [Fix] Do not try to sign unknown domains
  908. * [Fix] Exim Received header protocol parsing
  909. * [Fix] First load selector_map and path_map. And only return false when domain not found if try_fallback is false
  910. * [Fix] Fix bad archive characters stripping
  911. * [Fix] Fix comparision
  912. * [Fix] Fix connecting to a unix socket in rspamadm statconvert
  913. * [Fix] Fix empty headers simple canonicalization
  914. * [Fix] Fix extra hits in PCRE mode for regular expressions
  915. * [Fix] Fix parsing of the per-user script
  916. * [Fix] Fix processing of skip-hashes in fuzzy storage
  917. * [Fix] Fix Redis timeout setup
  918. * [Fix] Fix sanity checks on macro value
  919. * [Fix] Fix text splitting: stack overflow (too many captures)
  920. * [Fix] Fix urls/emails distinguishing found in queries
  921. * [Fix] F-PROT Antivirus: only check return code to determine infection
  922. * [Fix] Metadata exporter: check IP sanity
  923. * [Fix] Multimap: received: filtering of artificial header
  924. * [Fix] Plan new event on HTTP errors
  925. * [Fix] Plug another possible memory leak
  926. * [Fix] Remove hop-by-hop headers in proxy
  927. * [Fix] Sanitize IP in history redis
  928. * [Fix] Setting check_local / check_authed in plugins (#1954)
  929. * [Fix] Settings: avoid checking invalid IP (#1981)
  930. * [Fix] Try harder in passing IPv6 addresses
  931. * [Fix] WebUI: use relative path for savemap (#1943)
  932. * [WebUI] Fix message count in throughput summary (#1724)
  933. * [WebUI] Fix NaNs display on Throughput graph
  934. * [WebUI] Restore passwordless login support (#2003)
  935. 1.6.5: 22 Oct 2017
  936. * [CritFix] Another portion of tokenization fixes
  937. * [CritFix] Fix memory leak in spf caching logic
  938. * [CritFix] Fix milter commands pipelining
  939. * [CritFix] Fix newlines detection
  940. * [Feature] Filter nan and inf when adding scores
  941. * [Feature] Implement headers flags in mime parser
  942. * [Feature] Support Expires header when using HTTP maps
  943. * [Fix] Actively load skip hashes map in fuzzy storage
  944. * [Fix] Add workaround for IPv6 in sendmail
  945. * [Fix] Authentication Results: Fix SPF smtp.mail_from
  946. * [Fix] Check for magic when checking for an archive
  947. * [Fix] Deal with another case when processing exceptions
  948. * [Fix] Deal with URLs with no slashes after protocol
  949. * [Fix] Do not allow garbadge when checking url domain
  950. * [Fix] Do not ignore short words
  951. * [Fix] Do not strip last character in the last word
  952. * [Fix] Do not treat script content as text
  953. * [Fix] Erase unknown HTML entities
  954. * [Fix] Fix another tokenization issue
  955. * [Fix] Fix DKIM forgeries via multiple headers
  956. * [Fix] Fix emails detection
  957. * [Fix] Fix empty threshold check in greylisting module
  958. * [Fix] Fix enormous scores for R_WHITE_ON_WHITE
  959. * [Fix] Fix loading of per-user redis backend for statistics
  960. * [Fix] Fix multiple headers in DKIM headers list
  961. * [Fix] Fix obscured url in format user@@example.com
  962. * [Fix] Further tokenization fixes
  963. * [Fix] Load skip map from all processes as shared cache is unavailable
  964. * [Fix] Lowercase words
  965. * [Fix] Milter headers: skip_local / skip_authenticated settings
  966. * [Fix] Milter headers: X-Spamd-Result header if X-Virus ran first
  967. * [Fix] Ratelimit: fix whitelisted_rcpts matching
  968. * [Fix] Some more fixes towards emails detection
  969. * [Fix] SpamAssassin: Fail check_freemail_header if regexp didn't match
  970. * [Fix] Use greylisting threshold in greylisting module
  971. 1.6.4: 10 Sep 2017
  972. * [Feature] Add method to get all content-type attributes in Lua
  973. * [Feature] Add some sanity checks for actions and controller
  974. * [Feature] Allow randomly select User-Agent from a list
  975. * [Feature] Deal with obscured URLs with @ symbols
  976. * [Feature] Milter headers: support adding/removing arbitrary headers from config
  977. * [Fix] Add another workaround to display history properly
  978. * [Fix] Add missing rspamadm control options to help
  979. * [Fix] Auth-Results: Multiple DKIM signatures
  980. * [Fix] Crash in URL processing
  981. * [Fix] Default monitoring domain for surbl plugin
  982. * [Fix] Detection of maillist optimized and fixed
  983. * [Fix] Do not cache SPF records with PTR elements
  984. * [Fix] Fix blacklists and DMARC in whitelist
  985. * [Fix] Fix exceptions list in surbl
  986. * [Fix] Fix processing of closed tags
  987. * [Fix] Fix PTR processing in SPF
  988. * [Fix] Lowercase HTTP headers to make them searchable from Lua
  989. * [Fix] options.local_networks setting
  990. * [Fix] Ratelimit: lowercase email addresses
  991. * [Fix] Rebalance and slightly rework MX check plugin
  992. * [Fix] Redis script loading in DMARC; URL tags; URL reputation
  993. * [Fix] Reject invalid bh for DKIM signatures earlier
  994. * [Fix] Remove incorrect method `task:set_metric_subject`
  995. * [Fix] Rewriting subjects via force actions module
  996. * [Fix] RPM postinstall
  997. * [Fix] Treat 'rewrite subject' as spam action
  998. * [Fix] Try harder to find urls
  999. * [Fix] Use full URL when making an HTTP request
  1000. * [Fix] Use raw urls when sending requests to redirector
  1001. * [Fix] Use weight from map for fuzzy scoring
  1002. * [Rules] Penalise R_BAD_CTE_7BIT for utf8 messages
  1003. 1.6.3: 26 Jul 2017
  1004. * [CritFix] Fix semicolons parsing in the content type
  1005. * [Feature] Add EBL to the default config
  1006. * [Feature] Allow to configure monitored
  1007. * [Feature] Allow to skip specific hashes in fuzzy storage
  1008. * [Feature] Multimap: checking of symbol options
  1009. * [Feature] Redis settings: support checking multiple keys
  1010. * [Fix] ARC: Fix Lua 5.3 compatibility; timestamp should be integer
  1011. * [Fix] Avoid changing content-transfer-encoding header's value
  1012. * [Fix] Don't use whitelist/greylist maps as regexp, but as map
  1013. * [Fix] Fix get_content method
  1014. * [Fix] Header checks: Fix get_raw_header method
  1015. * [Fix] Header checks: REPLYTO_UNPARSEABLE rule
  1016. * [Fix] Lua_http: freeing
  1017. * [Fix] Milter headers: custom headers: removing headers
  1018. * [Fix] Parse HREF urls without explicit prefix
  1019. * [Fix] WHITE_ON_WHITE: Ensure score is matched to part that fired the rule
  1020. * [WebUI] Escape strings inside HTML in history
  1021. 1.6.2: 08 Jul 2017
  1022. * [Conf] Remove Rambler email bl for now
  1023. * [Conf] Switch RAMBLER_URIBL to a locally managed source
  1024. * [CritFix] Switch from ragel to C for Content-Type parsing
  1025. * [Feature] Add `-e` option for lua_repl
  1026. * [Feature] Add per-domain emails normalisation rules
  1027. * [Feature] Add sessions cache to debug dangling sessions
  1028. * [Feature] Add short_text_direct_hash for fuzzy check module
  1029. * [Feature] Add text_part:get_stats function
  1030. * [Feature] Allow to add custom processing script for surbl
  1031. * [Feature] Allow to check reply-to email
  1032. * [Feature] Allow to customize spam header, remove existing spam headers
  1033. * [Feature] Allow to disable specific workers in the config
  1034. * [Feature] Allow to discard messages instead of rejection
  1035. * [Feature] Allow to specify custom delimiter in emails plugin
  1036. * [Feature] Allow to specify custom User-Agent for rspamc
  1037. * [Feature] Allow to store symbols data in Clickhouse
  1038. * [Feature] Allow to use HTTPS when connecting to Clickhouse
  1039. * [Feature] Enable sessions cache tracking for milter connections
  1040. * [Feature] Implement per-line mode in lua_repl (like `perl -p`)
  1041. * [Feature] Implement rdns-curve plugin based on rspamd cryptobox
  1042. * [Feature] Improve maps cached data lifetime
  1043. * [Feature] Improve maps checking frequency
  1044. * [Feature] Improve monitored timeouts logic
  1045. * [Feature] milter_headers: add `extended_headers_rcpt` option
  1046. * [Feature] Milter headers: Add X-Spam-Flag to rmilter-compatibility headers
  1047. * [Feature] Milter headers: remove-header routine
  1048. * [Feature] Multimap: received filters for extracting TLDs from hostnames
  1049. * [Feature] Normalize email aliases in emails module
  1050. * [Feature] Re-add rambler email bl (as hashed list)
  1051. * [Feature] Reload file maps more frequently
  1052. * [Feature] Rework newlines strip parser one more time
  1053. * [Feature] Skip updates for messages scanned via controller
  1054. * [Feature] Split long DKIM public keys
  1055. * [Feature] Store more data when stripping newlines
  1056. * [Feature] Support SPF macros transformations
  1057. * [Feature] Support suppressing DMARC reports for some domains
  1058. * [Fix] Add missing `break` statement
  1059. * [Fix] Allow modifiers in SPF macros
  1060. * [Fix] DKIM sign tools: edge-cases around use_esld
  1061. * [Fix] Do not cache SPF records with macros
  1062. * [Fix] Do not overwrite score when setting pre-action
  1063. * [Fix] Fix comparison logic
  1064. * [Fix] Fix DKIM base64 folding for milter flagged messages
  1065. * [Fix] Fix emails module configuration
  1066. * [Fix] Fix folding for arc headers when milter interface is used
  1067. * [Fix] Fix gmail dots removal
  1068. * [Fix] Fix rspamc detection in greylist module
  1069. * [Fix] Fix some more issues with HTTP maps
  1070. * [Fix] Milter sessions can live forever
  1071. * [Fix] Normalize fuzzy probability better
  1072. * [Fix] Plug memory leak
  1073. * [Fix] RBL: Fixed hashed email address lookups
  1074. * [Fix] Try to deal with brain-damaged milter behaviour
  1075. * [Fix] Use `\n` to fold headers for milter
  1076. * [Rework] Allow to use custom callback for monitored checks
  1077. * [Rework] Further steps towards one process monitoring
  1078. * [Rework] Send health checks from a single worker
  1079. * [WebUI] Round-up throughput summary values
  1080. 1.6.1: 14 Jun 2017
  1081. * [Fix] Allow to init resolver without rspamd_config
  1082. * [Fix] Do not crash when resolver failed to initialize
  1083. * [Fix] Fix abstract context layout
  1084. * [Fix] Fix CGP helper reply parsing
  1085. * [Fix] Fix crashes when socket write errors occur
  1086. * [Fix] Fix parsing IPv6 nameservers in resolv.conf
  1087. * [Fix] Milter: Don't defer on "greylist" action
  1088. 1.6.0: 12 Jun 2017
  1089. * [Conf] Add rspamd_proxy to the default configuration set
  1090. * [Conf] Add sample arc module config
  1091. * [Conf] Do away with systemd specifics completely
  1092. * [Conf] Increase min_bytes to avoid FP
  1093. * [Conf] Remove ratelimits from default configuration
  1094. * [CritFix] Fix accepting on IPv6 sockets
  1095. * [CritFix] Fix corruption when multiple fuzzy are defined
  1096. * [CritFix] Fix learn condition in fuzzy check
  1097. * [CritFix] Fix memory leak in fuzzy check
  1098. * [CritFix] Fix memory leak in maps scheduling
  1099. * [CritFix] Paese the last character in DKIM signature correctly
  1100. * [CritFix] Zero fill sockaddr_un
  1101. * [Feature] Add ability to add doc strings by example
  1102. * [Feature] Add API to verify DKIM (and ARC) signatures
  1103. * [Feature] Add compression/decompression to proxy
  1104. * [Feature] Add count to url structure
  1105. * [Feature] Add initial support of the new protocol reply
  1106. * [Feature] Add Lua plugin spamtrap
  1107. * [Feature] Add `monitored_address` for rbls
  1108. * [Feature] Add new schema for bayes tokens
  1109. * [Feature] Add preliminary ARC support to dkim code
  1110. * [Feature] Add preliminary support of ARC signing
  1111. * [Feature] Add rules to detect bad 8bit characters in From and To
  1112. * [Feature] Add scanning support for milter protocol
  1113. * [Feature] Add support for bidirectional symbols in rspamd_stats
  1114. * [Feature] Add support for static maps
  1115. * [Feature] Add support of maps with multiple regexps matches
  1116. * [Feature] Add `text_multiplier` param
  1117. * [Feature] Add the preliminary ARC plugin
  1118. * [Feature] Add top redirector targets rank
  1119. * [Feature] Allow async events to be registered from LUA rules
  1120. * [Feature] Allow storing bayes tokens in Redis
  1121. * [Feature] Allow to exclude specific domains from mx check
  1122. * [Feature] Allow to have a stack of watcher finalisers
  1123. * [Feature] Allow to pass hostname to `-i` flag in Rspamc
  1124. * [Feature] Allow to set custom user agent in url redirector
  1125. * [Feature] Allow to use custom callback when parsing resolv.conf
  1126. * [Feature] Allow to use domain from authenticated user
  1127. * [Feature] Bayes expiry plugin
  1128. * [Feature] Check dkim sign keys for modifications
  1129. * [Feature] DKIM signing: sign_networks/local address specific use_domain settings
  1130. * [Feature] DMARC: Support excluding domains from sampling
  1131. * [Feature] Expire processing items for URL redirector aggressively
  1132. * [Feature] Fix surbl monitored for IP lists, add `monitored_domain` option
  1133. * [Feature] Implement caching for dkim body hashes
  1134. * [Feature] Implement milter protocol scan reply
  1135. * [Feature] Improve omograph phishing detection
  1136. * [Feature] Initial support of self-scan in Rspamd proxy
  1137. * [Feature] Keep track of headers in milter interface
  1138. * [Feature] Milter headers: better controls for local/authenticated
  1139. * [Feature] Multimap: email:domain:tld filter
  1140. * [Feature] Preliminary DMARC reporting implementation
  1141. * [Feature] Reuse stemmers in the cache
  1142. * [Feature] Rework confighelp to load Lua plugins
  1143. * [Feature] Rework hfilter to use hyperscan if possible
  1144. * [Feature] Rework lua RSA API
  1145. * [Feature] Rmilter_headers: approximate rmilter's extended_spam_headers
  1146. * [Feature] Start integration of milter support in proxy
  1147. * [Feature] Store average words length and short words count
  1148. * [Feature] Store hash of headers order and names
  1149. * [Feature] Support MTA name header
  1150. * [Feature] Support multiple types of dkim signing in Lua
  1151. * [Feature] Support numeric arguments for Redis requests
  1152. * [Feature] Use headers hash in bayes metatokens
  1153. * [Feature] Use normal resolv.conf rules of rotation in Rspamd
  1154. * [Feature] Use version 2 proto for checking messages
  1155. * [Fix] Allow to follow symlinks when safe
  1156. * [Fix] Append MX name for authentication results as required
  1157. * [Fix] Change default text multiplier from 0.5 to 2.0
  1158. * [Fix] Check min_bytes for images as well
  1159. * [Fix] Deal with 7bit charsets properly
  1160. * [Fix] Deal with 8bit characters in email addresses
  1161. * [Fix] Deal with unpaired <a> tags
  1162. * [Fix] Detect confighelp in plugins initialisation
  1163. * [Fix] Disable certain checks for utf spoof detection
  1164. * [Fix] DKIM Signing: avoid nil index when From header is missing
  1165. * [Fix] Do not add exact hashes from different parts
  1166. * [Fix] Do not check DMARC if SPF or DKIM were not checked
  1167. * [Fix] Do not check URLs that are resolved to be redirected
  1168. * [Fix] Do not set bayes probability if we don't use it
  1169. * [Fix] Do not stop on illegal unicode points - replace them
  1170. * [Fix] Fix another race condition in arc checks
  1171. * [Fix] Fix arc count logic
  1172. * [Fix] Fix ARC signing
  1173. * [Fix] Fix brain-damaged spamc protocol for now
  1174. * [Fix] Fix calling for peak functions
  1175. * [Fix] Fix couple of issues in FORWARDED rule
  1176. * [Fix] Fix CTE propagation from parent containers to children parts
  1177. * [Fix] Fix errors processing in the controller
  1178. * [Fix] Fix format string in milter
  1179. * [Fix] Fix issues in SPF macros parsing
  1180. * [Fix] Fix logging format string
  1181. * [Fix] Fix logic of cached passwords check
  1182. * [Fix] Fix lowercasing of stemmed words
  1183. * [Fix] Fix LRU elements removal
  1184. * [Fix] Fix memory leak when accepting from unix sockets
  1185. * [Fix] Fix milter connections persistence
  1186. * [Fix] Fix objects merging in UCL
  1187. * [Fix] Fix order of operations to avoid race condition
  1188. * [Fix] Fix parsing of long regexp types
  1189. * [Fix] Fix passing data to log helper when many symbols defined
  1190. * [Fix] Fix pools management for milter session
  1191. * [Fix] Fix processing of the watchers
  1192. * [Fix] Fix queue id macro in milter
  1193. * [Fix] Fix R_BAD_CTE_7BIT rule
  1194. * [Fix] Fix Redis timeout set
  1195. * [Fix] Fix REPLYTO_UNPARSEABLE rule
  1196. * [Fix] Fix setting of email address
  1197. * [Fix] Fix some more issues about duplicated fuzzy requests
  1198. * [Fix] Fix spamc support in rspamd proxy
  1199. * [Fix] Fix syntax error in spamtrap plugin
  1200. * [Fix] Fix url counts for href urls
  1201. * [Fix] Fix url handling in the protocol
  1202. * [Fix] Multimap: Received IP filters with Redis
  1203. * [Fix] Oops, fix d9d0fa5e86db2f4470d34395a233b450478b2f60
  1204. * [Fix] Parse rgb[a](x,x,x[,x]) css colors
  1205. * [Fix] Phishing: strict_domains
  1206. * [Fix] Reduce maps aggressiveness
  1207. * [Fix] Reresolve upstreams even if there is a single server there
  1208. * [Fix] Rspamadm grep: Disable Lua patterns in string search by default
  1209. * [Fix] Skip text parts when checking binary parts in fuzzy check
  1210. * [Fix] Support v2 checks in controller
  1211. * [Fix] Treat empty address as valid
  1212. * [Fix] Try harder to detect CTE
  1213. * [Fix] Try to deal with v4 mapped to v6 addresses on accept
  1214. * [Fix] Use dkim signing callback properly
  1215. * [Fix] Use non-volatile memory for storing data
  1216. * [Fix] Use static maps instead of ugly hack for radix_from_config
  1217. * [Fix] Use the same pool for related sessions
  1218. * [Rework] Continue modularisation for lua library
  1219. * [Rework] Initial milter protocol support
  1220. * [Rework] Make log pipes worker agnostic, add scanners API
  1221. * [Rework] Move authentication results generation to a separate routine
  1222. * [Rework] Move common DKIM functions to a separate lua module
  1223. * [Rework] Move global functions to a separate directory
  1224. * [Rework] Prepare dkim module for ARC checks
  1225. * [Rework] Propagate ucl variables from the command line
  1226. * [Rework] Remove multiple metrics support from Rspamd
  1227. * [Rework] Stop using name 'rmilter' for the modern protocol
  1228. * [Rework] Use LFU algorithm in LRU cache
  1229. * [Rules] Fix received TLS rules
  1230. * [Rules] Improve URL_COUNT_ODD rule
  1231. * [WebUI] Fix add header filter in history
  1232. * [WebUI] Use modern protocol for checking messages
  1233. 1.5.9:
  1234. * [Conf] Increase min_bytes to avoid FP
  1235. * [Conf] Remove ratelimits from default configuration
  1236. * [CritFix] Fix accepting on IPv6 sockets
  1237. * [CritFix] Zero fill sockaddr_un
  1238. * [Feature] Add `text_multiplier` param
  1239. * [Fix] Check min_bytes for images as well
  1240. * [Fix] Do not add exact hashes from different parts
  1241. * [Fix] Fix memory leak when accepting from unix sockets
  1242. * [Fix] Fix some more issues about duplicated fuzzy requests
  1243. * [Fix] Phishing: strict_domains
  1244. * [Fix] Skip text parts when checking binary parts in fuzzy check
  1245. * [Minor] Add the same duplicates protection for all fuzzy hashes types
  1246. * [Minor] Fix braces
  1247. * [Minor] Fix test
  1248. * [Minor] SPOOF_DISPLAY_NAME: Use all SMTP/MIME recipients
  1249. * [Minor] Validate assumed spoofed display name domains to contain a dot
  1250. 1.5.8:
  1251. * [CritFix] Fix memory leak in fuzzy check
  1252. * [CritFix] Fix memory leak in maps scheduling
  1253. * [Feature] Multimap: email:domain:tld filter
  1254. * [Fix] DKIM Signing: avoid nil index when From header is missing
  1255. * [Fix] Do not set bayes probability if we don't use it
  1256. * [Fix] Do not stop on illegal unicode points - replace them
  1257. * [Fix] Fix brain-damaged spamc protocol for now
  1258. * [Fix] Fix Redis timeout set
  1259. * [Fix] Fix spamc support in rspamd proxy
  1260. * [Fix] Multimap: Received IP filters with Redis
  1261. * [Fix] Parse rgb[a](x,x,x[,x]) css colors
  1262. * [Fix] Reresolve upstreams even if there is a single server there
  1263. * [Fix] Treat empty address as valid
  1264. * [Fix] Try harder to detect CTE
  1265. * [Fix] Try to deal with v4 mapped to v6 addresses on accept
  1266. * [Minor] Add `wsf` and `hta` bad archive extensions
  1267. * [Minor] Fix configuration option
  1268. * [Minor] Fix result parsing for SAVAPI
  1269. * [Minor] Further logging improvements
  1270. * [Minor] Improve logging of errors
  1271. * [Minor] Prevent MID_CONTAINS_FROM from firing on empty address
  1272. * [Minor] Reduce digit->number transmission penalty
  1273. * [Minor] Relax CTYPE_MISSING_DISPOSITION rule
  1274. 1.5.7:
  1275. * [CritFix] Fix corruption when multiple fuzzy are defined
  1276. * [CritFix] Fix learn condition in fuzzy check
  1277. * [Feature] Add rules to detect bad 8bit characters in From and To
  1278. * [Feature] DKIM signing: sign_networks/local address specific use_domain settings
  1279. * [Feature] Support numeric arguments for Redis requests
  1280. * [Fix] Deal with 8bit characters in email addresses
  1281. * [Fix] Fix couple of issues in FORWARDED rule
  1282. * [Fix] Fix passing data to log helper when many symbols defined
  1283. * [Fix] Fix R_BAD_CTE_7BIT rule
  1284. * [Fix] Fix REPLYTO_UNPARSEABLE rule
  1285. * [Fix] Fix setting of email address
  1286. * [Fix] Rspamadm grep: Disable Lua patterns in string search by default
  1287. * [Minor] Add Lua 5.3 workaround
  1288. * [Minor] Add lua methods to detect if a part has 8bit characters
  1289. * [Minor] Allow session-less lua dns requests
  1290. * [Minor] Allow to append greylist end time to message reported
  1291. * [Minor] Avoid `nil` table
  1292. * [Minor] Disable dkim_signing if redis is specified but not configured
  1293. * [Minor] Fix build with pcre2
  1294. * [Minor] Fix rule
  1295. * [Minor] Fix warnings
  1296. * [Minor] Format floating point number
  1297. * [Minor] Push email flags to the lua API
  1298. * [Minor] Silence some warnings
  1299. * [Minor] Silence warning
  1300. * [Minor] Try all hostname regexps to find the most significant one
  1301. * [WebUI] Fix add header filter in history
  1302. 1.5.6:
  1303. * [Feature] Add unigramms support in bayes
  1304. * [Feature] Allow configurable sign headers for DKIM
  1305. * [Feature] Allow to add unigramm metatokens from Lua
  1306. * [Feature] DKIM Signing: envelope match exception for local IPs
  1307. * [Feature] UCL: register parser variables from Lua
  1308. * [Fix] Always try to adjust filename
  1309. * [Fix] Do extra copy to ensure that original content is never touched
  1310. * [Fix] Fix SPOOF_REPLYTO rule
  1311. * [Fix] Ignore Rmilter added Received
  1312. * [Fix] More fixes for hashed email dnsbls
  1313. * [Fix] Plug memory leak in chartable module
  1314. * [WebUI] Display multiple alerts at once
  1315. 1.5.5:
  1316. * [CritFix] Fix classifier learning with Redis backend
  1317. * [CritFix] Fix issue when parsing encoded rfc822/messages
  1318. * [Feature] Add escaped version of lua_ucl import
  1319. * [Feature] Add task:headers_foreach function
  1320. * [Feature] Allow to process filenames from content type
  1321. * [Feature] Allow to query hashed emails
  1322. * [Feature] Ignore bayes with mostly metatokens or with too few text
  1323. * [Feature] Probabilistically skip metatokens
  1324. * [Feature] Retrieve all virus names from SAVAPI
  1325. * [Feature] Rework classifiers lua metatokens
  1326. * [Feature] Store headers order
  1327. * [Feature] Store text tokens inside bayes tokens
  1328. * [Feature] Use cached shingles keys
  1329. * [Fix] Add missing score normalisation for HFILTER_URL_ONLY
  1330. * [Fix] Avoid lookup in absent hash
  1331. * [Fix] Check return values from Lua functions called from C
  1332. * [Fix] Do not count sending and loading time in rspamc
  1333. * [Fix] Escape json strings for controller rejplies from Lua
  1334. * [Fix] Fix archive scans for savapi
  1335. * [Fix] Fix domain_only emails RBL
  1336. * [Fix] Fix ip_score map configuration
  1337. * [Fix] Fix JSON output for history_redis
  1338. * [Fix] Fix one character length substrings search
  1339. * [Fix] Fix parsing of non-RFC compatible Exim received
  1340. * [Fix] Fix parsing of options for workers with the same type
  1341. * [Fix] Fix processing of small tokens vectors
  1342. * [Fix] Fix rfc2047 tokenization
  1343. * [Fix] Fix typo
  1344. * [Fix] More fixes for inplace decoding
  1345. * [Fix] Try to avoid modifications of the original data
  1346. * [Fix] URL redirector: Fix call to is_redirector
  1347. * [Rework] Set token data as uint64_t instead of chars array
  1348. * [WebUI] Check if neighbours' history backend versions match
  1349. * [WebUI] Disable phrase connectors replacement in history filtering
  1350. * [WebUI] Disable phrase connectors replacement in symbols filtering
  1351. * [WebUI] Do not hide messages with bad subject, just replace it with '???'
  1352. * [WebUI] Fix error message
  1353. * [WebUI] Fix history v2 display
  1354. * [WebUI] Fix legacy history
  1355. * [WebUI] history: break To address lists on commas
  1356. * [WebUI] Increase default timeout to 20 seconds
  1357. * [WebUI] Save some history table space
  1358. 1.5.4:
  1359. * [Conf] Add history_redis default configuration
  1360. * [Feature] Add spoofed rules
  1361. * [Feature] Add URL_IN_SUBJECT rule
  1362. * [Feature] Allow to get task's subject
  1363. * [Feature] Allow to specify maximum number of shots for symbols
  1364. * [Feature] Distinguish URLs found in Subject
  1365. * [Feature] Memoize LPEG grammars
  1366. * [Feature] Parse else parts in SA rules
  1367. * [Feature] Process subject for mixed characters
  1368. * [Feature] Resolve url chains in url_redirector module
  1369. * [Feature] Stat greylisted messages as greylisted not soft-rejected
  1370. * [Feature] Support checking for redirector in Lua SURBL
  1371. * [Feature] Support tag_exists SA function
  1372. * [Feature] Work with broken rfc2047 tokens
  1373. * [Fix] Check all watcher's dependencies
  1374. * [Fix] Do not compile hyperscan with no SSSE3 support
  1375. * [Fix] Do not crash if cannot decode qp encoded part
  1376. * [Fix] Fix dependencies of DKIM when multiple signatures are found
  1377. * [Fix] Fix lists in whitelist plugin
  1378. * [Fix] Fix one-shot symbols weight calculations
  1379. * [Fix] Fix options and shots match
  1380. * [Fix] Fix order of symbol options
  1381. * [Fix] Fix parsing of dot at the end of the address
  1382. * [Fix] Fix parsing of lua table arguments
  1383. * [Fix] Fix processing of subject words
  1384. * [Fix] Fix string split memoization
  1385. * [Fix] Fix templates grammar usage
  1386. * [Fix] Fix various issues related to Lua stack manipulation
  1387. * [Fix] Force actions: Use postfilter if we have honor_action / require_action
  1388. * [Fix] Further fixes to avoid PHISHING FP
  1389. * [Fix] Preserve order of options in symbols
  1390. * [Fix] Rspamadm grep: deal with unusually-formatted logs
  1391. * [Fix] Use hostname suffix when dealing with history
  1392. * [Rework] Remove outdated SA rules
  1393. * [WebUI] Add flexible columns
  1394. * [WebUI] Add footable
  1395. * [WebUI] Add sender, recipients and subject columns
  1396. * [WebUI] Allow message-id break
  1397. * [WebUI] Fix history clustering
  1398. * [WebUI] Fix history display
  1399. * [WebUI] Fix sorting
  1400. * [WebUI] Humanize sizes
  1401. * [WebUI] Initial move towards footable
  1402. * [WebUI] Remove datatables
  1403. * [WebUI] Replace `.values` method with `.map`
  1404. * [WebUI] Rework v2 symbols display
  1405. * [WebUI] Try to normalize frequencies
  1406. * [WebUI] Unbreak WebUI
  1407. * [WebUI] Use Footable to draw Throughput summary table
  1408. 1.5.3:
  1409. * [Conf] Add composite for hacked wordpress phishing
  1410. * [CritFix] Fix base64 decoding when there are unparseable characters
  1411. * [Feature] Additional symbol metadata in metadata exporter
  1412. * [Feature] Add method to get protocol reply from Lua
  1413. * [Feature] Add symbols when tagged rcpt/sender are normalised
  1414. * [Feature] Add task:get_symbols_all() function
  1415. * [Feature] Allow multiple formats of DKIM signing key
  1416. * [Feature] Allow to cache and use flexible protocol reply
  1417. * [Feature] Allow to set one_shot flag from register_symbol
  1418. * [Feature] Allow to skip certain types of hashes when learning fuzzy
  1419. * [Feature] Cache and insert scan time into the protocol
  1420. * [Feature] Detect newlines in rspamc --mime
  1421. * [Feature] DKIM signing: support use of maps
  1422. * [Feature] Greylist: Support excluding low-scoring messages from greylisting
  1423. * [Feature] Implement lua history in controller
  1424. * [Feature] Implement redis history querying
  1425. * [Feature] Preliminary implementation of redis history plugin
  1426. * [Feature] Support using request headers in settings
  1427. * [Fix] Change default template to deal with non-ASCII characters
  1428. * [Fix] Deal with lists of maps in whitelist module
  1429. * [Fix] DKIM signing: use domain-specific signing key
  1430. * [Fix] Do not reallocate completed zstd buffer
  1431. * [Fix] Do not use local_addrs in proxy
  1432. * [Fix] Fix crash when resolver is undefined
  1433. * [Fix] Fix double free when closing lua_tcp connections
  1434. * [Fix] Fix for lua 5.3
  1435. * [Fix] Fix freeing of arrays iterators
  1436. * [Fix] Fix issue with task:get_symbol and symbols with no metric
  1437. * [Fix] Fix log line duplication in `rspamadm grep`
  1438. * [Fix] Fix memory corruption on termination
  1439. * [Fix] Fix out-of-bound access in base64 decode
  1440. * [Fix] Fix ratelimit + greylisting
  1441. * [Fix] Fix subject rewriting
  1442. * [Fix] Fix task:set_recipients function
  1443. * [Fix] Fix URI_COUNT_ODD rule
  1444. * [Fix] Follow the traditional symbols conventions in RCPT_COUNT rule
  1445. * [Fix] Greylist: Suppress greylist action for whitelisted hosts too
  1446. * [Fix] Metadata exporter: use rule-specific settings for emails
  1447. * [Fix] Properly set missing fields in exporter
  1448. * [Fix] Proxy: max_retries option
  1449. * [Fix] RCPT_COUNT fixes
  1450. * [Fix] Rework HAS_X_PRIO rule to match symbols conventions
  1451. * [Fix] Update issues in ac-trie
  1452. * [Fix] Use optimised base64 decoding in DKIM
  1453. * [WebUI] Add preliminary v2 history parser
  1454. * [WebUI] Allow different history parsers
  1455. * [WebUI] Display symbols
  1456. * [WebUI] Rework history v2 function
  1457. 1.5.2:
  1458. * [Conf] Add default config for spamassasssin plugin
  1459. * [Conf] Add default configuration for antivirus module
  1460. * [Conf] Add dkim signing docs
  1461. * [Conf] Add mx_check default config
  1462. * [Conf] Add replies config
  1463. * [Conf] Add trie default config
  1464. * [Feature] Add heuristic to find text parts in files
  1465. * [Feature] Add rule to detect broken content type
  1466. * [Feature] Allow to extract CTE in Lua API
  1467. * [Feature] Allow to set from address for a lua_task
  1468. * [Feature] Allow to set recipients of a task from Lua
  1469. * [Feature] Enchance text_part:get_content method
  1470. * [Feature] Remove + aliases from emails
  1471. * [Feature] Support rmilter block and dkim signature in CGP helper
  1472. * [Feature] Support running event loop from Lua
  1473. * [Fix] Antivirus: use scanner-specific redis prefix
  1474. * [Fix] Couple of fixes for DKIM signing module
  1475. * [Fix] Distinguish missing and broken mandatory headers
  1476. * [Fix] Do more heuristical detection for missing CTE
  1477. * [Fix] Do not resort cache on each check
  1478. * [Fix] Fix CGP escaping
  1479. * [Fix] Fix MISSING_MIME_VERSION rule for plain messages
  1480. * [Fix] Fix parsing of cte in expressions
  1481. * [Fix] Fix partial matches in rspamadm grep
  1482. * [Fix] Fix setting class on style field
  1483. * [WebUI] Auto-switch Throughput units to `msg/min` for very low rate
  1484. * [WebUI] Update D3Evolution to 0.0.2
  1485. 1.5.1:
  1486. * [CritFix] Fix processing of stop_patterns with `\0` character
  1487. * [CritFix] Fix setting of raw key for signing
  1488. * [Fix] Fix lua exports from plugins during reload
  1489. * [Fix] Fix prefilters action scores
  1490. * [Fix] Fix symbols processing order
  1491. * [Minor] Help cmake find gthread
  1492. * [Minor] Some cmake fixes
  1493. 1.5.0:
  1494. * [Conf] Add configurations for asn, clickhouse and dcc
  1495. * [Conf] Add default config for url redirector plugin
  1496. * [Conf] Add the default config for greylist module
  1497. * [Conf] Allow to edit all local maps from WebUI by default
  1498. * [CritFix] Deal with absent headers in DKIM
  1499. * [CritFix] Do not trust remote shingles count
  1500. * [CritFix] Fix bad memory leak in TLS certificates validation
  1501. * [CritFix] Fix critical memory issues with radix maps
  1502. * [CritFix] Fix descriptors leak on reload
  1503. * [CritFix] Fix headers selection in DKIM verification
  1504. * [CritFix] Fix parsing of boundaries that end with `--`
  1505. * [CritFix] Repair PTR_ARRAY_FOREACH macro
  1506. * [Feature] Add CORS support to the controller
  1507. * [Feature] Add FROM_NAME_EXCESS_SPACE rule
  1508. * [Feature] Add REPLYTO_EMAIL_HAS_TITLE rule
  1509. * [Feature] Add `caseless_hash` method to `lua_util`
  1510. * [Feature] Add `rip` keyword to ratelimit module
  1511. * [Feature] Add a simple benchmark for content type parsing
  1512. * [Feature] Add boundaries parsing in content type
  1513. * [Feature] Add charset detection for text parts
  1514. * [Feature] Add content disposition parser
  1515. * [Feature] Add fallback if too many updates are failing
  1516. * [Feature] Add function to convert struct tm to time using timezone
  1517. * [Feature] Add function to normalize HTTP paths
  1518. * [Feature] Add fuzzy collection plugin
  1519. * [Feature] Add fuzzy logic for images
  1520. * [Feature] Add gmime parser to mime_tool
  1521. * [Feature] Add heuristic to detect broken messages
  1522. * [Feature] Add heuristic to find displayed URLs
  1523. * [Feature] Add heuristic to process broken email addresses
  1524. * [Feature] Add images normalization
  1525. * [Feature] Add mechanism for disabling composites (Fixes #1270)
  1526. * [Feature] Add method to create regexp from a glob pattern
  1527. * [Feature] Add mime encoding manipulation routines
  1528. * [Feature] Add mime tool to explore messages
  1529. * [Feature] Add more meta tokens from received headers
  1530. * [Feature] Add neighbours option to support Rspamd cluster in WebUI
  1531. * [Feature] Add new function to parse mime addresses
  1532. * [Feature] Add new methods for lua_tcp
  1533. * [Feature] Add own headers decoding routine
  1534. * [Feature] Add own routine to generate a message id
  1535. * [Feature] Add parser for SMTP date
  1536. * [Feature] Add per-task lua cache to reuse 'heavy' objects
  1537. * [Feature] Add plugins list path in WebUI
  1538. * [Feature] Add preliminary multipart support
  1539. * [Feature] Add preliminary version of DKIM signing module
  1540. * [Feature] Add profiling support in client output
  1541. * [Feature] Add rfc2047 grammar
  1542. * [Feature] Add rfc2047 variant for QP decoding
  1543. * [Feature] Add rmilter_headers module (Fixes #1227)
  1544. * [Feature] Add sse42 version of base64 decoding
  1545. * [Feature] Add ssse3 and avx2 base64 decoders
  1546. * [Feature] Add support of libgd
  1547. * [Feature] Add the preliminary version of redirects resolver in Lua
  1548. * [Feature] Add ucl_object_iterate_full function
  1549. * [Feature] Add url encoding function
  1550. * [Feature] Allow SOA requests in lua dns
  1551. * [Feature] Allow custom parse types in lua ucl
  1552. * [Feature] Allow plugins to register webui handlers
  1553. * [Feature] Allow to add options explicitly to symbols
  1554. * [Feature] Allow to call a callback when symbol frequency is on peak
  1555. * [Feature] Allow to call redirector script from SURBL
  1556. * [Feature] Allow to create variable length dkim keys
  1557. * [Feature] Allow to have module specific options for Redis in plugins
  1558. * [Feature] Allow to pass sign key directly from Lua
  1559. * [Feature] Allow to register configuration docs from Lua API
  1560. * [Feature] Allow to return options as a table
  1561. * [Feature] Allow to set peak callbacks from Lua
  1562. * [Feature] Allow to specify custom method for a message
  1563. * [Feature] Allow to store dkim keys in Redis
  1564. * [Feature] Allow to store messages in files
  1565. * [Feature] Apply DCT using AAN for fuzzy signature
  1566. * [Feature] Avira SAVAPI support
  1567. * [Feature] Cache and simplify DCT and jpeg decode
  1568. * [Feature] Cache libicu converters
  1569. * [Feature] Detect URLs with suspicious omographs
  1570. * [Feature] Do not increase score for duplicate options
  1571. * [Feature] Do not trust CTE, check base64 and qp strictly
  1572. * [Feature] Dynamic reputation in URL reputation plugin
  1573. * [Feature] Extend redis lock when learning spawned
  1574. * [Feature] Filter non-utf chars from all decoded headers
  1575. * [Feature] Fix phishing detection for IDNA urls
  1576. * [Feature] Ignore bad symbols on base64 decoding
  1577. * [Feature] Ignore too wide elements in SPF
  1578. * [Feature] Implement fuzzy collection mode
  1579. * [Feature] Implement helo maps in multimap
  1580. * [Feature] Implement human readable buckets configuration
  1581. * [Feature] Implement min-hash shingles for DCT data from images
  1582. * [Feature] Implement new algorithm for fuzzy hashes of images
  1583. * [Feature] Implement new unicode normalizer
  1584. * [Feature] Implement quoted printable decoding
  1585. * [Feature] Implement received headers flags
  1586. * [Feature] Implement rspamdgrep tool
  1587. * [Feature] Implement sane checksum for config file
  1588. * [Feature] Implement url tags concept
  1589. * [Feature] Improve detection of omographs using libicu
  1590. * [Feature] Improve url redirector module
  1591. * [Feature] Multimap: Received header processing
  1592. * [Feature] Multiple improvements in the maps
  1593. * [Feature] New URL filters in multimap
  1594. * [Feature] Plugin to force actions on selected symbols
  1595. * [Feature] RBL module: support hashing for emails and helo RBL
  1596. * [Feature] Reuse URL tags in SURBL module
  1597. * [Feature] Rework RRD ds count, add conversion path
  1598. * [Feature] Rework surbl module to avoid extra redirector calls
  1599. * [Feature] Send config id to the WebUI
  1600. * [Feature] Simplify HTTPCrypt client support
  1601. * [Feature] Skip processing for large images
  1602. * [Feature] Start collection only mode implementation for fuzzy storage
  1603. * [Feature] Start import of the optimized base64 decode
  1604. * [Feature] Store all received headers in lua
  1605. * [Feature] Store relational order of all headers in a message
  1606. * [Feature] Support DKIM signing in Lua plugins
  1607. * [Feature] Support HTTPCrypt client in lua_http
  1608. * [Feature] Support setting SMTP message in multimap
  1609. * [Feature] Support setting metric subject from Lua
  1610. * [Feature] Support setting subject in force actions module
  1611. * [Feature] Treat v6 mapped addresses as v4 addresses
  1612. * [Feature] URL reputation plugin
  1613. * [Feature] Use Redis instead of memcached in URLs redirector
  1614. * [Feature] Use Rspamd rfc2047 decoder instead of gmime one
  1615. * [Feature] Use a different normalization for fuzzy images
  1616. * [Feature] Use normalized images in fuzzy hashes
  1617. * [Feature] Use own code for parsing of date
  1618. * [Feature] Use shingles for images fuzzying
  1619. * [Feature] Use t1ha for hashes, allow inlining
  1620. * [Feature] Use t1ha instead of metrohash and xxhash32
  1621. * [Feature] Various new features in metadata exporter module
  1622. * [Feature] rmilter_headers: authentication-results (#78)
  1623. * [Fix] Add additional check to mark redis connection inactive
  1624. * [Fix] Add packed attribute for protocol structure
  1625. * [Fix] Adopt OMOGRAPH_URL rule
  1626. * [Fix] Allow static maps
  1627. * [Fix] Allow to disable classifiers checks using settings and conditions
  1628. * [Fix] Another try to fix 0 length maps
  1629. * [Fix] Another try to fix corruption during maps reload
  1630. * [Fix] Another try to fix descriptors leak
  1631. * [Fix] Another try to fix reload and logger
  1632. * [Fix] Antivirus module: register virtual symbols for patterns
  1633. * [Fix] Avoid extensive reallocs
  1634. * [Fix] Avoid mempool leak in SA plugin on reload
  1635. * [Fix] Avoid race condition on saving cache and reload
  1636. * [Fix] Avoid reusing g_error (Fixes #1262)
  1637. * [Fix] Break pool connection on fatal redis errors
  1638. * [Fix] Check for NaN properly
  1639. * [Fix] Couple of fixes for date parsing
  1640. * [Fix] Date header timezone adjustments (#1279)
  1641. * [Fix] Deal with EOF properly
  1642. * [Fix] Decode filename in content disposition
  1643. * [Fix] Disable fuzzy images by default
  1644. * [Fix] Disable zero-copy mode for text parts to avoid crashes
  1645. * [Fix] Do not destroy session when not all finish scripts are done
  1646. * [Fix] Do not greyscale images
  1647. * [Fix] Do not leave parent-less workers processes on fatal errors
  1648. * [Fix] Do not lowercase Content-Disposition to perform decoding
  1649. * [Fix] Do not penalize characters just after numeric prefix
  1650. * [Fix] Do not refork workers that are intended to die
  1651. * [Fix] Do not set pre-result and update records for no `Queue-ID` messages
  1652. * [Fix] Do not skip post-filters when pre-filters have set some results
  1653. * [Fix] Do not stop symbols planning if async events are pending
  1654. * [Fix] Do not try to set keys for unencrypted requests in proxy
  1655. * [Fix] Encode URLs according to rfc3986
  1656. * [Fix] Encode URLs before sending them to the protocol
  1657. * [Fix] Filter bad characters from message id
  1658. * [Fix] Fix CTE detection heuristic
  1659. * [Fix] Fix Content-Type in HTTP requests
  1660. * [Fix] Fix IDN eslds phishing checks
  1661. * [Fix] Fix adding maps from config in Lua
  1662. * [Fix] Fix another reload memory issue
  1663. * [Fix] Fix argument returned on redis backend errors
  1664. * [Fix] Fix assertion in graph handling
  1665. * [Fix] Fix body trie matching
  1666. * [Fix] Fix build
  1667. * [Fix] Fix byte array expansion during toutf8 conversion
  1668. * [Fix] Fix charset normalisation
  1669. * [Fix] Fix checking of DKIM bodies that needs just `\n` to be added
  1670. * [Fix] Fix couple of cornercases with email addresses
  1671. * [Fix] Fix couple of issues
  1672. * [Fix] Fix dependencies tracking for callback symbols
  1673. * [Fix] Fix detection of jpeg size
  1674. * [Fix] Fix errors handling in fuzzy backend initialization
  1675. * [Fix] Fix fuzzy hashes count
  1676. * [Fix] Fix globbing and convert lists to arrays in fuzzy_check
  1677. * [Fix] Fix heuristical CTE detection for QP encoding
  1678. * [Fix] Fix ignoring of bad text parts
  1679. * [Fix] Fix indexes in array access, interleave loop
  1680. * [Fix] Fix int64 -> double conversion
  1681. * [Fix] Fix invalid memory access on reload
  1682. * [Fix] Fix issues with empty updates
  1683. * [Fix] Fix issues with quoted-printable encoding
  1684. * [Fix] Fix keys names
  1685. * [Fix] Fix lots of issues in mime parser code
  1686. * [Fix] Fix lua maps load
  1687. * [Fix] Fix macro name
  1688. * [Fix] Fix mas group score calculations
  1689. * [Fix] Fix matching of the same patterns from different tries
  1690. * [Fix] Fix memory corruprtion and leak
  1691. * [Fix] Fix memory leak in HTTP maps
  1692. * [Fix] Fix memory leak in expression destroying
  1693. * [Fix] Fix memory leak in parsing of mime names
  1694. * [Fix] Fix memory leak in safe ucl iterators
  1695. * [Fix] Fix memory leak on reload in plugins
  1696. * [Fix] Fix modules reconfigure on reload
  1697. * [Fix] Fix monitored setup fro URLBLs with IP addresses
  1698. * [Fix] Fix name of var
  1699. * [Fix] Fix new rrd updates
  1700. * [Fix] Fix out of bounds access
  1701. * [Fix] Fix parsing messages with no body
  1702. * [Fix] Fix parsing of '=' character in headers
  1703. * [Fix] Fix parsing of messages with no content type
  1704. * [Fix] Fix plugins callbacks in webui
  1705. * [Fix] Fix possible memory corruption in redis pool
  1706. * [Fix] Fix probability calculations for fuzzy redis backend
  1707. * [Fix] Fix processing errors in lua_tcp
  1708. * [Fix] Fix processing of emails with name only
  1709. * [Fix] Fix processing of non-multipart messages
  1710. * [Fix] Fix processing of parts with no valid content type
  1711. * [Fix] Fix race condition in SIGUSR2 handler
  1712. * [Fix] Fix redis options parsing when no redis servers are defined
  1713. * [Fix] Fix reload and hyperscan ready event
  1714. * [Fix] Fix reload memory issue
  1715. * [Fix] Fix rra_ptr conversion
  1716. * [Fix] Fix rrd file conversion
  1717. * [Fix] Fix setting of content-type attributes
  1718. * [Fix] Fix signing headers creation in DKIM
  1719. * [Fix] Fix stddev calculations
  1720. * [Fix] Fix surbl plugin to work with composite maps
  1721. * [Fix] Fix timezones parsing
  1722. * [Fix] Fix tokens usage
  1723. * [Fix] Fix urls and emails hashes
  1724. * [Fix] Fix usage of unsafe ucl iterators
  1725. * [Fix] Fix work with broken utf8 tokens
  1726. * [Fix] Fix writing of user to roll history
  1727. * [Fix] Forgotten worker
  1728. * [Fix] Further memory leaks fixes
  1729. * [Fix] Ignore lua metatokens in bayes for now
  1730. * [Fix] Improve OMOGRAPH_URL rule
  1731. * [Fix] Lua IP from string should be invalid if parsing failed
  1732. * [Fix] Miltiple fixes to new lua_tcp, add debugging
  1733. * [Fix] More fixes for iterators cleanup
  1734. * [Fix] More fixes to logger initialization
  1735. * [Fix] More heuristic fixes for phishing detection
  1736. * [Fix] More leaks eliminated
  1737. * [Fix] More leaks...
  1738. * [Fix] More random fixes for reload...
  1739. * [Fix] Multimap: Fixes for email filters
  1740. * [Fix] Multiple fixes for fann module
  1741. * [Fix] Multiple memory corruption fixes
  1742. * [Fix] Normalize path in HTTP router
  1743. * [Fix] Plug memory leak
  1744. * [Fix] Plug memory leak in adding radix trees
  1745. * [Fix] Plug memory leak in configuration parser
  1746. * [Fix] Plug memory leak in expressions parsing during reload
  1747. * [Fix] Plug memory leak in learning fuzzy storage
  1748. * [Fix] Plug memory leak in lua_tcp
  1749. * [Fix] Plug reload leaks
  1750. * [Fix] Plug termination memory leaks
  1751. * [Fix] Really increase lock lifetime
  1752. * [Fix] Replies module: fix symbol weight
  1753. * [Fix] Restore content type params related functions
  1754. * [Fix] Set task's subject from mime subject
  1755. * [Fix] Sigh, one more reload leak
  1756. * [Fix] Simplify images shingles
  1757. * [Fix] Some more memory issues are fixed
  1758. * [Fix] Stop hardcoding of lua in C
  1759. * [Fix] Stop processing of bad parts as text parts
  1760. * [Fix] Strictly filter bad characters when emittin json
  1761. * [Fix] Strings returned from lua are ephemeral
  1762. * [Fix] Support unix sockets for lua redis
  1763. * [Fix] Try to fix issues with reloading config
  1764. * [Fix] Try to fix race condition in redis_pool
  1765. * [Fix] Use checksum to avoid intersection between different ANNs
  1766. * [Fix] Use rspamd hashes in embedded ucl
  1767. * [Fix] Use sane default rewrite subject (*** SPAM *** %s)
  1768. * [Fix] Various collection mode fixes
  1769. * [Fix] Various fixes to mime parser
  1770. * [Fix] Various reload leak fixing
  1771. * [Fix] Whitelist certain extensions from archive checks
  1772. * [Rework] Add preliminary implementation of the mime parser
  1773. * [Rework] Adopt code for the new options
  1774. * [Rework] Change logger setup interface
  1775. * [Rework] Composite configuration (#1270)
  1776. * [Rework] Finally remove gmime dependency from Rspamd
  1777. * [Rework] Further fixes to symbols frequencies
  1778. * [Rework] Implement content type parser for mime
  1779. * [Rework] Kill all InternetAddressList usages
  1780. * [Rework] Multiple fixes for symbols cache statistics
  1781. * [Rework] Refactor struct names
  1782. * [Rework] Rework images fuzzy hashes algorithm
  1783. * [Rework] Rework lua_tcp to allow TCP dialog
  1784. * [Rework] Start massive rework to get rid of gmime
  1785. * [Rework] Start new approach for multiparts parsing
  1786. * [Rework] Start rework of mime addresses
  1787. * [Rework] Start rework of symbols cache updates
  1788. * [Rework] Start switching to libicu
  1789. * [Rework] Use a special structure for stats tokens
  1790. * [Rework] Use hash tables for symbols options
  1791. * [Rework] Use libicu instead of iconv for conversions
  1792. * [Rework] Use new scheme to parse mime parts
  1793. * [WebUI] Add Access-Control-Allow-Origin for cluster management
  1794. * [WebUI] Add Throughput graph autorefreshing (#820)
  1795. * [WebUI] Add Visibility.js library
  1796. * [WebUI] Add basic cluster support to Throughput tab
  1797. * [WebUI] Add graph legend entries for new DSes
  1798. * [WebUI] Add graph tab
  1799. * [WebUI] Add neighbours RRD data consolidation
  1800. * [WebUI] Add preliminary save symbols clustering
  1801. * [WebUI] Add server selector to navbar
  1802. * [WebUI] Add soft reject to auth stats
  1803. * [WebUI] Add summary to the Throughput tab
  1804. * [WebUI] Allow to save maps on the cluster
  1805. * [WebUI] Avoid extra graph redraw and alerts glitching
  1806. * [WebUI] Be more generous with AJAX timeout
  1807. * [WebUI] Disable error ring loading in `read only` mode
  1808. * [WebUI] Enclose table header cells with `tr`s
  1809. * [WebUI] Finish interface rework
  1810. * [WebUI] Fix RRD summary pie chart position
  1811. * [WebUI] Fix `All SERVERS` graph fot just one available server
  1812. * [WebUI] Fix case when no cluster is defined
  1813. * [WebUI] Fix compatibility with non-ES6 compliant browsers
  1814. * [WebUI] Fix config ID
  1815. * [WebUI] Fix configuration page partially
  1816. * [WebUI] Fix disabled state
  1817. * [WebUI] Fix graph dataset selector initialization
  1818. * [WebUI] Fix graph selectors state resetting
  1819. * [WebUI] Fix mouse events on throughput summary table area
  1820. * [WebUI] Fix multiple JS issues
  1821. * [WebUI] Fix pie chart displaying
  1822. * [WebUI] Fix read only
  1823. * [WebUI] Fix read only2
  1824. * [WebUI] Fix retarded datatables
  1825. * [WebUI] Fix soft reject in pie chart
  1826. * [WebUI] Fix stat widgets timers multiplication on `Refresh` click
  1827. * [WebUI] Fix symbols config
  1828. * [WebUI] Fix various errors with login form
  1829. * [WebUI] Further fixes
  1830. * [WebUI] Hide learning tab in read-only mode
  1831. * [WebUI] Initial clusters support
  1832. * [WebUI] Make legend entry colours more contrast
  1833. * [WebUI] Move configuration tab to a separate module
  1834. * [WebUI] Move history tab
  1835. * [WebUI] Move symbols config as well
  1836. * [WebUI] New sec to time function
  1837. * [WebUI] Prevent multiple clicks on `Refresh`
  1838. * [WebUI] RRD summary: Hide inner labels of tiny pie sectors
  1839. * [WebUI] RRD summary: Respect undefined values
  1840. * [WebUI] Reduce font size of graph's legend
  1841. * [WebUI] Remove orphaned font duplicates
  1842. * [WebUI] Remove unused code
  1843. * [WebUI] Replace spinner with animated glyphicon
  1844. * [WebUI] Reset refresh timer on server switching
  1845. * [WebUI] Rework interface to use requirejs
  1846. * [WebUI] Rework neighbours query function
  1847. * [WebUI] Separate attributes by space
  1848. * [WebUI] Set focus to password field (#1230)
  1849. * [WebUI] Simplify neighbours table populating
  1850. * [WebUI] Start rework of modules
  1851. * [WebUI] Stop stats refreshing if the page is hidden
  1852. * [WebUI] Turn d3pie's stuff into a reusable function,
  1853. * [WebUI] Unify send data functions
  1854. * [WebUI] Update D3Evolution to 0.0.1
  1855. * [WebUI] Update d3.js
  1856. * [WebUI] Update datatables to work with the requirejs
  1857. * [WebUI] Use unified tab click event handler,
  1858. * [WebUI] clusters for the chart
  1859. * [WebUI] fix uptime
  1860. 1.4.2:
  1861. * [CritFix] Deal with absent headers in DKIM
  1862. * [CritFix] Do not trust remote shingles count
  1863. * [CritFix] Fix headers selection in DKIM verification
  1864. * [Feature] Add EXT_CSS rule
  1865. * [Feature] Add toggle for disabling SURBLs
  1866. * [Feature] Extend redis lock when learning spawned
  1867. * [Feature] Parse <link> HTML tags
  1868. * [Fix] Avoid reusing g_error (Fixes #1262)
  1869. * [Fix] Do not reset loaded ANN when learning is requested
  1870. * [Fix] Fix another issue with external deps in SA
  1871. * [Fix] Fix body trie matching
  1872. * [Fix] Fix checking of DKIM bodies that needs just `\n` to be added
  1873. * [Fix] Fix fuzzy hashes count
  1874. * [Fix] Fix keys names
  1875. * [Fix] Fix length calculations for url encoded urls
  1876. * [Fix] Fix matching of the same patterns from different tries
  1877. * [Fix] Fix name of var
  1878. * [Fix] Fix parsing of URLs with spaces and other bad chars
  1879. * [Fix] Fix probability calculations for fuzzy redis backend
  1880. * [Fix] Fix signing headers creation in DKIM
  1881. * [Fix] Plug memory leak
  1882. * [Fix] Really fix chained SA dependencies
  1883. * [Fix] Really increase lock lifetime
  1884. * [Fix] Use checksum to avoid intersection between different ANNs
  1885. * [Fix] Use rspamd hashes in embedded ucl
  1886. * [Fix] Yet another change for testing external deps
  1887. 1.4.1:
  1888. * [Feature] ASN support in Clickhouse module
  1889. * [Feature] Add clickhouse plugin
  1890. * [Feature] Add generic tool to add universal maps for lua modules
  1891. * [Feature] Add logger.debugm to debug lua modules
  1892. * [Feature] Allow to register metrics symbols using register_symbol
  1893. * [Feature] Allow to specify prefix for fann_redis
  1894. * [Feature] Clickhouse: support different masks for IPv4/IPv6
  1895. * [Feature] Support forcing action in antivirus plugin
  1896. * [Fix] Add handling of regexp maps
  1897. * [Fix] Allow backslashes in http urls
  1898. * [Fix] Avoid mapping of empty files
  1899. * [Fix] Do not load tld file to speed up rspamadm
  1900. * [Fix] Do not resolve numeric IP addresses due to ipv6 insanity
  1901. * [Fix] Filter incorrect training data
  1902. * [Fix] Fix Fuzzyconvert tool when password or DB is given
  1903. * [Fix] Fix build with custom glib/gmime
  1904. * [Fix] Fix converting of learn count from sqlite to redis
  1905. * [Fix] Fix crashes with invalid received and task:set_from_ip
  1906. * [Fix] Fix external dependencies for SA module
  1907. * [Fix] Fix fann_redis when number of scores has been changed
  1908. * [Fix] Fix hyperscan usage for non compatible platforms
  1909. * [Fix] Fix loading of maps from UCL objects
  1910. * [Fix] Fix memory leak for task-less redis requests
  1911. * [Fix] Fix mid module with new maps syntax
  1912. * [Fix] Fix parsing of URLs with username
  1913. * [Fix] Fix re cache initialisation
  1914. * [Fix] Fix replacements to sanitize '%' character
  1915. * [Fix] Fix set and regexp like static maps
  1916. * [Fix] Fix some issues in redis settings
  1917. * [Fix] Fix static IP maps
  1918. * [Fix] Fix total learns counter for redis stats
  1919. * [Fix] Fix usage of config during reload
  1920. * [Fix] Fix various warnings and issues
  1921. * [Fix] Invalidate ANN if training data is incorrect
  1922. * [Fix] Miltiple fixes to fann_redis module
  1923. * [Fix] More fixes for URLs with backslashes
  1924. * [Fix] Properly get options for ip_score module
  1925. * [Fix] Relax requirements for Received as gmail cannot RFC
  1926. * [Fix] Remove or fix hyperscan incompatible regexps
  1927. * [Fix] Settings: correctly read redis config
  1928. * [Rework] Rework lua logger interface slightly
  1929. * [Rework] Use new maps add function
  1930. 1.4.0:
  1931. * [CritFix] Add guards for inactive redis connections
  1932. * [CritFix] Another fix for proxying files using rspamd_proxy
  1933. * [CritFix] Cleanup inactive redis connections
  1934. * [CritFix] Do not sometimes try to exec posfilters before classification
  1935. * [CritFix] Fix application of IPv6 mask
  1936. * [CritFix] Fix chunked encoding when reading messages
  1937. * [CritFix] Fix file mode for rspamd_proxy
  1938. * [CritFix] Fix hyperscan compilation on regexp change
  1939. * [CritFix] Fix issue with finding of end of lines pointers
  1940. * [CritFix] Fix iteration over headers array (introduced in 1.4)
  1941. * [CritFix] Fix processing of learned tokens count for redis backend
  1942. * [CritFix] Fix race condition in checking of cached maps
  1943. * [CritFix] Fix workers scripts by sharing workers configs
  1944. * [CritFix] Introduce raw content to text parts
  1945. * [CritFix] Plug memory leak and potential memory corruption
  1946. * [Feature] Adaptive ratelimits
  1947. * [Feature] Add ASN -> rbldnsd script for asn.rspamd.com
  1948. * [Feature] Add DMARC_NA symbol
  1949. * [Feature] Add F-Prot support to antivirus module
  1950. * [Feature] Add HTTP backend to metadata exporter
  1951. * [Feature] Add Lua API module for monitored objects
  1952. * [Feature] Add R_DKIM_NA / R_SPF_NA / AUTH_NA symbols
  1953. * [Feature] Add R_DKIM_PERMFAIL symbol
  1954. * [Feature] Add R_SPF_PERMFAIL symbol
  1955. * [Feature] Add Sophos antivirus support
  1956. * [Feature] Add ZSTD compression to Lua API
  1957. * [Feature] Add `mid` Lua module
  1958. * [Feature] Add `one_param` flag for metric symbols
  1959. * [Feature] Add a generic lua classifier
  1960. * [Feature] Add a very basic interface to access workers data from on_load
  1961. * [Feature] Add ability to delete a hash by its data to fuzzy_check plugin
  1962. * [Feature] Add ability to enable/disable symbols via dynamic_conf
  1963. * [Feature] Add ability to lookup settings by key
  1964. * [Feature] Add common way to disable Lua modules
  1965. * [Feature] Add compression support to rspamd client
  1966. * [Feature] Add condition to do antiviral check
  1967. * [Feature] Add configuration for lua classifiers
  1968. * [Feature] Add configuration knobs for the errors circular buffer
  1969. * [Feature] Add decompression support in rspamd client
  1970. * [Feature] Add errors exporter to the controller
  1971. * [Feature] Add expected value for monitored DNS resources
  1972. * [Feature] Add exporter from error ringbuf to ucl
  1973. * [Feature] Add extended version for fann creation function
  1974. * [Feature] Add ffi friendly version of process_regexp function
  1975. * [Feature] Add frequency and time display to webui
  1976. * [Feature] Add fuzzy_delhash command to rspamc client
  1977. * [Feature] Add implementation of redis connections pool
  1978. * [Feature] Add latency and offline time monitoring
  1979. * [Feature] Add learning support for lua classifiers
  1980. * [Feature] Add max-size and timeout options to CGP helper
  1981. * [Feature] Add method to enable/disable symbols in config
  1982. * [Feature] Add methods to get metric's actions and symbols from Lua
  1983. * [Feature] Add mmap support to lua_text
  1984. * [Feature] Add monitored object for surbl plugin
  1985. * [Feature] Add more exceptions to surbl whitelist
  1986. * [Feature] Add more meta-tokens to bayes
  1987. * [Feature] Add neural net classifier to fann_scores module
  1988. * [Feature] Add neural net serialization/deserialization
  1989. * [Feature] Add new dynamic conf module
  1990. * [Feature] Add periodic events support for lua_config
  1991. * [Feature] Add plugin to check MX'es for the sender's domain
  1992. * [Feature] Add preliminary monitored module
  1993. * [Feature] Add preliminary support of dynamic conf updates in Redis
  1994. * [Feature] Add preliminary version of clamav plugin
  1995. * [Feature] Add redis cache to asn module
  1996. * [Feature] Add replies compression
  1997. * [Feature] Add spamhaus DROP dnsbl
  1998. * [Feature] Add support for dictionary in client compression
  1999. * [Feature] Add support for fuzzy learn and unlearn from lua
  2000. * [Feature] Add support for input encryption
  2001. * [Feature] Add support of min_learns to neural net classifier
  2002. * [Feature] Add termination callbacks for workers
  2003. * [Feature] Add user-agent for rspamc
  2004. * [Feature] Add utility to perform classifier tests
  2005. * [Feature] Add zstd compression library
  2006. * [Feature] Allow HTTPS requests in lua_http
  2007. * [Feature] Allow conditions for pre and postfilters
  2008. * [Feature] Allow custom functions for ratelimits
  2009. * [Feature] Allow for excluding messages from AV scanning based on size
  2010. * [Feature] Allow for getting worker stats from Lua
  2011. * [Feature] Allow getting task UID from Lua
  2012. * [Feature] Allow parsing of mailbox messages from the commandline
  2013. * [Feature] Allow plugins to publish their lua API via rspamd_plugins
  2014. * [Feature] Allow to compare other systems with Rspamd
  2015. * [Feature] Allow to execute Lua scripts by controller
  2016. * [Feature] Allow to have a function to set custom greylist message
  2017. * [Feature] Allow to iterate over multiple tags
  2018. * [Feature] Allow to pass extra data from plugins to log helper
  2019. * [Feature] Allow to plan new periodics at different time
  2020. * [Feature] Allow to reset hashes
  2021. * [Feature] Allow to run rspamadm lua just as a lua interpreter
  2022. * [Feature] Allow to store settings in redis
  2023. * [Feature] Allow to update dynamic conf in Redis
  2024. * [Feature] Allow to use dictionaries for compression
  2025. * [Feature] Allow to use md5, sha1, sha256, sha384 and sha512 hashes in Lua
  2026. * [Feature] Allow whitelisting by IP for greylisting plugin
  2027. * [Feature] Antivirus: Support whitelists & pattern-matching sig names
  2028. * [Feature] Backport pack/unpack routines from Lua 5.3
  2029. * [Feature] Check settings with equal priopities in alphabetical order
  2030. * [Feature] Compress neural net in redis
  2031. * [Feature] Consider more tags when doing WHITE_ON_WHITE rule
  2032. * [Feature] Descriptive options for DMARC failure symbols
  2033. * [Feature] Descriptive options for RBL symbols
  2034. * [Feature] Enable configuration for monitored objects
  2035. * [Feature] Execute on_load scripts with ev_base ready
  2036. * [Feature] Fann scores now uses metadata from a message
  2037. * [Feature] Implement FANN threaded learning
  2038. * [Feature] Implement classifying for lua classifiers
  2039. * [Feature] Implement finish scripts for worker processes
  2040. * [Feature] Implement monitoring for DNS resources
  2041. * [Feature] Implement real priorities for pre and post filters
  2042. * [Feature] Insert two symbols: FANN_HAM and FANN_SPAM instead of one
  2043. * [Feature] Module to push metadata/messages to redis pubsub
  2044. * [Feature] Monitor RBL records
  2045. * [Feature] Move fann_classifier to a separate plugin
  2046. * [Feature] Normalize all ANN inputs
  2047. * [Feature] Preliminary version of metric exporter module
  2048. * [Feature] Preserve decompression context between tasks
  2049. * [Feature] Ratelimit: Support dynamic bucket size/leak rate
  2050. * [Feature] Relax FORGED_RECIPIENTS: allow senders to BCC themselves
  2051. * [Feature] Remove symbols weights on composites processing
  2052. * [Feature] Return symbol scores when getting resulting symbols
  2053. * [Feature] Rework lua tcp module
  2054. * [Feature] Rule to detect some obvious X-PHP-Originating-Script forgeries
  2055. * [Feature] Rule to identify some X-PHP-Script forgeries
  2056. * [Feature] Rules for scoring Google Message-ID fixes
  2057. * [Feature] Send hashes values to reply
  2058. * [Feature] Set expire for dmarc reports
  2059. * [Feature] Stop using cymru zone as it is unstable
  2060. * [Feature] Stop using of GLists for headers, improve performance
  2061. * [Feature] Store `for` in task:get_received_headers
  2062. * [Feature] Store `for` part in received headers
  2063. * [Feature] Store enabled flag for webui session
  2064. * [Feature] Store error messages in ring buffer
  2065. * [Feature] Support compressed maps
  2066. * [Feature] Support excluding selected users from ratelimits
  2067. * [Feature] Support looking up NS records in lua_dns
  2068. * [Feature] Support modern style SURBL configuration
  2069. * [Feature] Support multiple hashes in delhash path
  2070. * [Feature] Support new messages in rspamc
  2071. * [Feature] Support requests without reads in lua_tcp
  2072. * [Feature] Support setting task message from Lua
  2073. * [Feature] Track visibility of HTML elements
  2074. * [Feature] Try to add CRLF when checking DKIM
  2075. * [Feature] Try to guess line endings when folding headers
  2076. * [Feature] Try to improve normalization function for bayes
  2077. * [Feature] Use FFI to optimize SA module
  2078. * [Feature] Use length based arguments for redis, allow lua_text as arg
  2079. * [Feature] Use more layers for fann and another normalization
  2080. * [Feature] User-defined ratelimits
  2081. * [Feature] Utility to convert fuzzy storage from sqlite to redis
  2082. * [Feature] Yield DMARC_DNSFAIL on lookup failure
  2083. * [Fix] Adopt fuzzy storage for flexible backends
  2084. * [Fix] Allow plain IP addresses in Rspamd maps
  2085. * [Fix] Another fix for brain-damaged hiredis
  2086. * [Fix] Another fix for rdns write errors
  2087. * [Fix] Another fix for rdns_make_request_full invocation
  2088. * [Fix] Another fix in DKIM canonicalization
  2089. * [Fix] Another memory leak plugged
  2090. * [Fix] Another try to deal with posix idiotizm
  2091. * [Fix] Another try to fix RDNS events processing logic
  2092. * [Fix] Avoid double frees in HEAD requests
  2093. * [Fix] Avoid extra symbols for RBLs
  2094. * [Fix] Banish table.maxn from Lua parts
  2095. * [Fix] Check for socket error before connection in lua_tcp
  2096. * [Fix] Correctly propagate redis timeouts to Lua
  2097. * [Fix] Do not add extra newline in MIME mode
  2098. * [Fix] Do not be cheated by system hiredis
  2099. * [Fix] Do not classify when a message has not enough tokens
  2100. * [Fix] Do not crash on redis errors
  2101. * [Fix] Do not distinguish NXDOMAIN and NOREC for monitored
  2102. * [Fix] Do not replan retransmits if merely one server is defined
  2103. * [Fix] Do not use headers to calculate messages digests
  2104. * [Fix] Don't force action in replies module for authenticated users/local networks
  2105. * [Fix] Explicitly ban default passwords in webui
  2106. * [Fix] Finally fix ambiguity between parsed and resolved spf elts
  2107. * [Fix] Fix 'decoded' value in task:get_header_full()
  2108. * [Fix] Fix DKIM calculations
  2109. * [Fix] Fix DKIM signing for messages with no newline at the end
  2110. * [Fix] Fix DNS request in monitored
  2111. * [Fix] Fix DNS write errors processing
  2112. * [Fix] Fix HTTP methods other than GET and POST
  2113. * [Fix] Fix PERMFAIL for v6/v4 ambiguities
  2114. * [Fix] Fix absurdic scores for HFILTER_URL_ONLY
  2115. * [Fix] Fix actions in rolling history
  2116. * [Fix] Fix actrie patterns
  2117. * [Fix] Fix applying of lua dynamic confg
  2118. * [Fix] Fix autolearning errors and redis cache
  2119. * [Fix] Fix bayes learn_condition
  2120. * [Fix] Fix build with the recent OpenSSL
  2121. * [Fix] Fix caching and compressed maps
  2122. * [Fix] Fix check plain text part
  2123. * [Fix] Fix crash on OpenBSD in `url_email_start`
  2124. * [Fix] Fix double free in SPF
  2125. * [Fix] Fix extraction of shingles from redis fuzzy storage
  2126. * [Fix] Fix false sharing for symbols in the cache
  2127. * [Fix] Fix float usage in util:get_time
  2128. * [Fix] Fix folding algorithm to deal with empty tokens
  2129. * [Fix] Fix format string
  2130. * [Fix] Fix format string usage in controller errors handling
  2131. * [Fix] Fix handling of '\0' in lua_tcp
  2132. * [Fix] Fix handling of HTTP HEAD methods
  2133. * [Fix] Fix hash creation
  2134. * [Fix] Fix hiredis stupidity
  2135. * [Fix] Fix implicit settings module settingsup
  2136. * [Fix] Fix interaction with lua GC to avoid craches
  2137. * [Fix] Fix ip_score module registration
  2138. * [Fix] Fix issue with empty messages and dkim
  2139. * [Fix] Fix issues with CGP helper
  2140. * [Fix] Fix issues with the recent SPF changes
  2141. * [Fix] Fix key name to load ANN correctly
  2142. * [Fix] Fix lua tcp module by saving `do_read` in callback data
  2143. * [Fix] Fix memory leak in client when using compression
  2144. * [Fix] Fix min_learns option
  2145. * [Fix] Fix on_finish scripts and async handlers
  2146. * [Fix] Fix options for SPF dnsfail symbol
  2147. * [Fix] Fix parsing includes and redirects in SPF
  2148. * [Fix] Fix parsing of lua comments with empty lines
  2149. * [Fix] Fix parsing of unquoted HTML attributes
  2150. * [Fix] Fix periodic events and redis
  2151. * [Fix] Fix processing of fuzzy learns from Lua
  2152. * [Fix] Fix processing of redirect in SPF includes
  2153. * [Fix] Fix processing of symbols when reject limit is reached
  2154. * [Fix] Fix refcounts when map is specified by IP
  2155. * [Fix] Fix rspamd{session} class in Lua API
  2156. * [Fix] Fix setting ratelimit key for 'ip' bucket
  2157. * [Fix] Fix some cases of TLD urls detector
  2158. * [Fix] Fix statconvert tool
  2159. * [Fix] Fix stats for backend-less classifiers
  2160. * [Fix] Fix training script for fann_redis
  2161. * [Fix] Fix variable in ann module
  2162. * [Fix] Fix various errors in lua dynamic conf plugin
  2163. * [Fix] Forget old ANN when max_usages is reached to avoid overtrain
  2164. * [Fix] Further canonicalization fixes
  2165. * [Fix] Further fixes for fann_redis prefixes
  2166. * [Fix] Handle failures for inactive pooled connections
  2167. * [Fix] Improve multimap info message
  2168. * [Fix] More fixes in ANN loading
  2169. * [Fix] More fixes to fann_redis
  2170. * [Fix] More issues in fann_redis
  2171. * [Fix] More spaces fix in DKIM signature
  2172. * [Fix] Multiple fixes to asn script, add IPv6 support
  2173. * [Fix] Multiple issues in fann_redis
  2174. * [Fix] No greylist rejected messages
  2175. * [Fix] One more attempt to fix lua_redis
  2176. * [Fix] One more check for readdir...
  2177. * [Fix] Params should be treated as a hash
  2178. * [Fix] Plug memory leak in regexp desctructor
  2179. * [Fix] Process headers only once
  2180. * [Fix] Properly handle nil values in ratelimit plugin
  2181. * [Fix] Really fix redis shingles check
  2182. * [Fix] Remove fann with incorrect layers count
  2183. * [Fix] Remove mentions of deleted include
  2184. * [Fix] Remove some incompatible functions
  2185. * [Fix] Settings: fix `authenticated` parameter (#886)
  2186. * [Fix] Skip MX check for authenticated users and local networks
  2187. * [Fix] Slightly fix ANN routines
  2188. * [Fix] Stop caching records with DNS failures
  2189. * [Fix] Treat all errors in redis_pool as fatal errors for a connection
  2190. * [Fix] Try avoid false-positives in HEADER_FORGED_MDN rule
  2191. * [Fix] Try to avoid race condition when using rrd
  2192. * [Fix] Try to reload redis scripts if they are missing
  2193. * [Fix] Unbreak once_received skipping for local networks
  2194. * [Fix] Unlock ANN on error
  2195. * [Fix] Use memmove for overlapping regions
  2196. * [Fix] Use real size instead of displayed for core limits
  2197. * [Fix] Use the correct macro to get the size of control
  2198. * [Fix] Various fixes for errors ringbuffer
  2199. * [Fix] Yield R_SPF_DNSFAIL if lookup of included record fails
  2200. * [Fix] mid: fix map initialization
  2201. * [Fix] mid: handle incorrect rgexps in the map
  2202. * [Rework] Add extract training data function to fann_redis
  2203. * [Rework] Add preliminary train tests
  2204. * [Rework] Add redis storage feature to fann_redis
  2205. * [Rework] Adopt fuzzy storage for abstract backend
  2206. * [Rework] Adopt plugins
  2207. * [Rework] First reiteration on fann scores
  2208. * [Rework] Implement loading/invalidating
  2209. * [Rework] Make lua_redis task agnostic
  2210. * [Rework] Make rspamd protocol messages useful
  2211. * [Rework] Massive removal of legacy code
  2212. * [Rework] More cleanup actions
  2213. * [Rework] Remove legacy code never used for classifiers
  2214. * [Rework] Remove outdated and unused lua_session module
  2215. * [Rework] Reorganize fuzzy backend structure
  2216. * [Rework] Reorganize the internal backend structure
  2217. * [Rework] Restore old fann_scores, move common parts
  2218. * [Rework] Rework and simplify rbl plugin
  2219. * [Rework] Rework parsing of DMARC records
  2220. 1.3.4:
  2221. * [Feature] ASN module; support matching ASN/country in multimap
  2222. * [Feature] Add SPF method in spf return result
  2223. * [Feature] Add Yandex and Mail.ru forwarding rules
  2224. * [Feature] Add mempool maps in multimap
  2225. * [Feature] Add rule for identifying mail sent by eval()'d PHP code
  2226. * [Feature] Add support of stub DNSSEC resolver to rdns
  2227. * [Feature] Add task:get_digest method
  2228. * [Feature] Allow for more fine-grained scoring for ip_score
  2229. * [Feature] Allow to get digest of a mime part from lua
  2230. * [Feature] Allow to print message digest in logs
  2231. * [Feature] Fold DKIM-Signature header
  2232. * [Feature] Implement encrypted logs
  2233. * [Feature] Log URLs encrypted if we have log encryption pubkey
  2234. * [Feature] Pass authenticated bit to lua
  2235. * [Feature] Read redis backend statistics configuration from global section
  2236. * [Feature] Show the exact value matched for multima symbols
  2237. * [Feature] Store task checksum
  2238. * [Fix] Avoid setting limits when required elements are missing
  2239. * [Fix] DMARC: Fix alignment checking for subdomains
  2240. * [Fix] DMARC: deal with missing and spurious spaces
  2241. * [Fix] Defer insertion of results in ip_score to avoid skewing stats
  2242. * [Fix] Disable DMARC for local/authorized mail
  2243. * [Fix] Fix handling of proxied headers in controller
  2244. * [Fix] Fix hex printing of strings
  2245. * [Fix] Fix issue with spaces in maps
  2246. * [Fix] Fix parsing of forwarded IP
  2247. * [Fix] Fix reload in some plugins and workers
  2248. * [Fix] Fix reloading on SIGHUP
  2249. * [Fix] Fix some border cases for DKIM canonicalization
  2250. * [Fix] Fix url maps
  2251. * [Fix] Make dnssec configurable option disabled by default for now
  2252. * [Fix] rspamadm statconvert: force db to be a string
  2253. * [Fix] rspamadm statconvert: use db/password for learn cache
  2254. * [Rework] Rework flags in rspamd logger
  2255. 1.3.3:
  2256. * [CritFix] Check hyperscan cache sanity before loading
  2257. * [CritFix] Fix setting of fuzzy keys (completely breaks fuzzy storage)
  2258. * [Feature] Add SARBL (sarbl.org) uribl
  2259. * [Feature] Add `--search-pattern` option to rspamd_stats
  2260. * [Feature] Add some sanity check for very long from/to log elements
  2261. * [Feature] Allow to create hashes from string in a single step
  2262. * [Feature] Fix order of pre and postfilters
  2263. * [Feature] Improve lua URLs API
  2264. * [Feature] Improve message about fuzzy rules
  2265. * [Feature] Pre-calculate blake2 digest for all parts
  2266. * [Feature] Print radix duplicate keys as IP addresses
  2267. * [Feature] Simple mechanism for disabling RBLs in local.d/rbl.conf
  2268. * [Feature] Use faster hash function for fuzzy storage
  2269. * [Feature] rspamd_stats: support log directory reading
  2270. * [Fix] Add sanity check for url filters
  2271. * [Fix] Do not show rmilter section as a fake metric in rspamc
  2272. * [Fix] Fix URL filters
  2273. * [Fix] Fix a stupid mistake in util.strequal_caseless
  2274. * [Fix] Fix blake2b hash of the string "rspamd"
  2275. * [Fix] Fix filename maps filter
  2276. * [Fix] Fix finding tld in util.get_tld
  2277. * [Fix] Fix multimap content filters
  2278. * [Fix] Fix returning boolean from Lua
  2279. * [Fix] Fix returning of REDIS_NIL
  2280. * [Fix] Try to deal with multiple workers terminated
  2281. * [Fix] Use forced DNS request when calling for lua_http
  2282. * [Rework] Rework multimap filters, add redis maps
  2283. 1.3.2:
  2284. * [Feature] Add a special symbol for SPF DNS errors: R_SPF_DNSFAIL
  2285. * [Feature] Add correlations report in fuzzy stats
  2286. * [Feature] Add experimental CGP integration
  2287. * [Feature] Add method to get urls length in a text part
  2288. * [Feature] Add new methods to lua_html to access HTML tags
  2289. * [Feature] Allow all types of symbols to be added via __newindex method
  2290. * [Feature] Allow to create settings for authenticated users
  2291. * [Feature] Allow to get block content for HTML tags
  2292. * [Feature] Improve DNS failures when dealing with SPF
  2293. * [Feature] Properly implement R_WHITE_ON_WHITE rule
  2294. * [Feature] Remove old ugly rules
  2295. * [Feature] Rspamc can now add dkim signature in mime mode
  2296. * [Feature] Store content length for HTML tags
  2297. * [Feature] Support reacher set of HTML colors
  2298. * [Feature] Try to avoid FP for low contrast fonts detection
  2299. * [Fix] Add missing HTML colors
  2300. * [Fix] Add spaces to dkim signature to allow folding
  2301. * [Fix] Avoid returning NaN as score on scan
  2302. * [Fix] Decode entitles in href parts
  2303. * [Fix] Do not cache SPF records with DNS errors
  2304. * [Fix] Do not crash on cyclic depends
  2305. * [Fix] Do not insert HELO/HOSTNAME unknown when they are not passed
  2306. * [Fix] Do not set absent hostname to "unknown"
  2307. * [Fix] Do not stress redis with KEYS command (#791)
  2308. * [Fix] Fix DMARC_BAD_POLICY symbol
  2309. * [Fix] Fix HFILTER_URL module
  2310. * [Fix] Fix HFILTER_URL_ONELINE rule
  2311. * [Fix] Fix buffering in CGP integration
  2312. * [Fix] Fix colors propagation from parent nodes
  2313. * [Fix] Fix confusing OpenSSL API usage of i2d_RSAPublicKey
  2314. * [Fix] Fix dependencies id sanity check
  2315. * [Fix] Fix folding for semicolon separated tokens
  2316. * [Fix] Fix largest possible TLD behaviour
  2317. * [Fix] Fix last token folding
  2318. * [Fix] Fix length calculations in white on white rule
  2319. * [Fix] Fix multiple request headers structure
  2320. * [Fix] Fix multiple values headers freeing
  2321. * [Fix] Fix parsing of background color
  2322. * [Fix] Fix printing from field in log_urls
  2323. * [Fix] Fix processing of last element of DMARC policies
  2324. * [Fix] Further fixes for HTML colors
  2325. * [Fix] Further fixes for multiple values headers
  2326. * [Fix] Further fixes for white on white rule
  2327. * [Fix] Further fixes in HTML tags parsing
  2328. * [Fix] Ignore content type/subtype case
  2329. * [Fix] Increase score of R_WHITE_ON_WHITE
  2330. * [Fix] Parse CGP envelope data
  2331. * [Fix] Propagate colors in HTML
  2332. * [Fix] Restore multiple values headers in protocol
  2333. * [Fix] Restore multiple values in headers processing
  2334. * [Fix] Some more changes to tag's content length calculations
  2335. * [Fix] Some more fixes for low contrast fonts detector
  2336. * [Fix] SpamAssassin plugin: support check_freemail_header('EnvelopeFrom', [..])
  2337. * [Fix] Trigger HTML_SHORT_LINK_IMG on any external image
  2338. * [Fix] rspamd_stats: remove deprecated defined(@array)
  2339. 1.3.1:
  2340. * [CritFix] Fix catena passwords validation
  2341. * [CritFix] Fix crash when the first received is faked
  2342. * [Feature] Add DMARC_BAD_POLICY symbol when DMARC policy was invalid
  2343. * [Feature] Allow for matching hostnames in multimap (#773)
  2344. * [Feature] Allow for setting action based on DMARC disposition
  2345. * [Feature] Allow limiting of the inbound message size
  2346. * [Feature] Allow maps with multiple symbols and scores
  2347. * [Feature] Allow regexps in the emails maps
  2348. * [Feature] Allow to register metric symbols from multimap
  2349. * [Feature] Allow to reset redis tokens instead of appendig values
  2350. * [Feature] Allow to store strings in radix maps
  2351. * [Feature] Check UTF validity when there are utf regexps in a map
  2352. * [Feature] Correctly work when there is no hard reject action
  2353. * [Feature] Implement dependencies for maps
  2354. * [Fix] Another effort to unbreak sqlite locking
  2355. * [Fix] Avoid crash when closing mmapped file
  2356. * [Fix] Do not break history on NaN in required score
  2357. * [Fix] Ensure that hyperscan cache written is written properly
  2358. * [Fix] Filter NaN from scores in history
  2359. * [Fix] Fix DNSBL maps
  2360. * [Fix] Fix another locking issue in sqlite
  2361. * [Fix] Fix another locking issue with mapped files
  2362. * [Fix] Fix deadlock in mmaped file stats
  2363. * [Fix] Fix dependencies in multimap plugin
  2364. * [Fix] Fix emails module configuration
  2365. * [Fix] Fix greylist plugin (#755)
  2366. * [Fix] Fix greylisting plugin variable usage
  2367. * [Fix] Fix installed permissions for rspamd_stats
  2368. * [Fix] Fix locking in mmapped statistics
  2369. * [Fix] Fix paths in tests
  2370. * [Fix] Fix prefilter mode for multimap
  2371. * [Fix] Forgot to commit leftover changes
  2372. * [Fix] Really fix local.d includes
  2373. * [Fix] Restore selective greylisting behaviour
  2374. * [Fix] Set max size on per connection basis
  2375. * [Fix] Use temporary storage for hyperscan cache
  2376. * [Rework] Remove systemd socket activation
  2377. 1.3.0:
  2378. * [CritFix] Fix SA rawbody processing - exclude top part
  2379. * [CritFix] Fix decoding of UTF HTML entitles
  2380. * [CritFix] Fix encrypted fuzzy requests
  2381. * [CritFix] Fix leak of shared memory fds and files
  2382. * [CritFix] Fix levenshtein distance calculations
  2383. * [CritFix] Fix mime headers processing
  2384. * [CritFix] Fix parsing of URLs in texts
  2385. * [CritFix] Fix parsing of missing classes
  2386. * [CritFix] Fix redis structure by adding {NULL, NULL} member
  2387. * [CritFix] Fix some more URL detector issues
  2388. * [CritFix] Fix systemd sockets activation
  2389. * [CritFix] Fix unencrypted passwords processing in the controller
  2390. * [CritFix] Fix writing CDPs to the database
  2391. * [CritFix] Fix writing of encrypted HTTP requests
  2392. * [CritFix] Plug memory leak in dkim module
  2393. * [CritFix] Plug memory leak in headers getting code
  2394. * [CritFix] Pre-filters and post-filters were completely broken
  2395. * [CritFix] Properly support SA body regexps
  2396. * [CritFix] Really skip filters in case of pre-result set
  2397. * [CritFix] Restore the intended pre-filters behaviour
  2398. * [Rework] Adopt new maps code
  2399. * [Rework] Compile ragel sources when building rspamd
  2400. * [Rework] Finish rework for the rest of places that use HTTP
  2401. * [Rework] Fix DKIM headers canonicalization
  2402. * [Rework] Fix lua maps API
  2403. * [Rework] Import linenoise for line editing
  2404. * [Rework] Include config structure to all rcl handlers
  2405. * [Rework] Make chartable module useful
  2406. * [Rework] Move http internal structures to a private header
  2407. * [Rework] Partly fix controller
  2408. * [Rework] Remove dedicated images list
  2409. * [Rework] Rename http proxy to rspamd proxy
  2410. * [Rework] Rename mime parts structures
  2411. * [Rework] Rework HTTP code
  2412. * [Rework] Rework exceptions and newlines processing
  2413. * [Rework] Rework pre and postfilters system
  2414. * [Rework] Separate method to close backend connections
  2415. * [Rework] Start the complete maps rework
  2416. * [Rework] Use dynamically generated ragel C sources
  2417. * [Feature] Add 'blacklist' and 'strict' modes for whitelists
  2418. * [Feature] Add 'symbols_enabled' and 'groups_enabled' to settings
  2419. * [Feature] Add ESMTPSA received type
  2420. * [Feature] Add a simple script to evaluate rspamd rules in the logs
  2421. * [Feature] Add a simple tool to generate DKIM keys
  2422. * [Feature] Add a trivial heuristic for codepages
  2423. * [Feature] Add and use mumhash for non-crypto hashing
  2424. * [Feature] Add better method to check lua userdata types
  2425. * [Feature] Add better zip files search algorithm
  2426. * [Feature] Add catena PBKDF function
  2427. * [Feature] Add configuration knobs for in and out parser scripts
  2428. * [Feature] Add content filtering support to multimap
  2429. * [Feature] Add different timeouts for proxy connections
  2430. * [Feature] Add dot commands for lua REPL:
  2431. * [Feature] Add execution of lua global functions script
  2432. * [Feature] Add function for pretty printing of inet addresses
  2433. * [Feature] Add function to convert fstring_t to c string
  2434. * [Feature] Add function to create temporary shared memory mapping
  2435. * [Feature] Add function to generate random hex string
  2436. * [Feature] Add generic fucnction to parse IP maps
  2437. * [Feature] Add initial version of HTTP lua repl
  2438. * [Feature] Add learn condition to the default configuration
  2439. * [Feature] Add learn conditions for classifiers
  2440. * [Feature] Add limit for dkim signatures to be checked
  2441. * [Feature] Add locking routines for lua_util
  2442. * [Feature] Add lua API for getting info from archives
  2443. * [Feature] Add lua utility to decode URL encoding
  2444. * [Feature] Add method to copy message from http connection
  2445. * [Feature] Add mirrors feature
  2446. * [Feature] Add more algorithms for shingles generation
  2447. * [Feature] Add more domains to redirectors list
  2448. * [Feature] Add more encodingsto cryptobox hash API
  2449. * [Feature] Add more file utilities to lua_util
  2450. * [Feature] Add more functions to extract data from text parts
  2451. * [Feature] Add more methods to get headers from a task
  2452. * [Feature] Add more methods to init http message body
  2453. * [Feature] Add more options for redis config parsing function
  2454. * [Feature] Add new representation of email address
  2455. * [Feature] Add new symbols to filter bad extensions in messages
  2456. * [Feature] Add new utility methods to mimepart object
  2457. * [Feature] Add openphish support to rspamd phishing module
  2458. * [Feature] Add parsers for SMTP address in ragel
  2459. * [Feature] Add parsing of mirror hosts for fuzzy storage
  2460. * [Feature] Add parsing scripts for master connection as well
  2461. * [Feature] Add preliminary greylist plugin
  2462. * [Feature] Add preliminary phishtank support
  2463. * [Feature] Add preliminary rarv5 support
  2464. * [Feature] Add preliminary version of ssl toolbox
  2465. * [Feature] Add protection against open files limit and accepting sockets
  2466. * [Feature] Add rar v4 support
  2467. * [Feature] Add reading scripts for master connection
  2468. * [Feature] Add replies plugin
  2469. * [Feature] Add results parsing code
  2470. * [Feature] Add routines to compare and check pubkeys
  2471. * [Feature] Add simpler versions of refcounts
  2472. * [Feature] Add some time manipulation functions for lua APi
  2473. * [Feature] Add support for non-standard BATV signatures
  2474. * [Feature] Add support of address with at-domain list
  2475. * [Feature] Add support to search archives by magic
  2476. * [Feature] Add task:get_rawbody method
  2477. * [Feature] Add test to check shared memory support sanity
  2478. * [Feature] Add the initial version of LUA repl to rspamadm
  2479. * [Feature] Add throughput graph for RRD backend to WebUI
  2480. * [Feature] Add universal function to make a proper redis request
  2481. * [Feature] Add universal function to parse redis servers for plugins
  2482. * [Feature] Add util.unlink function
  2483. * [Feature] Add utility function to return random number from 0 to 1
  2484. * [Feature] Add utility method to convert ftok to C string
  2485. * [Feature] Add utility to map shared memory segments
  2486. * [Feature] Add versions to fuzzy storage
  2487. * [Feature] Add workaround for legacy clients in rspamd proxy
  2488. * [Feature] Add workaround for systems without sane shmem support
  2489. * [Feature] Add xoroshiro+ fast rng for non-crypto purposes
  2490. * [Feature] Adopt plugins for new maps API
  2491. * [Feature] Allow SPF to be checked for empty tasks
  2492. * [Feature] Allow binary patterns in lua_trie
  2493. * [Feature] Allow catena encrypted passwords in controller
  2494. * [Feature] Allow client ip match in the settings
  2495. * [Feature] Allow easy adding and overriding of fuzzy rules
  2496. * [Feature] Allow empty tasks to be processed
  2497. * [Feature] Allow hostnames in IP maps
  2498. * [Feature] Allow https maps
  2499. * [Feature] Allow multiple PBKDF types in `rspamadm pw`
  2500. * [Feature] Allow named fuzzy rules
  2501. * [Feature] Allow non zero terminated patterns in multipattern
  2502. * [Feature] Allow partial hash updates
  2503. * [Feature] Allow pipelining for redis.make_request
  2504. * [Feature] Allow sending empty requests using client
  2505. * [Feature] Allow setting fuzzy flag by symbol not by value
  2506. * [Feature] Allow setting scores and actions from lua
  2507. * [Feature] Allow shared memory simple http client
  2508. * [Feature] Allow static lua files in any parts of rspamd sources
  2509. * [Feature] Allow to change flag from fuzzy learn condition
  2510. * [Feature] Allow to check rspamd_text using maps
  2511. * [Feature] Allow to disable composite rules from settings
  2512. * [Feature] Allow to disable some modules from common redis setup
  2513. * [Feature] Allow to extract ucl_object from lua using common API
  2514. * [Feature] Allow to get settings and settings id hash from lua_task
  2515. * [Feature] Allow to have specific settings for mirrored traffic
  2516. * [Feature] Allow to open message from a shared memory segment
  2517. * [Feature] Allow to parse pubkeys from the rcl config
  2518. * [Feature] Allow to pass extradata from rspamd to rmilter
  2519. * [Feature] Allow to query storage about number of fuzzy hashes stored
  2520. * [Feature] Allow to read logs without symbols scores
  2521. * [Feature] Allow to read password from console for rspamc
  2522. * [Feature] Allow to set ciphers and CA paths in config
  2523. * [Feature] Allow to skip some initialization phases to speed up rspamadm
  2524. * [Feature] Allow underscore separated names in settings
  2525. * [Feature] Allow versioning for sqlite databases
  2526. * [Feature] Always allow to terminate rspamd
  2527. * [Feature] Better deal with backend errors
  2528. * [Feature] Better lua_redis logging
  2529. * [Feature] Configure CA path and ciphers
  2530. * [Feature] Create a dedicated parser to strip newlines
  2531. * [Feature] Deduplicate the same urls in multimap module
  2532. * [Feature] Distinguish luajit from lua
  2533. * [Feature] Do not print garbadge in --compact output
  2534. * [Feature] Dynamically detect if a CPU is incompatible with hyperscan
  2535. * [Feature] Enable forced resolving for some lua plugins
  2536. * [Feature] Enable rrd by default
  2537. * [Feature] Enable workaround for exim
  2538. * [Feature] Fix task functions to work without rspamd_config
  2539. * [Feature] Further improvements to chartable module
  2540. * [Feature] Further micro-optimizations for hashing and shingles
  2541. * [Feature] Further relax parser
  2542. * [Feature] Humanize numbers in stats widgets
  2543. * [Feature] Implement HTTPS client
  2544. * [Feature] Implement SSL support in http client
  2545. * [Feature] Implement body rules for the trie plugin
  2546. * [Feature] Implement braced regexp quantifiers
  2547. * [Feature] Implement compare scripts for mirrors results
  2548. * [Feature] Implement compare scripts setup
  2549. * [Feature] Implement composites policies
  2550. * [Feature] Implement conditional learning for classifiers
  2551. * [Feature] Implement constructing of map from UCL
  2552. * [Feature] Implement dkim signing in dkim check plugin
  2553. * [Feature] Implement fuzzy storage updates
  2554. * [Feature] Implement fuzzy updates push protocol
  2555. * [Feature] Implement https maps
  2556. * [Feature] Implement inter-process maps caching
  2557. * [Feature] Implement mapping of remote flags to local flags
  2558. * [Feature] Implement mirroring in rspamd proxy
  2559. * [Feature] Implement multi-flags fuzzy replies
  2560. * [Feature] Implement multiple-sources fuzzy storage
  2561. * [Feature] Implement order of pre/post filters
  2562. * [Feature] Implement partial deleting for multi-flags
  2563. * [Feature] Implement pipelining for redis async interface
  2564. * [Feature] Implement ragel parser for received headers
  2565. * [Feature] Implement reading of messages to shared memory
  2566. * [Feature] Implement refcount for messages
  2567. * [Feature] Implement retransmits for master connection
  2568. * [Feature] Implement zero-copy mode for HTTP reading
  2569. * [Feature] Improve SPF domain detection logic
  2570. * [Feature] Improve config:register_symbol function
  2571. * [Feature] Improve error report for type mismatch in lua
  2572. * [Feature] Improve fstrings API
  2573. * [Feature] Improve getting SMTP data from lua_task
  2574. * [Feature] Improve levenshtein distance function
  2575. * [Feature] Improve logging in proxy and add refcounts
  2576. * [Feature] Improve logging lua types
  2577. * [Feature] Improve master/slave logging
  2578. * [Feature] Improve phishing plugin
  2579. * [Feature] Improve phishtank and openphish support
  2580. * [Feature] Improve ragel build target
  2581. * [Feature] Improve statistics script
  2582. * [Feature] Initialize ssl library to use SSL connections
  2583. * [Feature] Interpolate points sent to webui
  2584. * [Feature] Limit logging of elements that could have too many items
  2585. * [Feature] Lock ANN file when loading
  2586. * [Feature] New abstract hashing API in cryptobox
  2587. * [Feature] Normalize quoted addresses
  2588. * [Feature] Now cryptobox lua API accepts rspamd text as input
  2589. * [Feature] Optimize alignment to speed up hashing
  2590. * [Feature] Parse received date and ESMTPA proto
  2591. * [Feature] Parse received timestamp
  2592. * [Feature] Pass settings id to log helper
  2593. * [Feature] Pass settings id to lua script from log helper
  2594. * [Feature] Perform files expansion on proxying
  2595. * [Feature] Preliminary implementation of fuzzy master/slave updates
  2596. * [Feature] Print userdata using tostring if possible
  2597. * [Feature] Propagate HTTP result string when using proxy
  2598. * [Feature] Properly implement unweighted round-robin algorithm
  2599. * [Feature] Reduce number of timers queries
  2600. * [Feature] Rework and improve fuzzy storage
  2601. * [Feature] Rework dns resolving API for lua, add 'forced' option
  2602. * [Feature] Rework fann module to understand settings
  2603. * [Feature] Rework listening system to allow multiple socket types per worker
  2604. * [Feature] Rework ratelimit module to set expiration
  2605. * [Feature] Save bayes probability in memory pool var
  2606. * [Feature] Save settings id hash for convenience
  2607. * [Feature] Search for SSL_set_tlsext_host_name support
  2608. * [Feature] Send DKIM signature to protocol reply
  2609. * [Feature] Show DKIM signature in rspamc client
  2610. * [Feature] Show symbols description in scan output
  2611. * [Feature] Sign message merely after DKIM check
  2612. * [Feature] Simplify machines by assuming that headers are unfolded
  2613. * [Feature] Sort symbols when displaying them in log
  2614. * [Feature] Split main connection from mirrored connections
  2615. * [Feature] Start moving to the new email address structure
  2616. * [Feature] Store HTTP headers in a hash table
  2617. * [Feature] Store more information about compressed files
  2618. * [Feature] Store raw headers value to use them in DKIM
  2619. * [Feature] Store text parts content with newlines stripped
  2620. * [Feature] Support DKIM signing
  2621. * [Feature] Support EXIF jpeg images
  2622. * [Feature] Support archive files list extraction
  2623. * [Feature] Support archives when matching patterns in multimap
  2624. * [Feature] Support premium/academic feed for openphish
  2625. * [Feature] Support rspamd_updates via https
  2626. * [Feature] Supprort FQDNs in phishing module maps
  2627. * [Feature] Try to read on fuzzy timeout to avoid fake timeouts
  2628. * [Feature] Try to select the optimal possible function for input
  2629. * [Feature] Unescape and unquote smtp addresses
  2630. * [Feature] Update fuzzy timestamp when adding value
  2631. * [Feature] Update mumhash
  2632. * [Feature] Use -flto if possible when optimizations are enabled
  2633. * [Feature] Use extended map types in lua map, unify code
  2634. * [Feature] Use file lock in logger to avoid deadlocks
  2635. * [Feature] Use generic global string split function
  2636. * [Feature] Use metrohash as well
  2637. * [Feature] Use mumhash by default for incremental hashing
  2638. * [Feature] Use mumhash for words hashing
  2639. * [Feature] Use new ip parsing API
  2640. * [Feature] Use new maps API for local addrs
  2641. * [Feature] Use new ragel parser in message parsing code
  2642. * [Feature] Use new received parser instead of old one
  2643. * [Feature] Use new redis API in DMARC plugin
  2644. * [Feature] Use new redis API in greylist plugin
  2645. * [Feature] Use new redis API in ip_score plugin
  2646. * [Feature] Use new redis API in ratelimit plugin
  2647. * [Feature] Use new redis API in replies plugin
  2648. * [Feature] Use new version of register_symbol in rspamd plugins
  2649. * [Feature] Use offset when passing shm to deal with encrypted requests
  2650. * [Feature] Use one pass to remove newlines and store their positions
  2651. * [Feature] Use rspamd specific type checks for userdata
  2652. * [Feature] Use shared memory storage for http maps
  2653. * [Feature] Use universal redis definitions in rspamd plugins
  2654. * [Feature] Various improvements in greylist module
  2655. * [Feature] Wait for sqlite if locked when switching to WAL mode
  2656. * [Fix] Add filenames sanity filtering for mime types
  2657. * [Fix] Add guards for empty parts
  2658. * [Fix] Add missing types
  2659. * [Fix] Add more priority for config file symbols registered from UCL
  2660. * [Fix] Add sanity checks when compiling regexp maps
  2661. * [Fix] Add spaces instead of newlines to the normalized content
  2662. * [Fix] Add workaround for ancient openssl
  2663. * [Fix] Add workaround for gmime CTE stupidity
  2664. * [Fix] Add workaround for hex digits
  2665. * [Fix] Adjust MISSING_MIMEOLE score
  2666. * [Fix] Adjust body/body_buf when stealing encrypted message
  2667. * [Fix] Adopt lua task API for the new email addresses structure
  2668. * [Fix] Allow for disabling DMARC reporting when Redis is configured
  2669. * [Fix] Always register openphish and phishtank virtual symbols
  2670. * [Fix] Always use shmem on linux
  2671. * [Fix] Another change of newlines policy
  2672. * [Fix] Another d3evolution update
  2673. * [Fix] Another fix for exim workaround
  2674. * [Fix] Another fix for legacy clients
  2675. * [Fix] Another fix for maps scheduling
  2676. * [Fix] Another fix for marking upstreams inactive
  2677. * [Fix] Another fix for postfilters
  2678. * [Fix] Another fix for redis timeouts
  2679. * [Fix] Avoid `table.getn` method as it has been removed in lua 5.3
  2680. * [Fix] Avoid double hashing for images
  2681. * [Fix] Avoid linking with actrie if hyperscan is enabled
  2682. * [Fix] Check copy result when sending message to mirrors
  2683. * [Fix] Cleanup message when assiging body
  2684. * [Fix] Cleanup stack from global vars
  2685. * [Fix] Correctly parse query type
  2686. * [Fix] Disable all symbols if enable_groups is found in settings
  2687. * [Fix] Disable fts as it is completely broken in bloody linux
  2688. * [Fix] Disable multiple autolearn checks
  2689. * [Fix] Disallow updates by default
  2690. * [Fix] Do not abort when cannot load a map
  2691. * [Fix] Do not check recursion for non-DNS SPF record types
  2692. * [Fix] Do not delete uninitialized events
  2693. * [Fix] Do not die if shmem_mkstemp fails
  2694. * [Fix] Do not die when no metrics defined
  2695. * [Fix] Do not even try pcre in case of regexp maps
  2696. * [Fix] Do not greylist messages if redis has failed somehow
  2697. * [Fix] Do not greylist on rejection
  2698. * [Fix] Do not leave temporary maps cached
  2699. * [Fix] Do not output meaningless errors
  2700. * [Fix] Do not send NaN in json
  2701. * [Fix] Don't mix hyperscan and pcre processing within a same task
  2702. * [Fix] Finally rework and simplify redis backend for statistics
  2703. * [Fix] Fix Exim shutdown patch
  2704. * [Fix] Fix JIT compilation for PCRE2 expressions
  2705. * [Fix] Fix JIT usage for PCRE2
  2706. * [Fix] Fix REPL output
  2707. * [Fix] Fix SMTP address parsing machine
  2708. * [Fix] Fix UTF8 mode in PCRE2
  2709. * [Fix] Fix a stupid misprint in word 'phishing'
  2710. * [Fix] Fix accepting the first update when local idx is -1
  2711. * [Fix] Fix adding maps from ucl
  2712. * [Fix] Fix adding upstream to an active queue
  2713. * [Fix] Fix and rescore R_PARTS_DIFFER logic
  2714. * [Fix] Fix body rules in SA plugin
  2715. * [Fix] Fix body start position
  2716. * [Fix] Fix border case in urls detector
  2717. * [Fix] Fix border cases for incremental hashing
  2718. * [Fix] Fix caseless uthash application
  2719. * [Fix] Fix chartable issue with starting digits
  2720. * [Fix] Fix client_ip in users settings
  2721. * [Fix] Fix compilation issue
  2722. * [Fix] Fix conditional learning
  2723. * [Fix] Fix crash on empty maps
  2724. * [Fix] Fix creating of URLs from LUA
  2725. * [Fix] Fix creating of temporary shmem segment
  2726. * [Fix] Fix creation of mmapped statfiles
  2727. * [Fix] Fix descriptors leak on shmem detaching
  2728. * [Fix] Fix detaching of shared memory segments
  2729. * [Fix] Fix detection of URLs in text parts
  2730. * [Fix] Fix directories processing for rspamc
  2731. * [Fix] Fix displaying of rewrite subject in WebUI
  2732. * [Fix] Fix dkim private keys operations
  2733. * [Fix] Fix dkim signing
  2734. * [Fix] Fix dynamic scoring of subject symbols
  2735. * [Fix] Fix email address build
  2736. * [Fix] Fix encrypted proxy requests
  2737. * [Fix] Fix errors counting in upstreams
  2738. * [Fix] Fix errors handling in the proxy
  2739. * [Fix] Fix event bases for IO events
  2740. * [Fix] Fix events handling when scheduling map wacth
  2741. * [Fix] Fix fann rewrite
  2742. * [Fix] Fix files fallback for shmem transfer
  2743. * [Fix] Fix fuzzy adding in webui
  2744. * [Fix] Fix fuzzy storage encrypted mirroring
  2745. * [Fix] Fix fuzzy storage sync replies
  2746. * [Fix] Fix handling of the same words
  2747. * [Fix] Fix inserting values to the sources list
  2748. * [Fix] Fix ipv6 mask application
  2749. * [Fix] Fix issue with missing recipients
  2750. * [Fix] Fix issues with multiple returns from lua
  2751. * [Fix] Fix learning for non-existent backend
  2752. * [Fix] Fix legacy clients support in proxy
  2753. * [Fix] Fix length calculations for shared memory segments
  2754. * [Fix] Fix listening on UDP sockets
  2755. * [Fix] Fix loading of file maps
  2756. * [Fix] Fix long regexp flags (e.g. {sa_body})
  2757. * [Fix] Fix lua compare function init
  2758. * [Fix] Fix maps descriptions
  2759. * [Fix] Fix maps locking
  2760. * [Fix] Fix max_train setup in ANN module
  2761. * [Fix] Fix memory corruption
  2762. * [Fix] Fix memory leak in unsigned maps reading
  2763. * [Fix] Fix misprints for lto usage
  2764. * [Fix] Fix more issues with scripts processing
  2765. * [Fix] Fix next-to-last extension length check
  2766. * [Fix] Fix openssl initialization
  2767. * [Fix] Fix order of arguments
  2768. * [Fix] Fix order of initialization
  2769. * [Fix] Fix parser
  2770. * [Fix] Fix parsing of binary tries
  2771. * [Fix] Fix parsing of braced IPv6 addresses
  2772. * [Fix] Fix parsing of nested braces in SMTP comments
  2773. * [Fix] Fix parsing of rarv5 archives
  2774. * [Fix] Fix periodic scheduling when a map is not modified
  2775. * [Fix] Fix possible FP in TRACKER_ID rule
  2776. * [Fix] Fix post-filters processing
  2777. * [Fix] Fix potential NULL dereference
  2778. * [Fix] Fix processing of <br> and <hr> tags
  2779. * [Fix] Fix processing of addresses in protocol
  2780. * [Fix] Fix processing of messages without received headers
  2781. * [Fix] Fix proxying issue for unconnected sessions
  2782. * [Fix] Fix proxying of the encrypted messages
  2783. * [Fix] Fix race condition with shared memory by refcounts
  2784. * [Fix] Fix ratelimit initialization
  2785. * [Fix] Fix redis set request in replies plugin
  2786. * [Fix] Fix redis timeout events handling
  2787. * [Fix] Fix redis timeouts processing logic
  2788. * [Fix] Fix refcounts in lua_redis
  2789. * [Fix] Fix results checking if no master connection is active
  2790. * [Fix] Fix return value for couple of lua functions
  2791. * [Fix] Fix round-robin selection when upstreams have no weight
  2792. * [Fix] Fix rows calculation in graph
  2793. * [Fix] Fix rspamd_redis_make_request syntax in replies plugin
  2794. * [Fix] Fix scheduling of locked map events
  2795. * [Fix] Fix scores detection
  2796. * [Fix] Fix searching for newline positions
  2797. * [Fix] Fix secure_ip setting in controller
  2798. * [Fix] Fix sending data to graph command
  2799. * [Fix] Fix setting of score for parts differ
  2800. * [Fix] Fix setting of the lua top
  2801. * [Fix] Fix setting path for lua
  2802. * [Fix] Fix setting path for phishtank
  2803. * [Fix] Fix settings application
  2804. * [Fix] Fix shm_open call as described in POSIX
  2805. * [Fix] Fix size of length in fuzzy mirror wire protocol
  2806. * [Fix] Fix smtp grammar issues
  2807. * [Fix] Fix some issues with redis API
  2808. * [Fix] Fix some issues with retries in the proxy
  2809. * [Fix] Fix stack growing
  2810. * [Fix] Fix start of body detection in DKIM
  2811. * [Fix] Fix state on timeout
  2812. * [Fix] Fix stats script
  2813. * [Fix] Fix substring search when there are '\0' in strings
  2814. * [Fix] Fix symbol name for spf soft fail
  2815. * [Fix] Fix symbol type's check
  2816. * [Fix] Fix symbols registration and execution
  2817. * [Fix] Fix the case of multiple values keys
  2818. * [Fix] Fix the default symbol names according to metric
  2819. * [Fix] Fix timeout setup on learning
  2820. * [Fix] Fix timeouts in redis cache processing
  2821. * [Fix] Fix timeouts processing in lua_redis
  2822. * [Fix] Fix upstreams interaction for rspamd proxy
  2823. * [Fix] Fix usage of rdns reply structure
  2824. * [Fix] Fix varargs loop
  2825. * [Fix] Fix whitelists and blacklists in SA rules
  2826. * [Fix] Fix write servers setup for redis
  2827. * [Fix] Fix writing of HTTP messages
  2828. * [Fix] Force rspamd to upgrade fuzzy db on opening
  2829. * [Fix] Free the correct pointer
  2830. * [Fix] Further fixes for lto and static linking
  2831. * [Fix] Further fixes for surbl extensions map
  2832. * [Fix] Further fixes in maps code
  2833. * [Fix] Further improvements to error messages in fuzzy check
  2834. * [Fix] Further tweaks to redis garbadge collection
  2835. * [Fix] Groups are now case insensitive
  2836. * [Fix] Handle log pipe read errors
  2837. * [Fix] Handle nested dependencies in SpamAssassin plugin
  2838. * [Fix] Implement new automata to skip empty lines for dkim signing
  2839. * [Fix] Improve error messages on fuzzy add
  2840. * [Fix] Improve lua redis handling
  2841. * [Fix] Improve phishing module logging
  2842. * [Fix] Improve printing of fuzzy errors
  2843. * [Fix] Improve rrd diagnostic errors
  2844. * [Fix] Improve strcase hash used in uthash
  2845. * [Fix] Include fuzzy key to distinguish storages with different keys
  2846. * [Fix] Include slave cluster name into http request
  2847. * [Fix] Include some more information about archives
  2848. * [Fix] Indicate upstream error on timeout
  2849. * [Fix] Initialize hash tables array to avoid crashes
  2850. * [Fix] Initialize parser scripts properly
  2851. * [Fix] Initialize vars to avoid warnings
  2852. * [Fix] Inverse logic for saving ANN
  2853. * [Fix] Link lpeg to rspamd lua library
  2854. * [Fix] Make extension checks case-insensitive
  2855. * [Fix] Mark expired hashes as not found and not as zero flag
  2856. * [Fix] Match archive name as well
  2857. * [Fix] More and more fixes to redis states
  2858. * [Fix] More fixes about shared memory in proxy
  2859. * [Fix] More fixes for redis refcounts
  2860. * [Fix] More fixes to end of headers detection
  2861. * [Fix] More fixes to events logic
  2862. * [Fix] More fixes to multi-flag fuzzy storage
  2863. * [Fix] More fixes to parts distance calculations
  2864. * [Fix] More guards for redis free
  2865. * [Fix] One more fix in redis destructor
  2866. * [Fix] One more try to fix redis
  2867. * [Fix] PIE is required for static build
  2868. * [Fix] Partial fix for mmap'd statistics tests
  2869. * [Fix] Plug memory leak in proxy
  2870. * [Fix] Properly detect end of headers position
  2871. * [Fix] Properly init and free session structures
  2872. * [Fix] Reduce PRECEDENCE_BULK rule weight
  2873. * [Fix] Reduce the default thresholds for learning
  2874. * [Fix] Remove Type=forking from systemd unit file (#709)
  2875. * [Fix] Remove bad FANN file to save computational resources
  2876. * [Fix] Remove event before closing of fd to avoid race conditions
  2877. * [Fix] Remove parsing of 'from' variable in redis backend
  2878. * [Fix] Remove some bad domains from whitelists
  2879. * [Fix] Repair optional dependencies
  2880. * [Fix] Reset master connection when retransmitting scan request
  2881. * [Fix] Restore ONCE_RECEIVED symbol
  2882. * [Fix] Restore compatibility with old lua API behaviour
  2883. * [Fix] Restore redis runtime state
  2884. * [Fix] Reverse options when received
  2885. * [Fix] Send updates to mirrors only if we have some changes
  2886. * [Fix] Set host attribute properly when making HTTP request from lua
  2887. * [Fix] Set terminated state before calling of async free
  2888. * [Fix] Simplify MISSING_MIMEOLE rule
  2889. * [Fix] Simplify state machine by ignoring multiple spaces
  2890. * [Fix] Skip setting RPATH for static builds
  2891. * [Fix] Slightly reduce weights of rules with high FP rate
  2892. * [Fix] Some fixes to libmagic initialization
  2893. * [Fix] Some more fixes to ratelimit plugin
  2894. * [Fix] Strip '\r\n' properly
  2895. * [Fix] Switch hashes to mumhash
  2896. * [Fix] Treat NaN values properly in graph command
  2897. * [Fix] Try to avoid FP when checking for phished URLs
  2898. * [Fix] Try to avoid recursive events deletions
  2899. * [Fix] Try to fix false positive URL detections in text parts
  2900. * [Fix] Try to fix issue in redis stats backend when task is closed
  2901. * [Fix] Try to fix proxying of stupid spamc protocol to HTTP mirrors
  2902. * [Fix] Try to fix redis crashes
  2903. * [Fix] Try to fix upstreams with one element
  2904. * [Fix] Try to handle multiline history in a more sane way
  2905. * [Fix] Unbreak build on gcc < 4.9
  2906. * [Fix] Update RPM spec/sources (#700)
  2907. * [Fix] Update d3evolution version
  2908. * [Fix] Update mumhash implementation
  2909. * [Fix] Use custom error function for pre and post filters
  2910. * [Fix] Use new postfilters and prefilters API in the plugins
  2911. * [Fix] Use non-blocking mode for systemd sockets
  2912. * [Fix] Use shared memory merely for local backends in the proxy
  2913. * [Fix] Use watchers for spf plugin
  2914. * [Fix] Varioud fixes to the maps code
  2915. 1.2.8:
  2916. * Another fix for exim workaround (#637)
  2917. * Fix unencrypted passwords processing in the controller
  2918. * Fix setting path for lua (#652)
  2919. * Fix usage of rdns reply structure (#654)
  2920. * Use file lock in logger to avoid deadlocks
  2921. * Add `application/octet-stream` mime type for `pdf` extension (by @moisseev)
  2922. * Implement new automata to skip empty lines for dkim signing (#651)
  2923. * Fix parsing of missing classes
  2924. * Clarify some rspamc arguments (by @fatalbanana)
  2925. * Correct suppress spelling
  2926. 1.2.7:
  2927. * Slightly reduce weights of rules with high FP rate
  2928. * Add workround for rspamd-1.3
  2929. * Fix possible FP in TRACKER_ID rule
  2930. * Simplify MISSING_MIMEOLE rule
  2931. * Add workaround for gmime CTE stupidity
  2932. * Fix mime headers processing
  2933. * Fix false positive URL detections in text parts
  2934. * Fix Exim shutdown patch
  2935. * Enable workaround for exim mailbox format
  2936. * Backport shingles static test
  2937. * Fix levenshtein distance calculations
  2938. * Fix max_train setup in ANN module
  2939. * Fix redis structure by adding {NULL, NULL} member
  2940. * Fix build with unmodified LibreSSL opensslv.h
  2941. * Repair optional dependencies
  2942. * Really skip filters in case of pre-result set
  2943. * Restore the intended pre-filters behaviour
  2944. * Fix ipv6 mask application
  2945. 1.2.6:
  2946. * Fix parsing of URLs in texts
  2947. * Fix creating of URLs from LUA
  2948. * Fix some more URL detector issues
  2949. * Fix unit tests
  2950. * Fix JIT compilation for PCRE2 expressions
  2951. * Fix JIT usage for PCRE2
  2952. * Fix UTF8 mode in PCRE2
  2953. * Add workaround for pre-historic compilers (#605)
  2954. * Fix and rescore R_PARTS_DIFFER logic
  2955. * Properly set lua paths for tests
  2956. * Fix SA rawbody processing - exclude top part
  2957. * Store text parts content with newlines stripped
  2958. * Properly support SA body regexps
  2959. * Fix body rules in SA plugin
  2960. * Fix setting of score for parts differ
  2961. * More fixes to parts distance calculations
  2962. - Use hashed words instead of full words for speed
  2963. - Improve levenstein distance calculations and penalise replaces
  2964. - Always return number from 0 to 1
  2965. - Use g_malloc instead of alloca
  2966. * Fix percents output in R_PARTS_DIFFER
  2967. * Plug memory leak in dkim module
  2968. * Plug minor memory leak in regexps creation
  2969. 1.2.5:
  2970. * Plug an important memory leak in headers getting code
  2971. * Remove some bad domains from whitelists
  2972. 1.2.4:
  2973. * Implement new multipattern matcher that uses hyperscan if possible
  2974. * Use mutlipattern for lua_trie code
  2975. * Add utility methods for multipattern
  2976. * Use multipattern in url matcher
  2977. * Add escape functions for hyperscan
  2978. * Allow to optimize lua -> C transition by flattening table args
  2979. * Optimize hot paths in SA plugin
  2980. * Optimize rspamd_re_cache_type_from_string
  2981. * Allow empty tries
  2982. * Fix extraction of URLs from Subject
  2983. * Allow to have different flags for different patterns in multipattern
  2984. * Add common directory for hyperscan cache to config
  2985. * Implement caching for hyperscan multipattern
  2986. * Attach domain part to `R_SUSPICIOUS_URL` (by @moisseev)
  2987. * Allow multipattern scans to be nested for the case of hyperscan
  2988. * Simplify SURBL redirector search code and avoid ac_trie
  2989. * Add two way substring search algorithm
  2990. * Avoid acism usage to find gtube pattern
  2991. * Fix processing of empty headers
  2992. * Allow to disable pthread mutexes on broken platforms
  2993. * Make web interface not send password in query strings (#585) by @fatalbanana
  2994. * Add maximum delay to ratelimit module
  2995. * Backport fix for empty files inclusion from libucl
  2996. * Fix settings id setup
  2997. * Add min_learns option to classifiers
  2998. * Use more clever to utf8 conversion strategy
  2999. * Fix disabling of virtual symbols in the settings
  3000. * Rework settings to work properly in metric-less configuration
  3001. * Set the default limit for classifier
  3002. * Fix ttl based expiration from LRU cache
  3003. * Rework DKIM module to use OpenSSL for digests
  3004. * Fix mailto urls parsing with hyperscan
  3005. * Do not set obscured flag for urls starting with spaces
  3006. * Fix crash on redis learn
  3007. * Fix ratelimit ctime setting
  3008. 1.2.3:
  3009. * New DCC module (by @smfreegard)
  3010. * Rework whitelist module:
  3011. - Now we check different elements for different checks
  3012. - MIME from for DMARC
  3013. - DKIM signature domain for DKIM
  3014. - SMTP from or HELO for SPF
  3015. * Fix regexps results combination (*critical*)
  3016. * Fix issue with expressions processing (*critical*)
  3017. * Optimize strlcpy for aligned input
  3018. * Add support of half-closed connection in lua_tcp
  3019. * Allow to print compact json in client
  3020. * Save required score in history (#581)
  3021. * Allow to attach file descriptors to control commands
  3022. * Allow to send descriptors from workers to main
  3023. * Allow to attach fd when broadcasting to workers
  3024. * Implement log pipe feature for rspamd logs analysis
  3025. * Add `log_helper` worker
  3026. * Add `URIBL_SBL_CSS` (by @smfreegard)
  3027. * Add worker scripts functionality
  3028. * Add on load hooks for rspamd_config
  3029. * Add lua scripts for log_helper worker
  3030. * Add generic maillist detector (#584)
  3031. * Implement FANN autolearn using log_helper worker
  3032. * Rework metrics configuration to allow includes
  3033. * Change default value of forced removal in composite rules
  3034. * Allow to use assembly version of blake2b on x86 cpu
  3035. * Use less precise (but faster) clock if possible
  3036. * Insert redirected URL to the urls list
  3037. * Allow to get and set callback data for rspamd symbols
  3038. * Add binary heap implementation
  3039. * Use binary heap for expire algorithms in the hash
  3040. * Use `least frequent used` expiration strategy
  3041. * Allow to get mime headers from a task
  3042. * Add support for mime headers in `regexp` module
  3043. * Update Exim patches (by @fatalbanana)
  3044. * Allow building rspamd with jemalloc
  3045. * Save multipart boundaries
  3046. * SA plugin changes:
  3047. - Properly handle MIME headers
  3048. - Fix eval:check_for_missing_to_header rule
  3049. - Implement SA compatible body regexps
  3050. - Use sabody rules in SA plugin
  3051. * LUA API changes:
  3052. - Add util.get_ticks function
  3053. - Add util.stat function
  3054. - Add task:get_symbols_numeric method
  3055. - Add method to get number of symbols in the cache
  3056. - Add lua methods to get redirected urls
  3057. - Allow to get callbacks for lua symbols
  3058. - Add config:set_symbol_callback function
  3059. 1.2.2:
  3060. * Use HTTP Content-Type on non mime input if possible
  3061. * Save log level when compressing log messages
  3062. * Further rework of composite rules (add '^' prefix)
  3063. * Add tracking for rspamd expressions
  3064. * Store actions limits in metric result
  3065. * Fix parsing of include/redirect with many records in SPF
  3066. * Add method to disable symbols execution in the cache
  3067. * Allow to disable checks from settings
  3068. * Allow to select settings by id in HTTP query
  3069. * Find URLs with '\r' and '\n' inside href attribute
  3070. * Implement vectored mode for hyperscan (experimental)
  3071. * Improve client connection errors diagnostics
  3072. * Allow to edit new files with signtool
  3073. * Improve hashes performance on 32 bit platforms
  3074. * Fix sorting of limits
  3075. * Remove slow and unused rules `INVALID_EXIM_RECEIVED*`
  3076. * Add expression:process_traced lua method
  3077. * Allow tables in task:insert_result
  3078. * Save trace for SA metas
  3079. * Do not parse broken TLD parts in URLs
  3080. * Investigate many border cases in URLs parser
  3081. 1.2.1:
  3082. * Add list support to `mime types` module configuration (by @moisseev)
  3083. * Allow symbols params to be printed in logs
  3084. * Fix `MIME_BAD_ATTACHMENT` false positives for MDN/DSN
  3085. * Fix crashes on arm32
  3086. * Do not classify message if some class is missing
  3087. * Fix cryptobox cleanup
  3088. * Remove multipart/report from bad mime types (#569)
  3089. * Improve logging for fuzzy hashes
  3090. * Show map URLs in webui
  3091. * Sort symbols in webui
  3092. 1.2.0:
  3093. * New dynamic updates plugin
  3094. * Regular expressions map support
  3095. * Faster radix trie algorithm
  3096. * Faster siphash for AVX2 supporing CPUs (used in fuzzy hashes)
  3097. * PCRE2 support
  3098. * Allow quoted and slashed keys in map
  3099. * Add proper support of DNS resolvers balancing (#552)
  3100. * Rework includes and configuration system for better local changes support
  3101. * New keypairs framework for signing and encryption
  3102. * Added support for dynamic modules and workers
  3103. * Allow to dump configuration with help comments
  3104. * Rework once_received module
  3105. - Fix priority for `good_hosts`
  3106. - If a good host has been found do not add once_received symbols
  3107. - Fix priorities for strict once_received
  3108. - Add ability to whitelist IP addresses
  3109. * Implement support of signed maps for HTTP and file maps
  3110. * Add command to sync fuzzy storage (#533)
  3111. * Rework system of symbols and actions registration
  3112. It is possible now to use priorities when adding symbols to metrics and
  3113. override scores for symbols with lower priority with the scores with
  3114. high priority.
  3115. * Add auth support and db selection for redis stats
  3116. * Improve composite rules application
  3117. * Add ignore_received option
  3118. * Fix critical issue with inconsistent resorting
  3119. * Fix `all` in spf redirects
  3120. * Add punycoded versions for IDN domains (#554)
  3121. * Improve sorting order for symbols cache
  3122. * Add lockless logging for processes management
  3123. * Allow to specify flags for metric symbols
  3124. * Load images height and width from style attribute (#538)
  3125. * Override DNS requests limits for SPF and DKIM
  3126. * Fix resetting symbols to their default values in WebUI
  3127. * Improve configuration agility for redis stats
  3128. * Allow to set db and password for redis in stat_convert
  3129. * Import the latest libucl
  3130. * LUA API changes:
  3131. - Add rspamd_version function to LUA API
  3132. - Add lua_cryptobox module
  3133. - Add lua_map module
  3134. - Add task:set_metric_action lua API method
  3135. - Fix race condition in lua_tcp module
  3136. - Fix a lot of issues in lua_redis module
  3137. - Rework and abstract lua maps API
  3138. - Add util.strlen_utf8 lua function
  3139. - Add lua functions for caseless comparison
  3140. - Allow optional symbols registration
  3141. - Add config:add_map table form method, add regexp maps
  3142. - Add task:has_urls method
  3143. - Add task:has_flag method
  3144. - Add html tags methods to lua_html
  3145. - Add task:get_dns_req
  3146. * Plugins changes:
  3147. - Add support for WLBLEval SA plugin
  3148. - Use caseless comparison in SA and DMARC plugins
  3149. - Allow SA plugin to set scores for rspamd symbols
  3150. - Add regexp maps support to multimap
  3151. - Allow filenames match in multimap
  3152. - Add more filters for the existing map types
  3153. - Fix html images rules to reduce FP rates
  3154. * New rules:
  3155. - LONG_SUBJ - too long subject
  3156. - MIME_BAD_ATTACHMENT - bad attachment type
  3157. - RDNS_NONE - no reverse DNS record for sender's IP
  3158. - Fix MISSING_MIMEOLE rule for modern OE
  3159. * Many other bugfixes, memory leaks plugs thanks to:
  3160. - Coverity scan
  3161. - New gcc-6 warnings
  3162. - valgrind manual iterations
  3163. * Documentation improvements:
  3164. - FAQ list: https://rspamd.com/doc/faq.html
  3165. - Reworked quick start guide
  3166. - Added documentation for all active modules
  3167. * Other changes:
  3168. - Dropped Ubuntu Vivid support
  3169. - Added Ubuntu Xenial support
  3170. - Rework build system for rspamd and rmilter
  3171. 1.1.4:
  3172. * Print traceback on lua errors in lua config
  3173. * Fix leaks in lua error paths
  3174. * Improve 'R_EMPTY_IMAGE' rule
  3175. * Fix metas memoization in SA plugin
  3176. * Properly set `flag` in fuzzy replies
  3177. * Fix arguments order
  3178. * Fix issue with out-of-boundary reading
  3179. * Fix issues found by coverity
  3180. * Same result checking error found by coverity
  3181. * Fix varargs processing (found by coverity)
  3182. * Fix error in printing hex
  3183. * Reduce weights for some hfilter patterns
  3184. * Add aliases for task:get_from_ip:
  3185. - task:get_addr
  3186. - task:get_from_addr
  3187. - task:get_ip
  3188. * Rework once_received module
  3189. - Fix priority for `good_hosts`
  3190. - If a good host has been found do not add once_received symbols
  3191. - Fix priorities for strict once_received
  3192. - Add ability to whitelist IP addresses
  3193. * Fix `MISSING_MIMEOLE` rule for modern OE
  3194. * Treat meta tags as embedded tags (#501)
  3195. 1.1.3:
  3196. * Fix DSN rules when SMTP from is unavailable
  3197. * Fix statconvert routine to avoid lua module usage
  3198. * Set a sane quark for configtest to avoid NULL to be printed in logs
  3199. * Support c11 if available
  3200. * Fix parsing of ip:port strings
  3201. * Add more diagnostic for lua subr errors
  3202. * Fix task:set_from_ip lua method
  3203. * Add basic routines for digital signatures
  3204. * Add tool for digital signatures
  3205. * Add plain open file API method for atomic open
  3206. * Fix parsing nested braces inside logger vars
  3207. * Pre filters now actually skip processing
  3208. * Add pre-filter mode for multimap
  3209. * Switch to apache 2 license
  3210. 1.1.2:
  3211. * Fix stat_cache closing
  3212. * Add checkpoints to sqlite3 learn cache
  3213. * Do not recompile lua generated headers all the time
  3214. * Increase number of messages learned
  3215. * Fix issues with dual stack and hfilter
  3216. * Disable MID checks for hfilter by default
  3217. * Fix cache definitions in multiple classifier and no type
  3218. * Don't crash if learn cache failed to initialize
  3219. * Fix googlegroups support in maillist plugin
  3220. * Rework flags LUA API:
  3221. - Allow to check for a specific flag
  3222. - Add `learn_spam`, `learn_ham` and `broken_headers` flags
  3223. - Unify internal functions
  3224. * Add `BROKEN_HEADERS` rule
  3225. * Add support for forged confirmation headers (by @AdUser)
  3226. * Allow `any`, `mime` and `smtp` for get_from/get_recipients
  3227. * Add mime types checking plugin
  3228. * Add rule to detect spammers attempts to cheat mime parsing
  3229. * Rework parsing of IP addresses in configuration (better IPv6 support)
  3230. * Add `util.parse_mail_address` function to LUA API
  3231. * Add lua sqlite3 module
  3232. * Implement synchronous redis call
  3233. * Ratelimit: avoid possible indexing of nil value (Fixes #498) (by @fatalbanana)
  3234. * Add stat_convert command to convert stats tokens from sqlite3 to redis
  3235. * Implement redis advanced lua api with pipelining
  3236. * Fix memory leak on redis stat (#500)
  3237. * Fix user/language learn count in sqlite statistics (#496) (by @fatalbanana)
  3238. * Fix build with custom pcre
  3239. * Fix fuzzy relearning (#498)
  3240. * Improve planning of asynchronous tasks
  3241. * Show slow rules in log
  3242. * Add warning for slow regexps
  3243. * Add base32 decode/encode routines to lua util
  3244. * Allow converting of learn cache from sqlite to redis
  3245. * Add methods to check if a messages has from/rcpts
  3246. * Improve and fix multimap plugin:
  3247. - Restore 'header' maps
  3248. - Add filters for headers
  3249. - Add 'email:addr', 'email:user', 'email:domain' and 'email:name' filters
  3250. - Add generic regexp filters
  3251. * Disable reload command in rc scripts
  3252. * Improve runtime CPU dispatcher for libcryptobox
  3253. * Add preliminary support of digital signatures via ed25519
  3254. * Add detection for RDRAND support
  3255. * Print configuration of crypto on start
  3256. * A in SPF presumes AAAA lookup as well
  3257. 1.1.1:
  3258. * Fix duplicated XBL symbol
  3259. * Reduce log severity for ratelimit missing servers
  3260. * Fix XBL composite to avoid duplicate symbols
  3261. * Reduce weight of URL_ONLY rule due to FP rate
  3262. * Disable fuzzy hashes from the metadata for now
  3263. * Fix processing of empty messages (#486)
  3264. * Always treat DNS timeouts as temporary fail for SPF
  3265. * Fix issue with SPF double IP stack (#483)
  3266. * Use X-Forwarded-For when checking secure_ip (#488)
  3267. * Fix hash calculation for sqlite stats
  3268. * Fix memory corruption on punycode
  3269. * Fix strings allocation in punycode
  3270. * Fix error message (#491)
  3271. 1.1.0:
  3272. * Incompatible change: sqlite3 and per_user behaviour:
  3273. Now both redis and sqlite3 follows the common principles for per-user
  3274. statistics:
  3275. 1) If per-user statistics is enabled check per-user tokens ONLY
  3276. 2) If per-user statistics is not enabled then check common tokens ONLY
  3277. If you need old behaviour, then you'd need to use separate classifier
  3278. for per-user statistics.
  3279. * Implement redis statistics backend and cache
  3280. * Implement autolearning for statistics
  3281. * Reworked statistics architecture from scratch
  3282. * Add hyperscan (https://github.com/01org/hyperscan) engine for regular
  3283. expressions:
  3284. - add lazy loader for hyperscan databases
  3285. - rework regexp cache to have joint pcre/hyperscan scanning
  3286. - implement hyperscan pre-filter support
  3287. - add compilation guards for bad expressions
  3288. - implement `rspamadm control recompile` command
  3289. - implement hyperscan cache monitoring
  3290. - slides: <https://highsecure.ru/rspamd-hyperscan.pdf>
  3291. * Implement flexible task logging
  3292. * Rework fuzzy worker:
  3293. - it is now possible to run multiple fuzzy workers;
  3294. - implement lazy writing as sqlite3 is bad at concurrent writing;
  3295. - add retries for simple sql commands in fuzzy backend;
  3296. - use fine-grained transactions for fuzzy;
  3297. - implement new multi-pubkeys mode;
  3298. - allow encrypted only storages;
  3299. - rework statistics for fuzzy;
  3300. - add `rspamadm control fuzzystat` command for extended statistics;
  3301. - implement human readable output for the previous command;
  3302. - add condition script for learning fuzzy storage;
  3303. * Various fixes to SPF:
  3304. - fix `redirect` records;
  3305. - fix domains when parsing mx/ptr/a records in includes/redirects;
  3306. - fix issues with multiple addresses in SPF records;
  3307. - ignore SPF results in case of DNS failure;
  3308. - adjust TTL of records when resolving subelements of SPF records;
  3309. - always select `v=spf1` line if it is available
  3310. - do not cache records with DNS failure in subrequests;
  3311. - ignore records with temporary fails during subrequests resolving;
  3312. - fix `RDNS_RC_NOREC` support;
  3313. * Add clang plugin for static analysis:
  3314. - implement static checks for `rspamd_printf` format strings;
  3315. * Add 'allow_raw_input' option for non-mime messages
  3316. * Recognize types using libmagic
  3317. * Fix parsing of IPv6 received headers
  3318. * Add new interface of communication between workers in rspamd
  3319. * Add support for named socketpairs
  3320. * Don't write URLs by default as it is too verbose
  3321. * Set status for HTTP replies
  3322. * Try load `rspamd.conf.override`
  3323. * Implement words decaying for text parts to limit many checks
  3324. * Improve support of SA rules and plugins:
  3325. - add check_for_shifted_date and check_for_missing_to_header eval rules;
  3326. - add 'check_relays_unparseable' support;
  3327. - add `check_for_mime('mime_attachement')` function;
  3328. - use new re_cache interface for all SA rules;
  3329. - add support for `Mail::SpamAssassin::Plugin::MIMEHeader`;
  3330. - add support of 'special' SA headers to `exists` function;
  3331. - fix issue when SA metas contain other metas;
  3332. - fix freemail rules;
  3333. * Many fixes to the URL parser
  3334. * Match any newline character in regexps
  3335. * Fix resolving of upstreams and detection of poor IPv6 configurations
  3336. * Parse upstreams selection algorithm from the configuration line
  3337. * Add `reresolve` command to the control interface
  3338. * Generate fuzzy hashes from task metadata (URLs and headers)
  3339. * Add method to check if IP is local and `local_addrs` option
  3340. * Implement forced timeout for delayed filters
  3341. * Disable fast path of pcre-jit as it seems to be broken
  3342. * Bayes fixes:
  3343. - new normalizer function;
  3344. - really use weights of tokens from the OSB algorithm;
  3345. - restore multiple classifiers support;
  3346. * Rules changes:
  3347. - add `R_SUSPICIOUS_URL` rule that detects obfuscated URL's;
  3348. - improve empty image rule;
  3349. - rework `FORGED_RECIPIENTS` rule;
  3350. - reduce weight of `SUSPICIOUS_RECIPS`;
  3351. - fix `*_NORESOLVE_MX` symbols in hfilter;
  3352. - add `SUBJ_ALL_CAPS` rule with support of UTF8
  3353. - add spamhaus SBL to uribl
  3354. - fix `SUSPICIOUS_RECIPS` and `SORTED_RECIPS` rules
  3355. - remove `R_TO_SEEMS_AUTO` as it generates a lot of FP;
  3356. - add new Message-ID regexp for Thunderbird (by @moisseev);
  3357. * Plugins changes:
  3358. - allow ratelimit plugin to set symbol instead of pre-result
  3359. - support IP DNS black lists for URIBL (e.g spamhaus SBL);
  3360. - drop deprecated SURBL bits (by @fatalbanana)
  3361. - rename `JP_SURBL_MULTI` to `ABUSE_SURBL` (by @fatalbanana)
  3362. - add `SURBL_BLOCKED` (by @fatalbanana)
  3363. - add `CR_SURBL`
  3364. - SURBL: allow fallthrough to default symbol (by @fatalbanana)
  3365. - Settings: fix IP match (by @fatalbanana)
  3366. - SURBL: add missing symbols to metric (by @fatalbanana)
  3367. - allow processing images urls for SURBL
  3368. - unconditionally disable SPF for authenticated users and local networks
  3369. * Rework ratelimit plugin
  3370. - switch to `rates` instead of old and stupid strings to setup;
  3371. - check if a bucket is zero and disable the corresponding limits'
  3372. - turn off all buckets by default;
  3373. - check either `rcpt` or `user` buckets, not all together'
  3374. - document new `rates` and `symbol` options;
  3375. - inform user about what buckets are used in the configuration;
  3376. * Add neural network **experimental** plugin
  3377. * Add a sample script to learn neural network from rspamd logs
  3378. * Add documentation strings support to rspamd:
  3379. - add strings for the main configuration options;
  3380. - document workers options;
  3381. - add internal plugin options;
  3382. - create `rspamadm confighelp` routine;
  3383. - implement human readable output for the previous command;
  3384. - add subtree search support;
  3385. - add keyword search support;
  3386. * Documentation improvements, tutorials section, statistics description
  3387. * Many other minor and major bugfixes not noted here
  3388. 1.0.11:
  3389. * Fix spf redirects
  3390. * Fix domains when parsing mx/ptr/a records in includes/redirects
  3391. * Fix unfolded base64 encoding
  3392. * Fix GError use-after-free
  3393. * Do not rewrite the original url when using redirector
  3394. * Fix parsing of fragment in urls
  3395. * Fix processing of HTML tags
  3396. * Improve empty image rule
  3397. * Avoid long double type
  3398. * Fix tokens weights in OSB algorithm
  3399. * Improve debugging for bayes
  3400. 1.0.10:
  3401. * Fix settings application (#416)
  3402. * Fix another issue with fixed strings
  3403. * Fix hash function invocation
  3404. * Use the proper string for make_dns_request in lua_http
  3405. * Fix scan time output
  3406. * Update webui:
  3407. - fix labels for greylisting
  3408. - fix dimension of scan time
  3409. 1.0.9:
  3410. * Emergency fix in keyed blake2 to fix fuzzy hashes and encrypted password
  3411. * Support passwords longer than 64 symbols
  3412. 1.0.8:
  3413. * Add function to traverse AST atoms
  3414. * Allow dependencies on rspamd symbols for SA metas
  3415. * Fix memory corruption when timeout is removed in fuzzy check
  3416. * Fix encrypted fuzzy add processing
  3417. * Avoid use-after-free in controller session destructor
  3418. * Use session pool instead of task pool in fuzzy check
  3419. * Fix assembly in i386 mode (#413, #412)
  3420. 1.0.7:
  3421. * Plugged memory leaks in internet address object & html parser
  3422. * Fixed static build
  3423. * Fixed multiple sigchld processing
  3424. * Fixed deletion of signal events after event processing loop
  3425. * Fixed build on ARM (#404 - reported by @Gottox)
  3426. * Fixed setting the default mask for SPF.
  3427. * Fixed sanitisation of HTTP query values
  3428. * Fixed parsing of the last header in encrypted HTTP messages
  3429. * Additions and fixes for test suite & benchmarks
  3430. * Added openssl aes-256-gcm support to libcryptobox & HTTP server
  3431. * Implemented support for starting multiple HTTP servers
  3432. * Implemented batch accept in HTTP server
  3433. * Added module to get data from HTTP headers (#285 - reported by @msimerson)
  3434. * Added `rspamadm control` command
  3435. * Added ability to sort counters output.
  3436. * Added ability to specify custom headers for rspamc client
  3437. * Fix architecture detection
  3438. * Converted history storage to the UCL format
  3439. * Allow flexible number of rows in history
  3440. * Fix action badges in WebUI
  3441. * Add universal cryptobox hash API
  3442. * Migrated to the optimized blake2b implementation adopted from Andrew Moon
  3443. * Allow explicit loading of specific modules
  3444. * Always load settings module
  3445. * Allow to add symbols from settings
  3446. * Fix double free in the controller fuzzy learn command
  3447. * Avoid endless loop when cannot open sqlite db
  3448. * Updated libucl
  3449. 1.0.6:
  3450. * Fix build on i386
  3451. * Update CentOS7 service file patch (by @fatalbanana)
  3452. * Fix path to rspamadm in Debian init script (by @fatalbanana)
  3453. * Fix broken '_SC_GETPW_R_SIZE_MAX' on FreeBSD
  3454. * Fix portability issues
  3455. * Use cryptobox chacha for libottery
  3456. * Better support of 32 bit builds
  3457. * Fix header name tokens setup
  3458. * Fix levenstein distance method for words
  3459. * Add workaround for old libevent (#400)
  3460. * Fix microseconds in termination timer
  3461. * Fix some more issues with fixed strings
  3462. * Explicitly test CPU instructions even after CPUID call
  3463. * Do not check out of boundary memory
  3464. * Do not output broken emails
  3465. * Fix unknown symbols registration
  3466. * Handle SIGILL using longjmp
  3467. * Block signals when exiting event loop
  3468. * Fix incorrect allocation size
  3469. * Slightly optimize alignment
  3470. * Restore rspamd -t for compatibility
  3471. * Add more sanity checks for emails
  3472. 1.0.5:
  3473. * Add rspamd control interface:
  3474. - support `stat` command to get runtime stats of rspamd workers
  3475. - support `reload` command to reload runtime elements (e.g. sqlite3 databases)
  3476. * Rework curve25519 library for modular design:
  3477. - add Sandy2x implementation by Tung Chou
  3478. - fix CPU detection for variables loading assembly
  3479. - add testing for curve25519 ECDH
  3480. * New fixed strings library
  3481. * Add `R_SUSPICIOUS_IMAGES` rule
  3482. * Enable mmap in sqlite3
  3483. * Use new strings in the HTTP code
  3484. * Improve google perftools invocation
  3485. * Improve performance profiling in http test
  3486. * Reorganize includes to reduce namespace pollution
  3487. * Allow specific sections printing in configdump command
  3488. * Rework workers signals handlers to be chained if needed
  3489. * Update socketpair utility function
  3490. * Add control_path option for rspamd control protocol
  3491. * Fix ownership when listening on UNIX sockets
  3492. * Rework signals processing in main
  3493. * Remove extra tools from rspamd (they live in rspamadm now)
  3494. * Remove global rspamd_main
  3495. * Add global timeout for the overall task processing (8 seconds by default)
  3496. * Sanitize NULL values for fuzzy backend
  3497. * Store NM between encrypt/decrypt
  3498. * Add textpart:get_words_count method
  3499. * Fix generic DNS request in lua
  3500. * Tune hfilter weights
  3501. * Add support of IPv6 in hfilter
  3502. * Fix parsing of HTTP headers with IP addresses
  3503. * Sync with the recent libucl
  3504. * Various minor bugfixes
  3505. 1.0.4:
  3506. * Add configdump routine to rspamadm
  3507. * Implement retransmits for fuzzy_check plugin
  3508. * Fix events processing for learning anf checking fuzzy hashes
  3509. * Avoid dependency on unneeded and uncompatible glib include
  3510. * Add `historyreset` command to the controller
  3511. * Fix loading of tokenizer config from dump (#389)
  3512. * Add sorting hints for the history
  3513. * Allow custom lua scripts for users/languages extraction (#388)
  3514. * Do not add FORGED_RECIPIENTS when 'To' is missing (#387)
  3515. * Do not add R_UNDISC_RCPT when 'To' is missing (#387)
  3516. * Add encryption to fuzzy check plugin
  3517. * Add encryption for fuzzy storage
  3518. * Add new epoch for encrypted fuzzy request
  3519. * Add encryption for `rspamd.com` storage
  3520. * Remove gmime processing for LDA mode as it is deadly broken
  3521. * Add routine to find end of headers position in mime messages
  3522. * Fix LDA headers folding
  3523. * Init libraries in rspamc client as well to avoid locale issues
  3524. * Avoid collision with locally installed includes
  3525. * Allocate and free memory with the same allocator in rspamadm (#385)
  3526. * Preserve expired fuzzy hashes counter
  3527. * Improvements in webui:
  3528. - Add favicon.ico
  3529. - Rework history table
  3530. - Fix sorting for the history
  3531. - Migrate to bootstrap 3 and jquery 2
  3532. - Fix css bugs
  3533. - Add glyphicons
  3534. - Add reset history
  3535. - Improve history buttons
  3536. - Redraw graph to avoid display issues
  3537. - Webui is now MIT licensed to match licensing policy of rspamd
  3538. 1.0.3:
  3539. * Fix piechart clean slice (#380)
  3540. * Fix controller crashes when GString is reallocated (#381)
  3541. * Correctly set locale before start
  3542. * Set C locale for numeric values
  3543. * Add rspamadm routine:
  3544. - add `pw` command to manage passwords
  3545. - add `help` command for displaying help
  3546. - add `configtest` command to check configuration files
  3547. - add `keypair` command for generating encryption keys
  3548. - add `fuzzy_merge` routine to merge fuzzy sqlite databases
  3549. - add a simple manual page for rspamadm
  3550. * Allow metric registration for composite expressions
  3551. * Add strict mode for configtest
  3552. * Add logger counters
  3553. * Save and show learned messages count (#383)
  3554. * Add `no_stat` flag
  3555. * Add `task:set_flag` and `task:get_flags` (#382)
  3556. * Enable foreign keys in sqlite3
  3557. * Remove orphaned shingles from fuzzy storage
  3558. * Optimize synchronization steps for fuzzy storage
  3559. * Allow delayed conditions registration
  3560. * Add lua API for conditions registering
  3561. 1.0.2:
  3562. * Fix critical bug in webui that prevents password from being sent
  3563. * Rework webui view:
  3564. - Switch to d3.js for graphs
  3565. - Improve piechart look
  3566. - Rework colors for piechart
  3567. - Fix layout for symbols
  3568. - Fix refresh button
  3569. * Add descriptions for whitelist maps
  3570. * Fix build on arm (#379)
  3571. * Fix issue with the last element in the radix trie
  3572. * Add more tests for radix trie algorithm
  3573. * Allow to extract URLs from query strings of other URLs (#361)
  3574. * Initialize rrd fields before writing to file
  3575. * Fix double free if no password has been specified
  3576. 1.0.1:
  3577. * Add writing to rrd from the controller
  3578. * Fixed lots of bugs in rrd code
  3579. * Adopt new DNS API in hfilter plugin (by @AlexeySa)
  3580. * Allow only one controller process to manage rrd file
  3581. * Set event base for fuzzy calls
  3582. * Improve fuzzy IO errors logging
  3583. * Add rra extraction function to rrd library
  3584. * Add graph handler to the controller
  3585. * Cache correct passwords to avoid too high CPU usage when working with webui
  3586. * Controller sockets are owned by router do not export them to task
  3587. * Optimize logging by skipping hash table search if it's empty
  3588. * Fix loading issue with broken statfiles
  3589. * Print assertions from glib to rspamd logger
  3590. * Load legacy `lua/rspamd.local.lua`
  3591. * Update webui with some fixes to learning and scanning
  3592. 1.0.0:
  3593. * Rework symbols processing:
  3594. - Improve sorting logic for symbols
  3595. - Organize processing into multiple stages
  3596. - Added asynchronous watchers for symbols
  3597. - Added ability to organize dependencies between symbols
  3598. * Fixed URL redirector:
  3599. - Use optimized POE loop
  3600. - Organize dependencies
  3601. - Fix startup
  3602. * New sqlite3 backend:
  3603. - Allow to have per-languages and per-user statistics
  3604. - Allow sqlite3 to be used as statistics backend
  3605. * Store tokenizer configuration within statfiles
  3606. * Improve bayes statistics:
  3607. - Use headers and images metainformation in bayes
  3608. - Suggest using of pre-processed tokens for statistics
  3609. - Fix tokens normalization for OSB algorithm
  3610. * Rewrite url parsing:
  3611. - Fix numerous issues with url extraction and normalization
  3612. - Fix mailto urls
  3613. * Fix settings plugin to allow custom actions scores
  3614. * Improve rbl plugin
  3615. * Allow capturing patterns in rspamd lua regexp library
  3616. * Add GTUBE support
  3617. * Fix spamc legacy support
  3618. * Add DKIM support to RBL module
  3619. * Fix issues with multiple DKIM signatures
  3620. * Fix issue if rspamd cannot create statfiles (#331)
  3621. * Rework parts and task structure:
  3622. - Now text_parts, parts and received are arrays
  3623. - Pre-allocate arrays with some reasonable defaults
  3624. - Use arrays instead of lists in plugins and checks
  3625. - Remove unused fields from task structure
  3626. - Rework mime_foreach callback function
  3627. - Remove deprecated scan_milliseconds field
  3628. * Add ip_score plugin support (not enabled by default):
  3629. - Can check for asn/country and network using DNS lookups
  3630. - Can store and load reputation from redis server
  3631. * Improve PARTS_DIFFER rule to count merely different words
  3632. * New HTML parser:
  3633. - Parses HTML parts using a set of state machines
  3634. - Extracts useful data and exports it to lua functions:
  3635. + Styles
  3636. + Images
  3637. + URLs
  3638. + Colors
  3639. + Structure elements
  3640. - Added HTML rules for some checks
  3641. * New version of LUA DNS API
  3642. * Table versions of many functions in LUA API
  3643. * Improve rspamc client:
  3644. - Print execution time
  3645. - Allow executing of external commands and passing output to them
  3646. - Allow mime output mode when rspamc alters message according to rspamd
  3647. checks and send it to an external command or stdout
  3648. * Allow scanning of local files using HTTP requests
  3649. * Rework configuration system:
  3650. - Rules are now moved from the $CONFDIR to $RULESDIR to avoid ambiguity
  3651. - All modules configurations are now split in $CONFDIR/modules.d/* to
  3652. simplify upgrades
  3653. - Move hfilter to plugins
  3654. - Allow plugins and rules to define default scores to simplify metrics
  3655. setup
  3656. - Include overrides for all modules to honor local/automatic parameters
  3657. - Tune scores for many modules
  3658. * Rework and enable DMARC plugin
  3659. * Add whitelist plugin for SPF/DKIM/DMARC based whitelisting
  3660. * Add some common domains to whitelists shipped with rspamd
  3661. * Rework logging:
  3662. - Now each log entry supports module name and a `tag`. Tag is used to
  3663. identify unique objects (such as tasks) when checking log files
  3664. - It is possible to turn on debugging for the specific modules
  3665. - Systemd logging is fixed
  3666. * Improve spamassassin plugin.
  3667. - Now headers are matched more like SA
  3668. - Improve support of Message-ID
  3669. - Add support of ToCc header type
  3670. - Fix :addr and :name in headers regexps
  3671. * Resurrect rrd support code
  3672. * Save controller stats between restarts
  3673. * Fixed tonns of bugs
  3674. * Added tonns of minor improvements and features
  3675. * Added more unit tests
  3676. * Create functional tests framework
  3677. * Added documentation for missing modules
  3678. * Added rpm/deb repositories and scripts
  3679. * Updated WebUI and libucl externals
  3680. 0.9.10:
  3681. * Do not dereference null pointer on learning.
  3682. * Fix some extreme cases in BAYES.
  3683. * Add a workaround to avoid bad HTML messages breaking.
  3684. * Build with -O2 flags by default.
  3685. * Add constraints to limit DNS requests count per task.
  3686. * Add workaround for SURBL DNS flood.
  3687. * Set error if rspamd cannot learn anything.
  3688. 0.9.9:
  3689. * Don't use RWL_SPAMHAUS_WL (unknown result) for whitelisting (by @fatalbanana)
  3690. * Import updated public suffix list (by @fatalbanana)
  3691. * Remove debug message
  3692. * Fix settings (by @fatalbanana)
  3693. * Remove duplicated symbol registration
  3694. * Use WAL for fuzzy storage
  3695. * RBL fixes (by @fatalbanana):
  3696. - silence errors;
  3697. - yield unknown results from RBLs;
  3698. - fix scoring for DNSWL;
  3699. - fix use of RBL name as symbol;
  3700. - ignore RBL names that would not be yielded;
  3701. * Support captures in regular expressions
  3702. * Add captures support to lua_regexp
  3703. * Support dist on FreeBSD and Darwin
  3704. * Add RCVD_IN_DNSWL_NONE as whitelisting exclusion (by @fatalbanana)
  3705. * Multiple fixes to URL detection:
  3706. - support port definition;
  3707. - fix query and path recognition;
  3708. - fix parsing of multiple slashes in URL;
  3709. - fix parsing query just after port;
  3710. - fix path field in `url:to_table` method;
  3711. - improve support of IP based URLs.
  3712. * Set ignore_whitelists = true for RECEIVED_SPAMHAUS_XBL (by @fatalbanana)
  3713. * Add GTUBE support
  3714. * Ignore User header in SA mode
  3715. 0.9.8:
  3716. * Fix critical bug in bayes classifier (#305)
  3717. * Fix critical bug in RBL module (by @fatalbanana)
  3718. * Fix and rework settings plugin.
  3719. * Fix get_all_opts for a case of non-iterable options.
  3720. * Use tld for redirector's matching.
  3721. 0.9.7:
  3722. * Add whitelist_exception setting to RBL module (by @fatalbanana)
  3723. * Don't use RWL_MAILSPIKE_POSSIBLE or DNSWL_BLOCKED for whitelisting (by
  3724. @fatalbanana)
  3725. * Fix extreme cases in bayes classifier.
  3726. * Fix parsing of urls with '?' at the end of hostname.
  3727. * Update interface.
  3728. * Fix number of issues with webui interaction.
  3729. * Fix saving maps.
  3730. * Allow user@ and @domain matches in multimap.
  3731. * Fix issues with bounces From processing.
  3732. * Fix abs/fabs misuse.
  3733. * Fix builds on suse and arch linux distributions.
  3734. 0.9.6:
  3735. * Fix memory leak if mime cannot be parsed.
  3736. * Fix dkim cache expiration.
  3737. * Fix issues with redirector HTTP response.
  3738. * Fix abnormal connection closing with certains messages with a high score
  3739. (issue #296)
  3740. * Fix redirector installation.
  3741. * Use specific POE loop for some systems.
  3742. * Fix number of issues in URL redirector.
  3743. * Fix selecting URLs for sending to redirector.
  3744. 0.9.5:
  3745. * Avoid double free when extending HTTP message.
  3746. * Fix double free if multiple classifiers are defined.
  3747. * Fix misprint in spamassassin plugin.
  3748. * Fix cpuid invocation on i386.
  3749. * Fix ownership issues for zero-copy decode.
  3750. * Allow __len metamethod on rspamd{text}.
  3751. * Add base64 decoding lua utility.
  3752. * Fix build on FreeBSD
  3753. * Skip spaces at the beginning of mime messages.
  3754. * DBL_ABUSE_REDIR should not have significant weight.
  3755. * Allow to split by lua_regexp rspamd{text} objects.
  3756. * Allow to specify custom stop pattern for lua_tcp.
  3757. 0.9.4:
  3758. * Fix critical bugs in tokenization algorithm
  3759. * Write unit tests for tokenization
  3760. * Add documentation for lua_tcp
  3761. * Switch off legacy tokenization by default.
  3762. * Fix critical bugs in words normalization
  3763. * Add lua bindings to tokenizer.
  3764. * Implement storing of HTTP headers inside task
  3765. * Add lua API to accerss HTTP headers data
  3766. * Implemented base64 encoding suitable for MIME
  3767. * Use caseless hash and equal functions for HTTP request headers.
  3768. * Improve debian architectures support (by @dottedmag)
  3769. 0.9.3:
  3770. * Revert incorrect regexp change that broke the default rules
  3771. * Fix lua_tcp module
  3772. 0.9.2:
  3773. * Fix error on spawning unique workers.
  3774. * Add preliminary version of generic LUA TCP requests API.
  3775. * Use lua 5.1 if luajit is not available (Arm64, PowerPC, s390x etc)
  3776. * Fix fuzzy mime strings with only type.
  3777. * Improve thunderbird sanity checks.
  3778. * Fix critical bug on matching regular expressions.
  3779. * Make hiredis optional dependency.
  3780. * Fix multiple bugs in daemon reloading
  3781. 0.9.1:
  3782. * Restore utf8 validation for regular expressions to avoid crashes
  3783. * Fix symbols displaying in the interface
  3784. * Add symbol groups to the interface
  3785. * Fix maps ID parsing in the controller
  3786. * Add multimap and regexp modules documentation
  3787. * Backport fixes from libucl
  3788. * Fix debian package (by @dottedmag)
  3789. * Rework XXH32 invocations
  3790. 0.9.0:
  3791. * Add support of the fast and secure protocol level encryption:
  3792. - curve25519 is used for key exchange;
  3793. - chacha20/poly1305 cryptobox construction for bulk encryption;
  3794. - zero latency overhead;
  3795. - encrypting and balancing HTTP proxy worker
  3796. * Rework expressions and create new expressions library:
  3797. - aggressive optimizations based on the abstract syntax tree;
  3798. - abstract expressions support (regular expressions, functions, lua modules
  3799. composites and so on)
  3800. - New comparison and '+' operators support
  3801. - New greedy algorithm to minimize execution time of expressions and
  3802. all symbols
  3803. - Dynamic expressions benchmark and reoptimizations
  3804. * Many improvements to the LUA API:
  3805. - reworked logger module allowing to do pretty print of the most of lua
  3806. types (including tables and userdata classes)
  3807. - reworked lua redis and lua HTTP to support more features
  3808. - added opaque type for passing large text chunks without copying
  3809. - new regexp module with many auxiliary functions (e.g. `re:split`)
  3810. * LuaJIT is now the default requirement for rspamd allowing to speed up lua
  3811. execution by a large margin (however, plain lua is still supported)
  3812. * New plugins:
  3813. - spamassassin rules plugin that allows to load and re-use the most of
  3814. SA rules natively
  3815. - DMARC plugin that evaluates SPF and DKIM policies to the domain policies
  3816. - many old plugins has been reworked to implement new features and improve
  3817. stability
  3818. * New aho-corasic trie implementation from @mischasan that allows to load and
  3819. use hundreds of thousands of patterns with no influence on load
  3820. * Support of PCRE JIT and PCRE JIT fast path modes that significantly improves
  3821. the performance of regular expressions if supported by PCRE
  3822. * New URLs parser and extractor:
  3823. - removed legacy code that was useless for url finding
  3824. - reworked algorithms of URL parsing for more precise and accurate results
  3825. - added top-level-domains tree from http://publicsuffix.org
  3826. - improved emails parsing
  3827. - removed many phishing false positives due to TLD tree check
  3828. * New statistics infrastructure:
  3829. - created a separate layer of statistic library
  3830. - improved OSB-Bayes by re-weighting tokens according to the original
  3831. academic paper and `crm114` implementation, which reduced false positives
  3832. rate significantly
  3833. - created learn cache to avoid double learning of statistics and providing
  3834. an efficient way to re-learn class for a message
  3835. - created abstract layers for different statistics backends
  3836. - implemented new tokenization algorithms with fast or secure (siphash)
  3837. hashes to generate statistics features
  3838. * Reworked utf8 tokenization that previously corrupted all UTF8 words (minor
  3839. incompatibility with old fuzzy hashes with utf-8 symbols)
  3840. * SPF module has been completely rewritten to support complex cases of
  3841. `include` and `redirect` within SPF records
  3842. * DKIM module now supports multiple signatures
  3843. * Controller passwords can now be stored encrypted by `PBKDF2-HMAC` in the
  3844. configuration file
  3845. * Many hand-written HTTP clients has been replaced with the common rspamd
  3846. http module
  3847. * New test framework:
  3848. - import lua `telescope` test framework
  3849. - add unit tests for many rspamd modules and routines
  3850. - create a unit test for each possible bug found
  3851. - use luajit ffi for testing C code
  3852. - added preliminary support of functional testing by creating tasks from lua
  3853. * Randomize hash seed to avoid certain hash tables vulnerabilities
  3854. * Documentation improvements:
  3855. - added documentation for the vast majority of rspamd modules
  3856. - added documentation for rspamd protocol
  3857. - added documentation for the most of rspamd LUA extensions
  3858. * Fixed tonns of bugs and memory leaks
  3859. * Added tonns of minor features
  3860. 0.8.3:
  3861. * Various critical fixes in distribution (by @dottedmag and @fatalbanana)
  3862. * Fixed bugs in url detector to parse certain patterns
  3863. * Add default host and helo for a client
  3864. * Some sanity checks for tokenizer and classifier
  3865. * Reiterate on systemd support
  3866. * Fix missing symbol registration
  3867. * Add support of spamc compatible output
  3868. * Filter double-dots in rbl.lua validate_dns (by @fatalbanana)
  3869. * Update ucl submodule due to critical bugfix
  3870. 0.8.2:
  3871. * Create fuzzy db if it does not exist
  3872. * Fix: Centos init script: configtest() (by @AlexeySa)
  3873. * Enable one_shot for RECEIVED_SPAMHAUS_XBL - Fixes #102 (by @fatalbanana)
  3874. * Update Exim patch (by @fatalbanana)
  3875. * Fix processing of unix sockets.
  3876. * Allow applying settings to authenticated users (by @fatalbanana)
  3877. * Make settings priorities work as documented (by @fatalbanana)
  3878. * Fix race condition in symbols planner
  3879. * Add DNSWL_BLOCKED symbol (by @fatalbanana)
  3880. * Make Exim pass usernames to rspamd (by @fatalbanana)
  3881. * Update RBL module (by @fatalbanana):
  3882. - fix indentation;
  3883. - collapse loops;
  3884. - avoid calling for un-needed information;
  3885. - allow disabling RBLs for authenticated users
  3886. * once_received.lua: Fix indentation & add exclusion for authenticated users (by @fatalbanana)
  3887. * hfilter.lua: Add exclusion for authenticated users (by @AlexeySa)
  3888. * Updates to hfilter rules (by @AlexeySa)
  3889. * Set empty <> user or addr for msgs without FROM (by @eneq123)
  3890. * Fix: attempt to index field '?' (a nil value) (by @eneq123)
  3891. * Fix: if not exist Date-header (by @AlexeySa)
  3892. * Add task:get_content() method.
  3893. * rbl.lua: Ignore private IP space (by @fatalbanana)
  3894. * Allow to check radix maps from lua by rspamd{ip}
  3895. * Make local exclusions configurable per-RBL (by @fatalbanana)
  3896. * Add rspamd_config:radix_from_config() (by @fatalbanana)
  3897. * Support emails dnsbl in rbl (by @fatalbanana)
  3898. * Complete rework of url extraction logic
  3899. * Allow customizations for unix sockets. (fixes #182)
  3900. * Set lua path according to rspamd settings.
  3901. * Import lua-functional for plugins stuff.
  3902. * Completely rewrite multimap plugin in functional style.
  3903. * Fix FORGED_MUA_THUNDERBIRD_MSGID (fixes #186)
  3904. * Check IPv6 addresses at dnswl.org and Spamhaus whitelist (by @fatalbanana)
  3905. * Add lowercase utility for utf8 strings.
  3906. * Various fixes to build system
  3907. * Updated debian configuration infrastructure (by @dottedmag)
  3908. 0.8.1:
  3909. * Add sqlite and perl as dependencies for RPM/Debian packages (by @fatalbanana)
  3910. * Remove whitelist.lua from RPM file list (by @fatalbanana)
  3911. * Make Exim pass hostnames to rspamd (by @fatalbanana)
  3912. * Fix building on Fedora (by @fatalbanana)
  3913. * Add toggle for disabling installation of systemd units on Linux (by @fatalbanana)
  3914. * Fix double format rounding that caused output corruption (reported by @fatalbanana)
  3915. * Revert broken change for destructors ordering that led to memory corruption
  3916. * Do not reset symbols case of settings if parsed from lua (reported by @andrejzverev)
  3917. * Fix build on SunOS (by @wiedi)
  3918. * Fix multiple crashes on broken DKIM DNS records
  3919. * Fix critical issue with composites weights removing
  3920. * Fix memory corruption in composites processing code
  3921. * Ignore non-SPF TXT records when parsing SPF includes
  3922. 0.8.0:
  3923. * New fuzzy check logic:
  3924. - use shingles algorithm for fuzzy matching
  3925. - use blake2 instead of md5 for larger output space
  3926. - combine fuzzy and strict matching
  3927. - allow to organize private storages by means of keys
  3928. - preserve compatibility with previous versions
  3929. * New fuzzy storage:
  3930. - use sqlite instead of own memory based hash tables
  3931. - rework commands interface
  3932. - add conversion from the old format
  3933. - add fuzzy match by shignles
  3934. - support old rspamd versions
  3935. * Add lemmatizing for words used in fuzzy hashes that allows to improve match
  3936. quality by using of the first forms of all words
  3937. * Rework language detection
  3938. * Fix several critical bugs, memory leaks and deadlocks:
  3939. - memory leak in HTML nodes parsing
  3940. - deadlock in logger code
  3941. - deadlock in signals processing
  3942. - crashes in fuzzy_storage
  3943. - crashes in tokenizers if the input was empty
  3944. * Import new libucl with several bugfixes and improvements
  3945. * Support listening on ipv6 addresses only
  3946. * Fix macro expansion in SPF module
  3947. * Several bugfixes in DKIM module
  3948. * Add load headers support for mime parts to the lua API
  3949. * Add documentation for:
  3950. - workers in general
  3951. - fuzzy_storage worker
  3952. - fuzzy_check plugin
  3953. - mimepart and textpart lua API modules
  3954. 0.7.6:
  3955. * Apply boundary fix for dkim simple canonization
  3956. * Fix ping command
  3957. * Return nil if header was not found in lua_task
  3958. * Fix hang in upstreams revive logic
  3959. * Decode entitles when normalizing HTML parts
  3960. * Fix logic of finding URLs in HTML parts
  3961. * Do not include \0 into length of text when performing conversion to utf8
  3962. * Fix raw vs parsed reperesentations
  3963. Raw parts are now:
  3964. - decoded b64/qp, but *NOT* converted to utf-8
  3965. Processed parts are now:
  3966. - converted to UTF-8
  3967. - normalized if needed (e.g. HTML tags are stripped)
  3968. * Rework DKIM canonization to line based
  3969. * Fix fuzzy hashes adding
  3970. * Use more specific hash function for fuzzy
  3971. * Fix leaking of iconv descriptors
  3972. * Fix PTR resolving in lua resolver
  3973. * Rework spf module.
  3974. - Copy data to memory pool as cached record might be destroyed causing
  3975. freed memory being passed to the protocol output (use after free)
  3976. - Allow SPF_NEUTRAL policy to be handled separately
  3977. - Add R_SPF_NEUTRAL to the default config
  3978. * Rework `register_symbols` function
  3979. * Allow to disable components of hfilter
  3980. 0.7.5:
  3981. * Fix owner when creating folder /run/rspamd (by @sfirmery)
  3982. * Fix IP validity checks
  3983. * Decode URLs obtained from HTML tags
  3984. * Fix crash with unweighted upstreams
  3985. * Stop processing headers in parts
  3986. * Set sockaddr.sa_family properly when connectig to upstreams
  3987. * Fix reload issues in surbl and fuzzy_check (reported by @citrin)
  3988. * Fix timeouts in redirector
  3989. * Improve lua errors reporting
  3990. * Fix lua closures processing in libucl
  3991. * Rework calling of lua functions from regexp module
  3992. * Choose raw regexp for raw headers
  3993. * Rework conversion to utf since glib one is broken
  3994. * Ignore SGML style tags in html
  3995. * Fix old bug with non-capturing https urls
  3996. * Fix memory corruption on fuzzy reload (reported by @citrin)
  3997. * Fix percents display in rspamc
  3998. * Fix buffer update for DKIM
  3999. * Do not validate utf for raw headers
  4000. 0.7.4:
  4001. * Fix build under *BSD
  4002. * Detect HAN unicode script
  4003. * Implement language detection heuristic for text parts
  4004. * Fix time output in history
  4005. * Improve piechart coloring
  4006. * Fix \r\n conversion in DKIM module (reported by @citrin)
  4007. * Try to detect systems with no IPv6 support
  4008. * Fix multiple/single values in use settings (reported by @citrin)
  4009. * Rework IP addresses in upstreams:
  4010. - Select ipv4/unix addresses if they exist and use ipv6 for ipv6 only
  4011. upstreams (since the support of ipv6 is poor in many OSes and
  4012. environments)
  4013. - Free IP list on upstream destruction
  4014. - Add test cases for addresses selection
  4015. - Allow adding of free form IP addresses to upstreams
  4016. * Fix endianness in lua_radix search (reported by @citrin)
  4017. * Soft shutdown should also set wanna_die flag (reported by @citrin)
  4018. * Stop use-after-free in event loop termination
  4019. * Fix processing of very short messages in DKIM (reported by @citrin)
  4020. * Detect systems without shared mutexes
  4021. * Fix issues with PTR and MX elements in SPF parser (reported by @citrin)
  4022. 0.7.3:
  4023. * New upstreams code:
  4024. - simplify upstreams API;
  4025. - unify strings parsing in upstreams definition;
  4026. - add configuration options for the upstreams;
  4027. - for failed upstreams re-resolve their addresses;
  4028. - use all resolved addresses for an upstream (round-robin);
  4029. - implement stable hashing and use it by default for upstreams;
  4030. - add unit test for upstreams module.
  4031. * Rework signals processing in all rspamd workers:
  4032. - signals are now processed in the event loop;
  4033. - implement the most common signal handlers for all workers;
  4034. - add callbacks for workers specific signal handlers
  4035. * Fix critical issue with fuzzy storage:
  4036. Fuzzy stroage could not save any hashes on termination due to bugged
  4037. signals handling
  4038. * Fix roll history IP storage
  4039. * Rework ipv4/ipv6 handling in parsing addresses:
  4040. - turn off support of IPV6_V6ONLY socket option;
  4041. - create ipv6 socket prior to ipv4 one to handle systems with v6/v4
  4042. sockets enabled (Linux)
  4043. * Remove CBL as it's wholly included in Spamhaus XBL (by @fatalbanana)
  4044. * Remove nszones.com fake RBL (by @citrin)
  4045. * Fix upstreams interaction for fuzzy_check
  4046. * Verify spf PTR records (reported by @citrin)
  4047. * Fix spf MX records parsing
  4048. * Add compatibility for old libevent (by @yellowman)
  4049. * Sync bugfixes from libucl
  4050. 0.7.2:
  4051. * Convert all maps to the compressed radix trie
  4052. * Allow IPv6 addresses in IP maps
  4053. * Remove dynamic items support from symbols cache
  4054. * Allow hex encoded output of strings
  4055. * Fix bug with control connections count
  4056. * Process fuzzy weight correctly (reported by @fatalbanana)
  4057. * Remove extra reference retain of http connection on error
  4058. * Remove deprecated options from the default config
  4059. * Add `one_shot` attr to metric's symbols
  4060. * Doc: add documentation for metrics
  4061. * Add Upstart job to debian packaging (by @CameronNemo)
  4062. * Config: improve SURBL symbols descriptions (by @citrin)
  4063. * Config: reflect SURBL changes (by @citrin):
  4064. - Outblaze removed, malware moved to separate list:
  4065. http://www.surbl.org/news/internal/MW-malware-sublist-added-to-multi
  4066. * Fix C modules initialization on restart
  4067. * Treat single IP as a single IP in radix lists (reported by @citrin)
  4068. * Do not touch file and core limits if not asked explicitly (reported by @citrin)
  4069. * Improve logging for fuzzy errors
  4070. * Block SIGPIPE for HTTP writing
  4071. * Doc: update manual pages
  4072. * Fix HTTP connection termination
  4073. * Reduce default number of parallel requests to 8
  4074. * Sync with libucl include features
  4075. 0.7.1:
  4076. * Fix typo in stat output.
  4077. * Fix issues with includes crossing with the system includes
  4078. * Restore testing framework
  4079. * Add radix trie test suite
  4080. * Implement new path-compressed radix trie.
  4081. - The performance benefit over the old algorithm is about 1.5 times.
  4082. - Memory usage is significantly lower as well.
  4083. - Now radix trie can accept any IPv4/IPv6 values
  4084. * Various improvements to the memory pools code
  4085. * Fix writing reply to a client when no filters are defined
  4086. * Write base32 encoded fuzzy
  4087. * Fix 'soft reject' action
  4088. * Fix rspamd reload and modules reconfiguration
  4089. * Fix subject rewriting for the default subject
  4090. * Fix states for processing task and pre-filters
  4091. * Fix issues with connection closing
  4092. * Fix crashes in rdns
  4093. * Fix ratelimit pre-filter
  4094. * Update exim patch.
  4095. - Update to the recent exim version
  4096. - Strip extra leading src/ from the patch
  4097. - Remove sendfile since it was broken
  4098. - Fix rspamd spam report for exim
  4099. * Improve documentation
  4100. 0.7.0:
  4101. * Use HTTP protocol for all operatiosn
  4102. * Webui worker is now removed and controller works as webui
  4103. * Allow to serve static files via controller by option `static_dir`
  4104. * Rspamd interface is now a part of rspamd
  4105. * Rspamc client has been rewritten to use HTTP and non-blocking mode
  4106. allowing to start multiple operations simultaneously (see `-n` option)
  4107. * Lua API was completely reworked to satisfy modern standards of LUA:
  4108. * Module `lua-message` was removed
  4109. * Reduced number of superglobals registered by rspamd
  4110. * Many functions has been redesigned
  4111. * Symbols registration is now more convenient
  4112. * Users settings has been rewritten as lua plugin
  4113. * Reworked headers system as gmime's based one misses many headers and is
  4114. very slow to get headers values
  4115. * Reorganized code and removed embedded jannsson by using UCL for all json
  4116. parsing
  4117. * Migrated to `librdns` for DNS resolving that improves concurrency for
  4118. DNS requests significantly
  4119. * Fixed tonns of bugs in MIME processing
  4120. * Improved metrcis and default symbol's weights
  4121. * Added new RBL's
  4122. * Fixed a number of issues in the modules
  4123. * Removed several memory leaks found
  4124. * Fix unicode processing
  4125. * Fix fuzzy checking for unicode parts
  4126. * Significantly improve documentation and especially LUA API docs
  4127. * See migration notes at https://rspamd.com/doc/migration.html
  4128. 0.6.8:
  4129. * Controller now listen for localhost and not for 127.0.0.1 by default
  4130. * Allow FCrDNS-style RBL lookups (by @fatalbanana)
  4131. * Reduce threshold for parts_differ function.
  4132. * Fix hostname lookup for rdns rbl (by @AlexeySa)
  4133. * Fix HFILTER_URL_ONELINE to reduce false positive rate.
  4134. * Fix whitelist module.
  4135. * Allow override system predefined settings without touching system ones
  4136. by .try_include macro (by @andrejzverev)
  4137. * Check for [ip.address]-style HELO and suppress lookups. (by
  4138. @fatalbanana)
  4139. * Optimize hfilter (by @AlexeySa)
  4140. * Fix issue with random numbers generator in dns.
  4141. * Use more clever time values to setup entropy.
  4142. * Synced with the recent libucl.
  4143. 0.6.7:
  4144. * Use ChaCha20 for DNS generator (more secure DNS id)
  4145. * Unknown symbols now has zero weight and not 1.0
  4146. * Fix fuzzy hashes expire time
  4147. * Fix critical issue in statfiles on FreeBSD 9 (and some other platforms)
  4148. * Add .include_map macro to ucl parser
  4149. * Update libucl
  4150. * Fix headers end detection for DKIM module
  4151. * Fix a bug in received headers parser
  4152. * Validate IP addresses before pushing them to lua
  4153. * Start new documentation project
  4154. * Fixed tonns of other minor bugs
  4155. * Start to prepare for 0.7 with HTTP protocol and new settings
  4156. 0.6.6:
  4157. * Removed issue with BUFSIZ limitation in the controller output
  4158. * Simplify logging symbols escaping
  4159. * Adjusted weights for several rules
  4160. * Improve spamhaus rbl support
  4161. * Removed PBL for received headers checks
  4162. * Added hfilter module that performs various HELO and IP checks.
  4163. * Rspamd can now be reloaded by HUP signal
  4164. * Fuzzy storage should expire hashes properly
  4165. * Build system has been reworked for better supportof pkg-config
  4166. * Various minor bugfixes
  4167. 0.6.5:
  4168. * Fixed critical bug in DNS resolver, introduced in 0.6.4
  4169. * Improved multimap and rbl plugins to skip
  4170. * Add dns_sockets option for tuning sockets per server in DNS resolver
  4171. * Improved packages for rspamd
  4172. 0.6.4:
  4173. * Added io channels for DNS request to balance load and reduce id
  4174. collisions chance
  4175. * Fixed a bug in SPF filter that may cause core dump in specific
  4176. circumstances
  4177. * FIxed default config for rbl module
  4178. * It is possible to get a list of rspamc commands with their descriptions
  4179. * Added SORBS bl to the default config
  4180. * 2tld file for surbl module has been significantly extended
  4181. * Perl modules has been removed from the code.
  4182. * Fixed an issue in libucl when parsing macros
  4183. 0.6.3:
  4184. * Fixed issues with DNS:
  4185. - labels decompression algorithm was fixed;
  4186. - added resolve_mx to lua API;
  4187. - fixed modules that use DNS.
  4188. * Lua modules once_received and emails reworked for new resolver API and UCL.
  4189. * Debian package was polished.
  4190. * Fixed a bug in fuzzy_check module that prevents correct processing messages
  4191. without valid parts.
  4192. 0.6.2:
  4193. * Fuzzy check module has been reworked:
  4194. - now fuzzy_check operates with a group of rules, that define which
  4195. servers sre to be checked;
  4196. - it is possible to specify read_only groups to avoid learning errors;
  4197. - turn fuzzy_check to one_shot mode permanently;
  4198. - fuzzy_check module configuration is now incompatible with the previous
  4199. versions.
  4200. * Imported bugfixes from libucl.
  4201. * Fixed whitelist plugin.
  4202. * Fixed statfiles resizing.
  4203. * Improved logging initialization order.
  4204. * Fixed race condition in the controller worker.
  4205. 0.6.1:
  4206. * Critical bugfixes:
  4207. - fixed build system;
  4208. - fixed in_class setting in bayes learning;
  4209. 0.6.0:
  4210. * Use UCL instead xml for configuration (https://github.com/vstakhov/libucl)
  4211. * Fix statistics module normalization
  4212. * Rework the many modules for the new configuration:
  4213. - surbl has incompatible configuration;
  4214. - fuzzy_check has incompatible configuration;
  4215. - multimap has now new configuration;
  4216. - received_rbl is removed and replaced by rbl module.
  4217. * Removed deprecated options:
  4218. - statfile_pool_size;
  4219. - action and required/reject score for a metric.
  4220. * Simplify build system and unify configuration for all platforms.
  4221. * Improved URL detector (reduced false positive rate).
  4222. * Lua 5.2 is now the default and fully supported version.
  4223. * Tons of bugfixes and minor improvements.
  4224. 0.5.6:
  4225. * Fix bug with counters incrementing in rolling history
  4226. * Detect expl and exp2l as some systems do not have it
  4227. * Support input streams without Content-Length
  4228. * Implement counters output via rspamc and controller interface
  4229. * Fix bug with udp sockets in fuzzy storage
  4230. 0.5.5:
  4231. * New bayes normalizator based on inverse chi-square function
  4232. * Various fixes to fuzzy storage
  4233. * Allow update fuzzy storage only from specific IP addresses
  4234. * Better support of IPv6 and address selection algorithms
  4235. * Add CentOS spec file
  4236. 0.5.4:
  4237. * Fixed issues with diff algorithm
  4238. * Added support of RRD statistics
  4239. * Add webui worker for interface interaction
  4240. * Fix a lot of issues with dynamic conf
  4241. * Fix critical memory leak in settings code
  4242. * Improve stability of the system
  4243. 0.5.3:
  4244. * Added dynamic options
  4245. * Added advanced metaclassfication
  4246. * Added RESTfull API for controller
  4247. * Improved hashing algorithms
  4248. * Various fixes for rspamc client:
  4249. - allow interacting with unix sockets
  4250. - librspamdclient major cleanup
  4251. - bayes is now default classifier
  4252. 0.5.2:
  4253. * Added lua bindings for:
  4254. - basic mime parts, that allows checkign attachements for example;
  4255. - DNS resolver;
  4256. * Existing lua bindings now works without task object allowing to use them
  4257. in custom code.
  4258. * Threads system was reworked to avoid global lua interpreter lock.
  4259. * DKIM module now converts all line endings to CRLF how opendkim does.
  4260. * URL detector is now more accurate for text parts.
  4261. * Several critical bugs and memory leaks were fixed.
  4262. 0.5.1:
  4263. * Added lua worker type to handle network connections in lua.
  4264. * Added lua bindings for async_session, IO dispatcher, memory_pool, and
  4265. worker.
  4266. * Composites can now uses other composites in expressions.
  4267. * Fixes for debian package and for FreeBSD >= 9.1
  4268. * Add support of gmime-2.6 if gmime-2.4 is not found.
  4269. * Improve url detection and phishing detection.
  4270. * Add lua mime_part library to get an access to all message part
  4271. attributes (like filename, length, type).
  4272. 0.5.0:
  4273. * Added SMTP lightweight balancing proxy with XCLIENT support.
  4274. * Added lua bindings for upstreams objects and API.
  4275. * New pre-filters are implemented to support initial checking for messages.
  4276. * Added ratelimit plugin that uses redis protocol to store data.
  4277. * Added ipv6 support to spf and some other modules.
  4278. * Unbreak spf plugin.
  4279. * Allow options with the same name be threated as list.
  4280. * DKIM plugin an parsing code was added.
  4281. * Separate build system to put logic in several shared libraries.
  4282. * Many bugfixes.
  4283. 0.3.2:
  4284. * Add error handling for regexps
  4285. * Fix quit command in controller interface
  4286. * Write symbols weights to rspamc output
  4287. * Improve logic of selecting rspamc version
  4288. * Do not try to parse broken DNS replies
  4289. * Add 'raw' flag to FROM_EXCESS_BASE64 rule (requested by citrin)
  4290. * Output message id in rspamc reply
  4291. * Fix inserting composite symbol
  4292. * Fix output of log line
  4293. * Document composites
  4294. * Add logging for fuzzy checks
  4295. * Add logging for learning
  4296. * Improve logic of learning messages - do not learn more than specific threshold
  4297. * Fix inserting results for symbols that were incorrectly (for example more than 1 time) defined in config file
  4298. * Do not output control characters if output is not terminal
  4299. * Fix some logic errors in learning
  4300. * Consider lua plugins errors as fatal configuration errors
  4301. * Fix writing message id during fuzzy_add command
  4302. * Display weight of symbols correctly
  4303. * Fixes to winnow learning
  4304. * One more try to improve accuracy of winnow algorithm
  4305. * Add bayesian classifier (initial version)
  4306. * Remove normalizer as it is winnow specific thing, so all statistic algorithms now returns value from 0 to 1
  4307. * Some fixes to fuzzy hashes expiration:
  4308. * Fix assertion while look up value in NULL hash (found by cirtin)
  4309. * Fix normalization for systems that have not tanhl function
  4310. * Ignore rfc822 group addresses
  4311. * Move images library to core rspamd
  4312. * Add lua api to access images properties
  4313. * Add post filters to lua API - filters that would be called after all message's processing
  4314. * Add ability to check for specified symbol in task results from lua
  4315. * Add ability to check for metric's results from lua
  4316. * Add ability to learn specified statfile form lua
  4317. * Add ability to extract filename and size of images from lua
  4318. * Fix assertion while extracting internet address
  4319. * Fix races in fuzzy storage
  4320. * Make spf parser case insensitive
  4321. * Add ability to check hashes of selected mime types
  4322. * Add ability to set minimum size in bytes for mime types
  4323. * Add ability to set minimum dimensions for images
  4324. * Assume all text/* content types as text/plain
  4325. * Fix getting data wrapper for gmime24
  4326. * Many fixes to statfile synchronization system
  4327. * Fixed statfile pool initialization and synchronization with disk
  4328. * Prepare 0.3.2
  4329. * Fix Mail::Rspamd::Config for new rspamd features
  4330. * Use Mail::Rspamd::Config in rspamc client
  4331. * Write user's name to rspamd log
  4332. * Prepare rspamd build infrastructure for creating rpm and deb packages
  4333. * Fix depends
  4334. * Add start script for linux systems
  4335. * Fix shared usage of statfiles
  4336. * Add invalidation of statfiles in case of learning, so now statfiles
  4337. * This should fix shared usage of statfile pool by several processes
  4338. * Fix misprint (reported by az)
  4339. * Fix stupid error when all checks can be done in a single pass
  4340. * New trie based url scanner (based on libcamel)
  4341. * Small fixes to rspamd perl client
  4342. * Write fuzzy hashes info to log
  4343. * Add trie interface to lua api
  4344. * Explain sample config and cleanup it
  4345. 0.3.1:
  4346. * Add modules documentation
  4347. * Continue implementing smtp proxy
  4348. * Implement new learning system, now rspamd should be much more intelligent while learning messages
  4349. * Convert statistic sums to use long double for counters
  4350. * Use hyperbolic tangent for internal normalizer
  4351. * In classify normalize result after comparing, not before
  4352. * New symbols sorter
  4353. * Fix strict aliasing while compiling with optimization
  4354. * Fix tanhl detection for platforms that have not implementation of it
  4355. * Remove several compile warnings
  4356. * Add experimental support of dynamic rules to regexp module
  4357. * Document views configuration
  4358. * Several fixes to documentation
  4359. * Add more logic for dynamic rules
  4360. * Add documentation for dynamic rules
  4361. * Add ability to make negations in networks in dynamic rules
  4362. * Clean up cache items correctly
  4363. * Implement basic SMTP dialog:
  4364. * Implement interaction with smtp upstream (with support of XCLIENT)
  4365. * Check messages received via smtp proxy
  4366. * Add support for sendfile in io dispatcher
  4367. * Fix issues with compatibility of worker_task and smtp proxy
  4368. * Proxy DATA command
  4369. * Fix SMTP
  4370. * Change metric logic
  4371. * Completely remove lex/yacc readers for config
  4372. * Make common sense of metric/action and symbols
  4373. * Sync changes with all plugins
  4374. * Incorrectly removed in previous commit
  4375. * Fix misprint (by Andrej Zverev)
  4376. * announce the "password" keyword in usage list
  4377. * Implement initial version of greylisting triplets storage
  4378. * Fix issues with smtp worker
  4379. * Fix QUIT command in SMTP worker
  4380. * Some fixes about new metrics system (may be incomplete)
  4381. * Get weights of symbol from default metric for symbols cache
  4382. * Fix setting task->from/task->rctp in smtp client
  4383. * Copy from and rcpt correctly
  4384. * Some performance improvements to IO dispatcher (do not drain the whole buffer after a single line readed)
  4385. * Fix smtp data input
  4386. * Fix misprint
  4387. * Add limit of maximum allowed smtp session errors
  4388. * New logic of SURBL module:
  4389. * Use system mkstemp(3) on systems where it is available as glib implementation
  4390. * Try to fix memmove issues in io dispatcher
  4391. * Remove debug from SURBL module
  4392. * Rewrite buffered input for line policy (again)
  4393. * Fix issue with links that are ip addresses in numeric form in surbl
  4394. * On Darwin use BSD style sendfile definition
  4395. * Reorganize platform specific knobs in CMakeLists
  4396. * Use gettimeofday on systems that have not clock_getres
  4397. * Use ftime for dns trans id generation on systems without clock_getres
  4398. * Darwin sendfile(2) support
  4399. * TIMEDB->TIMEB
  4400. * More to previous commit
  4401. * Pass env from main() arguments instead of platform specific global environ
  4402. * Fix compatibility issues
  4403. * Fix -lintl detection
  4404. * Init some variables to avoid problems
  4405. * Remove garbadge (gnome terminal sucks)
  4406. * Add more information about why we drop smtp connection
  4407. * Fix mkstemp call
  4408. * Send to upstream QUIT command at the end of session
  4409. * Check return value of each rspamd_dispatcher_write as in case of write errors sessions can be destroyed early
  4410. * Fix states in smtp dialog
  4411. * Use rspamd_snprintf instead of libc one
  4412. * Fix URLS command
  4413. * Fix reconfigure process of surbl module
  4414. * Fix destroying smtp session (unmap memory and do not delete pool early)
  4415. * Delete pool after using its variables
  4416. * Delay timer must be registered in async session to correctly handle connection termination
  4417. * Register dns requests in session too
  4418. * Make session before registering events
  4419. * Remove events in handlers
  4420. * Add ability to set filters for smtp worker for each smtp stage
  4421. * Add very initial version of DNS resolver (many things to be done)
  4422. * Announce weights and sync
  4423. * Fix few typo
  4424. * Understand short names of facility in logging config
  4425. * Add ability to make whitelist for spf checks
  4426. * Misprint != -> ==
  4427. * Handle lua tag in way that it is not required to write additional text:
  4428. * Strip all starting whitespace symbols from xml texts
  4429. * Fix stupid bug in calculating buffer length while reading file maps
  4430. * Add resolv.conf parsing into dns.c
  4431. * Fix microseconds<->milliseconds conversions
  4432. * Take callback argument in Mail::Rspamd::Client for processing files and directories
  4433. * Print results if rspamc is called for a directory
  4434. * Fix stupid error with surbl module reconfig (another one, blame me)
  4435. * Do not show duplicate urls in url header
  4436. * Fix detection of numeric urls (reported by citrin)
  4437. * Write real time of message's scan to log (not only virtual)
  4438. * Fix chartable module in utf mode
  4439. * Fix parsing of some broken urls
  4440. * Add ability to test regexp with 'T' flag
  4441. * Write more code for DNS resolver:
  4442. * Make DNS resolver working
  4443. * Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality
  4444. * Write DNS resolver tests
  4445. * Fix issues with memory_pool mutexes and with creating of statfiles
  4446. * Forgotten in previous commit
  4447. * Add support for parsing SPF and SRV records
  4448. * Fix PTR parsing
  4449. * Add tests
  4450. * Make SURBL module to use rspamd dns module
  4451. * Several fixes to DNS logic
  4452. * Remove evdns and use only rspamd resolver
  4453. * 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
  4454. * Fix resolving in smtp module
  4455. * Init events before configuring resolver in smtp worker
  4456. * Set resolver inside task
  4457. * Fix reload signal (reported by citrin)
  4458. * Some improvements to redirector
  4459. * Call has_forked method to inform POE about fork
  4460. * Fix lua DNS code
  4461. * Decompress labels in DNS packets more strictly
  4462. * Fix some problems with TXT records
  4463. * Try to fix removing of DNS events
  4464. * Do not insert unparsed RR's into reply
  4465. * Calling callbacks may cause destroying session from which we are calling callback so we MUST call callback as the latest action
  4466. * Fix check_smtp_data function
  4467. * Add ability to make views by recipient
  4468. * Add ability to set metric's action from config file
  4469. * Fix bug with writing garbadge if message has no urls or no messages
  4470. * Fix bug with incorrect behaviour of compare_parts_distance function
  4471. * Add ability to assign several actions to one metric
  4472. * Report action in rspamc protocol
  4473. * Mail::Rspamd::Client and rspamc can now understand Action header too
  4474. * Write action to log as well
  4475. * Make valgrind happy about comparing symbols
  4476. * Add more debug to comparing parts distance function
  4477. * Write action even if message has no symbols
  4478. * Make improvements to HTML entities decoder: now it replaces entities with common characters and
  4479. * Add -d option to force debug output
  4480. * Assume 7bit as default transfer encoding
  4481. * Do not overwrite lua plugins and configs if they already exists in target directory
  4482. * Improve logging
  4483. * Write queue id to log
  4484. * Remove test messages from cmake
  4485. * Reopen log file by USR1 signal
  4486. * Add reopenlog method to FreeBSD rc script
  4487. * Adopt foreach for cmake 2.6
  4488. * Fix to rc script
  4489. * Do not try to resolve names with several dots in a row
  4490. * Fix surbl request formatting for ip addresses
  4491. * Handle cases of broken requests
  4492. * Fix problems with parsing compressed names
  4493. * Fix TXT records parsing
  4494. * Fix expanding spf macros that may fail in rare cases
  4495. * Fix another error with early task destroying
  4496. * Handle empty from header
  4497. * Improve reopenlog command in rc script
  4498. * Strip trailing whitespace characters in Mail::Rspamd::Client
  4499. * Use ungreedy match to strip trailing whitespaces
  4500. * Stupid error in calculation compressed label length
  4501. * Some optimizations to client library
  4502. * Do not compare empty parts
  4503. * Empty and non-empty parts are always different
  4504. * Save in regexp cache the whole regexp with header name (if exists) and with flags
  4505. * Add rspamd_log variable to lua plugins to access logging functions
  4506. * Each part in rspamd task now can have parent part
  4507. * Check for parts distance only for multipart/alternative subparts
  4508. * Do not check attachements even if they are text (but attached as file)
  4509. * Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second)
  4510. * Add ability to turn on debug for specific symbols
  4511. * Add ability to configure dns timeouts and dns retransmits in config file
  4512. * More debug
  4513. * Fix extracting arguments in lua logger interface
  4514. * Turn off debug_ip during reload if it was disabled by new config
  4515. * Improve lua logging
  4516. * Pre-init symbols cache when rereading config
  4517. * Fix lua representing of invalid ip (nil, not 255.255.255.255)
  4518. * Fix R_TO_SEEMS_AUTO rule (by citrin)
  4519. * Add multimap lua plugin
  4520. * Fix some multimap issues
  4521. * Try to save images hashes to fuzzy storage to stop some annoying spammers
  4522. * Allocate some more bytes for read buffer to avoid incorrect behavoiur
  4523. * Add ability to check dns black lists by multimap module
  4524. * Add multimap documentation
  4525. * Fix labels parsing
  4526. * Another try to save regexps in cache correctly
  4527. * Improve test logs for regexps
  4528. * Fix parsing txt records to avoid reading of uninitialized data
  4529. * Fix error with writing symbols cache file
  4530. * Fix error while working in utf mode when raw regexps was not created properly
  4531. * Do not add extra byte while converting text to utf
  4532. * Add error handling for regexps