• Snort won't boot anymore with the pfsense 2.3.4-RELEASE

    2
    0 Votes
    2 Posts
    908 Views
    bmeeksB
    Follow the instructions I give here:  https://forum.pfsense.org/index.php?topic=127764.msg731895#msg731895 to remove Snort, clean up the older shared-object libraries and reinstall Snort. Bill
  • Snort Keeps Stopping

    10
    0 Votes
    10 Posts
    6k Views
    bmeeksB
    @Khampol: Hi, After an update manual today, well snort refuse the start…. See this in LOG : FATAL ERROR: The dynamic detection library "/usr/local/lib/snort_dynamicrules/server-webapp.so" version 1.0 compiled with dynamic engine library version 2.6 isn't compatible with the current dynamic engine library "/usr/local/lib/snort_dynamicengine/libsf_engine.so" version 3.0. ::) ::) ::) Two things:  (1) do you have the latest Snort package installed?  (2) did you do a "remove and then reinstall" when updating the Snort package? Sounds like you have a problem another user had.  You have old versions of the precompiled shared-object rules libraries hanging around on your system.  To remove them, do the following: (1) Remove the Snort package (2) Get to a CLI (command line) prompt on the firewall and delete any "snort" directories you find in the /usr/local/lib path. (3) Install the Snort package again The above steps will not cause you to lose any configuration data so long as "save settings" is enabled on the GLOBAL SETTINGS tab.  That setting is "on" by default. Bill
  • Prevent Snort from block my ip when I'm remote accessing my Pfsense box

    5
    0 Votes
    5 Posts
    1k Views
    P
    Bottom line is, don't enable remote access to your pfSense box without a VPN. Until you have a VPN server setup, disable all remote access. SSH with pass + key auth is fine.
  • In line transparent pfsense with Snort

    1
    0 Votes
    1 Posts
    578 Views
    No one has replied
  • Basic suricata Question

    3
    0 Votes
    3 Posts
    892 Views
    M
    Or highlighted with red rows in the Alerts tab if you use it in Inline mode.
  • How to make barnyard2 auto log to database?

    1
    0 Votes
    1 Posts
    435 Views
    No one has replied
  • Suricata Inline and VLANs

    9
    0 Votes
    9 Posts
    4k Views
    J
    @Gemnon: ifconfig em0 -vlanhwtag With package "shellcmd" it is possible to apply it every boot up. I use the standard "shellcmd" type an it is working perfectly. Thanks to Gemnon
  • Suricata inline mode breaking barnyard2

    2
    0 Votes
    2 Posts
    534 Views
    H
    So I made some progress on this; the issue is that suricata is not properly generating the passlist rules for sid-msg.map (it's omitting a 'rev' column) which I think is what is tripping up barnyard2. I was able to disable/enable blocking to get the passlist entries no longer added to the .map file, but it seems like they get put back in if I switch over to inline.
  • "Block snort2c hosts" error

    6
    0 Votes
    6 Posts
    2k Views
    chudakC
    @Birke: just look unter snort alerts and there select your wan interface. then you see the alerts on that interface. for example``` 06/23/2017 12:09:59 2 TCP Potentially Bad Traffic 31.193.143.x     50439 89.x.x.x   1433 1:2010935   ET POLICY Suspicious inbound to MSSQL port 1433 the "ET POLICY" shows from what rule category comes and the "1:2010935" is the number of the rule. with that info you can go to the wan interface configuration on snort and then select rules. select the rule category and search for the rule. or you just go to the snort alerts and click one of the red x for rule suppression/disabling. It gets a little better now, thx ! @Birke do you add alerts to suppress list or disable rule? And I am assuming after I get no or low level of alert I'd enable Block Offenders in interfaces? Thx
  • Snort in IPS running on vlan and parent interfaces?

    2
    0 Votes
    2 Posts
    555 Views
    T
    I believe snort works on what interface you set it and what rules you apply on those interface.
  • Suricata upgrade error 3.2.1_2

    1
    0 Votes
    1 Posts
    377 Views
    No one has replied
  • Suricata 3.2.1 update coming soon with hyperscan support

    2
    0 Votes
    2 Posts
    915 Views
    A
    Bill, That's super awesome. Thank you so much! Charles
  • Update 3.2.9.3 query

    6
    0 Votes
    6 Posts
    1k Views
    bmeeksB
    @chc-pr: Hi Bill. Thanks for your help. /tmp only has mnt and snap as subdirectories … is /tmp part of a longer path?  Thanks No, it is directly off the root but I forgot about something in my earlier reply.  When the update process completes (even if unsuccessful), it deletes the temporary sub-directory it created to hold the downloaded gzip rules archive.  So you will not see it except during the interval the rules update process is running. Still, though, how much free space is showing?  Getting MD5 errors on VRT, Coummunity and ET archives is a rare occurrence.  Is there anything unusual in your setup such as a proxy (Squid, for example)? Bill
  • Issue with SNORT

    11
    0 Votes
    11 Posts
    2k Views
    D
    I guess I didn't mention that pretty much the same thing happened on the primary as well… Ok.  I'll put it on a test bed and do the upgrade again to see if I can replicate it and this time check the config.xml. Thanks again Dino
  • Snort not updating

    10
    0 Votes
    10 Posts
    2k Views
    bmeeksB
    @techbee: It seems that my location is blacklisted on their firewall and that causes the "Block reason: Gateway GEO-IP Filter Alert" Well, unless you can get them to whitelist your IP address; you won't be able to use the OpenAppID feature in the Snort package unless you create some of your own rules.  There are a few examples of user-written OpenAppID rules here in the IDS/IPS sub-forum.  You could try a search for "OpenAppID" to see what turns up.  There are also a few examples to be found with a Google search. Bill
  • FATAL ERROR: !any is not allowed in EXTERNAL_NET

    2
    0 Votes
    2 Posts
    1k Views
    bmeeksB
    @gc75: Hello all, I'm having this problem with the latest snort update: Jun 10 15:01:32 php-fpm 3909 /snort/snort_interfaces.php: The command '/usr/local/bin/snort -R 3825 -D -l /var/log/snort/snort_re03825 –pid-path /var/run --nolock-pidfile -G 3825 -c /usr/local/etc/snort/snort_3825_re0/snort.conf -i re0' returned exit code '1', the output was '' Jun 10 15:01:32 snort 17998 FATAL ERROR: /usr/local/etc/snort/snort_3825_re0/snort.conf(6) !any is not allowed in EXTERNAL_NET. Who helps me? # Define Local Network # ipvar HOME_NET [0.0.0.0,8.8.4.4,8.8.8.8,127.0.0.1,192.168.1.1,192.168.1.99/24,192.168.1.100,192.168.2.0/24,192.168.3.0/24,::1,fe80::1:1,fe80::20d:b9ff:fe3c:b614,fe80::20d:b9ff:fe3c:b615,fe80::f6f2:6dff:fe7e:a976] ipvar EXTERNAL_NET [!0.0.0.0,!8.8.4.4,!8.8.8.8,!127.0.0.1,!192.168.1.1,!192.168.1.99/24,!192.168.1.100,!192.168.2.0/24,!192.168.3.0/24,!::1,!fe80::1:1,!fe80::20d:b9ff:fe3c:b614,!fe80::20d:b9ff:fe3c:b615,!fe80::f6f2:6dff:fe7e:a976] Something in your setup is returning a null address.  The problem entry is "!0.0.0.0" in the EXTERNAL_NET declaration.  That is coming from some interface, DNS server, VPN or VIP. Bill
  • Snort failing to start on WAN

    23
    0 Votes
    23 Posts
    6k Views
    JailerJ
    I use the default admin profile and had the same issue so that's not likely the problem.
  • Snort Custom rules?

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 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
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.