Re: [øŧ] l'apache està be?
El Thu, 25 Nov 2010 15:35:04 +0100
Jordi Funollet <jordi.f@ati.es> va dir:
> On Thursday 25 November 2010 14:14:11 hubble wrote:
> > Hola,
> >
> > Doncs ara em toca a mi ser paranoic :)
> >
> > He vist aquest log del apache:
> >
> > 61.158.163.53 - - [25/Nov/2010:13:18:48 +0100] "GET http://www.baidu.com/
> > HTTP/1.1" 200 4504 "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)"
> >
> > Sembla ser que una persona de Taiyuan (China), ho se per la ip, li ha
> > demanat al meu servidor la página http://www.baidu.com/ i sembla ser que
> > el meu servidor l'hi ha donat (el 200) i ha servit 4504 bytes (crec)
> >
> > He encertat?
> >
> > Tinc alguna manera de evitar-lo? Amb quines paraules hauria de buscar-lo
> > pel google per saber alguna cosa més?
> >
> > Gràcies.
>
> Tens l'Apache configurat com a reverse-proxy? Si és així, has de limitar
> quines pàgines serveix.
>
Ara puc dir-te que no. Els mòduls habilitats son:
[root@niebla~]# ls /etc/apache2/mods-enabled
alias.conf authz_user.load dir.conf reqtimeout.conf
alias.load autoindex.conf dir.load reqtimeout.load
auth_basic.load autoindex.load env.load setenvif.conf
authn_file.load cgid.conf mime.conf setenvif.load
authz_default.load cgid.load mime.load status.conf
authz_groupfile.load deflate.conf negotiation.conf status.load
authz_host.load deflate.load negotiation.load
i a /etc/apache2/mods-available/proxy.conf està tot comentat.
[root@niebla~]# cat /etc/apache2/mods-available/proxy.conf
<IfModule mod_proxy.c>
# If you want to use apache2 as a forward proxy, uncomment the
# 'ProxyRequests On' line and the <Proxy *> block below.
# WARNING: Be careful to restrict access inside the <Proxy *> block.
# Open proxy servers are dangerous both to your network and to the
# Internet at large.
#
# If you only want to use apache2 as a reverse proxy/gateway in
# front of some web application server, you DON'T need
# 'ProxyRequests On'.
#ProxyRequests On
#<Proxy *>
# AddDefaultCharset off
# Order deny,allow
# Deny from all
# #Allow from .example.com
#</Proxy>
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#ProxyVia Off
</IfModule>
Se suposa que no tindrien que haver pogut fer el que han fet no? o estic equivocat?
apa, gràcies.
> --
> ##############################
> ### Jordi Funollet
> ### http://www.terraquis.net
>
>
> --
> To UNSUBSCRIBE, email to debian-user-catalan-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 201011251535.04385.jordi.f@ati.es">http://lists.debian.org/[🔎] 201011251535.04385.jordi.f@ati.es
>
Reply to: