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

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