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
  • Re: DNS Proxy Problem

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    ?
    Sounds like squid crashed.  Check to see that squid is running.
  • Package Manager unable to communicate to pfsense.com

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    J
    Did you defined your wan address as /1 ?
  • Squidguard… problems and questions

    Locked
    31
    0 Votes
    31 Posts
    40k Views
    J
    I was having some squidguard problems too and tracked down a different issue than what I've seen in this thread. I am attempting to run the shallalist rules and after a lot of troubleshooting I finally noticed in the squidguard log that it couldn't find blk_BL_politics I noticed that there's a blk_BL_politcs (notice no i) but not one with the proper spelling.  So I just symlinked the proper spelling to the improper spelling and after that it seems to work fine. Thanks to the package maintainer for providing this software.
  • SIPROXD Transparent Proxy

    Locked
    10
    0 Votes
    10 Posts
    13k Views
    G
    I just got mine working. Here's a link to my post: http://forum.pfsense.org/index.php/topic,10084.0.html
  • Anybody using SIP phones to external provider through SIPROXD?

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    G
    I just got mine working. Here's a link to my post: http://forum.pfsense.org/index.php/topic,10084.0.html
  • Packages were uninstalled?

    Locked
    8
    0 Votes
    8 Posts
    3k Views
    C
    Snort has some kind of problem that it uninstalls itself at reboot, I'm not sure if it's a problem with the package system or the snort package itself, one or the other has some sort of bug. It will retain the configuration.
  • SpamD and Outlook plugin?

    Locked
    8
    0 Votes
    8 Posts
    4k Views
    ?
    Sure, I doubt anyone here is going to turn away someone willing to contribute.  I suspect you'd get a lot of interest if you make a plug-in for Thunderbird as well.
  • SpamD Package Needs Testers

    Locked
    80
    0 Votes
    80 Posts
    37k Views
    I
    @submicron: Please read the rest of the thread before complaining about things not working.  The button issue has been addressed in this thread, it does work, just not the way that you are expecting. The blacklist/whitelist count is currently broken and this has been reported to the developer as well. Finally, please do some reading to understand what spamd is and isn't.  It doesn't feature a way to blacklist or whitelist by domain.  That's not its intent.  Blacklists and whitelists are IP addresses only.  It also isn't meant to be the end-all, be-all of spam filtering.  It's meant to help stem the tide of spam and cut down the most obvious stuff.  It should be used in conjunction with a virus scanner on your mail server (at the very least). I did read and understand the entire thread, but since threads were aging and revision numbers weren't listed I was just making sure it hadn't been fixed and I was doing something wrong.  The whitelist button does /not/ work on my install, i understand that the page doesn't reload after the buttons are clicked- it's stated several times throughout the entire thread. I also understand how and what spamd does i was simply asking for an interface to the spamd.alloweddomains file, but since i'm not part of the bounty and this isn't the thread for that, forget about it.  The last question was about other peoples setups, i was simply curious if most were now running 3 boxes (PFsense  |  Clam/Razor | Mailserver). I thought I saw someone ask for configurations to be posted to help others out, and I figured that fell within the realm.  Here are my configs: [image: 6.jpg]
  • Password protect lighttpd

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    S
    system.inc …
  • Hdparm on pfsense

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    ?
    pfSense isn't gentoo.  Ricing it up isn't necessary or even a particularly good idea.
  • Arping in 1.2 and newer

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Just curious: Why ASSP no more? + ?'s

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    V
    Thanks submicron! Yes, I plan on testing the SpamD package. (we might have a site to try soon) We like the feature set and configuration options of ASSP. (Email/Domain/Ip white list, Active Directory email validation of real email users. Not to mention the building/feeding, and whit listing of spam/not spam by users. But it also lacks some features) This is why I wanted to find out more of the history and where the old files could be. Wanted to try and see what i could do. It is a shame that it was not maintained…IMO...it is a good product. Maybe spamD has theses features and I just do not have my facts straight….will look more. (I do see IP white/black list) Thanks again
  • Zabbix Client

    Locked
    35
    0 Votes
    35 Posts
    26k Views
    ?
    You're correct, the zabbix agent package doesn't start.  I modified it for my own purposes and got it working, but zabbix is a piece of crap and I scrapped it shortly thereafter.  Zabbix doesn't monitor FreeBSD properly so the Zabbix client, even if you get it working, will suck with a whole mouthful of teeth.
  • Experimental TCP options

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Can't uninstall snort??

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    M
    @submicron: Then follow the instructions that hoba provided. I had another issue that a fan was broken and the device wouldn't restart because of this failing fan after placing the changed XML back, I directly moved my other backup FW into the vlan and had everything working in seconds… the same day I fixed it as I did before by removing the part from the XML as mentioned :) Thanks !
  • Squid and lightsquid logging

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    D
    Then I do not understand the question.  :P  My translator frightened.
  • SpamD

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    ?
    Read the forum thread on the subject, several people have already discussed their setup.
  • LightSquid Issue

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    J
    @jan: Hi Guys, I've installed Squid and LightSquid respectively, I've also tried installing squidguard but don't have to luck to make it work, just used OpenDNS instead ;D  anyways back to the real issue, LightSquid seems to be acting quite odd. Although there are reports on the LightSquid Report page but when I looked at it the results are quite odd, e.g., for this day the total bytes is only 4MB. I have more than two hundred users and I can't believe they will only consume that much. Another thing is when I looked at the individual ip's report and compared them, all of them browsed the same three sites which is not true. I think Squid stopped for some reason that is why there the LightSquid report is odd and pfSense gui is still saying that it's running. Has anybody encountered this issue? How did you resolved it? Many thanks in advance. Jan Helo, jan, Be careful, as submicron - Global Moderator - Sr. Member, said on: http://forum.pfsense.org/index.php/topic,5729.msg54580.html#msg54580 "In fact, … installation of many packages, some of which are problematic." You can be triyng to install many packages (5 or more), and/or tryng to use a "problematic" package, or using it in conjuction with a "problematic" package. I sugest you, to try the same, but installing less packages. Regards.
  • Update Proxy

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    D
    @Rom: Hello, it is possible to automate update of blacklist on squidguard? In this version not relised.
  • Snort signatures update issue?

    Locked
    22
    0 Votes
    22 Posts
    13k Views
    B
    I have tried both fixes (curl and ini_set - seperatley) but finding that it takes forever to download the rules files no matter what I use. If I download the exact same URL that /usr/local/www/snort_download_rules.php is using at the same time but on a desktop that is on the LAN net behind pfSense, it downloads in a couple of minutes. (no caches involved) Multiple attempts on the pfSense box return the same results. Traffic shaper is turned off and pfSense is 1.2 prod. ls on the temp dir (eg /tmp/snortRulesJ0rIr3/) show it downloading, but very slow .. -rw-r–r--  1 root  wheel  167363 Jun 14 20:02 snortrules-snapshot-CURRENT.tar.gz -rw-r--r--  1 root  wheel  6637801 Jun 14 20:26 snortrules-snapshot-CURRENT.tar.gz Once done, the rules file is a complete file, but Snort downloading seems to hang and does not download the md5 hash. Is there any other additional hacking needs to be done to the snort_download_rules.php file to allow it to progress ? Does anybody have the above fixes to consistently work ? Thanks.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.