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

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