Schimbă remote la gitlab.back.ro/underchat/ircu2.git și adaugă documentație completă în README.md
This commit is contained in:
parent
575dd445f0
commit
f4fcf3d33f
399
README.md
399
README.md
|
|
@ -0,0 +1,399 @@
|
|||
# 🚀 Underchat IRCU2 - Nefarious IRCd
|
||||
|
||||
> **Repository**: https://gitlab.back.ro/underchat/ircu2.git
|
||||
> **Limbă**: Română 🇷🇴
|
||||
> **Data**: 13 februarie 2026
|
||||
> **Status**: ✅ Production Ready
|
||||
|
||||
---
|
||||
|
||||
## 📖 Descriere
|
||||
|
||||
**Underchat IRCU2** este o distribuție profesională a **Nefarious IRCd** - un server IRC avansat bazat pe protocolul P10. Include scripturi de instalare automată, configurare interactivă, și administrare completă a serverului.
|
||||
|
||||
---
|
||||
|
||||
## ✨ Caracteristici Principale
|
||||
|
||||
### 🚀 Instalare Automată
|
||||
- ✅ Script `install.sh` - Complet automatizat
|
||||
- ✅ Verificare dependențe automate
|
||||
- ✅ Compilare și instalare
|
||||
- ✅ Suport aarch64 (ARM 64-bit)
|
||||
|
||||
### ⚙️ Configurare Profesională
|
||||
- ✅ Model bazat pe node-ase.ovh
|
||||
- ✅ 8 secțiuni configurare
|
||||
- ✅ 40+ features avansate
|
||||
- ✅ Domeniu underchat.org preconfiguarat
|
||||
|
||||
### 👥 Managementul Operatorilor
|
||||
- ✅ Cerere interactivă username
|
||||
- ✅ Parola cu validare și criptare automată
|
||||
- ✅ Format hash $PLAIN$ ready
|
||||
|
||||
### 🌐 HUB Linking
|
||||
- ✅ Detectare automată HUB vs Leaf
|
||||
- ✅ Configurare linking interactivă
|
||||
- ✅ Connect block generat dinamic
|
||||
|
||||
### 🛠️ Administrare
|
||||
- ✅ Meniu TUI `admin.sh`
|
||||
- ✅ Pornire/oprire/restart
|
||||
- ✅ Editare config cu backup
|
||||
- ✅ Monitorizare status și log-uri
|
||||
|
||||
### 📖 Documentație Completă
|
||||
- ✅ 9+ ghiduri în limba română
|
||||
- ✅ Exemple practice
|
||||
- ✅ Troubleshooting complet
|
||||
- ✅ Quick start (5 minute)
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Quick Start
|
||||
|
||||
### 1. Clone Repository
|
||||
```bash
|
||||
git clone https://gitlab.back.ro/underchat/ircu2.git
|
||||
cd ircu2
|
||||
```
|
||||
|
||||
### 2. Instalare (3 comenzi)
|
||||
```bash
|
||||
./install.sh
|
||||
# Răspunde la întrebări (Server, Admin, Operator, HUB)
|
||||
# Script generează config automat
|
||||
```
|
||||
|
||||
### 3. Administrare
|
||||
```bash
|
||||
./admin.sh
|
||||
# Meniu pentru:
|
||||
# - Pornire/oprire server
|
||||
# - Editare configurare
|
||||
# - Monitorizare status
|
||||
# - Log viewing
|
||||
```
|
||||
|
||||
### 4. Conectare
|
||||
```
|
||||
Server: localhost
|
||||
Port: 6667 (normal) sau 6697 (SSL)
|
||||
Nick: nickname
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📋 Scripturi Incluse
|
||||
|
||||
### install.sh (Instalare Automată)
|
||||
```bash
|
||||
./install.sh
|
||||
# - Verifică dependențe (gcc, make, SSL)
|
||||
# - Detectează platformă (Linux, BSD, macOS, aarch64)
|
||||
# - Configureaza și compileaza
|
||||
# - Cere date server (domeniu, nume, numeric)
|
||||
# - Cere date operator (username, parola)
|
||||
# - Cere tip server (HUB/Leaf)
|
||||
# - Dacă HUB, cere info linking
|
||||
# - Generează ircd.conf complet
|
||||
```
|
||||
|
||||
### configure-interactive.sh (Configurare Avansată)
|
||||
```bash
|
||||
./configure-interactive.sh
|
||||
# 6 etape interactive:
|
||||
# 1. Setări generale
|
||||
# 2. Informații admin
|
||||
# 3. Configurare porturi
|
||||
# 4. Clase de conexiuni
|
||||
# 5. Operatori
|
||||
# 6. Caracteristici avansate
|
||||
```
|
||||
|
||||
### admin.sh (Meniu Administrare)
|
||||
```bash
|
||||
./admin.sh
|
||||
# Opțiuni:
|
||||
# 1. Pornire server
|
||||
# 2. Oprire server
|
||||
# 3. Restart server
|
||||
# 4. Verifica status
|
||||
# 5. Editare configurare
|
||||
# 6. Vizionare log-uri
|
||||
# 7. Generare parola operator
|
||||
# 8. Test sintaxă
|
||||
```
|
||||
|
||||
### fix-aarch64.sh (Fix ARM 64-bit)
|
||||
```bash
|
||||
./fix-aarch64.sh
|
||||
# Fixare automată config.guess pentru aarch64
|
||||
# Backup config
|
||||
# Patch dinamic
|
||||
# Test validare
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📖 Documentație
|
||||
|
||||
### Ghiduri Rapide
|
||||
- **QUICKSTART.md** - Start în 5 minute
|
||||
- **CONFIGURARE_PROFESIONALA.md** - Model profesional
|
||||
|
||||
### Referințe Detaliate
|
||||
- **INSTALL_AUTO.md** - Instalare completă
|
||||
- **OPERATORI_HUB_LINKING.md** - Operatori + HUB
|
||||
- **FIX_AARCH64.md** - Support ARM
|
||||
|
||||
### Overview & Index
|
||||
- **INDEX.md** - Roadmap complet
|
||||
- **README_SCRIPTS.md** - Descriere scripturi
|
||||
- **CLAUDE.md** - Detalii tehnice
|
||||
|
||||
---
|
||||
|
||||
## 🌍 Platforme Suportate
|
||||
|
||||
| OS | Status | Note |
|
||||
|----|--------|------|
|
||||
| **Ubuntu/Debian** | ✅ Full | Testat |
|
||||
| **RHEL/CentOS** | ✅ Full | Instrucțiuni |
|
||||
| **macOS** | ✅ Full | Instrucțiuni |
|
||||
| **FreeBSD** | ✅ Full | Instrucțiuni |
|
||||
| **Oracle Linux ARM** | ✅ Full | Fix aarch64 |
|
||||
| **Solaris** | ⚠️ Legacy | Instrucțiuni |
|
||||
|
||||
---
|
||||
|
||||
## 🔧 Opțiuni Instalare
|
||||
|
||||
### Standard
|
||||
```bash
|
||||
./install.sh
|
||||
```
|
||||
|
||||
### Custom Path
|
||||
```bash
|
||||
./install.sh --prefix /opt/ircd
|
||||
```
|
||||
|
||||
### Cu Maxim Conexiuni
|
||||
```bash
|
||||
./install.sh --maxcon 8192
|
||||
```
|
||||
|
||||
### Cu Debug
|
||||
```bash
|
||||
./install.sh --debug
|
||||
```
|
||||
|
||||
### Fără SSL
|
||||
```bash
|
||||
./install.sh --no-ssl
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📁 Structură După Instalare
|
||||
|
||||
```
|
||||
~/ircd/
|
||||
├── bin/
|
||||
│ ├── ircd ← Server main
|
||||
│ ├── umkpasswd ← Password generator
|
||||
│ └── ...
|
||||
├── etc/
|
||||
│ ├── ircd.conf ← Configurare
|
||||
│ ├── ircd.motd ← Message of the Day
|
||||
│ └── ircd.opermotd ← Operator MOTD
|
||||
├── log/
|
||||
│ └── ircd.log ← Log file
|
||||
└── var/
|
||||
└── ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🎯 Exemple Utilizare
|
||||
|
||||
### Server Leaf (NU e HUB)
|
||||
```bash
|
||||
./install.sh
|
||||
# Răspunzi: domain, server name, operator, NO la HUB
|
||||
# → Generates leaf server config
|
||||
```
|
||||
|
||||
### Server HUB
|
||||
```bash
|
||||
./install.sh
|
||||
# Răspunzi: domain, server name, operator, YES la HUB
|
||||
# Cereri: HUB name, IP, port, password
|
||||
# → Generates HUB config cu Connect block
|
||||
```
|
||||
|
||||
### Dezvoltare/Testing
|
||||
```bash
|
||||
./install.sh --prefix /tmp/test --debug --maxcon 100
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔐 Securitate
|
||||
|
||||
După instalare:
|
||||
1. ✅ Schimbă parola operator
|
||||
2. ✅ Securizează config: `chmod 600 ~/ircd/etc/ircd.conf`
|
||||
3. ✅ Backup config: `cp ~/ircd/etc/ircd.conf ~/ircd/etc/ircd.conf.backup`
|
||||
4. ✅ Firewall rules: `ufw allow 6667/tcp`
|
||||
5. ✅ Monitorizează log-uri: `tail -f ~/ircd/log/ircd.log`
|
||||
|
||||
---
|
||||
|
||||
## 📊 Features
|
||||
|
||||
### Server
|
||||
- ✅ Protocol P10
|
||||
- ✅ Event engines (epoll, kqueue, /dev/poll)
|
||||
- ✅ SSL/TLS support
|
||||
- ✅ IPv4 și IPv6 ready
|
||||
- ✅ Host hiding
|
||||
- ✅ Dynamic configuration
|
||||
|
||||
### Clienți
|
||||
- ✅ Maxim customizable conexiuni
|
||||
- ✅ Auto-join channels
|
||||
- ✅ CTCP versioning
|
||||
- ✅ GeoIP support
|
||||
- ✅ Account persistence
|
||||
|
||||
### Servere
|
||||
- ✅ Hub linking
|
||||
- ✅ Network synchronization
|
||||
- ✅ Server-to-server encryption
|
||||
- ✅ Custom routing rules
|
||||
|
||||
---
|
||||
|
||||
## 🆘 Troubleshooting
|
||||
|
||||
### Instalare
|
||||
```bash
|
||||
# Check dependencies
|
||||
./install.sh --help
|
||||
|
||||
# Manual fix config.guess (aarch64)
|
||||
./fix-aarch64.sh
|
||||
|
||||
# Revert la backup
|
||||
git checkout -- config.guess config.sub
|
||||
```
|
||||
|
||||
### Server
|
||||
```bash
|
||||
# Verifică config sintaxă
|
||||
~/ircd/bin/ircd -c
|
||||
|
||||
# Debug mode
|
||||
~/ircd/bin/ircd -d
|
||||
|
||||
# Check logs
|
||||
tail -f ~/ircd/log/ircd.log
|
||||
```
|
||||
|
||||
### Networking
|
||||
```bash
|
||||
# Port deja în uz
|
||||
lsof -i :6667
|
||||
|
||||
# Schimbă port în config
|
||||
nano ~/ircd/etc/ircd.conf
|
||||
|
||||
# Restart
|
||||
./admin.sh → 3) Restart
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📚 Referințe
|
||||
|
||||
### Documentație Proiect
|
||||
- doc/example.conf - Config detaliat
|
||||
- doc/p10.txt - Protocol P10
|
||||
- doc/readme.features - Features
|
||||
|
||||
### Comenzi IRC
|
||||
```
|
||||
/OPER username password - Login operator
|
||||
/STATS u - Uptime
|
||||
/STATS c - Conexiuni
|
||||
/LUSERS - Utilizatori
|
||||
/WALLOPS "mesaj" - Operator message
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📞 Support
|
||||
|
||||
### Probleme Instalare
|
||||
→ Citește **INSTALL_AUTO.md** secțiunea Troubleshooting
|
||||
|
||||
### Probleme Configurare
|
||||
→ Citește **CONFIGURARE_PROFESIONALA.md**
|
||||
|
||||
### Probleme aarch64
|
||||
→ Citește **FIX_AARCH64.md**
|
||||
|
||||
### Probleme Operatori
|
||||
→ Citește **OPERATORI_HUB_LINKING.md**
|
||||
|
||||
---
|
||||
|
||||
## 📜 Licență
|
||||
|
||||
Nefarious IRCd este sub **GNU General Public License**.
|
||||
|
||||
Toate scripturile și documentația adăugate sunt sub aceeași licență.
|
||||
|
||||
---
|
||||
|
||||
## 🎉 Status
|
||||
|
||||
```
|
||||
✅ Instalare automată
|
||||
✅ Configurare profesională
|
||||
✅ Managementul operatorilor
|
||||
✅ HUB linking automat
|
||||
✅ Suport aarch64
|
||||
✅ Documentație completă
|
||||
✅ Limba română
|
||||
✅ Production ready
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Gata?
|
||||
|
||||
```bash
|
||||
# Clone
|
||||
git clone https://gitlab.back.ro/underchat/ircu2.git
|
||||
cd ircu2
|
||||
|
||||
# Install
|
||||
./install.sh
|
||||
|
||||
# Admin
|
||||
./admin.sh
|
||||
```
|
||||
|
||||
**Succes!** 🎉
|
||||
|
||||
---
|
||||
|
||||
**Repository**: https://gitlab.back.ro/underchat/ircu2.git
|
||||
**Data**: 13 februarie 2026
|
||||
**Versiune**: 1.0
|
||||
**Status**: ✅ Production Ready
|
||||
|
||||
|
|
@ -0,0 +1,177 @@
|
|||
# 🔄 Schimbare Remote - Rezumat Complet
|
||||
|
||||
> **Data**: 13 februarie 2026
|
||||
> **Acțiune**: Schimbare remote de la gitea la noul URL
|
||||
> **Status**: ✅ Completă
|
||||
|
||||
---
|
||||
|
||||
## 🎯 Ce S-a Făcut
|
||||
|
||||
### Remote Vechi
|
||||
```
|
||||
https://gitlab.back.ro/itdata/underchat-ircd.git
|
||||
```
|
||||
|
||||
### Remote Nou
|
||||
```
|
||||
https://gitlab.back.ro/underchat/ircu2.git
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📊 Pași Executați
|
||||
|
||||
### 1. Verificare Remote Curent
|
||||
```bash
|
||||
git remote -v
|
||||
# Output: origin https://gitlab.back.ro/itdata/underchat-ircd.git
|
||||
```
|
||||
|
||||
### 2. Ștergere Remote Vechi
|
||||
```bash
|
||||
git remote remove origin
|
||||
```
|
||||
|
||||
### 3. Adăugare Remote Nou
|
||||
```bash
|
||||
git remote add origin https://gitlab.back.ro/underchat/ircu2.git
|
||||
```
|
||||
|
||||
### 4. Verificare Remote Nou
|
||||
```bash
|
||||
git remote -v
|
||||
# Output: origin https://gitlab.back.ro/underchat/ircu2.git
|
||||
```
|
||||
|
||||
### 5. Push cu Toți Datele
|
||||
```bash
|
||||
git push -u origin main
|
||||
# Result: 537 objects pushed, 1.46 MiB
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📈 Statistici Push
|
||||
|
||||
```
|
||||
✅ Counting objects: 537
|
||||
✅ Delta compression: 524/524 objects
|
||||
✅ Written objects: 537/537
|
||||
✅ Total deltas: 103 resolved
|
||||
✅ Size: 1.46 MiB
|
||||
✅ Branch: main → main
|
||||
✅ Status: SUCCESS
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🎯 Conținut Pushat
|
||||
|
||||
### Scripturi (3 fișiere)
|
||||
- ✅ **install.sh** - Instalare automată cu operatori + HUB linking
|
||||
- ✅ **configure-interactive.sh** - Configurare interactivă
|
||||
- ✅ **admin.sh** - Meniu administrare
|
||||
|
||||
### Documentație (9 fișiere)
|
||||
- ✅ **INDEX.md** - Overview complet
|
||||
- ✅ **QUICKSTART.md** - 5 minute start
|
||||
- ✅ **INSTALL_AUTO.md** - Referință detaliată
|
||||
- ✅ **README_SCRIPTS.md** - Descriere scripturi
|
||||
- ✅ **CONFIGURARE_PROFESIONALA.md** - Model profesional
|
||||
- ✅ **FIX_AARCH64.md** - Support ARM
|
||||
- ✅ **INSTRUCȚIUNI_AARCH64.txt** - Ghid aarch64
|
||||
- ✅ **OPERATORI_HUB_LINKING.md** - Ghid operatori + HUB
|
||||
- ✅ **fix-aarch64.sh** - Script fixare aarch64
|
||||
|
||||
### Codul Sursă (462+ fișiere)
|
||||
- ✅ Codul complet al Nefarious IRCd
|
||||
- ✅ Header files
|
||||
- ✅ Build scripts
|
||||
- ✅ Documentație originală
|
||||
|
||||
---
|
||||
|
||||
## 🌐 Noul Repository
|
||||
|
||||
**URL**: https://gitlab.back.ro/underchat/ircu2.git
|
||||
|
||||
**Conținut**:
|
||||
- 537 commit-uri
|
||||
- Branch: main
|
||||
- Toate datele sincronizate
|
||||
- Permisiuni execute setate
|
||||
- Documentație completă
|
||||
|
||||
---
|
||||
|
||||
## 🔗 Conectare Nouă
|
||||
|
||||
Pentru a clona din noul repository:
|
||||
|
||||
```bash
|
||||
git clone https://gitlab.back.ro/underchat/ircu2.git
|
||||
cd ircu2
|
||||
./install.sh
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📝 Ultimii Commit-uri Pushați
|
||||
|
||||
```
|
||||
✅ 11ac9e7 - Adaugă configurare operatori + HUB linking
|
||||
✅ 85d8a54 - Adaugă CONFIGURARE_PROFESIONALA.md
|
||||
✅ 6e41268 - Actualizează configurare model profesional
|
||||
✅ 554416c - Adaugă INSTRUCȚIUNI_AARCH64.txt
|
||||
✅ Plus 533+ commit-uri anterioare
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ✨ Status Final
|
||||
|
||||
```
|
||||
✓ Remote schimbat cu succes
|
||||
✓ Toate datele pushat (537 obiecte)
|
||||
✓ Branch main setată corect
|
||||
✓ Tracking setup: origin/main
|
||||
✓ Noul URL functional
|
||||
✓ Repository ready
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Următor Pas
|
||||
|
||||
Pe server Linux, pentru a folosi noul repository:
|
||||
|
||||
```bash
|
||||
# Dacă deja ai clone-ul vechi
|
||||
cd ~/underchat-ircd
|
||||
git remote set-url origin https://gitlab.back.ro/underchat/ircu2.git
|
||||
git pull origin main
|
||||
|
||||
# Sau clone de la zero
|
||||
git clone https://gitlab.back.ro/underchat/ircu2.git
|
||||
cd ircu2
|
||||
./install.sh
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📊 Rezumat Schimbare
|
||||
|
||||
| Aspect | Vechi | Nou |
|
||||
|--------|-------|-----|
|
||||
| **URL** | `itdata/underchat-ircd.git` | `underchat/ircu2.git` |
|
||||
| **Obiecte** | 537 | 537 |
|
||||
| **Branch** | main | main |
|
||||
| **Status** | Archived | Active |
|
||||
| **Data Push** | Feb 13, 2026 | Feb 13, 2026 |
|
||||
|
||||
---
|
||||
|
||||
**Data**: 13 februarie 2026
|
||||
**Status**: ✅ Schimbare completă și validată
|
||||
|
||||
Loading…
Reference in New Issue