Simply do a
insert into sensor(sid,hostname,interface,filter,detail,encoding)
values(y,'a.b.c.d','ethx',NULL,1,0);
on the mysql console where y is the sensor id (e.g. 9), a.b.c.d is the
hostname or ip address of the sensor and ethx is the interface name on the
sensor where snort listens.
Or you can use webmin to achieve this.
HTH,
Sandro
>
> I read on a list archive somewhere that there would be a
> script available to
> create the sensor id. Is there one available?
>
> Thanks
>
> Slade
>
> -----Original Message-----
> From: bar...@li...
> [mailto:bar...@li...]On Behalf Of Andrew
> R. Baker
> Sent: Friday, June 07, 2002 2:07 PM
> To: Slade Edmonds
> Cc: bar...@li...
> Subject: Re: [Barnyard-users] Barnyard not generating alerts in ACID
>
>
> Slade Edmonds wrote:
> > I'm running barnyard-0.1.0-beta7 with ACID. All tables are created
> > properly, the user defined in barnyard has INSERT and
> SELECT privileges on
> > the database. The user logs in properly and 'TCP' 'UDP' and 'ICMP'
> traffic
> > all show on the main ACID page in the graph. A sensor does
> not show nor
> any
> > alerts.
> >
> > If I shut down barnyard and just run snort with the same
> user credentials
> > defined for mySQL, everything logs to ACID with no problem. Any
> > suggestions?
>
>
> Most likely you are missing an entry in the sensor table in ACID. You
> can either delete the sensor_id option from the barnyard
> config file or
> manually create the entry in the sensor table.
>
> -A
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> Barnyard-users mailing list
> Bar...@li...
> https://lists.sourceforge.net/lists/listinfo/barnyard-users
>
>
> _______________________________________________________________
>
> Multimillion Dollar Computer Inventory
> Live Webcast Auctions Thru Aug. 2002 -
> http://www.cowanalexander.com/calendar
>
>
>
> _______________________________________________
> Barnyard-users mailing list
> Bar...@li...
> https://lists.sourceforge.net/lists/listinfo/barnyard-users
>
|