Download the PHP package tourze/symfony-scan-detect-bundle without Composer

On this page you can find all versions of the php package tourze/symfony-scan-detect-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package symfony-scan-detect-bundle

Symfony Scan Detect Bundle

PHP Version Require License Build Status Coverage Status

中文

A Symfony bundle that provides protection against malicious scanning and brute force attacks by detecting and blocking IPs that generate excessive 404 errors.

Features

Installation

Quick Start

  1. Add the bundle to your config/bundles.php:

  2. Configure the bundle by setting environment variables:

  3. The bundle will automatically start protecting your application from scanning attacks.

Configuration

The bundle uses environment variables for configuration:

How it works

  1. Request Monitoring: The bundle monitors all incoming requests
  2. 404 Error Tracking: When a 404 error occurs, it's recorded for the client IP
  3. Threshold Detection: If an IP exceeds the configured error threshold within 1 minute, it's marked as suspicious
  4. Automatic Blocking: Suspicious IPs are blocked for 5 minutes with a 403 response
  5. Safe IP Protection: Local IPs (127.0.0.1, ::1) are never blocked

Example Usage

Console Commands

scan-detect:cleanup

Provides cache management functionality for scan detection. In the Cache-based architecture, blocking and counting data automatically expire (blocking for 5 minutes, counting for 1 minute), so manual cleanup is usually not required.

Command Features:

Example Output:

Testing

Run the test suite:

License

This bundle is released under the MIT license. See the LICENSE file for details.


All versions of symfony-scan-detect-bundle with dependencies

PHP Build Version
Package Version
Requires psr/simple-cache Version ^1.0|^2.0|^3.0
symfony/cache Version ^7.3
symfony/config Version ^7.3
symfony/console Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/event-dispatcher Version ^7.3
symfony/framework-bundle Version ^7.4
symfony/http-foundation Version ^7.4
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/yaml Version ^7.3
tourze/bundle-dependency Version 1.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tourze/symfony-scan-detect-bundle contains the following files

Loading the files please wait ...