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

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