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"