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

Squid 3.3.4 package for pfsense with ssl filtering

Scheduled Pinned Locked Moved Cache/Proxy
305 Posts 72 Posters 310.0k 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.
  • N
    Nachtfalke
    last edited by Oct 22, 2013, 7:24 AM

    @ipis:

    I hope all missing libs are included soon. I really wan't to block certain secured sites on my work. And I think this version is amazing.

    Does anyone has a workaround in fetching libs?

    Just try with this command:

    cd /usr/local/lib
    

    and in this folder:

    
    fetch http://e-sac.siteseguro.ws/pfsense/8/All/ldd/libasn1.so.10
    fetch http://e-sac.siteseguro.ws/pfsense/8/All/ldd/libgssapi.so.10
    fetch http://e-sac.siteseguro.ws/pfsense/8/All/ldd/libheimntlm.so.10
    fetch http://e-sac.siteseguro.ws/pfsense/8/All/ldd/libhx509.so.10
    fetch http://e-sac.siteseguro.ws/pfsense/8/All/ldd/libkrb5.so.10
    fetch http://e-sac.siteseguro.ws/pfsense/8/All/ldd/libroken.so.10
    
    

    Perhaps you have to check the file permissions after you copied the files.

    Or download the libs via your webbrowser and copy these files to pfsense using the GUI:
    DIAGNOSTICS –> Command Prompt

    1 Reply Last reply Reply Quote 0
    • I
      ipis
      last edited by Oct 22, 2013, 12:09 PM

      Thanks  Nachtfalke

      How stupid i'am. I a'm using the word "ALL" instead of "All" plus. I erase all my config to squid, I uncheked everything before re-fetching. Thanks again :)

      1 Reply Last reply Reply Quote 0
      • I
        ipis
        last edited by Oct 22, 2013, 4:49 PM

        Hi. Its already working fine but I've noticed that the other browser like google chrome. I've noticed that it wont trust the certificate when entering into secured sites. It says the Certificate is not trusted and theres no option for the user to continue and accept it. Unlike to other browser theres an optio to get the certificate and continue to the website. Or to trust the cerficate.. Is this normal, or theres a way to overcome this? Thanks

        1 Reply Last reply Reply Quote 0
        • M
          marcelloc
          last edited by Oct 22, 2013, 9:23 PM

          @ipis:

          Is this normal, or theres a way to overcome this? Thanks

          Yes, to avoid these erros, play with squid cert options and include pfsense CA as a trusted CA on each browsers. This way you will not get any ssl error for https sites.

          Services that use same ssl port(tor, ultrasurf) will always fail.

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • I
            ipis
            last edited by Oct 23, 2013, 3:25 AM

            Thanks marcelloc. I've fixed the certificated error. also I re-enabled the transparent ssl and it helps  :)

            1 Reply Last reply Reply Quote 0
            • I
              ipis
              last edited by Oct 23, 2013, 8:32 AM

              Hi, I have a question. I just visited a government agency website, its an organization that handles employers contribution. or employees contribution. Ive noticed that after accepting the certificate and continuing to website. The website did not respond and it says webpage not avalable. According to other forums ubuntu to be exact, theres a site that sometimes block this kind of interception, i mean we will not be availbe to continue that's why they added some code.

              Can we adopt their  code to our pfsense? I think their added it in squid.conf

              1 Reply Last reply Reply Quote 0
              • M
                marcelloc
                last edited by Oct 23, 2013, 12:12 PM

                @ipis:

                Can we adopt their  code to our pfsense? I think their added it in squid.conf

                If you find what code is it, I can add to squid.conf.

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • I
                  ipis
                  last edited by Oct 24, 2013, 5:08 AM

                  Hi marcerlloc, check this pic that ive uploaded

                  1.jpg
                  1.jpg_thumb
                  2.jpg
                  2.jpg_thumb

                  1 Reply Last reply Reply Quote 0
                  • I
                    ipis
                    last edited by Oct 24, 2013, 2:44 PM

                    Hi, marcelloc i successfully entered that website. But this website www.sss.gov.ph
                    prevents my network

                    1 Reply Last reply Reply Quote 0
                    • M
                      marcelloc
                      last edited by Oct 24, 2013, 9:30 PM

                      These pics shows stardard ssl squid configuration.

                      Treinamentos de Elite: http://sys-squad.com

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • I
                        ipis
                        last edited by Oct 25, 2013, 1:40 AM

                        You mean it doesn't have something to do with the website? Maybe I mis configured. On the other hand, I've noticed something when connecting to facebook. It seems like the page is broken, I couldn't see the pictures and other posts. I've tried to disable my squid guard and let the squid3-dev handle the internet, but the outcome is the same. But when i tried not to proxy the internet, only using the direct firewall rules on lan, the page seems fixed. Is there a workaround on this?

                        1 Reply Last reply Reply Quote 0
                        • M
                          marcelloc
                          last edited by Oct 25, 2013, 2:07 AM

                          Can you test on firefox with firebug extension enabled on network tab?

                          Treinamentos de Elite: http://sys-squad.com

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • I
                            ipis
                            last edited by Oct 25, 2013, 2:31 AM

                            I don't have that firebug option in my firefox. By the way I also tried this on my other browser but still no luck

                            1 Reply Last reply Reply Quote 0
                            • I
                              ipis
                              last edited by Oct 25, 2013, 2:34 AM

                              Also when I put the source ip, it bypassess the squidguard, and the website seems fixed also..

                              1 Reply Last reply Reply Quote 0
                              • I
                                ipis
                                last edited by Oct 25, 2013, 4:35 AM

                                I'm thinking of Using Version 3.3.4, maybe I won't have that kind of issue on fb, is that possible?

                                1 Reply Last reply Reply Quote 0
                                • M
                                  marcelloc
                                  last edited by Oct 25, 2013, 11:10 AM

                                  @ipis:

                                  I don't have that firebug option in my firefox.

                                  It's a firefox extension/plugin. Just install it and enable.

                                  Treinamentos de Elite: http://sys-squad.com

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    ipis
                                    last edited by Oct 26, 2013, 7:46 AM

                                    Hi i just install the plugin but it doesn't fixed the issue, but i think the issue is came from ssl filtering, because when I disable the ssl filtering, and restart the pfsense. It returned to normal, and when I get back on using ssl filtering the site is broken again. Did I did something wrong? I set my ssl listening port to 3129, while my squid port is in 3128, both are set to LAN interface. Also i set my safe ports to 80, 443 and acl ports to 443 only.

                                    Can you give me other config options? How can i used port 3128 on both squid port and ssl port man in the middle. can we do the tunneling?

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      marcelloc
                                      last edited by Oct 28, 2013, 4:10 PM Oct 27, 2013, 9:07 AM

                                      @ipis:

                                      Hi i just install the plugin but it doesn't fixed the issue.

                                      This plugin is usefull to debug  the problem, not to fix ssl issues.

                                      Enable it, select net tab and access the site with ssl enabled.

                                      This way you will see all connections and check what is going fine and whats is failing.

                                      bb.com.br.png
                                      bb.com.br.png_thumb

                                      Treinamentos de Elite: http://sys-squad.com

                                      Help a community developer! ;D

                                      1 Reply Last reply Reply Quote 0
                                      • I
                                        ipis
                                        last edited by Oct 28, 2013, 4:49 AM

                                        Ok I will try that in my work on tuesday. Today is holiday in my country. Nways last time I also noticed that disbling or unchecking the "Allow users on the interface" and providing network subnet on acl tab will cause the ssl filterng not to work. Automatically squidguard will stop.

                                        I Also tried disabling squidguard, and tried to filter the secured site in proxy server alone by putting its domain name in blacklist field on acl tab, example: youtube.com, but it fails. Seems like ssl is not filtering because i can still go to the site.

                                        Another thing can you please teach me how will I install squid dev package using shell? Because i want to edit squid.conf manually. What I wan't to do temporaryly while we are fixing this error is to disable ssl filtering by default and enable it only on sp
                                        ecific website along with specific ip address. This way i can block the access to specific people only and let the other employees access it without errors. Sounds good idea i guess. Thanks in advance!

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          marcelloc
                                          last edited by Oct 28, 2013, 4:14 PM

                                          you can install the package using this:

                                          amd64

                                          fetch http://files.pfsense.org/packages/amd64/8/All/squid-3.3.8-amd64.pbi
                                          pbi_add --no-checksig squid-3.3.8-amd64.pbi
                                          

                                          To edit squid.conf file and keep it on xml backup, you can use filer package.

                                          Treinamentos de Elite: http://sys-squad.com

                                          Help a community developer! ;D

                                          1 Reply Last reply Reply Quote 0
                                          194 out of 305
                                          • First post
                                            194/305
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received