• What is the difference between the two detectors

    3
    0 Votes
    3 Posts
    848 Views
    bmeeksB
    Two things are necessary for OpenAppID to function.  First, the OpenAppID preprocessor must be enabled within the Snort binary.  That happens when you check the OpenAppID Detector box on the PREPROCESSORS tab.  The second thing that has to happen is the preprocessor you just enabled needs some rules to know what apps to look for.  Those get downloaded from a third-party repository (currently hosted in Brazil I believe).  You enable the OpenAppID rules download on the GLOBAL SETTINGS tab. The Snort VRT folks don't publish their own set of OpenAppID rules.  You either have to write your own or find a third-party site.  A contributor volunteered last year to provide a package of common OpenAppID rules and to host them on a University web site.  That's the Brazil site (if I am remembering the location correctly).  The URL is hard-coded in the GUI code and was provided by the contributor. Bill
  • Stupid SNORT question…

    6
    0 Votes
    6 Posts
    1k Views
    bmeeksB
    @djseto: Thanks for the info. bmeeks, I was looking at your sticky post: Quick Snort Setup Instructions for New Users and post #3 has a response about disabling rules vs. using suppression lists. Is disable vs suppress one of those religious debates where there isn't a right or wrong answer ? With today's highly capable hardware, "yes" it is sort of a religious debate.  If you have super heavy traffic loads or marginal hardware for the task (low memory, slow CPU, etc.), then disabling is better than suppressing.  Just be careful and don't willy-nilly disable flowbit required rules.  Search for "flowbits" in this sub-forum to find some of my responses to others about the importance of flowbit rules. Bill
  • New at Suricata - handel/understand alters of my OpenVPN server

    1
    0 Votes
    1 Posts
    388 Views
    No one has replied
  • Fatal Snort Error…

    4
    0 Votes
    4 Posts
    991 Views
    D
    Wow. I tried the search and even hit Google and got nothing. Thanks for the info.
  • Noob: Practical guide to implementing Snort in a home network

    5
    0 Votes
    5 Posts
    3k Views
    C
    Through trial and error, I decided the best way is to set the filtering on high and expect to investigate false positives for a few weeks. Snort enables you to easily allow exceptions at a granular level directly from the alerts page. Anything with a '1' is suspicious. If it involves port 80 and, for example comes from Google or Akamai, it's probably OK and you can put it through there. But look into it a little first. I have found the need to suppress full rules not needed as badly with this approach.
  • SURICATA DNS flow memcap reached

    2
    0 Votes
    2 Posts
    1k Views
    S
    I'm seeing a lot of this now as well.  Seems to all be originating from one machine running Storjshare. I tried increasing the Flow Memory Cap, but so far that hasn't accomplished anything. It's at 256MB at the moment. edit I tried restarting Suricata on the LAN interface, and now it refuses to start even after resetting things back the way they were.  :o edit2 Needed to remove commas from the byte sizes in flow and stream memory cap.  pfSense should automatically parse this or at least return an error if you attempt to provide invalid input parameters. edit3 I'm not certain whether it was necessary to completely restart Suricata on the interface for the setting to take effect, so it's possibly that my current 512MB setting is way more than necessary, but it's stopped the error messages, so I'm going to leave it alone for now. edit4 Nope.  Up to 1GB and still receiving this error.  I don't think increasing the flow memory cap is a solution. edit5 I noticed that there's a separate Flow/State Memcap setting under LAN App Parsers -> DNS App-Layer Parser Settings.  The default is only 512KB.  I upped it to 1MB and reset the Flow Memory Cap setting to its default.
  • Snort dying

    5
    0 Votes
    5 Posts
    1k Views
    JailerJ
    @coffeecup25: @bimmerdriver: So, the snort service stopped again.  Am I the only one this is happening to? https://forum.pfsense.org/index.php?topic=130993.msg723503#msg723503 No. I also complained. The thread this link is in mentioned a possible third reason it fails to start properly. To me, it looks like a buggy upgrade as it worked great before updating pfSense and snort to the newest versions. Right now, I have snort disabled. I will enable it when I see a new package update for it being made available. Getting the exact behavior here on my APU2C4 since the upgrade.
  • Snort ids, ips coverage

    1
    0 Votes
    1 Posts
    522 Views
    No one has replied
  • Barnyard2 to Splunk

    2
    0 Votes
    2 Posts
    1k Views
    T
    Were you able to get this working ever? I only get a sample log like such to my syslog server from using the barnyard2 May 31 01:42:38 pfsense.rando.local nginx: 10.0.0.3 - - [31/May/2017:01:42:38 +0000] "GET /css/pfSense.css HTTP/1.1" 200 7239 "https://10.0.0.1/snort/snort_barnyard.php?id=0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" I don't actually get the snort alerts…if I turn it to log to the pfsense system log, it works fine but I want it to be a separate log.
  • Snort keeps blocking an IP address that's in the pass list

    15
    0 Votes
    15 Posts
    5k Views
    D
    I used to have an "SuricataWhitelist" alias containing hosts (also alliasses). Now it's type is "networks" (old hosts aliasses are still there). So this has changed. Maybe this is causing the blocks since the last version?
  • 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
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.