Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
justin_oaks
on Nov 10, 2022
|
parent
|
context
|
favorite
| on:
Block web scanners with ipset and iptables
I was confused at what you were saying at first. For those that may also be confused:
You can add something like this to your robots.txt:
User-agent: * Disallow: /some/unguessible/url
And then you ban any IPs/bots that visit that URL.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You can add something like this to your robots.txt:
And then you ban any IPs/bots that visit that URL.