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

Using FireWall middleware for bad ips checking instead of Security class #720

Merged
merged 16 commits into from
Dec 15, 2020
Merged

Using FireWall middleware for bad ips checking instead of Security class #720

merged 16 commits into from
Dec 15, 2020

Conversation

MekDrop
Copy link
Member

@MekDrop MekDrop commented Aug 1, 2020

From now bad IPs checking uses https://github.com/middlewares/firewall that lets better to define single IPs or IPs ranges that should be banned.

Also from security class removed checkBadIp method.

Closes #703

Warning: This pull request must be merged after #717 (it's based on this pull request code)

@fiammybe
Copy link
Member

fiammybe commented Aug 2, 2020

Cool :-) I just saw that a recent mentioned Laravel package does the same thing more or less : https://github.com/Mahmoud-Italy/Larasecure-ipblocker
As they say : great mind think alike :-)

@fiammybe fiammybe merged commit 514e253 into ImpressCMS:master Dec 15, 2020
@MekDrop MekDrop deleted the improvement/checks-for-bad-ips-from-middleware branch December 15, 2020 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use middlewares/firewall for dealing with IP restrictions
3 participants