Subcategories

  • Discussions about packages which handle caching and proxy functions such as squid, lightsquid, squidGuard, etc.

    4k Topics
    21k Posts
    N

    Can I use pgblockerng aliases in Haproxy?

    80758505-9bad-4dad-a80b-c159be1045a2-image.png

    If it was a firewall rule, typing pfb would produce a dropdown to select.

    Here it has to be written, but will it work? Is it supported?

  • Discussions about packages whose functions are Intrusion Detection and Intrusion Prevention such as snort, suricata, etc.

    2k Topics
    16k Posts
    cyb3rtr0nianC

    @bmeeks So after upgrading to the newest PfSense 2.8.0 everything is now working like a charm!

    Suricata no longer seems to strip off tags like it did before! Which means I can now use my network segmented by VLANs and still use the benefits of Suricata Inline IPS! Very niiize!

    I checked in the Alerts section and it is indeed generating the correct alerts from the different VLAN sections, I put Inline IPS on the parent interface of all the VLANs.

    I assume this is because the FreeBSD version is also updated with the new PfSense 2.8.0 version?

    Because before, as soon as I selected Inline IPS mode, my entire VLAN tagging would break and nothing was reachable until I switched back to Legacy mode.

  • 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
    reza3swR

    @Gertjan
    Hello,
    Thank you.
    I had exactly the same issue, and your solution helped me fix it.

    Ask ChatGPT

  • 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 :

    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
    R

    I had a similar issue with Routed VTI over IPsec recently. FRR lost its neighbors after rebooting or when a tunnel went down. It never re-discovered it automatically. Only restarting FRR (either in GUI or via CLI) brought the neighbors back.

    When I manually added those under the OSPF neighbors tab in the GUI it seems to solve the problem as well.

  • Discussions about the Tailscale package

    89 Topics
    574 Posts
    A

    Hello,
    I am unable to get the Tailscale package to work. The page at VPN > Tailscale > Authentication is stuck. It displays the error "Tailscale is not online," but also shows a "Logout and Clean" button, with no option to log in.
    link text

    This state persists even after performing the following troubleshooting steps:

    Rebooting the pfSense router.

    Completely uninstalling and reinstalling the Tailscale package multiple times.

    Clearing browser cache and using a private browser window.

    Toggling the main "Enable Tailscale" checkbox in the settings.

    Checking the logs, which show the service gets a "terminate" signal and shuts down cleanly; it does not crash.

    Manually trying to delete the state file with rm /var/db/tailscale/tailscaled.state, which failed because the file does not exist.

    It appears that the package's configuration is corrupted in a way that persists even after reinstallation. Can anyone advise on how to perform a complete manual cleanup of all Tailscale files and settings?

  • Discussions about WireGuard

    690 Topics
    4k Posts
    J

    I've read through some other posts about this, but they either didn't say whether the proposed solution worked or they were very convoluted and difficult to understand. Here is our scenario: We have 6 locations--Las Cruces (LC), Sunland Park (SP), El Paso (EP), Abilene (ABI), Fort Worth (FW), and Plano (PL). LC and ABI have software that is accessed by the other 4 locations via VPN. There are WireGuard VPNs set up between LC and those 4 locations (SP, EP, FW, PL), and ABI and those 4 locations (SP, EP, FW, PL). There is also a WireGuard VPN connection between LC and ABI. LC and ABI have 2 internet connections. SP, EP, FW, and PL each have one internet connection.

    If the primary internet connection goes down at either LC or ABI and failover occurs to the secondary internet connection, is there a way to set up the WireGuard VPN connections so that they also failover without purchasing some 3rd party application?

    Thanks.

  • Help sending flows to an IPsec destination

    4
    0 Votes
    4 Posts
    931 Views
    S

    also tried setting the static route to 0.0.0.0/1 … flows still not making it.  I also did a pcap to confirm they are not making it.  I feel like I'm missing something simple......  :-\

    EDIT: BAH. Nevermind. pfflowd works with the static route in place. I absolutely could not get softflowd to work over IPsec. I'm happy.

  • Log Snort to sguil(Security Onion)

    6
    0 Votes
    6 Posts
    6k Views
    BBcan177B

    @tbaror:

    Thanks all for the answers , but Snorby would be a good solution if he had some alerting rules facility

    The Snorby package in Security Onion has alerting functionality.

  • Dont work squid filter

    1
    0 Votes
    1 Posts
    872 Views
    No one has replied
  • Mailreport filter syntax

    3
    0 Votes
    3 Posts
    3k Views
    S

    good stuff, thanks a lot!

    now i'll go find a way to get a pfblocker report in the mail too!

  • Snort blocks many websites with "block offender" checked

    4
    0 Votes
    4 Posts
    3k Views
    bmeeksB

    @iraiam:

    @fragged:

    The HTTP preprocessor does fire a lot of false positives. You can either add the single rules to your suppress list or enable this setting:

    Disable Alerts from this engine configuration. Default is Not Checked.

    You can find it under the settings for your Interface -> <interface name="">Preprocessors -> HTTP Inspect / Server Configuration (click the E to edit)</interface>

    Thanks, I'll give that setting a try, I don't have time to deal with single rules at the moment, maybe at a later date. Take Centurylink.com; it generated 19 blocks from one session. I went through the logs and checked a quite few of the blocks manually and found no actual threats.

    it makes sense to me to block offenders, providing it detects actual offenders without all the false positives.

    The HTTP_INSPECT preprocessor is unfortunately very good at generating false positives.  Some of them are likely the fault of code in the preprocessor itself, but many are due to various web servers not adhering strictly to the standards.  No matter which is the real problem, it's a fact of like for IDS/IPS admins that false positives will occur.  Snort on pfSense uses the binary file produced by the Snort VRT, so any bugs in that code show up in pfSense.

    There is a thread that lists many of the known false-positives, and some users have shared their Suppress Lists.  You might want to try some of their shared settings.  Here is the link:  https://forum.pfsense.org/index.php/topic,56267.0.html

  • Help understand cron script

    5
    0 Votes
    5 Posts
    1k Views
    A

    The third script now errors and says "Illegal variable name."

  • Squid3 reverse proxy randomly fails…

    2
    0 Votes
    2 Posts
    828 Views
    B

    You are going to have to give us some information to work with. Like the access.log I think when it is not working. Does restarting the service fix it? What do you have to do to get it working again?

  • Snort reverse lookup icon

    4
    0 Votes
    4 Posts
    1k Views
    bmeeksB

    @Clear-Pixel:

    Why is it often times many IP's are missing the reverse DNS info?

    Is it a DNS server with a poorly compiled DNS list?

    It would seem the IP would be out of compliance if no Name was attached?

    There are a fairly significant number of the "spammer" and other blacklisted IPs that do not resolve via DNS lookups.  Not really surprising when you realize these guys don't want to be found… ;)

    Bill

  • SQStat 403

    Locked
    10
    0 Votes
    10 Posts
    6k Views
    jimpJ

    Posting this here since the thread is very high in search results for the sqstat 403 error:

    This is because the IP address querying the status from squid is not listed as an external cache manager. To find the IP in use, enable squid logging, try to access sqstat, and then run run:

    # grep "403.*active_requests" /var/squid/logs/access.log

    You will find lines such as this:

    1390930259.701      0  192.168.1.1 TCP_DENIED/403 1410 GET cache_object://localhost/active_requests - NONE/- text/html

    Then go to Services > Proxy Server, on the Access Control tab, and add the IP from that line to the External Cache Managers box, e.g.

    127.0.0.1;192.168.1.1;

    Save there, and for good measure go back to the main tab on squid and press save again, and then you should be able to access sqstat.

    If that alone does not work, and you have a filter such as squidGuard installed, make sure you have "localhost" listed in a whitelist or have access open from the LAN IP of the firewall itself.

  • Sarg Vs Lightsquid

    2
    0 Votes
    2 Posts
    4k Views
    D

    @berrick:

    From my limited use of both these packages it seems they do the same thing, is this correct?

    Which is better sarg or lightsquid?

    regards

    Depends on your wishes.
    LightSquid easier, Sarg has more features.

  • Squid No longer able to access my network from the outside.

    1
    0 Votes
    1 Posts
    501 Views
    No one has replied
  • Allow HTTPS traffic straight out through WAN with squid?

    2
    0 Votes
    2 Posts
    954 Views
    jimpJ

    By default the firewall won't touch HTTPS with squid in transparent mode. Make sure your firewall rules allow access on the LAN interface from your LAN subnet to anywhere on port 443. So long as the rules pass it and squid doesn't touch it, it will go right out.

  • Dansguardian 2.12.0.3 Signal 11

    89
    0 Votes
    89 Posts
    41k Views
    R

    Just figured out that the 2.12.0.6 version of DG that Marcello compiled does not have PCRE support… or at least that is my guess on the problem. It does not execute and of the regular expression functionality - such as URL regular expression modifications.

    Would anyone with a dev environment (Marcello?) be willing to compile the 2.12.0.6 or 2.12.0.7 version with PCRE? Or, for that matter, e2guardian (I'd be willing to mod the UI to get it working)? Thanks in advance!

  • Pfblocker + memory limit

    2
    0 Votes
    2 Posts
    1k Views
    BBcan177B

    I am not sure if SquidGuard is the same as pfBlocker for the max table entries, but I would assume so.

    Did you edit the System:Advanced:Firewall/NAT  "Firewall Maximum Table Entries"

  • Speedtest.net Upload Test Fails with Squid/SquidGuard Enabled

    4
    0 Votes
    4 Posts
    2k Views
    B

    @KOM:

    1. pkg_info:

    bsdinstaller-2.0.2013.0911 BSD Installer mega-package
    gettext-0.18.3

    Going to need the rest of the information still ;)

  • Snort blocking my local IP

    8
    0 Votes
    8 Posts
    1k Views
    bmeeksB

    @mudmanc4:

    I have changed the whitelist for that interface to the one created earlier,  restart snort, and made various protocol requests - no blocking that I can see at this point.

    Big info from you on this, much appreciated bmeeks !

    Thank you.  Glad it's working for you now.  One item on my TODO list is to update the Snort package documentation and then include links to it from various spots in the package.

    Bill

  • Sarg reports broken in 2014

    6
    0 Votes
    6 Posts
    2k Views
    S

    I have a fix!

    sarg can examine more than one log file, so regardless of order of execution of the rotate and log generation, just ensure all the logs, rotated or not, are used thus:

    Steve

    ![Screen Shot 2014-01-26 at 00.28.49.png](/public/imported_attachments/1/Screen Shot 2014-01-26 at 00.28.49.png)
    ![Screen Shot 2014-01-26 at 00.28.49.png_thumb](/public/imported_attachments/1/Screen Shot 2014-01-26 at 00.28.49.png_thumb)

  • Snort 2.9.6.0 released, can we have an upgraded package?

    6
    0 Votes
    6 Posts
    1k Views
    bmeeksB

    @BBcan17:

    @bmeeks:

    So I think we are stuck staying with a version that is at least 30 days old, or else require everyone to buy the paid subscription.  That would not be popular :'(

    Thanks Bill,

    If its not too much trouble, maybe you could post both updates and users could choose which version would work for them? This would allow us to debug the most recent Snort version while having the option to go down one version just in case?

    Well, that is a good idea.  There was, at one time, an active snort-dev package maintained by the old maintainer.  It was really bleeding edge, though.  I had considered resurrecting that old snort-dev tree, but not for "free" versus "paid" subscriptions, but instead to try and keep the most recent Snort binary out there.  I've just been busy lately with the current package and doing some work on a Suricata package, and just have not gotten around to it.

    Bill

  • Pfblocker breaks amazon

    4
    0 Votes
    4 Posts
    1k Views
    R

    by using the country blocker, you'll also find it kills your ability to generate a return ticket and shipping label at Amazon.  (why is Amazon's return label eneration routing through Asia??) There is another thread here on using pfBlocker to generate the lists to be used by Snort and the rules set. I've found this option makes every problem like this (that I was having) go away without having a lot of custom pass rules.

    https://forum.pfsense.org/index.php/topic,64674.0.html

    Rick

  • Snort not blocking for a full day? v2.9.4.6 pkg v2.6.0

    22
    0 Votes
    22 Posts
    6k Views
    bmeeksB

    @kevin067:

    It seems to me whatever pfblocker is doing internally to create it's alias tables, snort should do the same. As far as I can tell pfblocker (using "Alias_Only" mode) has been blocking well.

    Here's a link to the code inside pfblocker that creates those tables…

    http://www.pfsense.org/packages/config/pf-blocker/pfblocker.inc

    So the idea is to let snort use snort2c tables for the immediate blocking. Then append the ip's it finds into an alias for long term blocking (one that survives filter_reload, and reboots). using a normal incoming wan/outgoing lan rule.

    I like where the <snort2c>table is currently located up high in the pf rule chain such that it is hit very early in the packet's traversal of the firewall.  This gives Snort a chance to block early and protect users from "quick pass" rules farther down that would bypass Snort.

    It occurred to me last night there may a fix for the clearing problem triggered by the filter reloads.  I need to talk it over with the Core Team, but maybe the filter reload process could persist the <snort2c>block table out to a temp file during the reload process, and then read the file back in as part of the filter reload.  It is trivial to do this with the pfctl utility (dumping a table to a file and loading a table from a file).

    Bill</snort2c></snort2c>

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.