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

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