[linux-network] squid'de yavaslama

---------

From: nurullah sarkbulbulu (nurullah_sarkbulbulu@yahoo.com)
Date: Thu 04 Dec 2003 - 06:30:23 EST

  • Next message: Yunus ÇİÇEK: "[linux-network] Re: Alternatif Qr=FCn?= Hk. bilgi ihtiyacı"

    Arkadaslar, iptables ile
    iptables -t nat -A PREROUTING -d !
    hod.gunessigorta.com.tr -p tcp --dport 80 -j DNAT --to
    127.0.0.1:3128
    iptables -t nat -A PREROUTING -d ! 193.192.125.155 -p
    tcp --dport 80 -j DNAT --to 127.0.0.1:3128
    iptables -t nat -A PREROUTING -d ! 193.192.125.155 -p
    tcp --dport 80 -j DNAT --to 127.0.0.1:3128

    bazi siteler haric butun sitelere girisleri
    filtrelemek icin squid'e yonlendiriyorum. Fakat .conf
    dosyasi genel olarak asagidaki gibi olan squid'i
    calistirdigim zaman internetim son derece yavas
    calisiyor.
    Ama iptables -t nat -A POSTROUTING -s 192.168.0.1/16
    -j MASQUERADE
    kullanip local ag'a direk paylastirinca gayet hizli
    calisiyor.

    http_port 3128
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY
    cache_mem 16 MB

    maximum_object_size 32 MB
    maximum_object_size_in_memory 8 MB

    cache_dir ufs /var/spool/squid 100 16 256
    cache_access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log

    acl all src 0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl kelimeler url_regex "/home/ilkay/yasakkelimeler"

    http_access allow manager
    http_access deny kelimeler
    http_access allow all

    visible_hostname workstation

    __________________________________
    Do you Yahoo!?
    Free Pop-Up Blocker - Get it now
    http://companion.yahoo.com/


  • Next message: Yunus ÇİÇEK: "[linux-network] Re: Alternatif Qr=FCn?= Hk. bilgi ihtiyacı"

    ---------

    Bu arsiv hypermail 2.1.6 tarafindan uretilmistir.