Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

ChangeLog 207KB

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