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
    N
    @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
  • 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
    11 Posts
    2k Views
    D
    Phil, just tested and package installed like a DREAM! Thanks so much for this , Pfsense is used in so many universities here and this will mean these universities no longer have to fear a reinstall of pfsense (from a backup that includes the squid3 packages). Many many thanks
  • OScam

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    D
    How I know there is no such package in PFSense list. You can ask someone else to do it here http://forum.pfsense.org/index.php/board,34.0.html
  • Other packages in pfsense

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    K
    Many Thanks dvserg! i will try that tomorrow on our test box.
  • Packages Offline availble?

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    marcellocM
    You will need to do it under the roof. Backup packages tgz install and all xml files. After that a manual restore (via console) of config.XML Maybe there is another way that I don't know.
  • Missing libraries for amd64 version of cyrus-sasl-2.1.25_1

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    marcellocM
    They are part of freebsd install, that's why it's not included on port package build. Some time ago core team asked to do not include binaries/libs on package repo and not everyone that uses postfix need sasl.
  • Problem whit OpenVPN

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Package(s) install/uninstall - previous configuration remains…

    Locked
    5
    0 Votes
    5 Posts
    6k Views
    marcellocM
    @phil.davis: It would be impossible for a generic package cleanup interface to reliably know which sections belonged to which package. Packages would have to declare these somewhere, and I don't think they do a present. Or include this option on package gui, just like snort does. "remove all config on package uninstall"
  • How to delete 400 GB in /usr/local/sarg-reports/ ?

    Locked
    7
    0 Votes
    7 Posts
    4k Views
    U
    Ok, after 3 days files are deleted… @jimp: I tried multiple SSH sessions but I just want to find some magic hack and delete like NTFS - just mark file as deleted and space is free. But now I know - just wait  ;)
  • Spamd Package - set up to handle multiple smtp host domains

    Locked
    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Unable to upload file to TFTP server…

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    S
    http://www.hardened-php.net/suhosin/configuration.html#suhosin.upload.disallow_elf Try these steps to add & enable it, but bear in mind potential security risks. http://forum.pfsense.org/index.php/topic,57363.msg306945.html
  • SQUID3 HTTPS fixed but WAN PPPOE problem with SQUID3

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    N
    Make you squid only listening on LAN interface. Not on any other. Check "Allow users on interfaces" and check "Transparent proxy". check "use DNS v4 first" and do NOT enable "cache dynamic content" Do not use any other custom options. Squid will run and start with the default settings very well. I am sure your problem is not PPPoE but something wrong on squid config. Perhaps you can post screenshots of your squid GUI configs. Further - if you run squid you can rund squidguard or dansguardian and use predifines blacklists for porn. Then you do not need to do that with openDNS. You can also try to use some other DNS like 8.8.8.8 or 8.8.4.4 instead of OpenDNS - just for testing.
  • Packages vanishes after reboot

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    K
    Thankyou phil jee. I was nearly getting MAD. Thanks
  • 0 Votes
    11 Posts
    4k Views
    marcellocM
    Thanks for the feedback, this patch was applied to squid3 install.
  • As soon as I install Squid3, https does not work anymore

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    marcellocM
    @quetzalcoatl: If wan is a pppoe connection squid still does not work. I have squid3 with pfsense 2.0.2 and pppoe working without issues.  ??? @quetzalcoatl: Also if i want squid to start caching for real, i have to disable caching for dynamic content. It's a Know issue. The dynamic content acls was implemented based on squid3 wiki page, it needs fixes/improvements.
  • Packages Server down? (SOLVED)

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    M
    Thank you. I can access normally too now. I will keep the above URL handy!  :)
  • Package list

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    jimpJ
    Split this off into its own thread and sent a warning, but since the linked site doesn't contain any ads it isn't really "spam" in the traditional sense, just a lot of self-promotion. Someone may find these blog post(s) helpful, but they should only be posted in relevant places, and with only 1-2 links to articles that are specifically relevant to a given topic.
  • Suggestion for SNORT package…

    Locked
    1
    0 Votes
    1 Posts
    726 Views
    No one has replied
  • SNORT is driving me crazy…...!!

    Locked
    21
    0 Votes
    21 Posts
    9k Views
    S
    After the table increase, then I upped memory to 4GB and rebooted. IT WORKS!! No issues at all and even snort started without complaints :D Thx mate! Really appreciated!
  • SquidGuard XMLRPC Sync - has anybody done that ?

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    marcellocM
    @Nachtfalke: Hehe, "where" is the Apply-function ? php, html and java is not my friend ;-)) I think that a good place(just a fast look, not a deep look ;) ) to put it is in squidguard_configurator.inc file at function sg_reconfigure() or include it before sg_reconfigure and exec sg_reconfigure after update.
  • Barnyard2 thinks snort spool logs are empty

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.