Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid throttle MP3-Solved

    Scheduled Pinned Locked Moved Indonesian
    19 Posts 6 Posters 10.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      grage95
      last edited by

      its ok,
      tapi apakah  ekstension mp3 masih tidak bisa di current catch oleh squid?

      config squid mu =
      $ grep -i mp3 /var/squid/acl/throttle_exts.acl
      .mp3$
      .mp3$
      .MP3$

      cukup satu sahaja .mp3$, sebab di squid sudah ada option -i (not case sensitive )
      jadi tidak perlu lagi menambah MP3, cukup tick saja Throttle multimedia files

      TIPS untuk update ke quid-2.7STABEL7 / LUSCA_HEAD

      download new squid.inc http://www.pfsense.org/packages/config/squid/squid.inc and place to /usr/local/pkg/

      delete squid-2.6.21
      pkg_delete squid-2.6.21

      install new squid dan save config

      jika ingin update to squid-2.7.7

      pkg_add -rv http://shakau.googlepages.com/full-squid-2.7.7.tbz
      rehash

      jika ingin update to lusca

      pkg_add -rv http://shakau.googlepages.com/full-lusca-1.4.tbz
      rehash

      jika sudah ok baru di squid.inc  ubah 127.0.0.1 kepada ip LAN kamu
      dan restart squid

      senang bisa membantu

      1 Reply Last reply Reply Quote 0
      • Z
        zass
        last edited by

        Sudah try sekali lagi menggunakan tips yang diberi:

        php: : SQUID is installed but not started. Not installing redirect rules.
        Oct 24 17:19:35 php: : SQUID is installed but not started. Not installing redirect rules.
        Oct 24 17:19:30 check_reload_status: reloading filter
        Oct 24 17:19:29 squid[6646]: Bungled squid.conf line 27: cache_dir diskd /var/squid/cache 3000 16 256
        Oct 24 17:19:29 php: /pkg_edit.php: Starting Squid
        Oct 24 17:19:27 squid[6628]: Bungled squid.conf line 27: cache_dir diskd /var/squid/cache 3000 16 256

        inilah yang keluar , revert balik

        maaf saya lupa , saya cuba install cacheboy sebab pf pakai PIII

        1 Reply Last reply Reply Quote 0
        • G
          grage95
          last edited by

          INFO :

          lusca/cacheboy  NOT SUPPORT UFS/DISKD ONLY SUPPORT AUFS / COSS /NULL
          squid-2.7.7 SUPPORT UFS/DISKD/AUFS/COSS/NULL

          for optimal performance tunning cache :
          jika menggunakan squid-2.6.xx, gunakan DISKD
          jika menggunakan squid-7.7/lusca head gunakan AUFS

          edit dan save dengan webgui Proxy server: Cache management >> Hard disk cache system >> aufs

          taken from http://code.google.com/p/lusca-cache/wiki/LuscaChangeLog
          The diskd and ufs storage types have been removed, leaving only aufs, coss and null. These types will return later on when the disk io layers have been tidied up and re-unified.

          1 Reply Last reply Reply Quote 0
          • Z
            zass
            last edited by

            Berhasil :

            $ pkg_info |grep squid
            lightsquid-1.7.1_1  A light and fast web based squid proxy traffic analyser
            squid-2.7.7        HTTP Caching Proxy
            squid_radius_auth-1.10 RADIUS authenticator for squid proxy 2.5 and later

            terima kasih , akhir nya menggunakan Squid 2.7.7 nanti cuba pula lusca !

            1 Reply Last reply Reply Quote 0
            • Y
              yellowhat89
              last edited by

              NOTE:
              1. delay_pool tidak efektif untuk melimit DAP/IDM (DOWNLOAD ACCELARTOR)/INTERNET DOWNLOAD MANAGER
              2. delay_pool bisa di tipu dengan menambahkan karakter ? pada akhir url file yang kita download, ex: http://download.com/mp3?

              1. tidak efektif bagaimana om? di tempatku terlimit walau bisa bocor sekitar 2-5 KBps.
              2. not work, have tried..

              Stay hungry, Stay Foolish

              1 Reply Last reply Reply Quote 0
              • G
                grage95
                last edited by

                http://forum.linux.or.id/viewtopic.php?f=16&t=271&start=720#p114290

                1 Reply Last reply Reply Quote 0
                • Y
                  yellowhat89
                  last edited by

                  aneh juga ya,,,, aku menggunakan settingan default pf, dan walau pakai trik satu tanda tanya, ataupun ada yang bilang tiga tanda tanya tetap ndak bisa tembus… kira2 apa ya yg membuat berbeda.

                  Stay hungry, Stay Foolish

                  1 Reply Last reply Reply Quote 0
                  • T
                    tomplee
                    last edited by

                    @yellowhat89:

                    NOTE:
                    1. delay_pool tidak efektif untuk melimit DAP/IDM (DOWNLOAD ACCELARTOR)/INTERNET DOWNLOAD MANAGER
                    2. delay_pool bisa di tipu dengan menambahkan karakter ? pada akhir url file yang kita download, ex: http://download.com/mp3?

                    1. tidak efektif bagaimana om? di tempatku terlimit walau bisa bocor sekitar 2-5 KBps.
                    2. not work, have tried..

                    iya-e tempatku bobol juga.. apa lagi kalau downloadnya video dari youtube dsb; pasti lewat semua; terus kalau mau mengatasi pake traffic shapper bawaann pfsensnya bisa ngatasi IDM gak bro … tak coba pake penalty box masih lolos juga-e..

                    MB : ASUS
                    PROC : Intel(R) Pentium(R) 4 CPU 2.40GHz
                    RAM : 1GB
                    HD : 20 GB
                    NETWORK : REALTEK 10/100
                    NETWORK : TP-LINK 10/100
                    PFESENSE :  1.2.2   
                    DIGUNAKAN UNTUK : RTRWNET

                    1 Reply Last reply Reply Quote 0
                    • G
                      grage95
                      last edited by

                      tambahkan utk list filenya

                      urlpath_regex -i  get_video?video_id,  videodownload? dan flv di squid.inc

                      $multimedia = 'get_video?video_id, videodownload?, aiff?, flv asf,avi,divx,mov,mp3,mp4, dst …

                      1 Reply Last reply Reply Quote 0
                      • B
                        bfsense
                        last edited by

                        squidclient -p 80 cache_object://192.168.2.1:80/config | grep -i delay

                        client: ERROR: Cannot connect to localhost:80: Connection refused

                        kok errornya seprti itu yak…
                        setelah cek cek ... cari cari ...
                        tapi ga bisa juga saya menyelesaikan permasalahannya...
                        selain minim pengetahuan di CLI bsd ....
                        :d
                        mohon pencerahan buat rekan semua....
                        tq sebelumnya telah merepotkan brader semua :D

                        Masih belajar dan terus belajar | live on Bandar Lampung

                        1 Reply Last reply Reply Quote 0
                        • I
                          ipoelnet
                          last edited by

                          squidclient -p 80 mgr:menu

                          
                          $ squidclient -p 80 mgr:menu
                          HTTP/1.0 200 OK
                          Server: Lusca/LUSCA_HEAD
                          Date: Thu, 25 Mar 2010 05:27:08 GMT
                          Content-Type: text/plain
                          Expires: Thu, 25 Mar 2010 05:27:08 GMT
                          X-Cache: MISS from ServerDarutTaqwa
                          Via: 1.0 ServerDarutTaqwa:80 (Lusca/LUSCA_HEAD)
                          Connection: close
                          
                           mem                   	Memory Utilization	public
                           cbdata                	Callback Data Registry Contents	public
                           events                	Event Queue	public
                           coss                  	COSS Stats	public
                           config                	Current Squid Configuration	hidden
                           ipcache               	IP Cache Stats and Contents	public
                           fqdncache             	FQDN Cache Stats and Contents	public
                           idns                  	Internal DNS Statistics	public
                           external_acl          	External ACL stats	public
                           http_headers          	HTTP Header Statistics	public
                           menu                  	This Cachemanager Menu	public
                           shutdown              	Shut Down the Squid Process	hidden
                           reconfigure           	Reconfigure the Squid Process	hidden
                           offline_toggle        	Toggle offline_mode setting	hidden
                           info                  	General Runtime Information	public
                           filedescriptors       	Process Filedescriptor Allocation	public
                           objects               	All Cache Objects	public
                           vm_objects            	In-Memory and In-Transit Objects	public
                           openfd_objects        	Objects with Swapout files open	public
                           pending_objects       	Objects being retreived from the network	public
                           client_objects        	Objects being sent to clients	public
                           io                    	Server-side network read() size histograms	public
                           counters              	Traffic and Resource Counters	public
                           peer_select           	Peer Selection Algorithms	public
                           digest_stats          	Cache Digest and ICP blob	public
                           5min                  	5 Minute Average of Counters	public
                           60min                 	60 Minute Average of Counters	public
                           utilization           	Cache Utilization	public
                           histograms            	Full Histogram Counts	public
                           active_requests       	Client-side Active Requests	public
                           iapp_stats            	libiapp statistics	public
                           curcounters           	current high level counters	public
                           squidaio_counts       	Async IO Function Counters	public
                           storedir              	Store Directory Stats	public
                           store_check_cachable_stats	storeCheckCachable() Stats	public
                           store_io              	Store IO Interface Stats	public
                           pconn                 	Persistent Connection Utilization Histograms	public
                           refresh               	Refresh Algorithm Statistics	public
                           delay                 	Delay Pool Levels	public
                           delay2                	Delay Pool Statistics	public
                           forward               	Request Forwarding Statistics	public
                           client_list           	Cache Client List	public
                           asndb                 	AS Number Database	public
                           server_list           	Peer Cache Statistics	public
                           non_peers             	List of Unknown sites sending ICP messages	public
                          
                          

                          tinggal pilih :

                          **squidclient -p 80 mgr:**tinggalpilih

                          Iso cak, Asal sesuai aturan | Belajarlah seperti orang bodoh

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.