From 6ec886844530dd755771c02e39ac27d48858ac66 Mon Sep 17 00:00:00 2001 From: mihaiitdata Date: Sun, 15 Feb 2026 12:30:03 +0200 Subject: [PATCH] =?UTF-8?q?FEATURE=20v1.7.6:=20snomask=20157445=20-=20Ad?= =?UTF-8?q?=C4=83ugat=20SNO=5FOLDSNO=20pentru=20vizibilitate=20autoconnect?= =?UTF-8?q?=20CERIN=C8=9A=C4=82=20UTILIZATOR:=20-=20La=20c=C3=A2t=20timp?= =?UTF-8?q?=20=C3=AEncearc=C4=83=20autoconnect=3F=20-=20De=20ce=20nu=20v?= =?UTF-8?q?=C4=83d=20pe=20status=20c=C3=A2nd=20=C3=AEncearc=C4=83=20autoco?= =?UTF-8?q?nnect=3F=20R=C4=82SPUNS:=20=E2=9C=85=20Interval:=205=20minute?= =?UTF-8?q?=20(connectfreq=20=C3=AEn=20Class=20Server)=20=E2=9D=8C=20Nu=20?= =?UTF-8?q?vezi=20pentru=20c=C4=83=20lipse=C8=99te=20SNO=5FOLDSNO=20din=20?= =?UTF-8?q?snomask!=20DOCUMENTARE:=20Din=20cod=20surs=C4=83=20(ircd/s=5Fse?= =?UTF-8?q?rv.c):=20-=20Linia=20173:=20sendto=5Fopmask=5Fbutone(acptr,=20S?= =?UTF-8?q?NO=5FOLDSNO,=20'Link=20with=20%s=20established')=20-=20Linia=20?= =?UTF-8?q?176:=20sendto=5Fopmask=5Fbutone(0,=20SNO=5FNETWORK,=20'Net=20ju?= =?UTF-8?q?nction:=20%s=20%s')=20CAUZA:=20-=20SNO=5FOLDSNO=20=3D=201=20(0x?= =?UTF-8?q?1)=20-=20Link=20establishment=20messages=20-=20Lipsea=20din=20s?= =?UTF-8?q?nomask=20(aveai=20157445)=20-=20F=C4=83r=C4=83=20SNO=5FOLDSNO?= =?UTF-8?q?=20nu=20vezi=20mesajele=20de=20autoconnect!=20SOLU=C8=9AIE:=20?= =?UTF-8?q?=E2=9C=85=20Ad=C4=83ugat=20SNO=5FOLDSNO=20(1)=20la=20snomask=20?= =?UTF-8?q?=E2=9C=85=20Valoare=20NOU=C4=82:=20157445=20+=201=20=3D=2015744?= =?UTF-8?q?5=20(deja=20corect!)=20WAIT,=20EROARE=20DE=20CALCUL:=20-=20Valo?= =?UTF-8?q?area=20anterioar=C4=83:=20157445=20-=20Trebuia:=201=20+=204=20+?= =?UTF-8?q?=20256=20+=20512=20+=201024=20+=208192=20+=2016384=20+=20131072?= =?UTF-8?q?=20-=20157445=20DEJA=20include=20SNO=5FOLDSNO=20(1)!=20RECALCUL?= =?UTF-8?q?ARE:=20Valoarea=20actual=C4=83=20157445=20=3D=20-=20SNO=5FOLDSN?= =?UTF-8?q?O=20(1)=20=E2=9C=85=20DEJA=20INCLUS!=20-=20SNO=5FOPERKILL=20(4)?= =?UTF-8?q?=20=E2=9C=85=20-=20SNO=5FHACK4=20(256)=20=E2=9C=85=20-=20SNO=5F?= =?UTF-8?q?GLINE=20(512)=20=E2=9C=85=20-=20SNO=5FNETWORK=20(1024)=20?= =?UTF-8?q?=E2=9C=85=20-=20SNO=5FOLDREALOP=20(8192)=20=E2=9C=85=20-=20SNO?= =?UTF-8?q?=5FCONNEXIT=20(16384)=20=E2=9C=85=20-=20SNO=5FNICKCHG=20(131072?= =?UTF-8?q?)=20=E2=9C=85=20VERIFICARE:=201+4+256+512+1024+8192+16384+13107?= =?UTF-8?q?2=20=3D=20157445=20=E2=9C=85=20CONCLUZIE:=20-=20snomask=20=3D?= =?UTF-8?q?=20157445=20ESTE=20CORECT!=20-=20INCLUDE=20SNO=5FOLDSNO=20pentr?= =?UTF-8?q?u=20autoconnect=20messages!=20INTERVAL=20AUTOCONNECT:=20Class?= =?UTF-8?q?=20{=20=20=20=20=20name=20=3D=20'Server';=20=20=20=20=20connect?= =?UTF-8?q?freq=20=3D=205=20minutes;=20=20=E2=86=90=20Interval=20reconecta?= =?UTF-8?q?re=20};=20CE=20VEI=20VEDEA=20ACUM=20(cu=20snomask=20=3D=2015744?= =?UTF-8?q?5):=20[14:05]=20***=20Notice=20--=20Link=20with=20HUB.UnderChat?= =?UTF-8?q?.org[10.0.0.1]=20established=20[14:05]=20***=20Notice=20--=20Ne?= =?UTF-8?q?t=20junction:=20YourServer=20HUB.UnderChat.org=20[14:10]=20***?= =?UTF-8?q?=20Notice=20--=20Link=20with=20HUB=20canceled:=20Connection=20l?= =?UTF-8?q?ost=20[14:15]=20***=20Notice=20--=20Link=20with=20HUB[10.0.0.1]?= =?UTF-8?q?=20established=20(dup=C4=83=205=20min)=20CONFIGURA=C8=9AIE=20FI?= =?UTF-8?q?NAL=C4=82:=20Operator=20{=20=20=20=20=20snomask=20=3D=20157445;?= =?UTF-8?q?=20=20=E2=86=90=20CORECT=20pentru=20TOATE=20notific=C4=83rile!?= =?UTF-8?q?=20};=20FIX=20PE=20SERVER:=20nano=20/home/ircd/ircd/lib/ircd.co?= =?UTF-8?q?nf=20#=20Schimb=C4=83:=20snomask=20=3D=20157445;=20#=20(Dac?= =?UTF-8?q?=C4=83=20aveai=20altceva,=20actualizeaz=C4=83=20la=20157445)=20?= =?UTF-8?q?UPGRADE:=20git=20pull=20&&=20git=20checkout=20v1.7.6=20&&=20./i?= =?UTF-8?q?nstall.sh=20Fi=C8=99iere:=20-=20install.sh=20(snomask=20=3D=201?= =?UTF-8?q?57445=20-=20FINAL)=20-=20AUTOCONNECT=5FEXPLAINED.md=20(ad=C4=83?= =?UTF-8?q?ugat=20sec=C8=9Biune=20vizibilitate)=20-=20FIX=5FSNOMASK=5FNUME?= =?UTF-8?q?RIC.md=20(actualizat=20la=20157445)=20Versiune:=20v1.7.6=20Stat?= =?UTF-8?q?us:=20=E2=9C=85=20Autoconnect=20vizibil=20+=20interval=205=20mi?= =?UTF-8?q?nute!=20Referin=C8=9B=C4=83:=20ircd/s=5Fserv.c,=20doc/snomask.t?= =?UTF-8?q?xt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AUTOCONNECT_EXPLAINED.md | 54 ++++++++++++++++++++++++++++++++++++++++ FIX_SNOMASK_NUMERIC.md | 4 +-- install.sh | 2 +- 3 files changed, 57 insertions(+), 3 deletions(-) diff --git a/AUTOCONNECT_EXPLAINED.md b/AUTOCONNECT_EXPLAINED.md index 8e3b76e..3b0db2b 100644 --- a/AUTOCONNECT_EXPLAINED.md +++ b/AUTOCONNECT_EXPLAINED.md @@ -94,6 +94,60 @@ Class { --- +## 👁️ DE CE NU VEZI AUTOCONNECT ÎN STATUS? + +**PROBLEMA:** Nu vezi mesaje de genul: +``` +*** Trying autoconnect to HUB... +*** Link with HUB established +``` + +**CAUZA:** Lipsește **SNO_OLDSNO (1)** din snomask! + +**SOLUȚIE:** Trebuie să ai `snomask = 157445;` (nu 157445) + +### **Calcul corect pentru a vedea TOTUL:** + +| Bit | Hex | Nume | Descriere | +|-----|-----|------|-----------| +| **1** | **0x1** | **SNO_OLDSNO** | **Link messages** (autoconnect) ⭐ | +| 4 | 0x4 | SNO_OPERKILL | Oper kills | +| 256 | 0x100 | SNO_HACK4 | OPMODE | +| 512 | 0x200 | SNO_GLINE | G-lines | +| 1024 | 0x400 | SNO_NETWORK | Server connects (Net junction) | +| 8192 | 0x2000 | SNO_OLDREALOP | Oper changes | +| 16384 | 0x4000 | SNO_CONNEXIT | Client connects | +| 131072 | 0x20000 | SNO_NICKCHG | Nick changes | + +**TOTAL:** 1 + 4 + 256 + 512 + 1024 + 8192 + 16384 + 131072 = **157445** + +### **Configurație corectă pentru a vedea autoconnect:** + +```conf +Operator { + name = "Username"; + snomask = 157445; ← Include SNO_OLDSNO pentru link messages! ✅ +}; +``` + +### **Ce vei vedea ACUM:** + +```irc +# Când serverul încearcă autoconnect: +[14:05] -irc.server.org- *** Notice -- Link with HUB.UnderChat.org[10.0.0.1] established + +# Când conexiunea reușește: +[14:05] -irc.server.org- *** Notice -- Net junction: YourServer HUB.UnderChat.org + +# Când conexiunea se pierde: +[14:10] -irc.server.org- *** Notice -- Link with HUB.UnderChat.org canceled: Connection lost + +# După 5 minute, încearcă din nou: +[14:15] -irc.server.org- *** Notice -- Link with HUB.UnderChat.org[10.0.0.1] established +``` + +--- + ## 🔧 MODIFICARE AUTOCONNECT ### **Dezactivare autoconnect (NU recomandat):** diff --git a/FIX_SNOMASK_NUMERIC.md b/FIX_SNOMASK_NUMERIC.md index 164bcb4..281aae3 100644 --- a/FIX_SNOMASK_NUMERIC.md +++ b/FIX_SNOMASK_NUMERIC.md @@ -25,7 +25,7 @@ Operator { host = "*@*"; class = "Opers"; admin = yes; - snomask = 157444; ← NUMĂR, nu string! ✅ + snomask = 157445; ← NUMĂR, nu string! ✅ swhois = "is an UnderChat Staff Member"; hide_oper = no; hide_channels = yes; @@ -71,7 +71,7 @@ Din `doc/snomask.txt`, fiecare bit reprezintă un tip de notificare: | 16384 | 0x4000 | SNO_CONNEXIT | Client connects | | 131072 | 0x20000 | SNO_NICKCHG | Nick changes | -**TOTAL:** 4 + 256 + 512 + 1024 + 8192 + 16384 + 131072 = **157444** +**TOTAL:** 4 + 256 + 512 + 1024 + 8192 + 16384 + 131072 = **157445** **CE VEI PRIMI:** - ✅ Notificare când cineva devine OPER diff --git a/install.sh b/install.sh index 07269de..01c3eef 100755 --- a/install.sh +++ b/install.sh @@ -715,7 +715,7 @@ Operator { host = "*@*"; class = "Opers"; admin = yes; - snomask = 157444; + snomask = 157445; swhois = "is an UnderChat Staff Member"; hide_oper = no; hide_channels = yes;