Is Squidguard broke in 2.0-RC1 (AMD64)?



  • pfSense-2.0-RC1-amd64-20110226-1807 (updated to June 5th snapshot)

    Hello,

    I have succesfully installed 2.0-RC1 (AMD64) to my HP Proliant Microserver for use as a Home UTM (I finally sussed I should choose install from USB device on the Installation menu - Doh! )
    I have updated Firmware to June 5th snapshot and have installed Squid & Squidguard packages. I had to run "squid -z" a couple of times, as suggested in the logs.
    I have set up Squid to act as a Transparent Proxy. I have installed Squidguard and succesfully downloaded Shallalist blacklist.
    However, Squidguard does not block, even if I set Deny on all.

    I am a novice in pfSense and I do not know how to setup detailed logging or how to then view those logs.

    Can anyone guide me through this debugging process?

    Rgds.

    Stan Chelchowski, U.K.



  • I'm facing the same problem and I'm using the same version (amd64). I was using the 2.0-RC1 ISO that I downloaded from a mirror. It was working fine!
    When I upgraded it to the newest version on June 13th, squidguard stopped to work. The logs shows blocked pages till this date.
    Today I checked the logs and realize that when SquidGuard is started, it stops in the sequence.
    You can see the logs showing this behaviour:

    Filter Log:

    15.06.2011 08:59:56 squidGuard stopped (1308139196.546)
    15.06.2011 08:59:56 db update done
    15.06.2011 08:59:56 squidGuard 1.4 started (1308139196.540)
    15.06.2011 08:58:52 squidGuard stopped (1308139132.455)
    15.06.2011 08:58:52 db update done
    15.06.2011 08:58:52 squidGuard 1.4 started (1308139132.447)

    Filter GUI Log:

    15.06.2011 09:00:06 [squid_reconfigure] Add new redirector options to Squid config.
    15.06.2011 09:00:06 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
    15.06.2011 09:00:06 [sg_redirector_base_url] Select redirector base url (http://192.168.0.5/denied.html)
    15.06.2011 09:00:06 [sg_create_config] Add Default
    15.06.2011 09:00:06 [sg_create_config] Add ACL's: Liberados; ApenasBasicos; LogMeIn;
    15.06.2011 09:00:06 [sg_create_config] Add rewrites: safesearch;
    15.06.2011 09:00:06 [sg_create_config] Add destinations: Bloqueados; Liberados; Basicos; LogMeIn;
    15.06.2011 09:00:06 [sg_create_config] Added: blk_BL_adv; blk_BL_aggressive; blk_BL_alcohol; blk_BL_anonvpn; blk_BL_automobile_bikes; blk_BL_automobile_boats; blk_BL_automobile_cars; blk_BL_automobile_planes; blk_BL_chat; blk_BL_costtraps; blk_BL_dating; blk_BL_downloads; blk_BL_drugs; blk_BL_dynamic; blk_BL_education_schools; blk_BL_finance_banking; blk_BL_finance_insurance; blk_BL_finance_moneylending; blk_BL_finance_other; blk_BL_finance_realestate; blk_BL_finance_trading; blk_BL_fortunetelling; blk_BL_forum; blk_BL_gamble; blk_BL_government; blk_BL_hacking; blk_BL_hobby_cooking; blk_BL_hobby_games-misc; blk_BL_hobby_games-online; blk_BL_hobby_gardening; blk_BL_hobby_pets; blk_BL_homestyle; blk_BL_hospitals; blk_BL_imagehosting; blk_BL_isp; blk_BL_jobsearch; blk_BL_library; blk_BL_military; blk_BL_models; blk_BL_movies; blk_BL_music; blk_BL_news; blk_BL_podcasts; blk_BL_politics; blk_BL_porn; blk_BL_radiotv; blk_BL_recreation_humor; blk_BL_recreation_martialarts; blk_BL_recreation_restaurants; blk_BL_recreation_sports; blk_BL_recreation_travel; blk_BL_recreation_wellness; blk_BL_redirector; blk_BL_religion; blk_BL_remotecontrol; blk_BL_ringtones; blk_BL_science_astronomy; blk_BL_science_chemistry; blk_BL_searchengines; blk_BL_sex_education; blk_BL_sex_lingerie; blk_BL_shopping; blk_BL_socialnet; blk_BL_spyware; blk_BL_tracker; blk_BL_updatesites; blk_BL_urlshortener; blk_BL_violence; blk_BL_warez; blk_BL_weapons; blk_BL_webmail; blk_BL_webphone; blk_BL_webradio; blk_BL_webtv; .
    15.06.2011 09:00:06 [sg_create_config] Add blacklist entries
    15.06.2011 09:00:06 [sg_create_config] Add sources: Liberados ApenasBasicos LogMeIn
    15.06.2011 09:00:06 [squidguard_rebuild_db] Start rebuild DB.
    15.06.2011 08:59:56 [squidguard_rebuild_db] Create rebuild config '/usr/local/etc/squidGuard/squidGuard__usrdbrebuild.conf'.
    15.06.2011 08:59:56 [sg_redirector_base_url] Select redirector base url (http://192.168.0.10:4444/sgerror.php?url=403 404&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
    15.06.2011 08:59:56 [sg_create_simple_config] Added item 'LogMeIn' = '/var/db/squidGuard/LogMeIn'.
    15.06.2011 08:59:56 [sg_create_simple_config] Added item 'Basicos' = '/var/db/squidGuard/Basicos'.
    15.06.2011 08:59:56 [sg_create_simple_config] Added item 'Liberados' = '/var/db/squidGuard/Liberados'.
    15.06.2011 08:59:56 [sg_create_simple_config] Added item 'Bloqueados' = '/var/db/squidGuard/Bloqueados'.
    15.06.2011 08:59:56 [sg_create_simple_config] Begin with dbhome='/var/db/squidGuard'.
    15.06.2011 08:59:56 [squidguard_rebuild_db] Begin with path '/var/db/squidGuard'.
    15.06.2011 08:59:56 [sg_reconfigure_user_db] Add LogMeIn domains 'logmein.com';
    15.06.2011 08:59:56 [sg_reconfigure_user_db] Add Basicos domains 'terra.com.br globo.com altamira.com.br tecnequip.com.br uol.com.br yahoo.com.br avast.com yahoo.com trrsf.com.br yimg.com';
    15.06.2011 08:59:56 [sg_reconfigure_user_db] Add Liberados domains 'kabum.com.br busca.aonde.com';
    15.06.2011 08:59:56 [sg_reconfigure_user_db] Add Bloqueados domains 'live.com orkut.com youtube.com ceipmsn.com storage.mais.uol.com.br kproxy.com meebo.com megaupload.com power.com ebuddy.com facebook.com';
    15.06.2011 08:59:56 [sg_reconfigure_user_db] Add user entries
    15.06.2011 08:59:56 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
    15.06.2011 08:59:02 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
    15.06.2011 08:59:02 [sg_redirector_base_url] Select redirector base url (http://192.168.0.5/denied.html)
    15.06.2011 08:59:02 [sg_create_config] Add Default
    15.06.2011 08:59:02 [sg_create_config] Add ACL's: Liberados; ApenasBasicos; LogMeIn;
    15.06.2011 08:59:02 [sg_create_config] Add rewrites: safesearch;
    15.06.2011 08:59:02 [sg_create_config] Add destinations: Bloqueados; Liberados; Basicos; LogMeIn;
    15.06.2011 08:59:02 [sg_create_config] Added: blk_BL_adv; blk_BL_aggressive; blk_BL_alcohol; blk_BL_anonvpn; blk_BL_automobile_bikes; blk_BL_automobile_boats; blk_BL_automobile_cars; blk_BL_automobile_planes; blk_BL_chat; blk_BL_costtraps; blk_BL_dating; blk_BL_downloads; blk_BL_drugs; blk_BL_dynamic; blk_BL_education_schools; blk_BL_finance_banking; blk_BL_finance_insurance; blk_BL_finance_moneylending; blk_BL_finance_other; blk_BL_finance_realestate; blk_BL_finance_trading; blk_BL_fortunetelling; blk_BL_forum; blk_BL_gamble; blk_BL_government; blk_BL_hacking; blk_BL_hobby_cooking; blk_BL_hobby_games-misc; blk_BL_hobby_games-online; blk_BL_hobby_gardening; blk_BL_hobby_pets; blk_BL_homestyle; blk_BL_hospitals; blk_BL_imagehosting; blk_BL_isp; blk_BL_jobsearch; blk_BL_library; blk_BL_military; blk_BL_models; blk_BL_movies; blk_BL_music; blk_BL_news; blk_BL_podcasts; blk_BL_politics; blk_BL_porn; blk_BL_radiotv; blk_BL_recreation_humor; blk_BL_recreation_martialarts; blk_BL_recreation_restaurants; blk_BL_recreation_sports; blk_BL_recreation_travel; blk_BL_recreation_wellness; blk_BL_redirector; blk_BL_religion; blk_BL_remotecontrol; blk_BL_ringtones; blk_BL_science_astronomy; blk_BL_science_chemistry; blk_BL_searchengines; blk_BL_sex_education; blk_BL_sex_lingerie; blk_BL_shopping; blk_BL_socialnet; blk_BL_spyware; blk_BL_tracker; blk_BL_updatesites; blk_BL_urlshortener; blk_BL_violence; blk_BL_warez; blk_BL_weapons; blk_BL_webmail; blk_BL_webphone; blk_BL_webradio; blk_BL_webtv; .
    15.06.2011 08:59:02 [sg_create_config] Add blacklist entries
    15.06.2011 08:59:02 [sg_create_config] Add sources: Liberados ApenasBasicos LogMeIn
    15.06.2011 08:59:02 [squidguard_rebuild_db] Start rebuild DB.
    15.06.2011 08:58:52 [squidguard_rebuild_db] Create rebuild config '/usr/local/etc/squidGuard/squidGuard__usrdbrebuild.conf'.
    15.06.2011 08:58:52 [sg_redirector_base_url] Select redirector base url (http://192.168.0.10:4444/sgerror.php?url=403 404&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
    15.06.2011 08:58:52 [sg_create_simple_config] Added item 'LogMeIn' = '/var/db/squidGuard/LogMeIn'.
    15.06.2011 08:58:52 [sg_create_simple_config] Added item 'Basicos' = '/var/db/squidGuard/Basicos'.
    15.06.2011 08:58:52 [sg_create_simple_config] Added item 'Liberados' = '/var/db/squidGuard/Liberados'.
    15.06.2011 08:58:52 [sg_create_simple_config] Added item 'Bloqueados' = '/var/db/squidGuard/Bloqueados'.
    15.06.2011 08:58:52 [sg_create_simple_config] Begin with dbhome='/var/db/squidGuard'.
    15.06.2011 08:58:52 [squidguard_rebuild_db] Begin with path '/var/db/squidGuard'.
    15.06.2011 08:58:52 [sg_reconfigure_user_db] Add LogMeIn domains 'logmein.com';
    15.06.2011 08:58:52 [sg_reconfigure_user_db] Add Basicos domains 'terra.com.br globo.com altamira.com.br tecnequip.com.br uol.com.br yahoo.com.br avast.com yahoo.com trrsf.com.br yimg.com';
    15.06.2011 08:58:52 [sg_reconfigure_user_db] Add Liberados domains 'kabum.com.br busca.aonde.com';
    15.06.2011 08:58:52 [sg_reconfigure_user_db] Add Bloqueados domains 'live.com orkut.com youtube.com ceipmsn.com storage.mais.uol.com.br kproxy.com meebo.com megaupload.com power.com ebuddy.com facebook.com';
    15.06.2011 08:58:52 [sg_reconfigure_user_db] Add user entries
    15.06.2011 08:58:52 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'

    I put only the entries of the last two tries.
    In the General Settings Tab, the status of SquidGuard is: STARTED

    I'm sorry for the big post but I think that it is necessary. Any help will be highly appreciated!
    Thanks in advance!

    Marcelo Utikawa da Fonseca



  • I have good and bad news!

    The good news: now my SquidGuard is working again!
    The bad news: I solved this issue disabling the Blacklist from the General Settings in SquidGuard… Now I have only my own rules... :-(
    What can it be? May I report a bug?


Locked