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

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