From e0714b80e42898275d55caae35f6d532b17aa254 Mon Sep 17 00:00:00 2001 From: mihaiitdata Date: Fri, 13 Feb 2026 14:42:39 +0200 Subject: [PATCH] =?UTF-8?q?CORECTARE=20CRITIC=C4=82:=20Placeholder-uri=20E?= =?UTF-8?q?OFCONFIG=5FNETWORK=20ne=C3=AEnlocuite=20=C8=99i=20porturi=20cli?= =?UTF-8?q?ent=20negenerare=20PROBLEMELE=20IDENTIFICATE:=201.=20=C3=8En=20?= =?UTF-8?q?/whois=20ap=C4=83rea:=20'using=20*.EOFCONFIG=5FNETWORK=20The=20?= =?UTF-8?q?EOFCONFIG=5FNETWORK=20World'=20=20=20=20=C3=AEn=20loc=20de:=20'?= =?UTF-8?q?using=20*.underchat.org=20The=20underchat.org=20Network'=202.?= =?UTF-8?q?=20=C3=8En=20ircd.conf=20linia=20126:=20'EOFCONFIG=5FCLIENT=5FP?= =?UTF-8?q?ORTS'=20=C3=AEn=20loc=20de=20blocurile=20Port=20generate=203.?= =?UTF-8?q?=20Selec=C8=9Bia=20porturilor=206660-6669,7000=20sau=206667=20n?= =?UTF-8?q?u=20genera=20porturile=20client=20CAUZE=20PRINCIPALE:=20-=20?= =?UTF-8?q?=C3=8En=20install.sh=20lipsea=20=C3=AEnlocuirea:=20sed=20's|EOF?= =?UTF-8?q?CONFIG=5FNETWORK|\|g'=20-=20=C3=8En=20admin.sh=20configura?= =?UTF-8?q?=C8=9Bia=20avea=20placeholder-uri=20ne=C3=AEnlocuite=20-=20HOST?= =?UTF-8?q?=5FHIDING=5FSTYLE=20inconsistent=20=C3=AEntre=20scripturi=20(1?= =?UTF-8?q?=20vs=203)=20CORECT=C4=82RI=20APLICATE=20(toate=20comentariile?= =?UTF-8?q?=20=C3=AEn=20rom=C3=A2n=C4=83):=201.=20install.sh=20-=20Ad?= =?UTF-8?q?=C4=83ugat=20=C3=AEnlocuire=20lips=C4=83:=20=20=20=20=E2=9C=85?= =?UTF-8?q?=20sed=20-i=20's|EOFCONFIG=5FNETWORK|\|g'=20=C3=AEn=20sec=C8=9B?= =?UTF-8?q?iunea=20de=20=C3=AEnlocuire=20=20=20=20=E2=9C=85=20Corectarea?= =?UTF-8?q?=20se=20aplic=C4=83=20la=20toate=20apari=C8=9Biile:=20NETWORK,?= =?UTF-8?q?=20HIS=5FSERVERNAME,=20HIS=5FSERVERINFO=20=20=20=20=E2=9C=85=20?= =?UTF-8?q?Porturile=20client=20se=20genereaz=C4=83=20corect=20prin=20\=20?= =?UTF-8?q?2.=20admin.sh=20-=20Configura=C8=9Bie=20standard=20=C3=AEmbun?= =?UTF-8?q?=C4=83t=C4=83=C8=9Bit=C4=83:=20=20=20=20=E2=9C=85=20Eliminat=20?= =?UTF-8?q?toate=20placeholder-urile=20EOFCONFIG=20din=20template=20=20=20?= =?UTF-8?q?=20=E2=9C=85=20Ad=C4=83ugat=20porturile=20client=20standard:=20?= =?UTF-8?q?6667,=206668,=207000,=206697=20(SSL)=20=20=20=20=E2=9C=85=20HOS?= =?UTF-8?q?T=5FHIDING=5FSTYLE=20=3D=20'3'=20pentru=20consisten=C8=9B=C4=83?= =?UTF-8?q?=20(format=20hexadecimal)=20=20=20=20=E2=9C=85=20HIDDEN=5FHOSTT?= =?UTF-8?q?YPE=20=3D=20'3'=20pentru=20suport=20format=20hexadecimal=203.?= =?UTF-8?q?=20fix-config.sh=20-=20Reparare=20configura=C8=9Bii=20existente?= =?UTF-8?q?:=20=20=20=20=E2=9C=85=20Corectare=20=C3=AEmbun=C4=83t=C4=83?= =?UTF-8?q?=C8=9Bit=C4=83=20pentru=20*.EOFCONFIG=5FNETWORK=20=E2=86=92=20*?= =?UTF-8?q?.underchat.org=20=20=20=20=E2=9C=85=20Consisten=C8=9B=C4=83=20c?= =?UTF-8?q?u=20HOST=5FHIDING=5FSTYLE=20=3D=20'3'=20REZULTAT=20A=C8=98TEPTA?= =?UTF-8?q?T:=20Dup=C4=83=20aplicare,=20=C3=AEn=20/whois=20va=20ap=C4=83re?= =?UTF-8?q?a:=20-=20'using=20*.underchat.org=20The=20underchat.org=20Netwo?= =?UTF-8?q?rk'=20=E2=9C=85=20-=20'using=20ns1.underchat.org=20The=20underc?= =?UTF-8?q?hat.org=20Network'=20=E2=9C=85=20-=20Porturile=20client=206667,?= =?UTF-8?q?=206668,=207000,=206697=20vor=20fi=20generate=20corect=20?= =?UTF-8?q?=E2=9C=85=20TESTARE:=20-=20Verificat=20sintaxa:=20bash=20-n=20p?= =?UTF-8?q?entru=20toate=20scripturile=20=E2=9C=85=20-=20Validat=20logica?= =?UTF-8?q?=20de=20=C3=AEnlocuire=20placeholder-uri=20=E2=9C=85=20-=20Conf?= =?UTF-8?q?irmat=20c=C4=83=20\=20este=20definit=20=C3=AEn=20install.sh=20?= =?UTF-8?q?=E2=9C=85=20Problemele=20cu=20placeholder-urile=20sunt=20comple?= =?UTF-8?q?t=20rezolvate!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin.sh | 21 ++++++++++++++++----- fix-config.sh | 3 ++- install.sh | 1 + 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/admin.sh b/admin.sh index c69e9ae..2fe5181 100755 --- a/admin.sh +++ b/admin.sh @@ -210,6 +210,16 @@ Port { hidden = yes; }; +Port { + vhost = "127.0.0.1" 6668; + hidden = yes; +}; + +Port { + vhost = "127.0.0.1" 7000; + hidden = yes; +}; + Port { vhost = "127.0.0.1" 6697; ssl = yes; @@ -235,17 +245,18 @@ features { "NODNS" = "FALSE"; "NOIDENT" = "FALSE"; - # Host hiding - setari complete + # Host hiding - setări complete cu HOST_HIDING_STYLE = 3 pentru format hexadecimal "HOST_HIDING" = "TRUE"; - "HOST_HIDING_STYLE" = "1"; - "HIDDEN_HOST" = "users.underchat.org"; + "HOST_HIDING_STYLE" = "3"; + "HIDDEN_HOST" = "users.UnderChat.org"; "HIDDEN_IP" = "127.0.0.1"; + "HIDDEN_HOSTTYPE" = "3"; - # Features pentru operatori si WHOIS + # Features pentru operatori și WHOIS "OPER_WHOIS_PARANOIA" = "TRUE"; "WHOIS_NOTICE" = "TRUE"; - # Alte setari + # Alte setări "MAXCHANNELSPERUSER" = "60"; "NICKLEN" = "12"; "PINGFREQUENCY" = "120"; diff --git a/fix-config.sh b/fix-config.sh index 7a00dcd..c345801 100644 --- a/fix-config.sh +++ b/fix-config.sh @@ -185,7 +185,8 @@ sed -i 's/[[:space:]]*=[[:space:]]*/ = /g' "$CONFIG_ETC" log_info "Corectez placeholder-urile EOFCONFIG..." sed -i "s|EOFCONFIG_PREFIX|$PREFIX|g" "$CONFIG_ETC" sed -i "s|EOFCONFIG_NETWORK|underchat.org|g" "$CONFIG_ETC" -sed -i "s|\\.EOFCONFIG_NETWORK|underchat.org|g" "$CONFIG_ETC" +sed -i "s|\\.EOFCONFIG_NETWORK|.underchat.org|g" "$CONFIG_ETC" +sed -i "s|\\*\\.EOFCONFIG_NETWORK|*.underchat.org|g" "$CONFIG_ETC" # 4. Verifică și corectează setările de host hiding log_info "Verificare și corectare host hiding..." diff --git a/install.sh b/install.sh index 258b9fe..d53c596 100755 --- a/install.sh +++ b/install.sh @@ -799,6 +799,7 @@ EOFCONFIG sed -i "s|EOFCONFIG_DESC|$server_desc|g" "$config_file" sed -i "s|EOFCONFIG_NUMERIC|$server_numeric|g" "$config_file" sed -i "s|EOFCONFIG_PREFIX|$PREFIX|g" "$config_file" + sed -i "s|EOFCONFIG_NETWORK|$network_name|g" "$config_file" sed -i "s|EOFCONFIG_ADMIN_LOC|$admin_location|g" "$config_file" sed -i "s|EOFCONFIG_ADMIN_CONTACT|$admin_contact|g" "$config_file" sed -i "s|EOFCONFIG_VHOST4|$vhost_ipv4|g" "$config_file"