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

block IP addresses that do not yield a host name by nslookup #103

Closed
morikl opened this issue Jun 26, 2015 · 2 comments
Closed

block IP addresses that do not yield a host name by nslookup #103

morikl opened this issue Jun 26, 2015 · 2 comments

Comments

@morikl
Copy link

morikl commented Jun 26, 2015

more than 50% of all locked ip addresses of our joomla home page do not yield a host name when doing an nslookup. But 100% of our accepted users use an IP address that is associated with a host name. I propose to check new IP addresses using nslookup and block, if no hostname is retrieved.

@codeling
Copy link
Owner

Sounds like a very good idea! That could tie into the idea of the adaptive number of allowed login attempts (#76). I'll have to check however how costly one nslookup is on average, in comparison to the rest of the request, do you maybe know that? If it were too expensive, it is possible that this could make denial-of-service attack easier, and outweigh the benefit of knowing some additional information about the potential attacker.

@codeling
Copy link
Owner

To clarify a bit more, my plugin only comes in after failed login attempts; being able to preemptively block users from accessing the site / the login form before even their first attempt is not a goal of this plugin.

I will however consider name resolution in the adaptive allowed login attempts framework linked to above; since this might incur a performance overhead, I will probably make it optional; further discussion of this implementation will be done at #76.

@codeling codeling modified the milestones: BFStop 1.5.0, BFStop 1.6.0 Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants