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

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