summaryrefslogtreecommitdiff
path: root/www/mod_blowchunks/files/patch-mod_blowchunks-1.3.c
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-06-22 22:50:33 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-06-22 22:50:33 +0000
commite750702899d05e7994bac876981f43299c50b859 (patch)
tree937cb805e63d567ad76e3022da40e700ed26e00c /www/mod_blowchunks/files/patch-mod_blowchunks-1.3.c
parentAssign 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.c13
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;