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
  • 0 Votes
    2 Posts
    623 Views
    N
    oh i forgot to tell that the packages are available before but when want to use it, it cant be use.
  • Telegraf error after update PFSense to 23.01

    Moved
    4
    0 Votes
    4 Posts
    1k Views
    H
    @krumx Hello, This doesn't help much at the moment however, they do have an open ticket for this issue. Just not sure when it will be fixed but at least we can track it here and update as soon as possible: https://redmine.pfsense.org/issues/13985
  • 0 Votes
    8 Posts
    881 Views
    S
    @iftvio Hello! The propriety of multiple CNs in a cert notwithstanding, and not knowing exactly which version you are running or the intent of the original design goals with regards to handling multiple CNs, a quick code review of your suggested fix would indicate that it may not work in all situations. Among the possible issues: $is_wildcard will be set based on the last CN checked in the array. str_replace will return an array when the subject ($cert_cn) parameter is an array, which will cause subsequent calls to substr that reference $cert_cn_regex to fail. A quick hack might be to simply set $cert_cn to the first/last CN in the array, when present. Of course, any code changes should be fully unit tested. John
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    245 Views
  • HTTPS Custom Error page in Squid Pfsense

    squidguard pfsense 2.6 squidproxy squid
    1
    0 Votes
    1 Posts
    652 Views
    No one has replied
  • Telegraf PHP Error on Pfsense 23.01 RELEASE

    1
    0 Votes
    1 Posts
    485 Views
    No one has replied
  • FreeRADIUS - LDAP: Use ldaps:// in address field

    1
    0 Votes
    1 Posts
    645 Views
    No one has replied
  • Snort Alert Pass List

    9
    0 Votes
    9 Posts
    2k Views
    C
    Thanks steve! I'll check them out!
  • Configure FreeRadius & multiples ssids <> users

    12
    0 Votes
    12 Posts
    2k Views
    D
    @nogbadthebad For information, here is the right syntax : Called-Station-Id =~ '.*:ssid_name' or in case you want to catch the complete value (ie > "mac:ssid") : Called-Station-Id == "aa-bb-cc-dd-ee-ff:ssid_name" -> Now, user is connecting ONLY to one ssid. Thanks a lot for helping me to fix this setup
  • FreeRadius stopped working

    9
    0 Votes
    9 Posts
    2k Views
    G
    @giyahban Strange thing happened when I changed every 127.0.0.1 ip to lan ip now its working! it would be nice to understand what was causing the problem!
  • Unable to retrieve package information

    1
    0 Votes
    1 Posts
    501 Views
    No one has replied
  • No available packages

    2
    0 Votes
    2 Posts
    834 Views
    P
    Hi Dominik there is already a redmine ticket and other threads dealing this issue https://forum.netgate.com/topic/178822/no-available-packages
  • Help with HAProxy and Docker

    2
    0 Votes
    2 Posts
    851 Views
    K
    @konjugatix allright, ive done a factory reset and switched my dyndns provider, this one messed up and gave my domain the wrong ip. Now ive got my domain set up with the correct ip and have started again. To this day, i have opened ports 80&443 on my appliance, though when i do a nmap on the IP/domain from outside the network(s), only port 80 is open, does anyone have had a similar issue? I made a simple rule WAN->Tis firewall (Self) with tcp on 80 and the same for 443 in a separate rule.
  • Upgrade 22.05 to 23.01 fails on FreeRADIUS XMLRPC Sync

    Moved
    3
    0 Votes
    3 Posts
    818 Views
    J
    The filed bug gave a good hint about not having an empty HA-Sync configuration under 'System'. I've put a username and password in that configuration to make sure it's not empty. This results in a working upgrade, and working Freeradius after upgrade. XMLRPC also works fine after the upgrade.
  • Using avahi to resolve hosts

    8
    0 Votes
    8 Posts
    2k Views
    johnpozJ
    @dennypage avahi just doesn't work - there are multiple steps required to get it working with firewall rules, and all that would be would be discovery. It wouldn't allow access.. its mdns..
  • pfsense 2.6 has no working speedtest-cli

    6
    0 Votes
    6 Posts
    2k Views
    G
    @johnpoz yup, that was it. I haven't installled a router in a while with pfsense and I guess I completely forgot about the need to rehash? But I installed screen and vim no problem. Some packages need a rehash and some do not? Thank you all for your comments
  • Error install zabbix-agent62-1.0.5

    10
    1 Votes
    10 Posts
    3k Views
    E
    @hugo-santos Hah, that's not much of a fix but I'm glad you're all set :-)
  • Installing Zabbix 6.2 agent on CE 2.6.0 doesn't work

    1
    0 Votes
    1 Posts
    398 Views
    No one has replied
  • Have any friend know axiomtek na592 use what lcdproc driver?

    2
    0 Votes
    2 Posts
    661 Views
    A
    I find is use AX93304 this lcd.What is this driver use?
  • SMTP server on pfSense.

    Locked
    27
    0 Votes
    27 Posts
    6k Views
    jimpJ
    @apetrenko said in SMTP server on pfSense.: Question to netgate: why are you so interested to prevent me to use smtp relay on pfSense box? You have no obligation, I'm using the "community edition". Everything on my responsibility. Why are you so much stirred up against my solution? Because this is a security product and e-mail services have a long history of being a gigantic attack surface full of holes and bringing more risk than anyone sane would want to take on. Most other add-on services are either only still around because they're entrenched (and hard to get people to stop using) or because the risk is relatively low by comparison. If you want to do it, you're on your own. That kind of service does not belong on a firewall. EOT. Locking.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.