Tekil Mesaj gösterimi
  #6 (permalink)  
Alt 18.07.07, 06:53 PM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
Fesih BICER Fesih BICER isimli Üye şimdilik offline konumundadır
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 610
Tecrübe Puanı: 1092
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - MSN üzeri Mesaj gönder
Şimdi aynı işlemi :80 portu üzerinde kim var kim yok görmek için yapalım.

Kod:
pico /usr/bin/netlojik
Kod:
 netstat -tn --inet 2> /dev/null| grep ":80" | awk '/tcp[\ ]*[0-9]+[\ ]*[0-9]+[\ ]+[^\ ]+[\ ]*[^\ ]*/ { print $5; }' | cut -d":" -f1 | sort | uniq -c | sort
ekleyip kayıt ediyoruz ctrl x y

chmod 777 yapıyoruz yaptığımız dosyayı, yoksa çalışmaz.
Kod:
 chmod 777 /usr/bin/netlojik
şimdi istediğiniz yerden netlojik yazınca 80 portu üzerinde kim kaç bağlantı yapıyor görüyoruz. Yüksek bağlantı yapan varsa aşağıdaki komut ile banyabilirsiniz.
öyle 50 -100 bağlantı yapanları banlamayın sakın. bazı ziyaretçiler ve o anda fckeditör kullanan site adminleri bu değere ulaşabilir normaldir.

Kod:
iptables -I INPUT -j DROP -s enayinin-IP-adresi
Aşağıdaki komutu vererekte banlı ipadreslerini boşaltıyoruz
Kod:
iptables -F
__________________
domain bayiliği
Alıntı ile Cevapla