ircu2/CONFIGURARE_PROFESIONALA.md

515 lines
8.9 KiB
Markdown

# 📋 Opțiuni Configurare Profesionale - underchat.org
> **Model**: Node-Ase.ovh Professional IRC Server
> **Data**: 13 februarie 2026
> **Domeniu**: underchat.org
---
## 🎯 Ce S-a Schimbat
Scripturile de configurare au fost actualizate cu model profesional bazat pe configurarea reală din node-ase.ovh. Toate opțiunile sunt acum complete și production-ready.
---
## ⚙️ Secțiuni Configurare
### 📍 GENERAL - Setări Server
```
Domeniu rețea underchat.org
Nume server ns1.underchat.org
Virtual Host 127.0.0.1
Descriere The underchat.org Network
Numeric 1
DNS servere 8.8.8.8, 1.1.1.1
```
**In ircd.conf:**
```
General {
name = "ns1.underchat.org";
vhost = "127.0.0.1";
description = "The underchat.org Network";
numeric = 1;
dns server = "8.8.8.8";
dns server = "1.1.1.1";
};
```
---
### 👤 ADMIN - Informații Administrator
```
Locații The underchat.org World
Romania, RO
Contact admin@underchat.org
```
**In ircd.conf:**
```
Admin {
Location = "The underchat.org World";
Location = "Romania, RO";
Contact = "admin@underchat.org";
};
```
---
### 🔗 CLASS - Clase de Conexiuni
Scripturile generează automat **4 clase principale**:
#### **1. Server** - Pentru hub-uri principale
```
Class {
name = "Server";
pingfreq = 1 minutes 30 seconds;
connectfreq = 5 minutes;
maxlinks = 1;
sendq = 9000000;
};
```
#### **2. Local** - Pentru clienți locali
```
Class {
name = "Local";
pingfreq = 90 seconds;
sendq = 160000;
maxlinks = 100;
usermode = "+iw";
};
```
#### **3. Other** - Implicit pentru toți clienții
```
Class {
name = "Other";
pingfreq = 90 seconds;
sendq = 160000;
maxlinks = 2048;
usermode = "+ix";
};
```
#### **4. Opers** - Pentru operatori
```
Class {
name = "Opers";
pingfreq = 90 seconds;
sendq = 160000;
maxlinks = 20;
local = no;
freeform = yes;
show_invis = yes;
see_chan = yes;
list_chan = yes;
usermode = "+W";
};
```
---
### 🌐 PORT - Configurare Porturi
Scripturile generează **3 porturi**:
#### **Port Server-to-Server**
```
Port {
vhost = "127.0.0.1" 4400;
server = yes;
hidden = yes;
};
```
#### **Port Client Obișnuit**
```
Port {
vhost = "127.0.0.1" 6667;
hidden = yes;
};
```
#### **Port SSL/TLS**
```
Port {
vhost = "127.0.0.1" 6697;
ssl = yes;
hidden = yes;
};
```
---
### 🔐 OPERATOR - Operatori
```
Operator {
name = "AdminRoot";
password = "$2a$04$..."; # Hash MD5/SMD5/bcrypt
host = "*@*";
class = "Opers";
admin = yes;
hide_oper = no;
hide_channels = no;
};
```
**Opțiuni:**
- `admin = yes/no` - Dacă e admin complet
- `hide_oper = yes/no` - Ascunde status de oper
- `hide_channels = yes/no` - Ascunde canalele
---
### 🎫 JUPE - Nick-uri Rezervate
```
Jupe {
nick = "A,B,C,...,Z";
nick = "StatServ,NoteServ";
nick = "ChanServ,ChanSaver";
nick = "NickServ,NickSaver";
};
```
---
### 🎛️ FEATURES - Caracteristici (40+ opțiuni)
#### **Network Details**
```
"NETWORK" = "underchat.org"
"DOMAINNAME" = "underchat.org"
```
#### **Logging**
```
"LOG" = "SYSTEM" "FILE" "ircd.log"
"LOG" = "SYSTEM" "LEVEL" "CRIT"
```
#### **Server Type**
```
"HUB" = "TRUE"
"WALLOPS_OPER_ONLY" = "TRUE"
"NODNS" = "FALSE"
```
#### **Host Hiding**
```
"HOST_HIDING" = "TRUE"
"HIDDEN_HOST" = "users.underchat.org"
"HIDDEN_IP" = "127.0.0.1"
```
#### **Channel & Nick Limits**
```
"MAXCHANNELSPERUSER" = "60"
"CHANNELLEN" = "200"
"MAXBANS" = "50"
"NICKLEN" = "12"
"NICKNAMEHISTORYLENGTH" = "800"
```
#### **Timing**
```
"PINGFREQUENCY" = "120"
"CONNECTFREQUENCY" = "600"
"CONNECTTIMEOUT" = "90"
"HANGONGOODLINK" = "300"
```
#### **Paths**
```
"MPATH" = "ircd.motd"
"PPATH" = "ircd.pid"
"RPATH" = "remote.motd"
```
#### **Stats Visibility**
```
"HIS_STATS_u" = "FALSE"
"HIS_WHOIS_SERVERNAME" = "TRUE"
"HIS_WHOIS_IDLETIME" = "TRUE"
```
#### **Advanced**
```
"CHECK" = "TRUE"
"SETHOST" = "TRUE"
"NETWORK_REHASH" = "TRUE"
"HALFOPS" = "TRUE"
```
---
## 🚀 Instalare cu Noi Opțiuni
### Opțiunea 1: Install Script (Automată)
```bash
cd ~/ircu2
git pull origin main
./install.sh
# Va cere:
# - Domeniu rețea [underchat.org]
# - Nume server [ns1.underchat.org]
# - Descriere [The underchat.org Network]
# - Virtual Host [127.0.0.1]
# - Numeric [1]
# - Locație admin [Romania]
# - Contact [admin@underchat.org]
```
### Opțiunea 2: Configure Interactive (Detaliat)
```bash
./install.sh
./configure-interactive.sh
# Ghidare pas-cu-pas prin 6 etape
```
---
## 📝 Exemplu Config Generat
```
General {
name = "ns1.underchat.org";
vhost = "127.0.0.1";
description = "The underchat.org Network";
numeric = 1;
dns server = "8.8.8.8";
dns server = "1.1.1.1";
};
Admin {
Location = "The underchat.org World";
Location = "Romania, RO";
Contact = "admin@underchat.org";
};
Class {
name = "Server";
pingfreq = 1 minutes 30 seconds;
connectfreq = 5 minutes;
maxlinks = 1;
sendq = 9000000;
};
Class {
name = "Opers";
pingfreq = 1 minutes 30 seconds;
sendq = 160000;
maxlinks = 20;
local = no;
show_invis = yes;
see_chan = yes;
usermode = "+W";
};
Port {
vhost = "127.0.0.1" 4400;
server = yes;
hidden = yes;
};
Port {
vhost = "127.0.0.1" 6667;
hidden = yes;
};
Port {
vhost = "127.0.0.1" 6697;
ssl = yes;
hidden = yes;
};
Operator {
name = "AdminRoot";
password = "$2a$04$...";
host = "*@*";
class = "Opers";
admin = yes;
};
Jupe {
nick = "A,B,C,...,Z";
nick = "StatServ,NoteServ";
nick = "ChanServ,ChanSaver";
};
features {
"NETWORK" = "underchat.org";
"DOMAINNAME" = "ns1.underchat.org";
"HUB" = "TRUE";
"HOST_HIDING" = "TRUE";
"HIDDEN_HOST" = "users.underchat.org";
"MAXCHANNELSPERUSER" = "60";
"NICKLEN" = "12";
"PINGFREQUENCY" = "120";
"HIS_WHOIS_SERVERNAME" = "TRUE";
"CHECK" = "TRUE";
"SETHOST" = "TRUE";
};
```
---
## 🎯 Variabile Acceptate
### Variabile de Sistem
```
NETWORK Domeniu rețea (underchat.org)
SERVER_NAME Nume server (ns1.underchat.org)
SERVER_DESC Descriere (The underchat.org Network)
VHOST Virtual Host (127.0.0.1)
NUMERIC Numeric server (1-4095)
PREFIX Calea instalare (~ircd)
```
### Variabile Admin
```
ADMIN_LOCATION Locație administrator
ADMIN_CONTACT Email/contact administrator
OPER_NAME Nume operator (AdminRoot)
OPER_PASS Hash parola operator
OPER_HOST Host operator permis
```
### Variabile Port
```
PORT1 Port client standard (6667)
PORT2 Port SSL/TLS (6697)
SERVER_PORT Port server-to-server (4400)
```
### Variabile Class
```
PINGFREQ Frecvență ping (90 sec)
MAXLINKS Maxim linkuri per client (6)
SENDQ Dimensiune sendq (160000)
```
---
## 🔧 Personalizare Avansată
### Adaugă Server Hub
Editează `ircd.conf` și adaugă:
```
Connect {
name = "hub.underchat.org";
host = "192.168.1.100";
password = "hub_password";
port = 4400;
class = "Server";
autoconnect = yes;
hub;
};
```
### Adaugă Servicii UWorld
```
UWorld {
name = "services.underchat.org";
};
Pseudo "CHANSERV" {
name = "X";
nick = "X@services.underchat.org";
};
```
### Adaugă WebIRC Support
```
WebIRC {
host = "*@144.91.65.83";
password = "$PLAIN$webirc_password";
description = "underchat WebChat";
};
```
### Adaugă Spoofhost
```
Spoofhost "admin@underchat.org" {
pass = "spoof_password";
host = "staff.underchat.org";
autoapply = yes;
};
```
---
## 📊 Caracteristici Principale
**Model profesional** - Bazat pe node-ase.ovh
**Domeniu underchat.org** - Pre-configurat
**4 clase predefinite** - Server, Local, Other, Opers
**3 porturi** - Client (6667), SSL (6697), Server (4400)
**40+ features** - Setări avansate
**Host hiding** - Ascunde IP-urile utilizatorilor
**SSL/TLS** - Support pentru conexiuni securizate
**Admin tools** - Complete și ușor de folosit
---
## 🚀 Quick Start
```bash
# 1. Clone & Update
cd ~/ircu2
git pull origin main
# 2. Install (va cere domeniu, nume, etc.)
./install.sh
# 3. Verify
./admin.sh
# → 4) Verifica status
# 4. Done!
```
---
## 📚 Fișiere Generate
- `ircd.conf` - Configurare completă
- `ircd.motd` - Message of the Day
- `ircd.opermotd` - Operator MOTD
- `ircd.log` - Log file
---
## ✨ Status
✅ Install.sh - Actualizat cu noi opțiuni
✅ Configure-interactive.sh - Model profesional
✅ Domeniu underchat.org - Default
✅ Classes profesionale - 4 clase predefinite
✅ Features complete - 40+ opțiuni
✅ Documentation - Ghid complet
✅ Push pe Gitea - Ready
---
**Data**: 13 februarie 2026
**Model**: Node-Ase.ovh Professional
**Domeniu**: underchat.org
**Status**: ✅ Production Ready