Intrusion Detection With BASE And Snort - Page 3
InstallingLets start with: LIBPCAP. cd /root/snorttemp cd into the libcap map: cd libpcap-0.9.4 and make / install LIBPCAP: ./configure Next is PCRE. cd /root/snorttemp cd into the PCRE map: cd pcre-6.3 and make / install pce-6.3 ./configure Now it time for Snort: cd /root/snorttemp cd into the snort map: cd snort-2.6.0 and make / install Snort with some extra needed options! ./configure --enable-dynamicplugin --with-mysql Snort needs some maps, so let’s create them: mkdir /etc/snort Moving the Snort files from the installation map to the just created maps. cd /root/snorttemp and cd into snort-2.6.0:cd snort-2.6.0 and into the rulescd rules now we copy all files from the /rules into /etc/snort/rulescp * /etc/snort/rules We will do the same for the files in the install /etc folder:cd ../etc Fixing the snort.confThe /etc/snort/snort.conf needs some tuning to get it to work on your system! cd /etc/snort and open snort.conf with nano (or any other 'text' editor)nano snort.conf change "var HOME_NET any" to "var HOME_NET 192.168.0.5/32" Setting up the MySQL Database for Snort.There are many ways to create the snort database. After creating you can test snort and see if you get any errors with: snort -c /etc/snort/snort.conf Exit the test with Ctrl+C If you get no error's Snort is setup correct. Moving ADOdb and BASEMoving ADOdb: cd /root/snorttemp/ and move adodb it to the root of the www map: mv adodb /var/www Next: BASE (Basic Analysis and Security Engine ) mv base-1.2.5 /var/www/www.example.com/web and cd into /var/www/www.example.com/web cd /var/www/www.example.com/web To enable BASE to write the setup file we need to chmod the base-1.2.5 folder to 757: chmod 757 base-1.2.5
|





print: 
Recent comments
2 days 22 hours ago
3 days 2 hours ago
4 days 16 hours ago
5 days 9 hours ago
5 days 10 hours ago
5 days 12 hours ago
1 week 21 hours ago
1 week 1 day ago
1 week 1 day ago
1 week 1 day ago