Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ChangeLog 306KB

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