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

    How to Use Barnyard2 to log remote syslog??

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 4.5k Views
    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.
    • T
      tbaror
      last edited by

      Hi All,

      I trying to set Baryard2 in snort package

      2.9.2.3 pkg v. 2.5.4 ,Pfsense 2.0.2-RELEASE (amd64)

      to send alerts to remote syslog , i tried few syntax  like

      output alert_syslog: xxx.xxx.xxx.xxx:514
      

      or

      output alert_syslog: host=xxx.xxx.xxx.xxx
      

      After setting Barnyard2 its shows running but nothing hit the syslog on other hand when i set firewall remote syslog i do see events arrives to syslog.
      My question how is possible to get Barnyard2 log to syslog , did i missed somthing, is current Barnyard shipped with no possibility to syslog ?

      Please advice
      Thanks

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

        That would be because you have not setup an sql database to process the snort messages. Barnyard does not send to a  syslog server it is a dedicated spooler for the snort unified2 output.
        If you enable a remote syslog server and log everything then the snort alerts should end up on the remote server.

        Never underestimate the power of human stupidity

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

          Should have said you can download the schema for different database servers for Barnyard2 from here

          https://github.com/firnsy/barnyard2/tree/master/schemas

          Never underestimate the power of human stupidity

          1 Reply Last reply Reply Quote 0
          • T
            tbaror
            last edited by

            Ok , i figured out how to use syslog trough the Pfsense system syslog , its not perfect i preferred having unified2 format (full log) but OK.
            Thanks

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