In primul rand trebuie sa intelegem ce inseamna DDOS, cuvantul "DDoS" sunt defapt initialele de la (A Distributed Denial of Service) mai exact trimiterea unor pachete catre server pana serverul nu mai poate procesa informatiile primite si pica!
Pentru cine nu are perl instalat, este foarte simplu de instalat
si folositi comanda:
Primul pas ca sa evitam aceasta situatie este sa activam firewalul din freebsd pentru asta trebuie sa intrati in /etc/rc.conf
si sa adaugati urmatoarele linii
Pasul urmator este sa intram in /etc/pf.conf si sa adaugam urmatoarea linie
Numele fisierului se poate schimba dupa preferinta voastra, eu am ales sa pun numele "Security".
Acum trebuie sa creem fisierul "security" si sa setam permisiunile 644, asa ca ne ajutam de urmatoarele comenzi.
Mai apoi creem un fisier numit 'security.-cenzurat-' in '/var/db' in care adaugam urmatoarea linie de cod si il salvam cu permisiunea 751
pentru setarea permisiunii folositi comanda
Mai apoi intrati in /etc/syslog.conf si inserati urmatoarea linie
Dupa toate astea trebuie sa restartati serverul, si totul va fi configurat si gata de utilizare. Protectia aceasta asigura o rezistenta de pana la 50.000 pachete trimise de la 500mb /s in jos ! Success !