Disallow CONNECT method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I can't seem to disallow the CONNECT method. Not matter what I try I keep getting a 502 error. Here's the output of my installation:
# /opt/apache2/bin/httpd -v
Server version: Apache/2.2.9 (Unix)
Server built: Jun 18 2008 03:03:38
# /opt/apache2/bin/apachectl -t -D DUMP_MODULES
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_default_module (static)
authz_host_module (static)
authz_groupfile_module (static)
authz_user_module (static)
authz_default_module (static)
auth_basic_module (static)
include_module (static)
filter_module (static)
log_config_module (static)
env_module (static)
headers_module (static)
setenvif_module (static)
mpm_prefork_module (static)
http_module (static)
mime_module (static)
status_module (static)
autoindex_module (static)
asis_module (static)
cgi_module (static)
negotiation_module (static)
dir_module (static)
actions_module (static)
userdir_module (static)
alias_module (static)
so_module (static)
perl_module (shared)
rewrite_module (shared)
jk_module (shared)
Syntax OK
# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
CONNECT omx01:25 HTTP/1.1
host:omx01
HTTP/1.1 502 Bad Gateway
Date: Thu, 21 May 2009 16:17:27 GMT
Server: Apache/2.2.9 (Unix) mod_jk/1.2.28 mod_perl/2.0.2 Perl/v5.8.3
Content-Length: 344
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>The proxy server received an invalid
response from an upstream server.<br />
</p>
<hr>
<address>Apache/2.2.9 (Unix) mod_jk/1.2.28 mod_perl/2.0.2 Perl/v5.8.3 Server at dpaweb01 Port 80</address>
</body></html>
Connection closed by foreign host.
So I'm not sure where the proxy response is coming from? Any help is appreciated.
Matt
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]