Bad bot?


This is what my logs show a visitor tried to access on my website:
What are these (6667)?? Chat servers? There isn’t chat hosted at my site, so is this something I should worry about? Should I try to block these visits?



As you correctly identified, port 6667 is usually used by IRC. Unfortunately, it is also a port commonly used in Denial of Service attacks. I assume that this is something that warrants DreamHost’s attention, so I recommend contacting support.

Simon Jessey
Keystone Websites | si-blog


I imagine it’s just something scanning for open proxies. What does the full line look like?

Does it say “CONNECT” anywhere? - - [17/Sep/2004:15:43:35 -0700] “CONNECT HTTP/1.0” 200 301 “-” “-”

In any event, I would just ignore it.


I use a simple script to see stats, so all I know is that these requests have been coming in all day, alternating between and just My stats script always shows the requests coming from IP addy Hope all that’s OK to put here. I tried using htaccess to block these hits earlier, and that didn’t work. So tried changing htaccess, and none of these hits for the past 45 minutes at least. Keeping fingers and toes crossed. Oh yah- no referrer, OS or program register for these. I did send a message to support, and hopefully didn’t waste their time.



Look for that IP in the actual log file.


Aaaaaah… feeling pretty stupid now. OK, here are two lines from the actual log file, one for each request. And yes, there is “connect” in one of them: - - [05/Oct/2004:08:20:35 -0700] “POST HTTP/1.0” 200 15704 “-” "-" - - [05/Oct/2004:08:20:35 -0700] “CONNECT HTTP/1.0” 200 15704 “-” “-”

Since my last post here there haven’t been any more of these hits (knock on wood).



This is likely someone scanning for open proxies.

I’m not 100% sure, but I don’t think blocking the IP in .htaccess will work if they’re already requesting something that doesn’t exist.

Unless that domain is hosted on a unique IP and you (or someone) is connecting to that IRC server from that IP, I don’t think there’s a legitimate reason they’d be doing a proxy check on it.

meow% telnet 6667
Connected to
Escape character is ‘^]’. NOTICE AUTH :*** Looking up your hostname… NOTICE AUTH :*** Found your hostname

If I connect to that host from an IRC client, I see:
-opsb( Your Host is being Scanned for Open Proxies

#8 OK, I’m not the brightest bulb when it comes to this stuff, but I don’t own, and although my domain ( does have an ip, that’s not it. So I am just not understanding this. Also, I don’t connect to chat. Tried out jabber once, quit even using that quite a while ago.

In a nutshell, the ip “” isn’t mine, the domain “” isn’t mine, and I don’t chat or host chat. So I still don’t understand why my domain would be scanned like that. The only consolation is that there still hasn’t been another of these hits. :slight_smile:



Aaaaand… I meant to say “thank you” for your help and patience. You’re always doing everything possible to help out on this board, and it’s much appreciated. :slight_smile:



It’s normal for IRC servers to check whether the client IP connecting is an open proxy. This is because people often connect to IRC servers via open proxies to obscure their actual email address (much as spammers often exploit open proxies to send spam).

I’m not going to get into a long discussion of what an open proxy is, and why it’s bad, but basically, HTTP proxies which haven’t been properly secured can allow people to access resources without exposing their client address. In many cases, these proxies allow people to access resources other than just websites - often they allow someone to open an arbitrary TCP connection, such as to an IRC server or a mail server, “through” the proxy. Google for “open proxy” for some more information.

So my guess is that that IRC server is seeing a connection from that IP (your site’s IP) for some reason (maybe a spoofed connection), and is doing a test to make sure that your IP isn’t an open proxy. Port 80 is one of the common ports that open proxies can live on, so that’s why you’re seeing the request in your HTTP access log. The bot is checking to see if it can connect to (your site’s IP) and open a connection back to itself; if it can, it knows it’s found an open proxy, and it will not allow a client connecting from that IP to connect to the IRC server.

Ultimately, you should usually ignore attempts like this, and not spend too much time worrying about it.

Hope that explains things a little more… does that make sense to you?


Will, thank you sooo much for explaining, and for the ultra fast support. Yes, now I totally understand (ding ding! light went on). OK, I’m going to undo the changes of today to my htaccess and just not have a cow over this.