diff options
| author | Anders Nordby <anders@FreeBSD.org> | 2002-06-22 22:50:33 +0000 |
|---|---|---|
| committer | Anders Nordby <anders@FreeBSD.org> | 2002-06-22 22:50:33 +0000 |
| commit | e750702899d05e7994bac876981f43299c50b859 (patch) | |
| tree | 937cb805e63d567ad76e3022da40e700ed26e00c /www/mod_blowchunks/files/patch-mod_blowchunks-1.3.c | |
| parent | Assign maintainer to mailinglist. (diff) | |
Add mod_blowchunks, an Apache module to reject and log chunked requests.
Useful for those that want to log attempts to exploit that recent Apache
vulnerability, or who need or want to use their current Apache version
for some reason.
Diffstat (limited to 'www/mod_blowchunks/files/patch-mod_blowchunks-1.3.c')
| -rw-r--r-- | www/mod_blowchunks/files/patch-mod_blowchunks-1.3.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/mod_blowchunks/files/patch-mod_blowchunks-1.3.c b/www/mod_blowchunks/files/patch-mod_blowchunks-1.3.c new file mode 100644 index 000000000000..c9e0519485ff --- /dev/null +++ b/www/mod_blowchunks/files/patch-mod_blowchunks-1.3.c @@ -0,0 +1,13 @@ +--- mod_blowchunks-1.3.c.orig Sat Jun 22 22:44:01 2002 ++++ mod_blowchunks-1.3.c Sat Jun 22 22:45:18 2002 +@@ -56,8 +56,10 @@ + ap_table_do(blowchunks_check_one_header,&found,r->headers_in, + "Transfer-Encoding",NULL); + if (found==TRUE) { ++#ifdef LOG_BLOWCHUNK + ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r, + "Transfer-Encoding: chunked - denied and logged"); ++#endif + return HTTP_BAD_REQUEST; + } + return DECLINED; |
