You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Meph Istopheles <me...@Aeon-AL.Com> on 2002/03/17 18:10:40 UTC
Is someone using my server as a proxy...?
Hey,
I'm confused. This is the second entry I've found in my access
log talling me that someone's requested Yahoo via my server.
Google only leads me to suspect it's proxy related, but that
sounds really silly to me, as I can't imagine why someone would
choose an arbitrary server as a proxy.
Here's what's in the log:
210.196.136.172 - - [17/Mar/2002:07:52:24 -0800] "GET
http://www.yahoo.com/ HTTP/1.1" 200 1960
What, exactly, is this about?
Meph
--
How many Zen Buddhist does it take to change a light bulb?
Two. One to change it and one not to change it.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Is someone using my server as a proxy...?
Posted by Craig <cr...@nsutah.com>.
Joshua Slive wrote:
>
> On Mon, 18 Mar 2002, Craig wrote:
>
> > > > I tried setting the ACCEPT/DENY rule in the HTTPD.CONF file and it
> > > > eliminated a LOT of pass-through, but there are still some making it. I
> > > > have the ACCEPT rule set to only my domain name.
>
> > 210.95.11.3 - - [13/Mar/2002:05:57:12 -0700] "POST
> > http://login.tencent.com/login HTTP/1.0" 403 299
>
> All those lines have status code 403 (forbidden), which means
> they ain't goin nowhere.
DUH! Thanks Joshua ... The "status" codes at the end of the log entry
didn't click.
I'm assuming there is a way to prevent this from going into either the
access_ or error_ logs--they grow REAL fast due to this rejection (about
100M each per day). I'm sure as soon as it becomes "known" that this
server is no longer proxy-able that it will go down, but in the
meantime, I would like to not have to purge them every day.
Craig.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Is someone using my server as a proxy...?
Posted by Joshua Slive <jo...@slive.ca>.
On Mon, 18 Mar 2002, Craig wrote:
> > > I tried setting the ACCEPT/DENY rule in the HTTPD.CONF file and it
> > > eliminated a LOT of pass-through, but there are still some making it. I
> > > have the ACCEPT rule set to only my domain name.
> 210.95.11.3 - - [13/Mar/2002:05:57:12 -0700] "POST
> http://login.tencent.com/login HTTP/1.0" 403 299
All those lines have status code 403 (forbidden), which means
they ain't goin nowhere.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Is someone using my server as a proxy...?
Posted by Craig <cr...@nsutah.com>.
Joshua Slive wrote:
>
> > I tried setting the ACCEPT/DENY rule in the HTTPD.CONF file and it
> > eliminated a LOT of pass-through, but there are still some making it. I
> > have the ACCEPT rule set to only my domain name.
>
> Without showing the relevant parts of your config file and the relevant
> log entries, there is no possible way we could figure out what is going
> on.
Yeah, I know ... I forgot about that. =]
The internal IP address for domain nsutah.com is 10.2.
Here are the snipped versions of the files.
Craig.
Re: Is someone using my server as a proxy...?
Posted by Joshua Slive <jo...@slive.ca>.
On Mon, 18 Mar 2002, Craig wrote:
> What if you WANT to use your server as a proxy? I have a handful of
> users going through this proxy. Up until a month or so ago, I was
> getting hit on left and right because there are several (?) proxy
> abusers that know the address of the machine and hit on it.
>
> I tried setting the ACCEPT/DENY rule in the HTTPD.CONF file and it
> eliminated a LOT of pass-through, but there are still some making it. I
> have the ACCEPT rule set to only my domain name.
Without showing the relevant parts of your config file and the relevant
log entries, there is no possible way we could figure out what is going
on.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Is someone using my server as a proxy...?
Posted by Craig <cr...@nsutah.com>.
Joshua Slive wrote:
>
> Meph Istopheles wrote:
> > Hey,
> >
> > 210.196.136.172 - - [17/Mar/2002:07:52:24 -0800] "GET
> > http://www.yahoo.com/ HTTP/1.1" 200 1960
> >
> > What, exactly, is this about?
> >
>
> Someone needs to write a FAQ for this. Any volunteers?
>
> 1. Check your httpd.conf and assure that you DO NOT have "ProxyRequests On".
What if you WANT to use your server as a proxy? I have a handful of
users going through this proxy. Up until a month or so ago, I was
getting hit on left and right because there are several (?) proxy
abusers that know the address of the machine and hit on it.
I tried setting the ACCEPT/DENY rule in the HTTPD.CONF file and it
eliminated a LOT of pass-through, but there are still some making it. I
have the ACCEPT rule set to only my domain name.
Craig.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Is someone using my server as a proxy...?
Posted by Meph Istopheles <me...@Aeon-AL.Com>.
Joshua,
> >>2. Try it yourself:
> >>telnet yourhost.example.com 80
> >>GET http://www.yahoo.com/ HTTP/1.1
> >>Host: www.yahoo.com[enter][enter]
> >>If you get your own home page back, then you are safe.
> > When I try this from the server itself, I access port 80, but
> > nothing happens after entering GET http://www.yahoo.com/
> > HTTP/1.1. I'd ssh'd into another box, & tried it from there, but
> > the connection request would time out.
> You need to type the line starting in GET and the line starting in Host:
> and then hit [enter] (the key) twice.
Gotchya. Yeah, it displays my index page. Cool;-).
Thanks.
Meph.
--
Eschew obfuscation.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Is someone using my server as a proxy...?
Posted by Joshua Slive <jo...@slive.ca>.
Meph Istopheles wrote:
>>2. Try it yourself:
>>telnet yourhost.example.com 80
>>GET http://www.yahoo.com/ HTTP/1.1
>>Host: www.yahoo.com[enter][enter]
>
>
>>If you get your own home page back, then you are safe.
>
>
> When I try this from the server itself, I access port 80, but
> nothing happens after entering GET http://www.yahoo.com/
> HTTP/1.1. I'd ssh'd into another box, & tried it from there, but
> the connection request would time out.
You need to type the line starting in GET and the line starting in Host:
and then hit [enter] (the key) twice.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Is someone using my server as a proxy...?
Posted by Meph Istopheles <me...@Aeon-AL.Com>.
Joshua,
> > I'm confused. This is the second entry I've found in my access
> > log talling me that someone's requested Yahoo via my server.
> > Google only leads me to suspect it's proxy related, but that
> > sounds really silly to me, as I can't imagine why someone would
> > choose an arbitrary server as a proxy.
> > Here's what's in the log:
> > 210.196.136.172 - - [17/Mar/2002:07:52:24 -0800] "GET
> > http://www.yahoo.com/ HTTP/1.1" 200 1960
> > What, exactly, is this about?
> Most likely, the person trying to abuse your server is not being
> successful.
I suspect the same, as there are no odd entries in any of my
other logs which look even remotely related.
> To confirm that, you should do two things:
> 1. Check your httpd.conf and assure that you DO NOT have "ProxyRequests On".
No -- nothing like it. Is this maybe the mod-proxy? It's #'d
out, in any case.
> 2. Try it yourself:
> telnet yourhost.example.com 80
> GET http://www.yahoo.com/ HTTP/1.1
> Host: www.yahoo.com[enter][enter]
> If you get your own home page back, then you are safe.
When I try this from the server itself, I access port 80, but
nothing happens after entering GET http://www.yahoo.com/
HTTP/1.1. I'd ssh'd into another box, & tried it from there, but
the connection request would time out.
> (Even easier, if the size of your home page is 1960 bytes, you are
> probably safe, given the log entry.)
Hmm. It's only 1564b, but what would happen if it exceeds
1960b?
> > I can't imagine why someone would
> > choose an arbitrary server as a proxy.
> Oh, I forgot to answer this part. The person isn't *really*
> trying to get to yahoo. They are just searching for open proxy
> servers. Once they find one, there is any number of ways to
> abuse open proxies, ranging from the trivial (avoiding stupid
> content-blocking proxies), to the annoying (running up
> thousands of advertising hits for some porn site that they own)
> to the dangerous (anonymously attacking other sites).
This makes much better sense, but I wouldn't know how to go
about it, so...ya know.
Ya know, with all the code red, etc & various other scripts,
attempting to either access or crash a server, it would be nice
to be able to send a message of some sort saying either "You must
not know about..." or "WTF! Why are you so special?", etc.
Meph
--
The descent to Hades is the same from every place.
-Anaxagoras
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Is someone using my server as a proxy...?
Posted by Joshua Slive <jo...@slive.ca>.
Meph Istopheles wrote:
> Hey,
>
> I'm confused. This is the second entry I've found in my access
> log talling me that someone's requested Yahoo via my server.
> Google only leads me to suspect it's proxy related, but that
> sounds really silly to me, as I can't imagine why someone would
> choose an arbitrary server as a proxy.
>
> Here's what's in the log:
>
> 210.196.136.172 - - [17/Mar/2002:07:52:24 -0800] "GET
> http://www.yahoo.com/ HTTP/1.1" 200 1960
>
> What, exactly, is this about?
>
Someone needs to write a FAQ for this. Any volunteers?
Most likely, the person trying to abuse your server is not being
successful. To confirm that, you should do two things:
1. Check your httpd.conf and assure that you DO NOT have "ProxyRequests On".
2. Try it yourself:
telnet yourhost.example.com 80
GET http://www.yahoo.com/ HTTP/1.1
Host: www.yahoo.com[enter][enter]
If you get your own home page back, then you are safe.
(Even easier, if the size of your home page is 1960 bytes, you are
probably safe, given the log entry.)
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Is someone using my server as a proxy...?
Posted by Joshua Slive <jo...@slive.ca>.
Meph Istopheles wrote:
> I can't imagine why someone would
> choose an arbitrary server as a proxy.
Oh, I forgot to answer this part. The person isn't *really* trying to
get to yahoo. They are just searching for open proxy servers. Once
they find one, there is any number of ways to abuse open proxies,
ranging from the trivial (avoiding stupid content-blocking proxies), to
the annoying (running up thousands of advertising hits for some porn
site that they own) to the dangerous (anonymously attacking other sites).
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org