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
    R
    @Gertjan s7.vonderste.in resolves to 94.16.122.152. I just saw a dns request for that. In the whitelist on OTX Alienvault there is a timeserver: 3.de.pool.ntp.org I just don't know why a timeserver runs on a TOR node and seems to be hosted by a private person. Maybe pfblocker resolves it incorrectly becaues the time server is hosted on the same IP? Anyway I see this coming from my ASUS router which is in Access Point mode. These weird domains always come up every hour and I think they are related to ntp on that ASUS router. Since I disconnected it it has stopped. Here is an example of what I see. Scanning these IPs shows nothing malicious but who knows. 93.122.215.85.in-addr.arpa,192.168.1.8,sonne.floppy.org,unk 94.244.38.46.in-addr.arpa,192.168.1.8,basilisk.mybb.de What didn't stop was on my work computer these weird replies as mentioned above. reply,A,NSEC,1081,domaincontroller-gPHvwjYS.local,192.168.1.86,NXDOMAIN,unk But it only happend once today instead of multiple times like the days before. @Gertjan said in pfBlockerNG not logging anything by default?: Where - what log - did you find that URL (DNS only deals with host names) ? I find them in pfblockerNG dns_reply log under Logs EDIT: I just realized that it is kind of in the name pool.ntp.org its made up of multiple sources so it does make sense that it resolves some of these weird private hosts?
  • 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
  • Squidguard empty Target Rules

    Locked
    7
    0 Votes
    7 Posts
    8k Views
    D
    @Gabri.91: @dvserg: Need Enable blacklist. Sorry I didn't see that flag, now it works ;D  ;D General Settings tab.
  • Snort and Dansgaurdian / squidguard

    Locked
    12
    0 Votes
    12 Posts
    3k Views
    marcellocM
    Dansguardian will work on both. Choose what works better on you setup.
  • Squid and some website issues

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    F
    rajbps: Did you try to access the site in question using a different router? I found that independent from using Squid or not that I can resolve the name, but I cannot ping or browse this site. It looks as if it is down.
  • Dansgurdian AD FilterGroups

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    marcellocM
    @neil: 2. in the username field DONT put dc entries.  ie all that I used was cn=Administrator,cn=users Yes, just like suggested on field info.
  • Dansguardian, Ldap and Access Lists

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    N
    Ok I found the problem - it looks like a "bug" with the combination of Squid and Dans Guardian. I first installed Squid, and then Dans Guardian. I configured squid to authenticate with LDAP against an AD server, and tested this successfully. Then I set up groups (which populate from AD) and access lists within Dans Guardian, and found that these lists were ignored whenever a user authenticated. The solution was this: In the General tab for Dans Guardian, the auth-plugins was set to proxy-basic.   If you change this to anything else (eg ident) and restart DG, then go back and change this setting to proxy-basic and restart DG, the access lists are then correctly accessed and applied to Groups. Just to make absolutely sure, I re-installed pfsense/squid/dg on a fresh box with the above functionality, and can confirm that this simple toggle is needed to get DG to use the correct access lists assigned to groups. Thanks for your prompt suggestion and I hope my experience helps others.
  • Cron Job not working

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    marcellocM
    While using cron, insert full binary paths Change sh to /bin/sh for example.
  • Dansguardian Fails to start

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    marcellocM
    this is the pcre issue on dansguardian 2.12.0 dansguardian patches are already submited to freebsd ports. After it, a pcre issues-free version of dansguardian package version will be released.  :) http://www.freebsd.org/cgi/query-pr.cgi?pr=175341
  • How to check that snort actually works ?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Lightsquid show me "500 - Internal Server Error" in graphics tab

    Locked
    27
    0 Votes
    27 Posts
    25k Views
    M
    I fixed it by uninstalling all packages that require pearl (the last one you uninstall will also uninstall pearl), then when I reinstalled squid and lightsquid which reinstalled pearl. All the cache and logs created by squid were still there, no data loss.
  • Cannot get DansGuardian to work on pfSense 2.0.2

    Locked
    10
    0 Votes
    10 Posts
    4k Views
    B
    Thanks I will check that out!
  • 0 Votes
    4 Posts
    8k Views
    marcellocM
    @rtabigue: I got this error message every time i restarted the squid guard services. check squid cache.log
  • SquidGuard CIDR ranges

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    pozoleroP
    @Nachtfalke: Suggestion: If you connect to the target only with the IP address then you can perhaps do some "RegExp" for the IP range you would like to use. Lets say for subnet 80.10.10.0/24 try to use: ^http://80\.10\.10\.[1-254]/ I am no RegEx expert so this is probably wrong but the idea behind that could perhaps help you. I'll try that.  I'm asking this because i need to let users access a range of network expressed in CIDR, via SquidGuard target categories tab… Thanks a lot Nachtfalke
  • HAProxy stats page

    Locked
    4
    0 Votes
    4 Posts
    5k Views
    K
    Okay, I am not sure what exactly fixed my issue but this is the sequence of things I tried.  I decided to update to the latest 2.1beta snapshot and that broke my haproxy-full package totally (wasn't able to start the haproxy service).  To fix that issue, I re-install the haproxy-full package but kept my existing configuration.  After the re-install, haproxy service started successfully and I am able to access the haproxy stats page now! I hope that will help anyone with similar issue as mine.
  • Snort Update Log Not Available

    Locked
    8
    0 Votes
    8 Posts
    2k Views
    S
    Can we get an updated package for Snort to Pfsense?
  • Pfsense Freeradius2 sql not updating users in db

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Squidguard Problem

    Locked
    12
    0 Votes
    12 Posts
    9k Views
    S
    Hello, I still have a problem with my squidguard config. The traffic is not blocked when it passes the FW. (Transparent mode- Bridged) I have pushed all thev Save and Apply buttons on Squid and Squidguard but it seems that he dfoes not want to listen to me. Any ideas ? Thanks Sven
  • Squid3 and X-Forwarded-For

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Ping and graph hosts in pfsense

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • SNORT doesnt respect whitelist after rules update….

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    S
    And http inspect still triggers rules even if disabled…
  • HAPROXY Configuration

    Locked
    4
    0 Votes
    4 Posts
    10k Views
    marcellocM
    @ciambellone: I think: "var/etc/haproxy.cfg" without quotermarks. It probably will be on/usr/local/etc/haproxy.conf @ciambellone: At the end, what is my scope? I want to set the configuration described to the following article: http://blog.exceliance.fr/2012/08/25/haproxy-varnish-and-the-single-hostname-website/ For you is it possible? I've never tried this setup yet.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.