You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ChangeLog 199KB

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