Snort on FreeBSD 10

I decided to try out installing snort on FreeBSD since the snort package was part of the pkgng repos (and part of ports as well). The install was pretty easy: elatov@moxz:~$sudo pkg install snort Password: Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. The following 26 packages will be affected (of 0…

FreeBSD Snort IPS, Barnyard2

Apache, MySQL and PHP already installed and configured. In /usr/local/etc/php.ini file configure the  following lines: error_reporting = E_ALL & ~E_NOTICE date.timezone = 'Asia/Baku' include_path = ".:/usr/local/share/pear:/usr/local/share/fpdf" cd /usr/ports/security/snort make config                         # Choose modules make -DBATCH install                # Install mkdir /root/snortrules # create folder which we will download the rules cd /root/snortrules           # Enter the…

Install Snort, Barnyard2, PulledPork, and Snorby With Nginx on FreeBSD

Prepare the system Update the system pkg update && pkg upgrade portsnap fetch extract Install portmaster: cd /usr/ports/ports-mgmt/portmaster make install clean pkg2ng Install Snort Install Snort portmaster security/snort security/barnyard2 security/pulledpork NOTE: Enable [X]MYSQL during the config of security/barnyard2 Create the following directories: mkdir -p /usr/local/etc/snort/so_rules mkdir -p /usr/local/etc/snort/rules/iplists mkdir -p…