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
  • Use FreeBSDs quagga package for use of OSPF and BGP

    31
    0 Votes
    31 Posts
    9k Views
    Q
    @jimp: No, it only supports one instance of OSPF or BGP, FRR may be capable of multiple but setting that up would be a lot more work for very little benefit considering how much it would be used. Good to know. Sounds like I may have a new challenge for myself ;)
  • [SOLVED] Missing menu "Services > Proxy Filter"

    3
    0 Votes
    3 Posts
    765 Views
    marciosouzajuniorM
    @jimp: Remove and reinstall the package. Used the "Reinstall package" option and its working good now.
  • Best Choice for Web Filter

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Cant Update Package

    2
    0 Votes
    2 Posts
    1k Views
    GertjanG
    Hi, See pfsense 2.3.3 Unable to check for updates or pfSense Repository "broken" (more exists). What is your DNS setup ? You kept the default "resolver" (always works, no matter what) or the more trickier one : "forwarder" ? What settings ? It might be even more simple (as seen in a thread) : the drive was booted using read only mode …. and that stops the show right away. Or drive damaged ... Or some system PHP system files didn't come over when installing ... Anyway, read the thread I showed - install Google and use it to search some more - and come back with your detailed findings. I promise you that in your next question you will find your answer.
  • Which UPS service settings for my SmartUPS?

    2
    0 Votes
    2 Posts
    615 Views
    w0wW
    AP9630 is a SNMP card also.  You should read the manual and setup this card properly, IP, protocols, user access and so on, then you will be able to connect this card via Remote SNMP and using your UPS name shown in card settings. [image: UPS.jpg] [image: UPS.jpg_thumb]
  • Freeradius uninstalling

    3
    0 Votes
    3 Posts
    1k Views
    P
    pkg info -x radius shows freeradius-2.2.9 pear-Auth_RADIUS-1.1.0 pecl-radius-1.4.0.b1 squid_radius_auth-1.10 After pkg delete pfSense-pkg-freeradius2 freeradius2 it shows freeradius-2.2.9 pear-Auth_RADIUS-1.1.0 pecl-radius-1.4.0.b1 squid_radius_auth-1.10 and paket freeradius2 is not installed After installing freeradius3 it shows freeradius3-3.0.15 pear-Auth_RADIUS-1.1.0 pecl-radius-1.4.0.b1 pfSense-pkg-freeradius3-0.8 squid_radius_auth-1.10 I will test, if the other problems are gone, thank you! pfadmin
  • Bind package 9.11_8

    1
    0 Votes
    1 Posts
    534 Views
    No one has replied
  • Ntopng - Probing or server down - what does this mean

    2
    0 Votes
    2 Posts
    1k Views
    J
    These are overwhelming my server logs. I'm not sure if this is some valid threat or if these are general web probes that are happening all the time.
  • Pfbng with dnsbl for url filtering?

    2
    0 Votes
    2 Posts
    428 Views
    F
    Yes DNSBL is used to block websites.  Make sure you redirect all DNS to pfSense to prevent someone from using 3rd party DNS servers to bypass the DNSBL.
  • Unable to install any packages

    4
    0 Votes
    4 Posts
    664 Views
    S
    Ok good to know. Could very well be a problem with one of the plugins that I have installed. I will try to troubleshoot it as you suggest to see if I can fix the problem.
  • Softflowd source and destination interface id as 0

    3
    0 Votes
    3 Posts
    2k Views
    D
    Well I was able to somewhat figure this out. It looks like OP was completely on the right track - the code in that section looks correct, but in any *BSD/Linux/etc. system it's getting tripped up because the interface name is not a pure number. As a result, the atoi() function returns 0 consistently, instead of some value which differentiates the interfaces. I made a custom patch to the package in order to output something unique. This probably isn't safe (I blindly assume we have strsep() without a macro for one), so I'm not going to send it upstream, but it worked out for me. It instead uses the individual characters of the interface name to generate a unique ~5-digit integer which can be used easily for filtering. To find out an interface's numerical representation, I just run softflowd -i <name> with no other args, which prints the info and crashes. Hope this helps someone! --- softflowd.c.orig    2017-04-25 22:26:07.000000000 +0000 +++ softflowd.c 2017-08-03 07:31:41.194232000 +0000 @@ -1781,17 +1781,12 @@                                 usage();                                 exit(1);                         } -#if defined(HAVE_STRSEP)                         dev = strsep(&optarg, ":"); -#else /* defined(HAVE_STRSEP) */ -                      dev = strtok(optarg, ":"); -#endif /* defined(HAVE_STRSEP) */ -                      if (optarg != NULL) { -                              if_index = (u_int16_t) atoi(dev); -                              dev = optarg; +                      int len = strlen(dev); +                      for(i=0; i<len; i++){<br="">+                              if_index = if_index * 10 + ( dev[i] - '0' );                         } -                      if (verbose_flag) -                              fprintf(stderr, "Using %s (idx: %d)\n", dev, if_index); +                      fprintf(stderr, "Using %s (idx: %d)\n", dev, if_index);                         break;                 case 'r':                         if (capfile != NULL || dev != NULL) { [/i]</len;> ```</name>
  • Missing LAN rules

    2
    0 Votes
    2 Posts
    499 Views
    P
    Oh gawd…this is possibly a "false alarm".  I had the "floating rules" checked so I suspect it was on all on the floating rules tab and not the LAN.  When I unticked the floating rules check box and checked the LAN in the firewall section...all the rules were there. Sheesh!
  • Pfsense 2.3.3 Unable to check for updates

    12
    0 Votes
    12 Posts
    3k Views
    GertjanG
    The file should exist : [2.3.4-RELEASE][admin@pfsense.brit-hotel-fumel.net]/root: ls -al /var/db/pkg/repo-pfSense-core.sqlite -rw-r--r--  1 root  wheel  212992 Jul 14 22:08 /var/db/pkg/repo-pfSense-core.sqlite and if it doesn't, it will be auto created by the "package system. Btw : check your drive. Check if the directory /var/db/pkg exists. Can you write something there ? Etc.
  • Question about BIND Package

    1
    0 Votes
    1 Posts
    515 Views
    No one has replied
  • Suricata conflict due to Multi thread count Problem

    2
    0 Votes
    2 Posts
    636 Views
    S
    the same. proliant dl380 g5 pfsense +suricata+ bridge and messages like yours. [image: 20170801_085606.jpg] [image: 20170801_085606.jpg_thumb]
  • Filtering access to squid

    1
    0 Votes
    1 Posts
    342 Views
    No one has replied
  • OpenVPN CLient Export Fails to Display Certs when CA Depth > 1

    5
    0 Votes
    5 Posts
    2k Views
    A
    Thanks for the thoughts. I still think it would be reasonable for the certificate manager to list any client certs that chain up to the selected Peer Certificate Authority. After all, any of these certs would correctly validate a client when connecting to the OpenVPN server, and thus could be used in client exports. For example, what if you wanted to use multiple client intermediate CAs with a single OpenVPN server (e.g. one intermediate for employees from the China office, one for employees from the US office – in order to allow you to revoke an entire office's access quickly by revoking the relevant intermediate)? If the client export package only displays client certs directly issued by the Peer CA, and not one two or three levels below it, such a setup wouldn't be usable with the client export package. In any case, it's not a huge deal -- for my use case, I can just set the Peer CA directly to my Intermediate.
  • BIND override A record possible?

    8
    0 Votes
    8 Posts
    2k Views
    johnpozJ
    Yeah what your talking about doing would be hack for sure!!
  • Radius Server - Service cannot Start up

    2
    0 Votes
    2 Posts
    569 Views
    F
    Hi Khupidor I was just dealing with the same issue Hope this helps you too: https://forum.pfsense.org/index.php?topic=133961.msg735559#msg735559 Cheers!
  • Freeradius 2.2.x authentication bypass CVE-2017-9148

    4
    0 Votes
    4 Posts
    1k Views
    W
    I saw that FreeRadius 3.0.15 support was added to Available Packages. Uninstalled freeradius2, installed freeradius3, and the configuration transfered over quite nicely. I imagine this was quite an undertaking, thanks much! Cheers
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.