Ich möchte folgende Anleitung ausführen, doch sie funktioniert nicht
unter Ubuntu 18. Wie erreiche ich das unter Ubuntu 18?
Q. What does it mean when logwatch says: Connection attempts using
mod_proxy: 222.208.183.218 -> www.google.com:443: 5 Time(s)
A. Its not good. It means a remote program is trying to go thru
your Apache server to another site (google in this case).
To prevent this do the following:
1. Disable mod_proxy
2. Disable CONNECT
1. To disable mod_proxy comment out these lines in
/etc/httpd/conf/httpd.conf
1 | #LoadModule proxy_module modules/mod_proxy.so
|
2 | #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
|
3 | #LoadModule proxy_http_module modules/mod_proxy_http.so
|
4 | #LoadModule proxy_connect_module modules/mod_proxy_connect.so
|
Also comment out everything in /etc/httpd/conf.d/proxy_ajp.conf
if present.
2. It seems there is a bug somewhere so that even when mod_proxy
disabled
a CONNECT attempt will return a 200 (success) status code and the
contents of
your index.php file. To stop this make a file called
/etc/httpd/conf.d/disable_connect.conf and fill it with:
1 | <Location />
|
2 | <Limit CONNECT>
|
3 | Order deny,allow
|
4 | Deny from all
|
5 | </Limit>
|
6 | </Location>
|
Restart Apache.
(Quelle
http://www.davekb.com/browse_computer_tips:logwatch_connection_attempts_using_mod_proxy:txt)