Best laravel framework open-source packages.

Laravel snort

Laravel-Snort is a web application that helps users monitor their network and stay informed about potential security threats.
Updated 1 year ago

Laravel-Snort

Snort is an open-source intrusion detection system that can help detect network attacks and suspicious activity. By parsing Snort log data, you can monitor your network and stay informed about potential security threats.

The project uses the popular PHP framework Laravel as a backend API and Angular as a frontend JavaScript framework to display Snort log data to the user. By parsing Snort log files, the application can extract useful information such as the source and destination IP addresses, the type of attack detected, and other relevant data.

Sensors stores information about the sensors that are sending log data to the application, including the sensor's name and description.

Logs stores the actual log data, including the timestamp, source and destination IP addresses, source and destination ports, the protocol used, and the ID of the category that the log belongs to.

Categories stores information about the different categories of attacks that the application can detect, including the category's name and description.

Getting Started

To get started with Laravel-Snort, you'll need to have the following installed on your system:

  • PHP 7.3+
  • Composer
  • Node.js
  • NPM

Once you have these installed, follow these steps to get started:

  1. Clone the repository to your local machine:

git clone https://github.com/mranidev/laravel-snort.git

  1. Install the required PHP packages: composer install

  2. Install the required NPM packages: npm install

  3. Create a new .env file from the example file: cp .env.example .env

  4. Generate a new application key: php artisan key:generate

  5. Update the .env file with your database credentials and other configuration settings.

  6. Run database migrations to create the required tables: php artisan migrate

  7. Start the development server: php artisan serve

The application should now be running on http://localhost:8000.

  1. Start the Angular development server: npm run start

The frontend application should now be running on http://localhost:4200.

Usage

Once the application is up and running, you can use it to monitor your network and stay informed about potential security threats. The application will parse Snort log files and display useful information to the user, such as the source and destination IP addresses, the type of attack detected, and other relevant data.

Contributing

If you'd like to contribute to Laravel-Snort, please fork the repository and submit a pull request. We're always looking for new features, bug fixes, and improvements to the application.

License

Laravel-Snort is open source software licensed under the GPL-3.0 license. See the LICENSE file for more information.