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

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