Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Rate Limiting #3

Open
kbond opened this issue Nov 10, 2023 · 4 comments
Open

Feature: Rate Limiting #3

kbond opened this issue Nov 10, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@kbond
Copy link
Contributor

kbond commented Nov 10, 2023

First of all, nice bundle! The docs are beautiful!

I have my own home grown honeypot/short submit system that I'm going to switch to this bundle.

Recently, we have been getting hammered by spam that gets past these two protections so I've implemented a rate limiting system: "can only submit a valid form once per minute and 5 times per hour"

Thought it could be a nice feature for this bundle.

@curry684 curry684 added the enhancement New feature or request label Nov 10, 2023
@curry684
Copy link
Member

Thanks for the kind words 💯

Rate limiting is most certainly one to be put on the list. I'm also considering wrapping up Recaptcha, Akismet and maybe even the classic math questions in here!

@curry684
Copy link
Member

By the way you should most definitely also look at the URL counting and banned scripts. On most of our sites we're getting hammered by Cyrillic spam. On our company website this bundle has already managed to reduce spam to literally zero like this:

antispam:
    profiles:
        default:
            banned_scripts:
                scripts: [cyrillic]
                max_percentage: 40

            url_count:
                max: 3
                max_identical: 1

            honeypot: email_address

            timer:
                min: 3
                max: 14400

@kbond
Copy link
Contributor Author

kbond commented Nov 10, 2023

Definitely will be adding these.

@curry684
Copy link
Member

Recipe is now also submitted at https://github.com/symfony/recipes-contrib/pull/1561/files with recommended default config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants