[Home] [Credit Search] [Category Browser] [Staff Roll Call] | The LINUX.COM Article Archive |
Originally Published: Tuesday, 16 October 2001 | Author: Shashank Pandey |
Published to: enchance_articles_security/Advanced Security Articles | Page: 2/4 - [Printable] |
Intrusion Detection Systems for the Uninitiated, Part 2; Installing and Configuring Snort
Shashank Pandey returns to Linux.com with part two of his popular series on IDS: Intrusion detection Systems for Linux. Quizzing PortSentry in his last article, in today's Pandey cast a sharp eye over working with snort. And remember in some primitive parts of the world you have to pay for information like this! Can you imagine?
|
<< Page 2 of 4 >> | |
Compiling and Installing SnortThe main distribution site for Snort is http://www.snort.org. Snort is distributed under the GNU GPL license by the author Martin Roesch.Having downloaded Snort, untar the archive with the following command.
This should untar Snort into a directory named snort-1.7. The next thing to do is installing the libpcap(dependency). Untar the libpcap archive you downloaded, using the tar command with the similar switches as above. Enter the libpacp directory and carry out the following steps.
because we don't need any binaries for now, there is no need for a 'make install'. In factm even if you do install a binaries, no problem. Now, we'll compile Snort. Change to the directory that Snort is in and issue the following commands.
root @lord]# make
root @lord]# make install Ok, cute. Snort should now be installed on your machine! Create a directory for Snort to store logsroot @lord]#mkdir /var/log/snort
As always, do this :
to confirm where snort is installed! The Basics of snort ArchtectureThe Snort architecture consists of three basic components which can be somewhat described as:
Alerting mechanism send alerts to syslog, a normal file, Unix sockets or a database. Optionally, you may turn off alerting completely during testing or penetration studies.
By default, all the alerts are stored in:
| |
<< Page 2 of 4 >> |