• Snort 3.2.9.3 fatal error

    2
    0 Votes
    2 Posts
    877 Views
    P
    nevermind, solution and explanation can be found here: https://forum.pfsense.org/index.php?action=profile;area=showposts;u=17262
  • 0 Votes
    3 Posts
    992 Views
    bmeeksB
    There are issues with Inline mode and many NICs.  The links provided to another thread here on the forum provides the evidence.  The problems with Inline IPS mode are related to compatibility issues between various NIC drivers and the Netmap module.  This is complicated even further on pfSense because some things done to help with limiters seem to have a negative impact on Netmap.  In short, if you have problems with Inline mode it is almost certainly due to something with your specific NIC driver and Netmap. There is a known issue with traffic shaping on pfSense and Netmap (that's the limiter thing mentioned above).  Those two absolutely don't play well together at this point.  Things will eventually improve as Netmap bugs are ironed out.  Until then, you may have to be content with Legacy Mode blocking.  Usually em drivers are OK, so do you by chance have a traffic shaper enabled?  If so, try disabling it and see if Inline mode works then. Bill
  • Snort Supress All Alerts on IP range

    4
    0 Votes
    4 Posts
    4k Views
    bmeeksB
    Either of these two methods would be correct for syntax – #DHCP Guest Range suppress gen_id 0, sig_id 0, track by_src, ip 192.168.20.10/28 #DHCP Guest Range suppress gen_id 1, sig_id 0, track by_src, ip 192.168.20.10/28 The first will apply to all Generator IDs and SIDs, while the latter will apply only to generic rules and not to other preprocessors. Exactly how are you assigning the Suppress List you created to the interface?  I assume you know that after creating a manual Suppress List, you then have to go to the INTERFACE SETTINGS tab for the interface where you want to use it and assign it to that interface.  You do that by selecting the named list in the drop-down box in the Suppression List section.  Save the change and then restart Snort on that interface.  Simply creating the list on the SUPPRESS tab is only 50% of the work. Another possibility is you have multiple Snort instances running on the same interface.  Run this CLI command to make sure only a single Snort instance is running on each configured interface: ps -ax |grep snort Bill
  • Snort 3.2.9.3 Update - Release Notes

    1
    0 Votes
    1 Posts
    755 Views
    No one has replied
  • Possible False Positive?: SURICATA TLS invalid record

    2
    0 Votes
    2 Posts
    6k Views
    bmeeksB
    Probably false positives.  There have been some reports of flakiness with the TLS decoder rules in Suricata of late.  There is a post on the Suricata Redmine site about some other TLS issues. Bill
  • Snort Service Won't Start Fatal Error after Latest Update

    4
    0 Votes
    4 Posts
    1k Views
    bmeeksB
    Looks ilke a syntax error in one of the Emerging Threats rules. Bill
  • Suricata Blocking issue

    2
    0 Votes
    2 Posts
    759 Views
    bmeeksB
    @hescominsoon: I currently run pfsense 2.3.4 under hyper-v.  The issue i am experiencing with suricata is when it gets an alert triggered instead of blocking the host that causes the alert it kills the entire interface.  I have read how inline is a bit buggy…is this another inline bug for suricata? It's not necessarily a Suricata bug.  Inline mode is entirely dependent on Netmap for operation, and Netmap in turn is totally dependent on 100% support from the NIC driver.  There are only a tiny handful of NIC drivers that fully support Netmap on FreeBSD.  From your experience, it seems the Hyper-V NIC drivers are not on that list.  Netmap inserts itself between the NIC and the rest of the operating system.  Nothing moves from the Ethernet wire into pfSense (or from pfSense into the Ethernet wire) without going through the Netmap layer.  The NIC driver has to understand how to talk to Netmap.  Any inconsistencies in how the NIC driver interracts with Netmap will cause problems with Suricata inline mode. Bill
  • FYI – Snort update to the 2.9.9.0 binary is coming soon

    2
    0 Votes
    2 Posts
    607 Views
    bmeeksB
    The pull request for the GUI package update to support Snort 2.9.9.0 update has been posted.  Here is a link:  https://github.com/pfsense/FreeBSD-ports/pull/361. This should get merged into 2.4-BETA very quickly, and then appear a bit later for the 2.3.4 RELEASE and 2.3.5 snapshot builds. Bill
  • Suricata Inline questions

    6
    0 Votes
    6 Posts
    2k Views
    bmeeksB
    @tortue: Only path forward I can think of at the moment is a log rule and handling the log parsing and dedupe individually and using a FW alias for that deduped file. Correct, that would be a way to do it, but it is a bit labor intensive to develop.  I would challenge if the effort was worth the gain, though.  The firewall is already going to drop inbound traffic that is unsolicited or that does not match an open port.  Good operating practice says to keep all Internet-facing public services (web, email, etc.) well patched and hardened.  Having an automated system that locks out an IP due to it attempting to connect to a single non-existent port could be an issue for a commercial enterprise.  Suppose the user who is also a customer of yours just fat-fingered the hostname or accidentally used your hostname when he was trying to connect to another service (RDP perhaps) when he meant to use another.  Now his IP will be blocked from any contact with your domain, including your web site. Of course if you are strictly a home user, then none of the above matters to you.  But at the same time, as a home user you likely have no public-facing services (and thus open ports), so why bother? Bill
  • Categories Rulesets - home net help

    2
    0 Votes
    2 Posts
    786 Views
    bmeeksB
    When you select and enable an IPS Policy, that overrides manual selection of Snort VRT rules – hence the red mouse cursor.  Those checkboxes are disabled by design when using an IPS Policy.  This is because the chosen policy is determining which of those grayed-out categories and rules to use. Bill
  • 0 Votes
    2 Posts
    2k Views
    bmeeksB
    This is a bug within the Suricata binary itself.  It has been reported to Suricata upstream and will be fixed in the next release, I think.  It is only a warning and will not affect operation. Some changes were made to a section of code in the 3.2.x series, but one line got missed when those changes were made.  You can find the bug report and details on the Suricata Redmine site. Bill
  • Suricata Still adds IP's to snort2c table and blocks for disabled rules?

    5
    0 Votes
    5 Posts
    1k Views
    P
    Thank you that's very good to know for the future!
  • Using snort as sniffer and ide

    4
    0 Votes
    4 Posts
    823 Views
    bmeeksB
    Currently the GUI package builds a snort.conf file configured for alerting and capturing packets related to those alerts.  It was never intended to use Snort like Wireshark on pfSense, so that capability is not part of the standard snort.conf generation. Bill
  • Suricata to block time on home use!

    3
    0 Votes
    3 Posts
    745 Views
    M
    thanks Bill you tha MAN
  • [SOLVED] Snort Updates Fail Bad Checksum

    5
    0 Votes
    5 Posts
    2k Views
    bmeeksB
    @Ghostdragon97: That did the Trick. Thanks for the help! All rules updated just fine. Glad you got it going.  The /tmp directory is where the tar.gz files from the rules update are downloaded and then unzipped.  From there they get copied to /usr/local/etc/snort/rules.  You need enough free space on /tmp to hold the tar.gz rules package and then the unzipped contents as well.  I included /var because that's where log and alerts files go.  That volume can fill up on you as well. Bill
  • IDS on WAN ONLY?

    2
    0 Votes
    2 Posts
    701 Views
    NogBadTheBadN
    https://forum.pfsense.org/index.php?topic=91844.msg508332#msg508332
  • How to find rule which have sid,des alert?

    3
    0 Votes
    3 Posts
    651 Views
    bmeeksB
    There once was a web site out there where you could do that (match a GID:SID with category).  I'm not sure it exists or is maintained anymore.  I no longer have the URL. You can open a CLI prompt on the firewall and use grep to find a GID:SID within the rules.  To search all the available categories, grep all the *.rules files in this directory for Snort: /usr/local/etc/snort/rules/ If you have Suricata instead, then search the files in this directory: /usr/local/etc/suricata/rules/ Bill
  • Suricata IOS blocked

    5
    0 Votes
    5 Posts
    1k Views
    M
    thanks I got it working…. and yes I red X'ed it...
  • Snort alerts when logged in to network via VPN

    3
    0 Votes
    3 Posts
    885 Views
    K
    @bmeeks: Some guesses on my part – Something on your laptop was maybe trying to swap some AFP share info with FreeNAS.  That would not really be unexpected if you also use the laptop at home on the LAN. When you are home and everything is within your LAN, Snort will not necessarily be seeing NAS-to-laptop traffic as everything would be switched at layer 2 by your network switch.  So no alerts then if Snort and firewall does not see the traffic. When you are on the road, Snort sees everything on the VPN as it comes in from the WAN and gets sent on to the LAN. As for the alert itself, it could very well just be some kind of false positive in your setup.  Maybe some fragmentation is/was happening on the VPN side ??? Bill You are right of course that snort would not see this traffic if I was home.  The alert must be a false positive.  I'll suppress it. Thanks for all the work you do on the snort package.
  • Activate/Dynamic Rules

    3
    0 Votes
    3 Posts
    846 Views
    H
    Thanks a alot, Bill  ;)
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.