The pfSense Store

Author Topic: squid3 - New GUI with sync, normal and reverse proxy  (Read 107079 times)

0 Members and 1 Guest are viewing this topic.

Offline Nachtfalke

  • Hero Member
  • *****
  • Posts: 2754
  • Karma: +1/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #15 on: April 15, 2012, 09:14:36 am »
I installed squid2 package
after that squidguard
and then squid3

when click on "save" on squidguard page this line appears in squid3 integration box:
Code: [Select]
b- *'Fshqz?tku'~ʖyثy\)]

Offline Tikimotel

  • Full Member
  • ***
  • Posts: 158
  • Karma: +0/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #16 on: April 15, 2012, 09:33:31 am »
To "temporary" circumvent the integration gibberish, manually edit the custom options.
Integrations
Code: [Select]

 
 
(empty the edit box)

Custom
Options

Code: [Select]
quick_abort_pct 70
range_offset_limit 0
redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf
redirector_bypass on
redirect_children 8
(press save)

Squid should restart and activate 8 squidquard redirectors (temporary fix, because changing any setting in the proxy filter menu's will result in gibberish again)
Might also change at midnight because of squidguard crontab stuff.

Offline Nachtfalke

  • Hero Member
  • *****
  • Posts: 2754
  • Karma: +1/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #17 on: April 15, 2012, 09:40:02 am »
@Tikimotel:

This helped and squidguard started (service). Couldn't test more.
Code: [Select]
redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf
redirector_bypass on
redirect_children 8

Offline Donny

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #18 on: April 15, 2012, 09:53:08 am »
I've just pushed squid_reverse.inc fix.

Upgrade to squid3 pkg v 2.0.1 and see if it fixes inc errors.

SOLVED!, The Squid3 pkg v 2.0.1 has fixed this Waring: Invalid argument supplied for foreach() in /usr/local/pkg/squid_reverse.inc on line 103 and 146.

Next step I just want to be sure, I will try to clean install pfSense again in my testing machine, after that  > First install: Dansguardian > Second install: Squid 3.

I will inform you later, Thank u Marcelloc.
« Last Edit: April 15, 2012, 01:14:56 pm by Donny »

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 10004
  • Karma: +5/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #19 on: April 15, 2012, 10:08:02 am »
I installed squid2 package
after that squidguard
and then squid3

when click on "save" on squidguard page this line appears in squid3 integration box:
Code: [Select]
b- *'Fshqz?tku'~ʖyثy\)]
Check if I forgot to remove base64 info from custom_option on squid.XML

Custom_option should not have it but custom_option_squid3 should have.

You do not need squid2 package before squidguard.

I'm not at home right now so I could check this only tonight.
« Last Edit: April 15, 2012, 10:16:08 am by marcelloc »

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 10004
  • Karma: +5/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #20 on: April 15, 2012, 10:13:15 am »
Next step I just want to be sure, I will try to clean install pfSense again in my testing machine, after that  > First install: Dansguardian > Second install: Squid 3.

Yes  :)

Offline Nachtfalke

  • Hero Member
  • *****
  • Posts: 2754
  • Karma: +1/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #21 on: April 15, 2012, 10:32:38 am »
I installed squid2 package
after that squidguard
and then squid3

when click on "save" on squidguard page this line appears in squid3 integration box:
Code: [Select]
b- *'Fshqz?tku'~ʖyثy\)]
Check if I forgot to remove base64 info from custom_option on squid.XML

Custom_option should not have it but custom_option_squid3 should have.

You do not need squid2 package before squidguard.

I'm not at home right now so I could check this only tonight.

Removing the "encode base64" from squid.xml worked. Now the command is visible in the text box BUT the command from this box is not copied into squid.conf file. So it does not take effect.

Don't hurry up and don't stress with that fact. It is sunday and you should have a free day and a nice weekend, too :-)

Offline ccesario

  • Full Member
  • ***
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #22 on: April 15, 2012, 10:39:23 am »
Hi guys,

I'm testing new squid3 package, and after install it, I'm having a lot errors in http connections, squid show me a lot 'TCP_MISS/503'. This happen often in forms posts, so I need re-send form ou press F5.
I tested exhaustively the squid-2.7.9_1 + squidGuard and problem no happen. So I too tested exhaustively the squid3 + SquidGuard, and I give this problem.

All squid versions have the same config. And this problem only occurs in 'Transparent Mode'

Somebdoy can please test it and report the results?!

Thanks
Carlos

Offline mhab12

  • Hero Member
  • *****
  • Posts: 649
  • Karma: +0/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #23 on: April 15, 2012, 10:46:57 am »
Just in case others were seeing performance issues, I saw my bandwidth drop to <5mbps after installing Squid3, however changing from AUFS to diskd brought the bandwidth backup up to approximately 60mbps where it should be.

Offline Donny

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #24 on: April 15, 2012, 10:58:20 am »
Next step I just want to be sure, I will try to clean install pfSense again in my testing machine, after that  > First install: Dansguardian > Second install: Squid 3.

Yes  :)

After clean install pfSense, I try first to install Dansguardian. I got the same result as I told you before. Dansguardian does not appear on services menu. So I wait a few minute and then try to refresh pfSense WebGUI and not thing changed. The last final "fantasy" I reboot pfSense and it does not appear again. (The final "fantasy" I just only make a joke because today is Sunday, you should be relax.). Then the way I have to do before I am going to install Squid3 is reinstall Dansguardian and finally Dansquardian is appear.

The next step I am going to install Squid3

Just let you know, Marcelloc.
« Last Edit: April 15, 2012, 11:21:36 am by Donny »

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 10004
  • Karma: +5/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #25 on: April 15, 2012, 11:41:29 am »
Before using disk cache,  I suggest you to enable softupdates on /usr and /var. The performance difference is huge.

Offline Donny

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #26 on: April 15, 2012, 12:48:04 pm »
Now Squid3 and Dansguardian is working. I don't find any error yet. The next step I will trying to configure firewall, NAT with HTTP and HTTPS for how Squid3 and Dansguardian work together.


Offline harish

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #27 on: April 15, 2012, 01:21:43 pm »
error is gone but could not start squidguard, i rechecked with  reinstalling the squidguard, but fails to start.

Offline Nachtfalke

  • Hero Member
  • *****
  • Posts: 2754
  • Karma: +1/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #28 on: April 15, 2012, 04:04:51 pm »
error is gone but could not start squidguard, i rechecked with  reinstalling the squidguard, but fails to start.

As far as I can say that at the moment the "Integrations" box isn't working. So put the commands squidguard creates manually in "custom options":

Code: [Select]
redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf
redirector_bypass on
redirect_children 8

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 10004
  • Karma: +5/-0
    • View Profile
Re: squid3 - New GUI with sync, normal and reverse proxy
« Reply #29 on: April 15, 2012, 05:58:45 pm »
Just updated squid3 package to version 2.0.2 to fix integration erros.

Please update,test and feedback  :)