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

    Squid

    Scheduled Pinned Locked Moved Indonesian
    85 Posts 10 Posters 60.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.
    • Y
      yellowhat89
      last edited by

      waduh kayake om kambeeng pernah janji mau bikin how to nya inject squid 2.7 di pfSense nech… kapan ya... hehehe  ;D

      Stay hungry, Stay Foolish

      1 Reply Last reply Reply Quote 0
      • S
        serangku
        last edited by

        sekalian request yang 2 Head nya juga yah om … :D

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

          salam, saya ada masalah dgn squid, klo diaktifkan u/ interfaces lan, maka semua client gak bisa konek, awal instalasi masih ok, sekitar dua bulan kemudian baru muncul masalahx, oh iya saya masih menggunakan 1.2 release
          ini lognya :
          Sep 13 09:32:12 squid[1694]: Squid Parent: child process 1937 exited due to signal 6
          Sep 13 09:32:14 check_reload_status: reloading filter
          Sep 13 09:32:15 squid[1694]: Squid Parent: child process 2044 started
          Sep 13 09:32:15 squid[2044]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
          Sep 13 09:32:16 kernel: pid 2044 (squid), uid 62: exited on signal 6
          Sep 13 09:32:16 squid[1694]: Squid Parent: child process 2044 exited due to signal 6
          Sep 13 09:32:19 squid[1694]: Squid Parent: child process 2094 started
          Sep 13 09:32:19 squid[2094]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
          Sep 13 09:32:19 kernel: pid 2094 (squid), uid 62: exited on signal 6
          Sep 13 09:32:19 squid[1694]: Squid Parent: child process 2094 exited due to signal 6
          Sep 13 09:32:19 squid[1694]: Exiting due to repeated, frequent failures
          Sep 13 09:32:25 Squid_Alarm[2137]: Squid has exited. Reconfiguring filter.
          Sep 13 09:32:25 Squid_Alarm[2139]: Attempting restart…
          Sep 13 09:32:25 squid[2146]: Squid Parent: child process 2149 started
          Sep 13 09:32:26 squid[2149]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
          Sep 13 09:32:26 kernel: pid 2149 (squid), uid 62: exited on signal 6
          Sep 13 09:32:26 squid[2146]: Squid Parent: child process 2149 exited due to signal 6
          Sep 13 09:32:28 Squid_Alarm[2184]: Reconfiguring filter…
          Sep 13 09:32:29 squid[2146]: Squid Parent: child process 2187 started
          Sep 13 09:32:29 squid[2187]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
          Sep 13 09:32:29 kernel: pid 2187 (squid), uid 62: exited on signal 6
          Sep 13 09:32:29 squid[2146]: Squid Parent: child process 2187 exited due to signal 6
          Sep 13 09:32:29 Squid_Alarm[2294]: Squid has resumed. Reconfiguring filter.
          Sep 13 09:32:32 squid[2146]: Squid Parent: child process 2430 started
          Sep 13 09:32:33 squid[2430]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
          Sep 13 09:32:33 kernel: pid 2430 (squid), uid 62: exited on signal 6
          Sep 13 09:32:33 squid[2146]: Squid Parent: child process 2430 exited due to signal 6
          Sep 13 09:32:36 squid[2146]: Squid Parent: child process 2477 started
          Sep 13 09:32:36 squid[2477]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
          Sep 13 09:32:36 kernel: pid 2477 (squid), uid 62: exited on signal 6
          Sep 13 09:32:36 squid[2146]: Squid Parent: child process 2477 exited due to signal 6
          Sep 13 09:32:40 squid[2146]: Squid Parent: child process 2512 started
          Sep 13 09:32:40 squid[2512]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
          Sep 13 09:32:40 kernel: pid 2512 (squid), uid 62: exited on signal 6
          Sep 13 09:32:40 squid[2146]: Squid Parent: child process 2512 exited due to signal 6
          Sep 13 09:32:40 squid[2146]: Exiting due to repeated, frequent failures
          Sep 13 09:33:23 php: /pkg_mgr_install.php: cd /var/db/pkg && pkg_delete ls | grep
          Sep 13 09:33:25 Squid_Alarm[2629]: Squid has exited. Reconfiguring filter.
          Sep 13 09:33:25 Squid_Alarm[2631]: Attempting restart…
          Sep 13 09:33:51 php: /pkg_mgr_install.php: cd /var/db/pkg && pkg_delete ls | grep squid
          Sep 13 09:33:55 check_reload_status: reloading filter

          mohon bantuan dari master sekalian, kalo bisa step by step, soalx masih nubi

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

            ba rebuild cache_dir nya

            Stay hungry, Stay Foolish

            1 Reply Last reply Reply Quote 0
            • X
              xaviero
              last edited by

              masuk ke console , kemudian ketik "squid -z" , liat lagi pesan error nya.. (kalo ada)

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

                saya sdh coba jalankan squid -z, hasilx : 2009/09/14 08:21:27| WARNING cache_mem is larger than total disk cache space!
                2009/09/14 08:21:27| Creating Swap Directories

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

                  saya sdh coba jalankan squid -z, hasilx : 2009/09/14 08:21:27| WARNING cache_mem is larger than total disk cache space!
                                                                        2009/09/14 08:21:27| Creating Swap Directories
                                                                        berhenti sampai disini…................( gak lanjut)

                  tetap klo proxy dijalankan, gak bisa konek,
                  lognya :

                  Sep 14 08:27:27 squid[6101]: Squid Parent: child process 6321 exited due to signal 6
                  Sep 14 08:27:49 php: /pkg_edit.php: Starting Squid
                  Sep 14 08:27:49 squid[6495]: Squid Parent: child process 6497 started
                  Sep 14 08:27:49 php: /pkg_edit.php: Reloading Squid for configuration sync
                  Sep 14 08:27:49 squid[6497]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
                  Sep 14 08:27:49 kernel: pid 6497 (squid), uid 62: exited on signal 6
                  Sep 14 08:27:49 squid[6495]: Squid Parent: child process 6497 exited due to signal 6
                  Sep 14 08:27:50 check_reload_status: reloading filter
                  Sep 14 08:27:52 squid[6495]: Squid Parent: child process 6702 started
                  Sep 14 08:27:53 squid[6702]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
                  Sep 14 08:27:53 kernel: pid 6702 (squid), uid 62: exited on signal 6
                  Sep 14 08:27:53 squid[6495]: Squid Parent: child process 6702 exited due to signal 6
                  Sep 14 08:27:56 squid[6495]: Squid Parent: child process 6741 started
                  Sep 14 08:27:56 squid[6741]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
                  Sep 14 08:27:56 kernel: pid 6741 (squid), uid 62: exited on signal 6
                  Sep 14 08:27:56 squid[6495]: Squid Parent: child process 6741 exited due to signal 6
                  Sep 14 08:27:59 squid[6495]: Squid Parent: child process 6840 started
                  Sep 14 08:28:00 squid[6840]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
                  Sep 14 08:28:00 kernel: pid 6840 (squid), uid 62: exited on signal 6
                  Sep 14 08:28:00 squid[6495]: Squid Parent: child process 6840 exited due to signal 6
                  Sep 14 08:28:03 squid[6495]: Squid Parent: child process 6885 started
                  Sep 14 08:28:04 squid[6885]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
                  Sep 14 08:28:04 kernel: pid 6885 (squid), uid 62: exited on signal 6
                  Sep 14 08:28:04 squid[6495]: Squid Parent: child process 6885 exited due to signal 6
                  Sep 14 08:28:04 squid[6495]: Exiting due to repeated, frequent failures
                  Sep 14 08:28:19 Squid_Alarm[6981]: Squid has exited. Reconfiguring filter.
                  Sep 14 08:28:19 Squid_Alarm[6983]: Attempting restart…
                  Sep 14 08:28:19 squid[6990]: Squid Parent: child process 6993 started
                  Sep 14 08:28:20 squid[6993]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
                  Sep 14 08:28:20 kernel: pid 6993 (squid), uid 62: exited on signal 6
                  Sep 14 08:28:20 squid[6990]: Squid Parent: child process 6993 exited due to signal 6
                  Sep 14 08:28:22 Squid_Alarm[7029]: Reconfiguring filter…
                  Sep 14 08:28:23 squid[6990]: Squid Parent: child process 7034 started
                  Sep 14 08:28:24 squid[7034]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
                  Sep 14 08:28:24 kernel: pid 7034 (squid), uid 62: exited on signal 6
                  Sep 14 08:28:24 squid[6990]: Squid Parent: child process 7034 exited due to signal 6
                  Sep 14 08:28:24 Squid_Alarm[7139]: Squid has resumed. Reconfiguring filter.
                  Sep 14 08:28:27 squid[6990]: Squid Parent: child process 7210 started
                  Sep 14 08:28:27 squid[7210]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
                  Sep 14 08:28:27 kernel: pid 7210 (squid), uid 62: exited on signal 6
                  Sep 14 08:28:27 squid[6990]: Squid Parent: child process 7210 exited due to signal 6
                  Sep 14 08:28:30 squid[6990]: Squid Parent: child process 7245 started
                  Sep 14 08:28:31 squid[7245]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
                  Sep 14 08:28:31 kernel: pid 7245 (squid), uid 62: exited on signal 6
                  Sep 14 08:28:31 squid[6990]: Squid Parent: child process 7245 exited due to signal 6
                  Sep 14 08:28:34 squid[6990]: Squid Parent: child process 7281 started
                  Sep 14 08:28:34 squid[7281]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
                  Sep 14 08:28:34 kernel: pid 7281 (squid), uid 62: exited on signal 6
                  Sep 14 08:28:34 squid[6990]: Squid Parent: child process 7281 exited due to signal 6
                  Sep 14 08:28:34 squid[6990]: Exiting due to repeated, frequent failures

                  1 Reply Last reply Reply Quote 0
                  • K
                    kambeeng
                    last edited by

                    WARNING cache_mem is larger ,
                    Bro ini sudah jelas ada msalah dengan Cache anda kemungkinan cache anda besar, coba di perkecil

                    Salam
                    kambeeng

                    1 Reply Last reply Reply Quote 0
                    • X
                      xaviero
                      last edited by

                      coba cek yah,
                      biasanya di proxy gui nya, ada command2 yang salah di bagian option command, coba diilangkan dulu… kemudian restart pfsense nya...

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

                        bukan cachenya besar om kambeeng, tapi kebesaran… masa' cache_mem lebih besar dari cache_dir nya nya???

                        Stay hungry, Stay Foolish

                        1 Reply Last reply Reply Quote 0
                        • K
                          kambeeng
                          last edited by

                          yups intinya gitu :D

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

                            tadinya saya juga berfikir seperti itu om, tapi apa iya ini kebesaran ?
                            ( konfigurasi cache manajement )  =

                            Hard disk cache size = 10
                            memoricache = 8
                            minimum object = 0
                            maksimum object = 1000
                            Level 1 subdirectories = 128
                            Low-water-mark in  90 %
                            High-water-mark in 95 %

                            oh iya , ram nativenya = 512
                            hardisk = 8 gb

                            thax

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

                              tolong, om2  sekalian
                              konfigurasi proxy yg benar mulai dari general setting sampai local usernya serta cache managemen yg ideal u/ resource seperti diatas ?

                              thax

                              1 Reply Last reply Reply Quote 0
                              • C
                                chiboik
                                last edited by

                                knapa ya mas habis restart

                                squid.conf saya balik ke default lagi
                                padahal dah di tunning bagus2 T.T

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

                                  @chiboik:

                                  knapa ya mas habis restart

                                  squid.conf saya balik ke default lagi
                                  padahal dah di tunning bagus2 T.T

                                  sudah banyak dibahas di forum.,, :D
                                  masukkan aja config anda di squid.inc

                                  Stay hungry, Stay Foolish

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    chiboik
                                    last edited by

                                    @yellowhat89:

                                    @chiboik:

                                    knapa ya mas habis restart

                                    squid.conf saya balik ke default lagi
                                    padahal dah di tunning bagus2 T.T

                                    sudah banyak dibahas di forum.,, :D
                                    masukkan aja config anda di squid.inc

                                    bisa di perjelas mas ?
                                    cara masukin gmn ?
                                    maaf, masih newbie  ;D
                                    saya pake pfSense-1.2.3-RC3

                                    o iya mas mau nanya lagi
                                    waktu client warnet saya make proxies.telkom.net.id:8080
                                    proxy nya ke bypass, ngga redirect ke port 3128
                                    padahal port nya udah saya forward 8080  ke 3128

                                    jadi website yang saya block bisa di buka sama client.
                                    gmn solusi nya mas ?

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

                                      ini lagi ngaco banget !!!
                                      emang bisa proxy di forward ke proxy lagi ????

                                      yang bisa itu, proxymu di parent ke proxy telkom, jangan bermain forwarding di pf, jaka sembung baca bobo, gak nyambung bo…:)

                                      tambahin di squid .inc

                                      cache_peer proxies.telkom.net.id parent 8080 3130 no-query connect-timeout=10 no-digest no-netdb-exchange default
                                      cache_peer 202.134.0.135 sibling 8080 3130 round-robin no-query connect-timeout=10 no-digest no-netdb-exchange

                                      dari nubie

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        chiboik
                                        last edited by

                                        @grage95:

                                        ini lagi ngaco banget !!!
                                        emang bisa proxy di forward ke proxy lagi ????

                                        yang bisa itu, proxymu di parent ke proxy telkom, jangan bermain forwarding di pf, jaka sembung baca bobo, gak nyambung bo…:)

                                        tambahin di squid .inc

                                        cache_peer proxies.telkom.net.id parent 8080 3130 no-query connect-timeout=10 no-digest no-netdb-exchange default
                                        cache_peer 202.134.0.135 sibling 8080 3130 round-robin no-query connect-timeout=10 no-digest no-netdb-exchange

                                        dari nubie

                                        bisa mas
                                        bikin di Firewall NAT
                                        di interface : WAN
                                        external address nya : any
                                        protocol : TCP
                                        External port range : 8080
                                        NAT IP : 192.168.0.x
                                        Local port : 3128

                                        ntar kalo user warnet pake proxy free high anynomous proxy 8080
                                        lansung ke forward ke proxy pfsense saya.
                                        jadi ngga ke bypass squid nya

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

                                          @chiboik:

                                          @grage95:

                                          ini lagi ngaco banget !!!
                                          emang bisa proxy di forward ke proxy lagi ????

                                          yang bisa itu, proxymu di parent ke proxy telkom, jangan bermain forwarding di pf, jaka sembung baca bobo, gak nyambung bo…:)

                                          tambahin di squid .inc

                                          cache_peer proxies.telkom.net.id parent 8080 3130 no-query connect-timeout=10 no-digest no-netdb-exchange default
                                          cache_peer 202.134.0.135 sibling 8080 3130 round-robin no-query connect-timeout=10 no-digest no-netdb-exchange

                                          dari nubie

                                          bisa mas
                                          bikin di Firewall NAT
                                          di interface : WAN
                                          external address nya : any
                                          protocol : TCP
                                          External port range : 8080
                                          NAT IP : 192.168.0.x
                                          Local port : 3128

                                          ntar kalo user warnet pake proxy free high anynomous proxy 8080
                                          lansung ke forward ke proxy pfsense saya.
                                          jadi ngga ke bypass squid nya

                                          syntax yang kamu buat salah,
                                          bukan di interface WAN, tapi di LAN,

                                          kalau tujuannya memfoward request destination port 8080 dari client (LAN) di forward ke port proxy kamu
                                          itu artinya,  bukan proxy di forward ke proxy lagi, tapi memfilter setiap destinatoin port 8080 di forward ke port proxymu,
                                          di proxy servers freebsd yang pernah saya install  (bukan pfsense)  dengan user > 2000 client, sy paksa semua client ke proxy, jadi port2 proxy yang bertebaran di free proxy dr mulai port 80,3128,8000,8181,8080 dst  saya paksa ke port 3128,
                                          trus yang parah lagi punyamu, kenapa port 443/https di forward juga ke proxy?
                                          ini sungguh lucu bagi seorang administrator jaringan,
                                          developer squid sendiri sangat menghindari https utk di cache.

                                          kamu ngerti enggak definisi https ?
                                          dan ngerti enggak definisi proxy ?

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            chiboik
                                            last edited by

                                            @grage95:

                                            @chiboik:

                                            @grage95:

                                            ini lagi ngaco banget !!!
                                            emang bisa proxy di forward ke proxy lagi ????

                                            yang bisa itu, proxymu di parent ke proxy telkom, jangan bermain forwarding di pf, jaka sembung baca bobo, gak nyambung bo…:)

                                            tambahin di squid .inc

                                            cache_peer proxies.telkom.net.id parent 8080 3130 no-query connect-timeout=10 no-digest no-netdb-exchange default
                                            cache_peer 202.134.0.135 sibling 8080 3130 round-robin no-query connect-timeout=10 no-digest no-netdb-exchange

                                            dari nubie

                                            bisa mas
                                            bikin di Firewall NAT
                                            di interface : WAN
                                            external address nya : any
                                            protocol : TCP
                                            External port range : 8080
                                            NAT IP : 192.168.0.x
                                            Local port : 3128

                                            ntar kalo user warnet pake proxy free high anynomous proxy 8080
                                            lansung ke forward ke proxy pfsense saya.
                                            jadi ngga ke bypass squid nya

                                            syntax yang kamu buat salah,
                                            bukan di interface WAN, tapi di LAN,

                                            kalau tujuannya memfoward request destination port 8080 dari client (LAN) di forward ke port proxy kamu
                                            itu artinya,  bukan proxy di forward ke proxy lagi, tapi memfilter setiap destinatoin port 8080 di forward ke port proxymu,
                                            di proxy servers freebsd yang pernah saya install  (bukan pfsense)  dengan user > 2000 client, sy paksa semua client ke proxy, jadi port2 proxy yang bertebaran di free proxy dr mulai port 80,3128,8000,8181,8080 dst  saya paksa ke port 3128,
                                            trus yang parah lagi punyamu, kenapa port 443/https di forward juga ke proxy?
                                            ini sungguh lucu bagi seorang administrator jaringan,
                                            developer squid sendiri sangat menghindari https utk di cache.

                                            kamu ngerti enggak definisi https ?
                                            dan ngerti enggak definisi proxy ?

                                            mas… mas... jgn dimarahin dong...
                                            saya kan newbie bukan network administrator di perusahan besar kayak airputih nya mas
                                            saya install di warnet saya aja..
                                            saya baru semester 1 di TI univ putra indonesia
                                            jadi santai aja mas.

                                            saya baca tutorial di

                                            
                                            http://agngwb.blogspot.com/2008/08/setting-multi-speedy-dgn-pf-sense.html
                                            
                                            

                                            jadi kalo soal https yang di cache tanya sama mas agung yg bikin blog itu
                                            saya cuman ngikutin artikel nya dia

                                            kalo bikin di interface LAN ngga jalan

                                            thanks bgt si mas mau bantu tapi cara nulis posting nya saya ngga suka
                                            disini saya belajar mas.. tanya jawab,.. bukan tes ilmu..

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