Squid Not Allowing Any Connections



  • Hello there,

    Wondering if anyone can help figure out why my Squid 3 Dev install is not allowing any connections?

    I'm running 2.1.5-RELEASE w/ the latest package installed.

    Tried:

    1. Making sure my network is under the ACLs allowed subnets box
    2. Tried checking the box to allow users on interface (my pc is on the same network)
    3. Also tried transparent mode
    4. Under the authentication tab I have it set to NONE

    Always get Proxy Server Is refusing connections

    I do notice when I ssh in I see this:

    
    netstat -an | grep 3128
    tcp4       0      0 192.168.1.1.3128       *.*                    CLOSED
    
    

    Tried changing the port and still says closed as well.

    Any help would be great!

    Cheers!



  • @qwaven:

    Hello there,

    Wondering if anyone can help figure out why my Squid 3 Dev install is not allowing any connections?

    I'm running 2.1.5-RELEASE w/ the latest package installed.

    Tried:

    1. Making sure my network is under the ACLs allowed subnets box
    2. Tried checking the box to allow users on interface (my pc is on the same network)
    3. Also tried transparent mode
    4. Under the authentication tab I have it set to NONE

    Always get Proxy Server Is refusing connections

    I do notice when I ssh in I see this:

    
    netstat -an | grep 3128
    tcp4       0      0 192.168.1.1.3128       *.*                    CLOSED
    
    

    Tried changing the port and still says closed as well.

    Any help would be great!

    Cheers!

    Why do not you try the last version pfsense with squid 3.4?  ;D



  • Thanks for your reply.

    Not sure that will solve my issue. The upgrade will copy my configurations.

    Plus everytime I upgrade I seem to end up in recovery mode (least I have the last two upgrades I did) having to restore the system. (not sure why) I don't have time to do that right now. ;)

    Any troubleshooting ideas to solve this as it is? :)

    Cheers!



  • first view /var/log/squid/cache.log
    in shell type
    killall -9 squid
    usr/local/etc/rc.d/squid onestart



  • @pfsense:

    first view /var/log/squid/cache.log
    in shell type
    killall -9 squid
    usr/local/etc/rc.d/squid onestart

    thanks for respect, may help for him



  • @pfsense:

    first view /var/log/squid/cache.log
    in shell type
    killall -9 squid
    usr/local/etc/rc.d/squid onestart

    Thanks for the info. For some reason I didnt check that log, only the other one. Anyway I see this:

    
    2015/07/29 20:58:26 kid1| Starting Squid Cache version 3.3.10 for i386-portbld-freebsd8.3...
    2015/07/29 20:58:26 kid1|  parse error while reading template file: /usr/pbi/squid-i386/etc/squid/errors/en/error-details.txt
    2015/07/29 20:58:26 kid1| Unable to load default error language files. Reset to backups.
    2015/07/29 20:58:26 kid1|  parse error while reading template file: /usr/pbi/squid-i386/etc/squid/errors/templates/error-details.txt
    2015/07/29 20:58:26 kid1| WARNING: failed to find or read error text file error-details.txt
    2015/07/29 20:58:26 kid1| sendto FD 26: (1) Operation not permitted
    2015/07/29 20:58:26 kid1| ipcCreate: CHILD: hello write test failed
    
    

    Not sure what I'm supposed to do about that or if it even matters.

    The usr local command says command not found. Tried squid onestart which didnt give me any errors.

    Any thoughts?



  • Hi
    Try the following command:
    squid -z



  • @pfsense:

    Hi
    Try the following command:
    squid -z

    Thanks for the info. I tried this and it appeared to do "creating missing swap directories"

    tried the proxy and still getting the same authorization error.

    Cheers!



  • Hey there,

    So I bit the bullet and upgraded to 2.2.4-RELEASE. Had to fight with it a bit but it seems to be working now.

    So…

    after installing Squid3. Turning on the proxy seems to be working with or without transparent mode on. :)

    However when I try and enable HTTPS/SSL filtering anything SSL no longer will work.

    I see:

    
    error:invalid-request
    
    

    through-out the logs. Not sure what to do about this?

    Thoughts?

    Thanks!



  • @qwaven:

    Hey there,

    So I bit the bullet and upgraded to 2.2.4-RELEASE. Had to fight with it a bit but it seems to be working now.

    So…

    after installing Squid3. Turning on the proxy seems to be working with or without transparent mode on. :)

    However when I try and enable HTTPS/SSL filtering anything SSL no longer will work.

    I see:

    
    error:invalid-request
    
    

    through-out the logs. Not sure what to do about this?

    Thoughts?

    Thanks!

    maybe need import cert to your browser?