Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Snort: How do I determine which categories to use?

    pfSense Packages
    2
    4
    3.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sofakng
      last edited by

      I have a very small home network but I'm using a fairly powerful x86 box for pfSense so I'd like to fool around with Snort.

      Here's basically what I have:

      • IIS / Apache web servers
      • SQL / MySQL database servers
      • Other web gui servers (eg. web guis for configuring differently applications)
      • SSH server
      • Game servers

      How do I determine which rule categories to select?  Also, why can't I choose anything besides "default" for my home and external networks?

      Finally, do I need to use barnyard2?  What is the disadvantage to not using it?

      1 Reply Last reply Reply Quote 0
      • G
        g4m3c4ck
        last edited by

        Well you basically answer your own question by listing what you have =) It is all in the name of the category. It would be useful to have small description but I think that is because rules are maintained by http://www.snort.org

        Home and external networks I think are for load balancing but I am not sure.

        No you do not need barnyard2. It basically makes snort's alert system/logging operate faster because it uses a database instead of a txt file.

        How do you get it to work? I am still trying to get it to work with a remote database once I figure it out I will try to write up a small tutorial.

        1 Reply Last reply Reply Quote 0
        • S
          sofakng
          last edited by

          Thanks for the reply… I wish there was more documentation on the rules (but even snort.org doesn't provide any documentation on them either?)

          Anyways, how would I detect port scanning?  I've turned on the preprocessor directive and tried a couple of categories that looked appropriate but nothing ever showed me in my log even though I did a remote portscan from grc.com.

          1 Reply Last reply Reply Quote 0
          • G
            g4m3c4ck
            last edited by

            Heh try all the categories with "scan" in the name. Try the ICMP categories if your scan doesn't show. Also make sure snort is running on the WAN interface. It should be green if it is running.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.