From 611033b63aea182073540bbb021ff9c710649c07 Mon Sep 17 00:00:00 2001 From: mihaiitdata Date: Tue, 24 Feb 2026 00:01:23 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20Add=20complete=20commands=20and?= =?UTF-8?q?=20modes=20documentation=20=F0=9F=93=8B=20DOCUMENTA=C8=9AIE=20C?= =?UTF-8?q?OMPREHENSIV=C4=82:=20=E2=9C=A8=20CON=C8=9AINUT:=201.=20Comenzi?= =?UTF-8?q?=20User=20(50+=20comenzi)=20=20=20=20-=20Conectare:=20PASS,=20N?= =?UTF-8?q?ICK,=20USER,=20QUIT=20=20=20=20-=20Comunicare:=20PRIVMSG,=20NOT?= =?UTF-8?q?ICE,=20CPRIVMSG=20=20=20=20-=20Channel:=20JOIN,=20PART,=20TOPIC?= =?UTF-8?q?,=20KICK,=20MODE,=20INVITE=20=20=20=20-=20Informa=C8=9Bii:=20WH?= =?UTF-8?q?OIS,=20WHO,=20WHOWAS,=20USERHOST,=20USERIP=20=20=20=20-=20Serve?= =?UTF-8?q?r=20Info:=20VERSION,=20TIME,=20ADMIN,=20INFO,=20MOTD,=20LUSERS,?= =?UTF-8?q?=20MAP=20=20=20=20-=20Speciale:=20AWAY,=20SILENCE,=20WATCH,=20H?= =?UTF-8?q?ELP,=20PING=202.=20Comenzi=20Oper=20(40+=20comenzi)=20=20=20=20?= =?UTF-8?q?-=20User=20Management:=20KILL,=20GLINE,=20SHUN,=20ZLINE,=20TEMP?= =?UTF-8?q?SHUN=20=20=20=20-=20Channel=20Management:=20OPMODE,=20CLEARMODE?= =?UTF-8?q?=20=20=20=20-=20Server=20Management:=20REHASH,=20RESTART,=20DIE?= =?UTF-8?q?,=20CONNECT,=20SQUIT,=20JUPE=20=20=20=20-=20Monitorizare:=20STA?= =?UTF-8?q?TS,=20TRACE,=20CHECK,=20IRCOPS=20=20=20=20-=20Configurare:=20SE?= =?UTF-8?q?T,=20GET,=20RESET=20=20=20=20-=20Broadcast:=20WALLOPS,=20WALLUS?= =?UTF-8?q?ERS,=20WALLCHOPS,=20WALLHOPS=20=20=20=20-=20Services:=20SVS*=20?= =?UTF-8?q?(SVSJOIN,=20SVSPART,=20SVSNICK,=20SVSMODE,=20etc.)=20=20=20=20-?= =?UTF-8?q?=20Debug:=20DEFAULTS,=20PRIVS,=20ISNEF,=20UPING,=20RPING=203.?= =?UTF-8?q?=20Comenzi=20Server-to-Server=20(25+=20comenzi)=20=20=20=20-=20?= =?UTF-8?q?SERVER,=20BURST,=20ENDBURST,=20CREATE,=20DESTRUCT=20=20=20=20-?= =?UTF-8?q?=20ACCOUNT,=20PROTO,=20PROTOCTL,=20XQUERY,=20XREPLY=20=20=20=20?= =?UTF-8?q?-=20ASLL,=20ERROR,=20DESYNCH,=20MARK,=20etc.=204.=20User=20Mode?= =?UTF-8?q?s=20(15+=20moduri)=20=20=20=20-=20+i=20(invisible),=20+w=20(wal?= =?UTF-8?q?lops),=20+o=20(oper),=20+s=20(snomask)=20=20=20=20-=20+d=20(dea?= =?UTF-8?q?f),=20+k=20(service),=20+g=20(callerid),=20+n=20(nochan)=20=20?= =?UTF-8?q?=20=20-=20+x=20(hidden=20host),=20+h=20(hide=20oper)=20?= =?UTF-8?q?=E2=9C=A8=20NOU=20v2.0.1=20=20=20=20-=20+r=20(registered),=20+R?= =?UTF-8?q?=20(registered=20only),=20+I=20(invisible=20joins)=205.=20Chann?= =?UTF-8?q?el=20Modes=20(30+=20moduri)=20=20=20=20-=20Acces:=20+o=20(op),?= =?UTF-8?q?=20+h=20(halfop),=20+v=20(voice)=20=20=20=20-=20Restric=C8=9Bii?= =?UTF-8?q?:=20+i,=20+k,=20+l,=20+m,=20+n,=20+t,=20+s,=20+p=20=20=20=20-?= =?UTF-8?q?=20Securitate:=20+r,=20+R,=20+M,=20+z=20(SSL=20only)=20=20=20?= =?UTF-8?q?=20-=20Control:=20+c,=20+C,=20+u,=20+N,=20+Q,=20+S,=20+T=20=20?= =?UTF-8?q?=20=20-=20Liste:=20+b=20(ban),=20+e=20(exception),=20+I=20(invi?= =?UTF-8?q?te=20exception)=20=20=20=20-=20Speciale:=20+D=20(delayed=20join?= =?UTF-8?q?),=20+A=20(admin=20only),=20+O=20(opers=20only)=206.=20Comenzi?= =?UTF-8?q?=20VIITOARE=20(15+=20propuse)=20=20=20=20-=20User:=20KNOCK,=20A?= =?UTF-8?q?CCEPT,=20VHOST,=20DCCALLOW=20=20=20=20-=20Oper:=20KLINE,=20DLIN?= =?UTF-8?q?E,=20SPAMFILTER,=20SA*=20aliases=20=20=20=20-=20Moduri:=20+B,?= =?UTF-8?q?=20+f,=20+j,=20+G,=20+J,=20+K,=20+L,=20+P,=20+V=207.=20Features?= =?UTF-8?q?=20Speciale=20=20=20=20-=20=E2=9C=85=20WEBIRC=20-=20Web=20gatew?= =?UTF-8?q?ay=20auth=20=20=20=20-=20=E2=9C=85=20SASL=20-=20Pre-connection?= =?UTF-8?q?=20auth=20=20=20=20-=20=E2=9C=85=20Account=20Tracking=20-=20Ser?= =?UTF-8?q?vices=20integration=20=20=20=20-=20=E2=9C=85=20GeoIP=20-=20Loca?= =?UTF-8?q?tion=20detection=20=20=20=20-=20=E2=9C=85=20Host=20Hiding=20-?= =?UTF-8?q?=20IP=20cloaking=20=20=20=20-=20=E2=9C=85=20SSL/TLS=20-=20Secur?= =?UTF-8?q?e=20connections=20=20=20=20-=20=E2=9C=85=20Extended=20Bans=20-?= =?UTF-8?q?=20Advanced=20ban=20masks=20=20=20=20-=20=E2=9C=85=20Halfops=20?= =?UTF-8?q?-=20Half=20operators=20=20=20=20-=20=E2=9C=85=20Stealth=20Oper?= =?UTF-8?q?=20-=20v2.0.1=20feature=20=F0=9F=93=8A=20STATISTICI:=20-=20100+?= =?UTF-8?q?=20comenzi=20documentate=20-=2045+=20moduri=20explicate=20-=201?= =?UTF-8?q?0+=20features=20speciale=20-=2015+=20comenzi=20viitoare=20propu?= =?UTF-8?q?se=20=F0=9F=8E=AF=20DEZVOLTARE=20VIITOARE:=20Prioritate=20?= =?UTF-8?q?=C3=8ENALT=C4=82:=20-=20SPAMFILTER=20(anti-spam=20automat)=20-?= =?UTF-8?q?=20+f=20mode=20(flood=20protection)=20-=20Bad=20words=20filter?= =?UTF-8?q?=20-=20+j=20mode=20(join=20throttle)=20Prioritate=20MEDIE:=20-?= =?UTF-8?q?=20KNOCK=20command=20-=20SA*=20aliases=20-=20+G,=20+L=20modes?= =?UTF-8?q?=20=F0=9F=93=96=20PENTRU:=20-=20Useri:=20Toate=20comenzile=20di?= =?UTF-8?q?sponibile=20-=20Operi:=20Comenzi=20administrative=20complete=20?= =?UTF-8?q?-=20Admini:=20Features=20=C8=99i=20configurare=20-=20Developeri?= =?UTF-8?q?:=20Comenzi=20ce=20pot=20fi=20ad=C4=83ugate=20=E2=9C=85=20LINKU?= =?UTF-8?q?RI=20DOCUMENTA=C8=9AIE:=20-=20doc/modes.txt=20-=20doc/extendedb?= =?UTF-8?q?ans.txt=20-=20doc/readme.features=20-=20SECRET=5FSTEALTH=5FMODE?= =?UTF-8?q?.md=20(admins=20only!)=20Status:=20=E2=9C=85=20DOCUMENTA=C8=9AI?= =?UTF-8?q?E=20COMPLET=C4=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- COMENZI_SI_MODURI_COMPLETE.md | 1411 +++++++++++++++++++++++++++++++++ 1 file changed, 1411 insertions(+) create mode 100644 COMENZI_SI_MODURI_COMPLETE.md diff --git a/COMENZI_SI_MODURI_COMPLETE.md b/COMENZI_SI_MODURI_COMPLETE.md new file mode 100644 index 0000000..4f3cfa7 --- /dev/null +++ b/COMENZI_SI_MODURI_COMPLETE.md @@ -0,0 +1,1411 @@ +# 📋 COMENZI ȘI MODURI IRC - UnderChat IRCd v2.0.1 + +**Data**: 23 Februarie 2026 +**Base**: u2.10.12.19+UnderChat(2.0.1) +**Status**: ✅ DOCUMENTAȚIE COMPLETĂ + +--- + +## 📚 CUPRINS + +1. [Comenzi User (Disponibile tuturor)](#comenzi-user) +2. [Comenzi Oper (Doar pentru operatori)](#comenzi-oper) +3. [Comenzi Server-to-Server](#comenzi-server-to-server) +4. [Moduri User (+modes)](#moduri-user) +5. [Moduri Channel (#modes)](#moduri-channel) +6. [Comenzi VIITOARE (Pot fi adăugate)](#comenzi-viitoare) +7. [Features Speciale](#features-speciale) + +--- + +## 🔷 COMENZI USER (Disponibile tuturor) + +### Comenzi de Conectare + +#### **PASS** - Set connection password +``` +/PASS +``` +- Setează parola de conectare (înainte de USER/NICK) +- Necesară pentru servere protejate cu parolă +- **Fișier**: `m_pass.c` + +#### **NICK** - Change nickname +``` +/NICK +``` +- Schimbă nickname-ul curent +- Limită: 12 caractere (configurabil) +- **Fișier**: `m_nick.c` + +#### **USER** - Set username +``` +/USER : +``` +- Setează username și realname la conectare +- Trimis automat de client +- **Fișier**: `m_user.c` + +#### **QUIT** - Disconnect from server +``` +/QUIT : +``` +- Deconectare de la server cu motiv opțional +- **Fișier**: `m_quit.c` + +--- + +### Comenzi de Comunicare + +#### **PRIVMSG** - Send private message +``` +/MSG : +/PRIVMSG : +``` +- Trimite mesaj către user sau channel +- Target poate fi: nick, #channel, @#channel (ops only) +- **Fișier**: `m_privmsg.c` + +#### **NOTICE** - Send notice +``` +/NOTICE : +``` +- Similar cu PRIVMSG dar nu generează răspuns automat +- Folosit pentru bots și servicii +- **Fișier**: `m_notice.c` + +#### **CPRIVMSG** - Channel private message +``` +/CPRIVMSG : +``` +- Mesaj privat către user pe un channel specific +- **Fișier**: `m_cprivmsg.c` + +--- + +### Comenzi Channel + +#### **JOIN** - Join channel +``` +/JOIN <#channel>[,<#channel2>,...] [[,,...]] +/JOIN 0 (părăsește toate canalele) +``` +- Intră pe canal(e) +- Suportă chei (parole) pentru canale +k +- **Fișier**: `m_join.c` + +#### **PART** - Leave channel +``` +/PART <#channel>[,<#channel2>,...] [:] +``` +- Părăsește canal(e) cu motiv opțional +- **Fișier**: `m_part.c` + +#### **TOPIC** - Set/view channel topic +``` +/TOPIC <#channel> [:] +``` +- Fără parametru: Afișează topic-ul +- Cu parametru: Setează topic nou (dacă ai permisiuni) +- **Fișier**: `m_topic.c` + +#### **NAMES** - List users on channel +``` +/NAMES [<#channel>[,<#channel2>,...]] +``` +- Listează userii de pe canal(e) +- Fără parametru: Toate canalele vizibile +- **Fișier**: `m_names.c` + +#### **LIST** - List channels +``` +/LIST [<#channel>] [] +``` +- Listează canale disponibile cu număr de useri și topic +- Opțiuni: >50 (peste 50 useri), <10 (sub 10 useri) +- **Fișier**: `m_list.c` + +#### **INVITE** - Invite user to channel +``` +/INVITE <#channel> +``` +- Invită user pe canal +- Bypass +i (invite-only) și +l (limit) +- **Fișier**: `m_invite.c` + +#### **KICK** - Kick user from channel +``` +/KICK <#channel> [:] +``` +- Scoate user de pe canal (necesită @op sau %halfop) +- **Fișier**: `m_kick.c` + +#### **MODE** - Change channel/user modes +``` +/MODE <#channel> [+/-modes] [parameters] +/MODE [+/-modes] +``` +- Schimbă moduri canal sau user +- Vezi secțiunile [Moduri User](#moduri-user) și [Moduri Channel](#moduri-channel) +- **Fișier**: `m_mode.c` + +--- + +### Comenzi de Informații + +#### **WHOIS** - Get user information +``` +/WHOIS [,,...] +/WHOIS (remote whois) +``` +- Afișează informații despre user(i) +- Informații: realname, hostname, channels, oper status, idle time +- **Fișier**: `m_whois.c` +- **✨ Modificat în v2.0.1**: Suport stealth oper (hide_oper) + +#### **WHOWAS** - Get information about disconnected user +``` +/WHOWAS [ []] +``` +- Istoric pentru useri deconectați +- **Fișier**: `m_whowas.c` + +#### **WHO** - List users matching criteria +``` +/WHO [options] +``` +- Caută useri după criterii +- Opțiuni: o (opers only), n (match nick), h (match host) +- **Fișier**: `m_who.c` + +#### **USERHOST** - Get user@host info +``` +/USERHOST [ ...] +``` +- Returnează user@host pentru nickname(s) +- **Fișier**: `m_userhost.c` + +#### **USERIP** - Get IP addresses +``` +/USERIP [ ...] +``` +- Returnează IP-uri pentru nickname(s) +- Doar pentru operi sau self +- **Fișier**: `m_userip.c` + +#### **ISON** - Check if users are online +``` +/ISON [ ...] +``` +- Verifică dacă userii sunt online +- Folosit de clienti pentru buddy lists +- **Fișier**: `m_ison.c` + +--- + +### Comenzi Server Info + +#### **VERSION** - Get server version +``` +/VERSION [] +``` +- Afișează versiunea serverului +- **Output**: `u2.10.12.19+UnderChat(2.0.1)` +- **Fișier**: `m_version.c` + +#### **TIME** - Get server time +``` +/TIME [] +``` +- Afișează ora serverului +- **Fișier**: `m_time.c` + +#### **ADMIN** - Get server admin info +``` +/ADMIN [] +``` +- Informații despre administratorul serverului +- **Fișier**: `m_admin.c` + +#### **INFO** - Get server info +``` +/INFO [] +``` +- Informații despre server, versiune, autori +- **Fișier**: `m_info.c` + +#### **MOTD** - Get Message of the Day +``` +/MOTD [] +``` +- Afișează MOTD (mesajul zilei) +- **Fișier**: `m_motd.c` + +#### **RULES** - Get server rules +``` +/RULES [] +``` +- Afișează regulile serverului +- **Fișier**: `m_rules.c` + +#### **LUSERS** - Get network statistics +``` +/LUSERS [ []] +``` +- Statistici: useri, operi, canale, servere +- **Fișier**: `m_lusers.c` + +#### **LINKS** - List servers +``` +/LINKS [[] ] +``` +- Listează servere din network +- **Fișier**: `m_links.c` + +#### **MAP** - Network map +``` +/MAP +``` +- Hartă vizuală a network-ului +- **Fișier**: `m_map.c` + +--- + +### Comenzi Speciale + +#### **AWAY** - Set away message +``` +/AWAY [:] +``` +- Setează mesaj de absent +- Fără parametru: Elimină away +- **Fișier**: `m_away.c` + +#### **SILENCE** - Ignore users +``` +/SILENCE [+/-] +``` +- Adaugă/șterge useri în/din ignore list +- **Fișier**: `m_silence.c` + +#### **WATCH** - Notify when users connect +``` +/WATCH [+/-] +/WATCH l (list) +/WATCH s (stats) +``` +- Notificare când useri specifici se conectează/deconectează +- **Fișier**: `m_watch.c` + +#### **HELP** - Get help +``` +/HELP [] +``` +- Afișează help pentru comenzi +- **Fișier**: `m_help.c` + +#### **PING** - Test connection +``` +/PING +``` +- Test latență la server +- **Fișier**: `m_ping.c` + +#### **CAP** - Client capabilities +``` +/CAP LS +/CAP REQ : +/CAP END +``` +- Negociază capabilități client-server +- **Fișier**: `m_cap.c` + +#### **AUTHENTICATE** - SASL authentication +``` +/AUTHENTICATE +``` +- Autentificare SASL +- **Fișier**: `m_authenticate.c` + +#### **STARTTLS** - Start TLS encryption +``` +/STARTTLS +``` +- Inițiază conexiune TLS +- **Fișier**: `m_starttls.c` + +--- + +## 🔶 COMENZI OPER (Doar pentru operatori) + +### Comenzi de Administrare User + +#### **KILL** - Disconnect user +``` +/KILL : +``` +- Deconectează forțat un user +- **✨ Modificat în v2.0.1**: Stealth mode - arată `*.UnderChat.org` pentru operi cu `hide_oper = yes` +- **Fișier**: `m_kill.c` +- **Privilegiu**: PRIV_LOCAL_KILL sau PRIV_KILL + +#### **GLINE** - Global ban +``` +/GLINE [+/-] [ [:]] +/GLINE * + : (propagate) +``` +- Ban global pe toate serverele +- Durată: secondele sau 0 pentru permanent +- **Fișier**: `m_gline.c` +- **Privilegiu**: PRIV_LOCAL_GLINE sau PRIV_GLINE + +#### **SHUN** - Silent ignore +``` +/SHUN [+/-] [ [:]] +``` +- User poate conecta dar toate comenzile sunt ignorate (silent) +- **Fișier**: `m_shun.c` +- **Privilegiu**: PRIV_LOCAL_SHUN sau PRIV_SHUN + +#### **ZLINE** - IP ban +``` +/ZLINE [+/-] [ [:]] +``` +- Ban pe adresă IP +- **Fișier**: `m_zline.c` +- **Privilegiu**: PRIV_LOCAL_ZLINE sau PRIV_ZLINE + +#### **TEMPSHUN** - Temporary shun +``` +/TEMPSHUN [] +``` +- Shun temporar pentru user specific +- **Fișier**: `m_tempshun.c` +- **Privilegiu**: PRIV_LOCAL_SHUN + +--- + +### Comenzi Channel Management + +#### **OPMODE** - Override channel modes +``` +/OPMODE <#channel> [+/-modes] [parameters] +``` +- Schimbă moduri canal fără să fii op +- Bypass toate restricțiile +- **Fișier**: `m_opmode.c` +- **Privilegiu**: PRIV_LOCAL_OPMODE sau PRIV_OPMODE + +#### **CLEARMODE** - Clear channel modes +``` +/CLEARMODE <#channel> [] +``` +- Șterge moduri de pe canal +- Flags: o (ops), v (voices), b (bans), k (key), l (limit) +- **Fișier**: `m_clearmode.c` +- **Privilegiu**: PRIV_LOCAL_OPMODE + +--- + +### Comenzi Server Management + +#### **REHASH** - Reload configuration +``` +/REHASH +``` +- Reîncarcă fișierul de configurare +- **Fișier**: `m_rehash.c` +- **Privilegiu**: PRIV_REHASH + +#### **RESTART** - Restart server +``` +/RESTART +``` +- Restart complet al serverului +- **Fișier**: `m_restart.c` +- **Privilegiu**: PRIV_RESTART + +#### **DIE** - Shutdown server +``` +/DIE [] +``` +- Oprește serverul complet +- **Fișier**: `m_die.c` +- **Privilegiu**: PRIV_DIE + +#### **CONNECT** - Connect to another server +``` +/CONNECT [ []] +``` +- Conectează server la alt server +- **Fișier**: `m_connect.c` +- **Privilegiu**: PRIV_LOCAL_OPMODE + +#### **SQUIT** - Disconnect server +``` +/SQUIT : +``` +- Deconectează un server din network +- **Fișier**: `m_squit.c` +- **Privilegiu**: PRIV_LOCAL_OPMODE + +#### **JUPE** - Fake server (prevent connections) +``` +/JUPE [+/-] [:] +``` +- Creează server "fake" pentru a preveni conectări +- **Fișier**: `m_jupe.c` +- **Privilegiu**: PRIV_LOCAL_JUPE sau PRIV_JUPE + +--- + +### Comenzi de Monitorizare + +#### **STATS** - Server statistics +``` +/STATS [] +``` +Tipuri disponibile: +- **c**: Connect blocks (server links) +- **g**: G-lines (global bans) +- **h**: Hub/Leaf configuration +- **i**: I-lines (client auth) +- **k**: K-lines (local bans) +- **l**: Connection info și stats +- **m**: Command usage statistics +- **o**: Operator blocks +- **p**: Port listeners +- **r**: Resource usage +- **s**: Service bans (shuns) +- **u**: Server uptime +- **v**: Version info detaliată +- **w**: Who was statistics +- **z**: Z-lines (IP bans) +- **f**: Features (F-lines) +- **t**: Timing statistics +- **T**: MOTD/RULES files +- **U**: Uptime și stats +- **?**: Help pentru stats + +**Fișier**: `m_stats.c` +**Privilegiu**: Varies by type + +#### **TRACE** - Trace connections +``` +/TRACE [] +``` +- Afișează traceroute la server/user +- **Fișier**: `m_trace.c` +- **Privilegiu**: PRIV_SEE_OPERS (pentru info completă) + +#### **CHECK** - Check user/channel/server +``` +/CHECK +``` +- Informații detaliate despre target +- **Fișier**: `m_check.c` +- **Privilegiu**: PRIV_SEE_CHAN + +#### **IRCOPS** - List IRC operators +``` +/IRCOPS [] +``` +- Listează toți operatorii online +- **Fișier**: `m_ircops.c` + +--- + +### Comenzi de Configurare + +#### **SET** - Change runtime settings +``` +/SET