Posts tagged netstat

Perintah-perintah penting di FreeBSD

507

Monitoring port 2222 :

netstat -an | grep 2222
or sockstat -L4p 2222

Restart rc.conf tanpa reboot server

/etc/netstart

Portsnap

Download a compressed snapshot of the Ports Collection into /var/db/portsnap. You can disconnect from the Internet after this step, if you wish.
# portsnap fetch

If you are running Portsnap for the first time, extract the snapshot into /usr/ports:
# portsnap extract

If you already have a populated /usr/ports and you are just updating, run the following command instead:
# portsnap update

 

Restart ssh Service

# ./etc/rc.d/sshd restart

Cek list out date pkg

 # pkg_version -v

You can disable sendmail by adding a line to /etc/rc.conf (FreeBSD 10)

sendmail_enable=”NONE”

Upgrade port menggunakan Portmaster

Cek installed port dan search update

# portmaster -L

Upgrade installed port

# portmaster -a

Ketika upgrade menemukan error gunkakan -f

# portmaster -af

Semoga membantu 😀

Cara untuk mengetahui Windows Server kena DDOS attack

158

Kemarin server dikantor kena DDos attack (distributed denial-of-service attack), untuk lebih jelasnya silakan baca2x disini. Pada kasus saya port 80 atau website yang diserang.
Sehingga website dikantor susah diakses. Tapi ada hikmahnya dari serangan ini karena saya mendapat pengalaman baru di windows server.

DDoS Attack

(more…)

Go to Top