March 4, 2010 8:38 PM
Posted by: Dan O'Connor
suricata freebsdOnce the configuration of php + apache is completed you should be able to get the first setup screen of BASE up.
Follow along with the setup, once you get to the database section you will need to get some sql schema from the snort installation tarball. The needed file is called ( I used...
March 3, 2010 8:36 PM
Posted by: Dan O'Connor
suricata freebsd,
suricata install,
suricata install freebsdOnce the install of BASE is completed you also need to install apache or some other web server.
[code]cd /usr/ports/www/apache22/
make install clean
[/code]
Once installed you will need to allow apache to start.
[code]
vi /etc/rc.conf
apache22_enable="YES"
[/code]
There is also some...
March 2, 2010 10:45 AM
Posted by: Dan O'Connor
base freebsd,
suricata freebsd,
suricata install freebsd,
unified2 freebsdNow that we have something to control Suricata make sure to set the configuration variables for Suricata.
Ensure your HOME_NET is correct or your results are not going to be so great.
[code]
# Holds the address group vars that would be passed in a Signature.
# These would be retrieved...
February 23, 2010 12:44 AM
Posted by: Dan O'Connor
suricata freebsd,
suricata install,
suricata install freebsdNow that Suricata will start it's time to create a rc script to control the service.
( Lets put it somewhere nice )
[code]vi /usr/local/etc/rc.d/suricata[/code]
[code]
#!/bin/sh
#
# By Dan OConnor
# PROVIDE: suricata
#
. /etc/rc.subr
name="suricata"
rcvar=${name}_enable
load_rc_config...
February 21, 2010 11:55 PM
Posted by: Dan O'Connor
suricata freebsd,
suricata install,
suricata install freebsdWith everything in place you can now start suricata.
[code]suricata -c /usr/local/etc/suricata.yaml -i em0[/code]
Got a good start.
[code]70 rule files processed. 7977 rules succesfully loaded, 5 rules failed[/code]
Here is the 5 that did not load, I only added the emerging threats...
February 20, 2010 10:33 PM
Posted by: Dan O'Connor
suricata freebsd,
suricata install,
suricata install freebsdInstallation of Suricata on FreeBSD i386.
Packages needed.
Step by step.
[code]cd /usr/ports/devel/pcre/
make install clean
cd /usr/ports/textproc/libyaml/
make install clean
cd /usr/ports/net/libnet/
make...