Subcategories

  • Discussions about packages which handle caching and proxy functions such as squid, lightsquid, squidGuard, etc.

    4k Topics
    21k Posts
    A
    I found what is adding these directives to the config file! The behavior is hard-coded in /usr/local/pkg/haproxy/haproxy.inc which is what generates /var/etc/haproxy/haproxy.cfg Line 727 function write_backend($configpath, $fd, $name, $pool, $backendsettings) { ... Line 1006 (always executes, not subject to any conditional statements) fwrite ($fd, "\tload-server-state-from-file\tglobal\n"); Line 1520 function haproxy_writeconf($configpath) { ... Line 1612 (always executes, not subject to any conditional statements) fwrite ($fd, "\tserver-state-file /tmp/haproxy_server_state\n"); Line 2498 function haproxy_check_run($reload) { ... Lines 2507-2508 (executes if haproxy is running when a reload is requested, which is almost always true) if ($reload) { if (haproxy_is_running()) { $r = haproxy_socket_command("show servers state"); file_put_contents("/tmp/haproxy_server_state", $r); } These lines result in the following behavior: Whenever HAProxy's settings are saved using the GUI, the server-state-file directive is added to the global section of the resulting config file. Whenever HAProxy's settings are saved using the GUI, the load-server-state-from-file directive is added to each backend of the resulting config file. Whenever HAProxy reloads, it writes the backend server state to /tmp/haproxy_server_state, and due to the server-state-file directive, it then always reads and applies the previous state data. There is no GUI text that mentions that this behavior is hard-coded, and there is no way to disabled it other than commenting out the lines (1006, 1612, 2507, 2508) in haproxy.inc that are responsible for adding the directives to the config file. The GUI option Reload behaviour is responsible for the directive hard_stop_after which is for a different behavior. I've added these findings to the redmine.
  • Discussions about packages whose functions are Intrusion Detection and Intrusion Prevention such as snort, suricata, etc.

    2k Topics
    16k Posts
    bmeeksB
    @NRgia said in Suricata on Pfsense: @bmeeks Thank you for what you did for Snort or Suricata. I'm not sure what you want me to do on Redmine, due to is a bug tracker. My question is for Product Management, which I will ask it here to be public: What is the plan for these 2 packages, Suricata and Snort? Thank you Yes, Redmine is for both bug reports and feature requests. Asking for the Suricata binary to be updated to the latest 7.0.11 version from upstream is a legitimate Redmine request. I would suggest simply asking for the binary version update instead of asking about future Netgate strategy (such as the support plans for the packages). Strategy discussions typically don't get very far because they deal with proprietary information or plans that a company may not want to publicly discuss. Redmine is where the Netgate developer team tracks all the code changes they make for pfSense. They will see Redmine reports much quicker than a forum post.
  • Discussions about packages that handle bandwidth and network traffic monitoring functions such as bandwidtd, ntopng, etc.

    571 Topics
    3k Posts
    K
    @pulsartiger The database name is vnstat.db and its location is under /var/db/vnstat. With "Backup Files/Dir" we are able to do backup or also with a cron.
  • Discussions about the pfBlockerNG package

    3k Topics
    20k Posts
    GertjanG
    @rasputinthegreatest said in pfBlockerNG not logging anything by default?: its made up of multiple sources so it does make sense that it resolves some of these weird private hosts An public NTP pool like pool.ntp.org would not list host names with weird random paddings that reference local devices. "domaincontroller-gPHvwjYS.local,192.168.1.86" is a reverse PTR, and is requested by one of your local devices. Why , I don't know. @rasputinthegreatest said in pfBlockerNG not logging anything by default?: I find them in pfblockerNG dns_reply log under Logs No URLs there, only host names. [image: 1754736735409-c09607c2-c95a-4971-bdb4-f63fe08bebe8-image.png]
  • Discussions about Network UPS Tools and APCUPSD packages for pfSense

    101 Topics
    2k Posts
    dennypageD
    @jhg said in NUT fails to start after 2.7.2 -> 2.8.0 upgrade: Interesting. I would have thought the initial reboot, which occurred as part of the upgrade, would have done the trick, but it took a second reboot, just now, to get things working. Glad you have it sorted. There was no difference in the output of usbconfig show_ifdrv at any point -- before or after unplugging/replugging the USB cable, nor after rebooting. ... Question: What would tell me whether or not a driver was loaded? If there were an attached driver, it should have shown up with the show_ifdrv command. If you use the command and look at the other usb devices, I think they will show attached drivers. I don't expect to see a driver attached to the ups, because there is a quirk that tells the OS to ignore that device (and not attach a driver). Look for idVendor and idProduct in the above output. The Vendor ID for your device is 0764, which corresponds to Cyber Power Systems, and the Product ID for your device is 0601, which is registered as "PR1500LCDRT2U UPS" (don't sweat an exact match for the name). You can see the quirk with the following command: [25.07-RC][root@fw]/root: usbconfig dump_device_quirks | grep 0764 VID=0x0764 PID=0x0005 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x0764 PID=0x0501 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x0764 PID=0x0601 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE [25.07-RC][root@fw]/root: Your device is third on the list. The HID_IGNORE quirk says to ignore the device and not attach a driver. @jhg said in NUT fails to start after 2.7.2 -> 2.8.0 upgrade: You might consider adding this resolution to the release notes for 2.8. LOL... sorry, I don't have input to the release notes (I don't work here). While I wrote and maintain various packages, including NUT, I'm still just a volunteer. Most packages are actually written by volunteers.
  • Discussions about the ACME / Let’s Encrypt package for pfSense

    493 Topics
    3k Posts
    GertjanG
    @EChondo What's your pfSense version ? The instructions are shown here : [image: 1753262126227-1acdc586-cb29-4148-9e36-81ade4e5e60c-image.png] A restart of a service will start by re creating their config files. If a certificate changed, it will get included. When the process starts, it will use the new certificate. @EChondo said in Issue with ACME Certificates Refresh & Restarting HAProxy: I haven't been able to confirm if the above works(mine just renewed, don't feel like doing it again just to test), so we'll see in 60 days I guess. No need to wait x days. You can re test / renew right away, as you are 'allowed' to renew a couple (5 max ?) of times per week.
  • Discussions about the FRR Dynamic Routing package on pfSense

    294 Topics
    1k Posts
    yon 0Y
    said in Please update frr on Pfsense+ to FRR 10.3: https://redmine.pfsense.org/issues/15785 now frr 10.4.1
  • Discussions about the Tailscale package

    90 Topics
    594 Posts
    E
    @totalimpact Tailscale 1.54.0 is 2+ years out of date. Tailscale has made quite a number of changes since Tailscale 1.54.0, likely rendering it incompatible with their servers. I would consider manually updating the Tailscale FreeBSD package. FreshPorts does not maintain an archive of all the releases, only the latest compiled by the volunteer maintainers. The key to manually upgrading is knowing which FreeBSD version your pfSense release is running, i.e. 14 or 15. You can following along here.
  • Discussions about WireGuard

    692 Topics
    4k Posts
    M
    This is still an issue as of 2.8.0 / 25.07, and it drives me crazy. Gateway failure works as expected, the wireguard tunnels will fail over to the backup gateway and continue on as normal, but will never recover once the failed gateway comes back online. While a reboot will (usually) fix it, I usually just go into my routing settings and mark the secondary gateway as down, forcing it to revert back to the primary... the users tend to dislike it when I reboot the firewall in the middle of the day
  • Block With Dansguardian

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    K
    No one can help me!?   I read somewhere that the DG favors the exception list in relation to banned list, it is impossible to block a host eg "chatenabled.mail.google.com" with proxy? I can lock in squidGuard but my problem is that i work with AD groups with names over 16 characters and squidGuard does not accept the name of the ACL more than that.
  • Redirection to custom url every 30 minutes or every 10 urls.

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [ask]How to install MRTG on pfSense?

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Varnish problems

    Locked
    12
    0 Votes
    12 Posts
    5k Views
    V
    I will try the above and let you know what happens. Thank you both for taking the time to reply.
  • Squid for Dummies

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    N
    O.K, I tried that, but the service does not seem to be working.  Anything else I need to set?
  • My lightsquid has stopped working

    Locked
    14
    0 Votes
    14 Posts
    8k Views
    marcellocM
    @uzzitm: same problem here after updating to the latest LightSquid. The report page is blank or error message ocurs So, try the same fix  ;)
  • Squid log rotate in nano issue.

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    K
    Hi all I think this is a issue related to all Squid buid for pfsense! bc I have the same issue, but my system is running AMD64!
  • Restrict lightsquid reports access.

    Locked
    6
    0 Votes
    6 Posts
    4k Views
    marcellocM
    I think you have to configure it on lighthttp.conf file instead of .htaccess http://blog.lighttpd.net/articles/2005/11/25/simplify-your-configfiles-with-includes http://redmine.lighttpd.net/projects/lighttpd/repository/entry/branches/lighttpd-1.4.x/doc/config/lighttpd.conf If it's not an old post, this may help too http://forums.digitalpoint.com/showthread.php?t=2320797
  • HELP: SNORT->Barnyard2!?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    K
    @industrial: Hi is there any functional tutorial how to make this work, simple package install newer work, adding barnyard2 bin does start or start then after some error stop, in any case it don't parse any data, is there anywhere a step by step idiot guide how to install it cause i lost to many hours searching for a solution and trying to make it work without success. Mine doesn't seem to work either.
  • 0 Votes
    3 Posts
    3k Views
    B
    OK, Thanks for the reply. I feel a bit silly :-[ I must have fixed the problem at some point but forgot about Google Chrome cache (It was late I was tired ;)). This morning I looked at the problem with fresh eyes, click refresh page and it all worked in Chrome. These posts all offer advice about the  '/var/lightsquid/report' not contain any valid data! error http://forum.pfsense.org/index.php/topic,38442.0.html http://forum.pfsense.org/index.php/topic,20856.0.html http://forum.pfsense.org/index.php?topic=39290.0.html http://forum.pfsense.org/index.php?topic=43497.0.html http://forum.pfsense.org/index.php/topic,49743.0.html http://forum.pfsense.org/index.php/topic,49758.0.html
  • Squid\SquidGuard configurations on the client side

    Locked
    13
    0 Votes
    13 Posts
    5k Views
    V
    Looks like the issue was with IE. Now I need to find a way to restrict proxy changing on FF or Chrome. (With IE I just restricted the "connection" tab with GPO, but they can still access this tab from Chrome, thanks for the great security, microsoft…).
  • Problems with Sarg and Lightsquid both.

    Locked
    7
    0 Votes
    7 Posts
    4k Views
    marcellocM
    Are you rotating logs after sarg run? If so, lightsquid will not find any log to report.
  • Quagga OSPF Error IP_ADD_MEMBERSHIP

    Locked
    14
    0 Votes
    14 Posts
    5k Views
    J
    Hi mate, Just seen it works the other way i.e. no ticking the box distributes the route so for me thats perfect anyway, will do some research and see if I can work out how to do the excludes. At the moment this is perfect for me, so seriously many thanks, the whole project is fantastic J
  • How to unblock URL?

    Locked
    6
    0 Votes
    6 Posts
    6k Views
    D
    SquidGuard rules 'pass' order: <white><deny><allow><all|none>The 'white' category has highest priority before other.</all|none></allow></deny></white>
  • Time Based restriction with Squid & Squid Guard

    Locked
    25
    0 Votes
    25 Posts
    19k Views
    W
    any workaround on this problem ? a cron job to restart squidguard or a fix on squidguard config it self ?
  • Squid + Dansguardian + AD Pass Through

    Locked
    13
    0 Votes
    13 Posts
    8k Views
    T
    –Bump--
  • Quagga OSPF package and custom configuration

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    jimpJ
    There isn't a way to use a custom config if you install it via the GUI. You could just install the binaries (via pkg_add from the shell) and your custom config and such if you like, but if the GUI components are installed it will overwrite the config any time it syncs packages. Even if there was a custom config option in the GUI, configuring via the vty wouldn't save the changes back to pfSense's package config, it would only save the changes on the disk to the config file of quagga.
  • Openospf / quagga ospf on PF2.1

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    jimpJ
    I just uploaded a new version of quagga last night that should fix all the known issues that were out there. There was a missing binary for amd64, that should be resolved now.
  • Traffic redirection to Content Filtering

    Locked
    1
    0 Votes
    1 Posts
    979 Views
    No one has replied
  • Update for HAVP

    Locked
    9
    0 Votes
    9 Posts
    2k Views
    D
    @jdt3333: I can't install HAVP after fresh install 1.2.3-RELEASE same error like this topic http://forum.pfsense.org/index.php?topic=29886.0 cat apkg_havp-0.91.tbz "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <title>404 - Not Found</title> 404 - Not Found Not found source havp-0.91.tbz for 1.2.3, i will check this issue.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.