From ef43dd95bb54994fc175a426d298f12549764a9e Mon Sep 17 00:00:00 2001 From: aredridel Date: Mon, 22 Mar 2004 20:44:45 +0000 Subject: [PATCH] - added anti-relay defaults Changed files: apache-mod_proxy.conf -> 1.4 --- apache-mod_proxy.conf | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/apache-mod_proxy.conf b/apache-mod_proxy.conf index 69c212b..9bc0ad4 100644 --- a/apache-mod_proxy.conf +++ b/apache-mod_proxy.conf @@ -10,11 +10,15 @@ LoadModule proxy_http_module lib/apache/mod_proxy_http.so ProxyRequests On # -# -# Order deny,allow -# Deny from all +# +# This prevents spammers from using apache as a relay by posting to +# http://victim:25/ and sending raw data. +# + + Order deny,allow + Deny from all # Allow from .your-domain.com -# + # # Enable/disable the handling of HTTP/1.1 "Via:" headers. -- 2.44.0