public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joseph <syscon@interbaun.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Security problem? - Apache access.log has: CONNECT ... 200
Date: Sun, 27 Nov 2005 11:55:11 -0700	[thread overview]
Message-ID: <1133117711.21361.10.camel@sysconcept.ca> (raw)
In-Reply-To: <200511270826.14522.ti.liame@email.it>

On Sun, 2005-11-27 at 08:26 +0100, Francesco Talamona wrote:
> On Saturday 26 November 2005 23:56, Joseph wrote:
> > I just have noticed that my Apache2 access.log has few entries:
> >
> > 220.189.234.182 - - [27/Sep/2005:03:21:59 -0600] "CONNECT
> > 202.165.103.38:80 HTTP/1.1" 200 17505 61.232.83.75 - -
> > [09/Oct/2005:04:33:26 -0600] "CONNECT 66.135.208.90:80 HTTP/1.1" 200
> > 25952 59.40.34.187 - - [09/Oct/2005:19:05:40 -0600] "CONNECT
> > 210.59.228.72:25 HTTP/1.1" 200 17368 66.219.100.118 - -
> > [18/Oct/2005:02:04:00 -0600] "CONNECT mx2.ToughGuy.net:25 HTTP/1.0"
> > 200 30192 213.180.210.35 - - [26/Nov/2005:12:09:14 -0700] "CONNECT
> > 213.180.193.1:25 HTTP/1.0" 200 16916
> >
> > These IP's are mostly from Russian or Chines hackers.
> > My proxy is not enabled in /etc/conf.d/apache2
> > APACHE2_OPTS="-D DEFAULT_VHOST  -D SSL -D PHP4"
> >
> > Anybody has similar entries. According to Apache explanation:
> > http://httpd.apache.org/docs/1.3/misc/FAQ.html#proxyscan
> > "200" would indicate that somebody is using my apache as proxy, but
> > how?
> >
> > --
> > #Joseph
> 
> The answer is already in the page you posted. Page sizes are different, 
> so you are serving as a proxy. 
> Set NameVirtualHost and VirtualHost directives in 
> /etc/apache2/vhosts.d/00_default_vhost.conf and /etc/apache2/httpd.conf
> as instructed in the link above.

No, my server is not a proxy.  This link explain hwo to test it:
http://www.karkomaonline.com/article.php/20040425124146257

The reason, the page size is different is that I'm running PHP base
web-page, so every time you load it the content might change.

Though, I'm not sure I follow that <Location /> directive.  To prevent
this type of request entirely.  I have in my virtual host:

NameVirtualHost 10.0.0.103:80
<VirtualHost 10.0.0.103:80>
ServerName www.xxxxxx.ca

<Location />
    Order allow,deny
    Deny from all
  </Location>

DocumentRoot /var/www/localhost/htdocs/
Setenv VLOG /var/log/apache2/log_log
ErrorLog /var/log/apache2/error_log
</VirtualHost>

If I add the <Location /> directive as above it will not load my page at
all, I get error 403

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



      reply	other threads:[~2005-11-27 19:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-26 22:56 [gentoo-user] Security problem? - Apache access.log has: CONNECT ... 200 Joseph
2005-11-27  7:26 ` [gentoo-user] " Francesco Talamona
2005-11-27 18:55   ` Joseph [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1133117711.21361.10.camel@sysconcept.ca \
    --to=syscon@interbaun.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox