• Problema Pfsense y Whatsapp

    Español whatsapp alias squid squidguard
    15
    0 Votes
    15 Posts
    9k Views
    R
    En caso de que alguien aun no logro resolver el inconveniente aquí dejo el enlace con la información facebook suministra para permitir el filtro por proxy https://developers.facebook.com/docs/whatsapp/guides/network-requirements/?locale=es_ES
  • Squidguard Https block page not showing

    Moved Cache/Proxy squidguard
    14
    0 Votes
    14 Posts
    5k Views
    stephenw10S
    We did a hangout walk though on this. It explains everything you need to know: https://youtu.be/xm_wEezrWf4 Steve
  • 0 Votes
    1 Posts
    949 Views
    No one has replied
  • 1 Votes
    7 Posts
    2k Views
    A
    Durante o monitoramento percebi que o Squid precisava ser reiniciado mais de uma vez ao dia, acrescentei mais dois horários e também alterei o path do cron para utilizar a rotina padrão do Squid. 00 10 * * * root /usr/local/etc/rc.d/squid.sh restart 00 13 * * * root /usr/local/etc/rc.d/squid.sh restart 00 16 * * * root /usr/local/etc/rc.d/squid.sh restart O reinício é rápido e até o momento ninguém reclamou de queda, pelo que tenho percebido afeta somente o acesso a sites, a conferência que era a minha maior preocupação continua funcionando normalmente durante a execução da rotina. O que acho mais estranho é que temos uns 200 dispositivos conectados em nossa rede ( Ethernet e Wi-Fi ) e já ouvi pessoas reclamando do mesmo problema com 1200 dispositivos na rede.
  • 0 Votes
    8 Posts
    3k Views
    B
    All..... The script came from user Remzej. I have it on a cron job to check every 5 minutes (we are a busy proxy environment)... */2 * * * * root /usr/bin/nice -n20 /usr/local/bin/php-cgi -f /usr/local/pkg/monitor_memory_usage.php #!/usr/local/bin/php-cgi -f <?php /* monitor_memory_usage.php part of pfSense (https://www.pfsense.org) Copyright (c) 2011-2015 Rubicon Communications, LLC (Netgate) All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ require_once('config.inc'); require_once('util.inc'); require_once('squid.inc'); global $config; // Monitor memory usage by remzej // Get SWAP usage funtion function swap_usage() { exec("/usr/sbin/swapinfo", $swap_info); $swap_used = ""; foreach ($swap_info as $line) { if (preg_match('/(\d+)%$/', $line, $matches)) { $swap_used = $matches[1]; break; } } return $swap_used; } // Get memory usage function function mem_usage() { $memory = ""; exec("/sbin/sysctl -n vm.stats.vm.v_page_count vm.stats.vm.v_inactive_count " . "vm.stats.vm.v_cache_count vm.stats.vm.v_free_count", $memory); $totalMem = $memory[0]; $availMem = $memory[1] + $memory[2] + $memory[3]; $usedMem = $totalMem - $availMem; $memUsage = round(($usedMem * 100) / $totalMem, 0); return $memUsage; } // Get memory and SWAP usage value $memusage_pct = mem_usage(); $swapusage_pct = swap_usage(); // Display memory usage echo "Memory Usage: " . $memusage_pct . "%" . PHP_EOL; echo "SWAP Usage: " . $swapusage_pct . "%" . PHP_EOL; // If memory usage is above 90%, stop and restart squid services. if (($memusage_pct > 90) or ($swapusage_pct > 80)) { squid_stop_monitor(); if (is_service_running('squid')) { stop_service("squid"); } squid_restart_services(); log_error(gettext(sprintf("[squid] Memory usage is $memusage_pct percent, Swap Usage is $swap_usage percent, stopping and restarting services."))); } log_error(gettext(sprintf("[squid] Memory usage is $memusage_pct percent and Swap Usage is $swapusage_pct"))); ?>
  • 0 Votes
    2 Posts
    940 Views
    ghostshellG
    There are many how to's on the youtube and interwebs. Here is one I have saved https://www.youtube.com/watch?v=W2gy1bLHm5o Skip the pfsense install part as it goes through the whole process from pfsense setup to squid, to squidguard, and lightsquid. Squidguard itself is not hard to setup once you have setup you squid transparent proxy which is basically enabling squid, checking transparent proxy, settings caches and that's it for squid then switch to squidguard and configure it. I have squid setup as an HAVP sine it is built into the squid package now and not a separate package before 2.3. Overall there is are many video and guides with pictures to assist in setting up or helping troubleshoot pieces of pfsense you need help with when you google for it such as in your case "pfsense squidguard setup". Don't hesitate you use your Googlefu.
  • DNS RPZ (full URL)

    pfBlockerNG dnsrpz pfblockerng squidguard bind dns rpz
    2
    0 Votes
    2 Posts
    2k Views
    BBcan177B
    DNSBL will block domains, it cannot block based on a URL as it is a DNS based blocker.