Bug 67183 - Feature Request: Drop Connection Without Response
Summary: Feature Request: Drop Connection Without Response
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.4.37
Hardware: Other All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-03 14:32 UTC by specialmonkey
Modified: 2023-09-03 14:32 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description specialmonkey 2023-09-03 14:32:08 UTC
I'm thinking of something like Nginx's 444. 

It would be great to be able to close certain connections without a response, with a mod_rewrite flag and/or via any of the other components/directives where it makes sense. 

My HTTPD is behind a load balancer and I only see the client IP as a header. 

Sometimes I want to block malicious client IPs at HTTPD. 

I do not control the load balancer.

The best thing I've found so far is giving 403s with [F,L] via a rewrite expression and ipmatch.

I'm guessing this would already be a feature if it wasn't very difficult to implement? 

I'm interested to learn more about why this could or couldn't be done.

Thanks!