Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] deny access based on user agent

On Wed, Aug 14, 2024 at 03:12:56PM -0500, Joakim Erdfelt wrote:
> The built-in rules do not generally respond with an error.
> Most of them just modify paths or headers.

I ended up submitting a pull request adding a couple new rules that
return status codes based on matching headers:

	https://github.com/jetty/jetty.project/pull/12182


I'm testing it now on my servers which were getting abused by a crawler
and it's very satisfying to see the 403's in the access log now and no
more application level error messages from the bad requests :).



Back to the top