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

    [SHARE] PFSENSE PROXY CACHE HIGH PERFORMANCE !!!

    Scheduled Pinned Locked Moved Indonesian
    42 Posts 15 Posters 45.1k 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 Offline
      grage95
      last edited by

      ^^^^
      terserah  mau pake port berapa,
      sila hkan, jangan bentrok dengan services port yang lainnya, gunakan dari port 1-65355,
      kalau masih gak ngerti juga services port itu apa,
      silahkan hapalkan ini
      http://www.iana.org/assignments/port-numbers

      :D  :D  :D

      1 Reply Last reply Reply Quote 0
      • K Offline
        kavari
        last edited by

        semua langkah diatas dicoba om tapi belum bisa browsing

        klo squidx di start muncul ini :
        FATAL: ERROR: Unknown policy lru

        Squid Cache (Version CACHEBOY_1.6): Terminated abnormally.
        CPU Usage: 0.008 seconds = 0.000 user + 0.008 sys
        Maximum Resident Size: 1976 KB
        Page faults with physical i/o: 0
        Abort trap

        saya menggunakan pfsense 2.2.2
        squid 2.6.21

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

          itu memang ciri khas bug jika anda menggunakan squid.inc original pfsense,
          dan memang defaultnya hanya menggunakan policy heap lru bukan heap LFUDA, walaupun di config sudah anda setting option policy heap LFUDA, kenyatannya di squid dibacanya policy heap lru,

          ternyata, urutan cache_mem dan cache_dir di squid.inc default pfsense itu salah !!!, defaultnya hanya plociy heap lru
          sedangkan di lusca/cacheboy yang saya buat, policy lru saya hilangkan (lru kurang efektif utk meremove cache yg sudah basi)
          solusinya: perhatikan urutan config yang saya buat

          
          #default config bug  with policy heap lru, fixed policy heap LFUDA by www.fahmis.co.cc
          cache_mem $memory_cache_size MB
          maximum_object_size_in_memory 32 KB
          memory_replacement_policy $memory_policy
          cache_replacement_policy $cache_policy
          cache_dir $disk_cache_system $cachedir $disk_cache_size $level1 256
          minimum_object_size $min_objsize KB
          maximum_object_size $max_objsize KB
          offline_mode $offline_mode
          
          

          http://forum.pfsense.org/index.php/topic,19116.msg98741.html#msg98741

          1 Reply Last reply Reply Quote 0
          • V Offline
            victor_manado
            last edited by

            Om kalo buat videocache apaan yach?

            1 Reply Last reply Reply Quote 0
            • I Offline
              imrans
              last edited by

              om @grage95 minta tolong dong setelah aku ikutin step-step smua, aku gak bisa masuk ke webconfigurator, alamat ip ku 192.168.1.1.. gemana ya om..
              gini lho errornya om..
              ERROR
              The requested URL could not be retrieved

              While trying to retrieve the URL: http://192.168.1.1/

              The following error was encountered:

              Unable to forward this request at this time.

              This request could not be forwarded to the origin server or to any parent caches. The most likely cause for this error is that:

              * The cache administrator does not allow this cache to make direct connections to origin servers, and
                  * All configured parent caches are currently unreachable.

              Your cache administrator is admin@localhost.
              Generated Fri, 14 May 2010 10:17:44 GMT by proxy-squid (Lusca/LUSCA_HEAD r14635 patched by chudy r11).

              1 Reply Last reply Reply Quote 0
              • I Offline
                imrans
                last edited by

                om.. salam kenal n minta tolong newbie nich..

                aku dah ikuti semua intruksi n Ip local ku 192.168.0.1 dalam squid.conf nya dah ku ganti.. tpi aku gak bisa masuk ke webconfigur nya pfsense.. tolong ya om.. thank's

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fauzi
                  last edited by

                  om grage
                  nanya ya?

                  saya mo install ulang pfsense saya…
                  tapi gini sekarang ada patc yang baru tuc untuk luscannya
                  bagusnya saya pake yang mana

                  saya pake pentium D 2,6
                  apa seperti biasa pake yang ini
                  pentium D,Dual Core, Core2Duo, Nocona, Presscot
                  pkg_add -rv http://shakau.googlepages.com/lusca-1.4_1-presccot.tbz
                  rehash

                  atau bisa langsung pake yang ini
                  [SHARE} LUSCA_HEAD-r14478 (Release 24 Maret 2010) atau  update LUSCA_HEAD-r14535

                  atau bagai mana carannya saya belum begitu paham "newbi soalnya"

                  maksudnnya instalnya biar langsung ke update pacth yg baru gitu maksud saya om..

                  thk atas infonya semoga semaki maju... ;d

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    anto_DIGIT
                    last edited by

                    @fauzi:

                    om grage
                    nanya ya?

                    saya mo install ulang pfsense saya…
                    tapi gini sekarang ada patc yang baru tuc untuk luscannya
                    bagusnya saya pake yang mana

                    saya pake pentium D 2,6
                    apa seperti biasa pake yang ini
                    pentium D,Dual Core, Core2Duo, Nocona, Presscot
                    pkg_add -rv http://shakau.googlepages.com/lusca-1.4_1-presccot.tbz
                    rehash

                    atau bisa langsung pake yang ini
                    [SHARE} LUSCA_HEAD-r14478 (Release 24 Maret 2010) atau  update LUSCA_HEAD-r14535

                    atau bagai mana carannya saya belum begitu paham "newbi soalnya"

                    maksudnnya instalnya biar langsung ke update pacth yg baru gitu maksud saya om..

                    thk atas infonya semoga semaki maju… ;d

                    [/quote]

                    cara yg lebih gampang : ikuti
                    http://code.google.com/p/pfsense-cacheboy/wiki/Pfsense_Lusca
                    versi terbaru ..

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      afry
                      last edited by

                      @anto_DIGIT:

                      @fauzi:

                      om grage
                      nanya ya?

                      saya mo install ulang pfsense saya…
                      tapi gini sekarang ada patc yang baru tuc untuk luscannya
                      bagusnya saya pake yang mana

                      saya pake pentium D 2,6
                      apa seperti biasa pake yang ini
                      pentium D,Dual Core, Core2Duo, Nocona, Presscot
                      pkg_add -rv http://shakau.googlepages.com/lusca-1.4_1-presccot.tbz
                      rehash

                      atau bisa langsung pake yang ini
                      [SHARE} LUSCA_HEAD-r14478 (Release 24 Maret 2010) atau  update LUSCA_HEAD-r14535

                      atau bagai mana carannya saya belum begitu paham "newbi soalnya"

                      maksudnnya instalnya biar langsung ke update pacth yg baru gitu maksud saya om..

                      thk atas infonya semoga semaki maju… ;d

                      [/quote]

                      cara yg lebih gampang : ikuti
                      http://code.google.com/p/pfsense-cacheboy/wiki/Pfsense_Lusca
                      versi terbaru ..

                      ini bisa langsung seting via webgui ya bro? maksudnya ngak perlu edit2 file inc atau conf nya ?

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        anto_DIGIT
                        last edited by

                        betul, tanpa setting lagi sudah langsung jalan, tetapi akan lebih baik jika ditunning lagi ..

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          fauzi
                          last edited by

                          om saya sudah istal sesuai petunjuk..

                          yang saya mau tanyakan
                          kenapa ketika saya  tail -f /var/squid/log/cache.log nya kok gak ada pergerakan / gak jalan padahal biasannya saya putar video yutub itu jalan.. thk

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            anto_DIGIT
                            last edited by

                            @fauzi:

                            om saya sudah istal sesuai petunjuk..

                            yang saya mau tanyakan
                            kenapa ketika saya  tail -f /var/squid/log/cache.log nya kok gak ada pergerakan / gak jalan padahal biasannya saya putar video yutub itu jalan.. thk

                            coba
                            tail -f /var/squid/log/access.log

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              afry
                              last edited by

                              @anto_DIGIT:

                              betul, tanpa setting lagi sudah langsung jalan, tetapi akan lebih baik jika ditunning lagi ..

                              seep bro dah berhasil… tapi saya penasaran kata bro anto ditunning lagii... mohon bimbingannya... dari hasil lihat proxy report (light squid) rata2 persentase hi proxy saya 21%... apakah masih memungkinkan ditunning?, bagian mana yang harus saya tunning ? caranya ? hehehe kalau berkenan... karena kalau lihat report teman2 pengguna lusca ini hit rate nya ada yang sampe 40 % an .... wah2 salut abis

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                poscom
                                last edited by

                                lets go tunning ..
                                stop dulu servise squid anda
                                /usr/local/etc/rc.d/squid.sh stop
                                pastikan di pfsense anda sudah terinstall squid-2.6.21/ squid-2.6.18, JANGAN squid3 !!!
                                login dengan putty/console
                                cek dengan perintah pkg_info |grep squid
                                delete squid lama dgn perintah  pkg_delete, contoh
                                pkg_delete squid-2.6.21

                                klo sudah pake squid 2.7.9_1 bagaimana? bisa nyoba pak? trims
                                maaf emang berbeda / lebih cepat yah.. dibanding bawaannya?

                                1 Reply Last reply Reply Quote 0
                                • Z Offline
                                  zchellpy
                                  last edited by

                                  @afry:

                                  @anto_DIGIT:

                                  @fauzi:

                                  om grage
                                  nanya ya?

                                  saya mo install ulang pfsense saya…
                                  tapi gini sekarang ada patc yang baru tuc untuk luscannya
                                  bagusnya saya pake yang mana

                                  saya pake pentium D 2,6
                                  apa seperti biasa pake yang ini
                                  pentium D,Dual Core, Core2Duo, Nocona, Presscot
                                  pkg_add -rv http://shakau.googlepages.com/lusca-1.4_1-presccot.tbz
                                  rehash

                                  atau bisa langsung pake yang ini
                                  [SHARE} LUSCA_HEAD-r14478 (Release 24 Maret 2010) atau  update LUSCA_HEAD-r14535

                                  atau bagai mana carannya saya belum begitu paham "newbi soalnya"

                                  maksudnnya instalnya biar langsung ke update pacth yg baru gitu maksud saya om..

                                  thk atas infonya semoga semaki maju… ;d

                                  [/quote]

                                  cara yg lebih gampang : ikuti
                                  http://code.google.com/p/pfsense-cacheboy/wiki/Pfsense_Lusca
                                  versi terbaru ..

                                  ini bisa langsung seting via webgui ya bro? maksudnya ngak perlu edit2 file inc atau conf nya ?

                                  saran aja bro klo mau main opensource apalagi proxy ngapain andalkan gui, main ke source nya langsung, sekalian belajar  ;D

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    poscom
                                    last edited by

                                    @anto_DIGIT:

                                    betul, tanpa setting lagi sudah langsung jalan, tetapi akan lebih baik jika ditunning lagi ..

                                    pak mau nanya sebelumnya sy instal dengan banyak kekurangan pengetahuan sy, dari yg punya suhu grage pkg_add -rv http://shakau.googlepages.com/lusca-1.4_1-presccot.tbz dan tidak saya setting tunning dll karena ko di pkg itu beberapa kali instal  ga ketemu yg namanya " silahkan edit di bagian /usr/local/etc/squid/squid.conf & /usr/local/etc/squid/tunning.conf, " di gui packages muncul update lusca r14756, sy instal langsung.
                                    cek http://www.whatismyip.com/  "lusca-cache Network r14756, Your IP Address Is: 110.137.xxx.xx Possible Proxy Detected: 1.1 localhost:80 (Lusca/LUSCA r14756 patched: chudy r12)"

                                    pertanyaan saya bagaimana dgn kata om@antodigit blg cara yg lebih gampang : ikuti
                                    http://code.google.com/p/pfsense-cacheboy/wiki/Pfsense_Lusca
                                    versi terbaru ..

                                    1. sedangkan sy tidak mengikuti update2 sebelumnya, apkah bisa langsung oprek?.
                                    2. dimanakah file tunning.conf di dapat dan memasukannya ? apakah yg seperti ini " folder squid config isinya: loader.conf, rewrite.pl, squid.conf, storeurl, sysctl.conf, tunning.conf –-> file
                                      terimakasih banyak om@antodigit atas bimbingannya

                                    (maaf format txt)

                                    ---> file

                                    loader.conf.txt
                                    rewrite.pl.txt
                                    squid.config.txt
                                    storeurl.txt
                                    sysacl.conf.txt
                                    tunning.conf.txt

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      poscom
                                      last edited by

                                      info sy pake

                                      1.2.3-RELEASE
                                      built on Sun Dec 6 23:21:36 EST 2009
                                      FreeBSD 7.2-RELEASE-p5 i386

                                      sebelumnya sy instal squid 2.7.9

                                      squid Proxy server Service
                                      Running

                                      squidGuard Proxy server filter
                                      Running

                                      lusca-cache Proxy server Service
                                      Running

                                      ko.. yg running squidnya ada 2, yg bawaan 2.7.9x sama yg lusca r14756 …....?

                                      --->

                                      pkg.JPG
                                      pkg.JPG_thumb

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        poscom
                                        last edited by

                                        @poscom:

                                        info sy pake

                                        1.2.3-RELEASE
                                        built on Sun Dec 6 23:21:36 EST 2009
                                        FreeBSD 7.2-RELEASE-p5 i386

                                        sebelumnya sy instal squid 2.7.9

                                        squid Proxy server Service
                                        Running

                                        squidGuard Proxy server filter
                                        Running

                                        lusca-cache Proxy server Service
                                        Running

                                        ko.. yg running squidnya ada 2, yg bawaan 2.7.9x sama yg lusca r14756 …....?

                                        --->

                                        sudah ok sy install ulang pake lusca baru top banget digabungkan (edit dikit) pake yg dr bpk grage config/ tuning dll, instal langsung dr webgui. baru tahu kehebatan squid itu TERNYATA…. 8) 8) 8)

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