Live data from Hacker News

Ask PG: Are there IP blocks?

news.ycombinator.com

11–20 of 30 posts

Re: Ask PG: Are there IP blocks?

#11
post #6

I also get empty responses when I try to browse HN over Tor. I assume this is because my IP address looks like a spammer's. I, too, would like to know if there are IP blocks, and what (if anything) legitimate users can do to get around them.

There were some people doing some bad stuff over Tor a while ago, so we banned all the Tor exit nodes they were using. They seem to have given up so I'll try unbanning these IPs.

Re: Ask PG: Are there IP blocks?

#13
I got blocked two weeks ago when I was playing with creating a "realtime" view of comments so you didn't have to refresh the page. To test I had it polling one story every five seconds and I think I left it running overnight. (Sorry about that.)

Next day, no HN, so I spent the next week browsing HN on Firefox with a proxy setup through an EC2 instance. Thankfully, my IP changed or the ban is gone.

For what I was doing the HNSearch API wouldn't have helped, but if there was an API like the one at ihackernews.com that's running and live, that'd be great.

Re: Ask PG: Are there IP blocks?

#14
post #10

Yes, we block IPs that seem to be crawlers ignoring robots.txt. We've always blocked abusive IPs, but I tightened up the blocking a few weeks ago. A lot of people were crawling HN, most of them unnecessarily because they were doing things they could have done more efficiently through HNSearch's API. Some users may remember that the site had gotten really slow a few weeks ago. One of the reasons it's faster now is tha…

That makes sense. I suspect that the "cause" in this case was the chrome extension that I had been using (I don't remember the name offhand, but it's the one that shows changes in HN between visits). I usually left the tab open but only visited a couple of times a day, so it may have been doing something like that.

Re: Ask PG: Are there IP blocks?

#15
post #12

Beware of a Chrome extension called "Hacker News Sidebar", it presumably got me IP banned this week. It cross checks every page visited with HN to see if it has a thread and if so, displays the thread. Here is the extension: https://chrome.google.com/webstore/detail/hhedbplnihmkekhgma...

Hmmm. I think I have that extension installed, too. Out that one comes, too.

Re: Ask PG: Are there IP blocks?

#16
Question: Is there are software which can be easily installed on apache or inside app to detect crawlers?

We use ipban but that is not what we want: we want a system which can easily detected "bad" crawler or "abusing" user and ban them for some time.

As of now, we have a simple script going thru apache logs and sending list us list of IP and their activity.

Re: Ask PG: Are there IP blocks?

#18
post #16

Question: Is there are software which can be easily installed on apache or inside app to detect crawlers? We use ipban but that is not what we want: we want a system which can easily detected "bad" crawler or "abusing" user and ban them for some time. As of now, we have a simple script going thru apache logs and sending list us list of IP and their activity.

[deleted]

Re: Ask PG: Are there IP blocks?

#19
post #16

Question: Is there are software which can be easily installed on apache or inside app to detect crawlers? We use ipban but that is not what we want: we want a system which can easily detected "bad" crawler or "abusing" user and ban them for some time. As of now, we have a simple script going thru apache logs and sending list us list of IP and their activity.

We use fail2ban (available as ubuntu package) very successfully for this. You can point it to apache log and finesse the rules by browser string, URL or whatever you want.

Re: Ask PG: Are there IP blocks?

#20
post #10

Yes, we block IPs that seem to be crawlers ignoring robots.txt. We've always blocked abusive IPs, but I tightened up the blocking a few weeks ago. A lot of people were crawling HN, most of them unnecessarily because they were doing things they could have done more efficiently through HNSearch's API. Some users may remember that the site had gotten really slow a few weeks ago. One of the reasons it's faster now is tha…

I think it's time I shut down http://ihackernews.com. It's getting impossible to keep the IP address from being blocked. Really unfortunate, because a lot of people like to use the site.
Post reply on HN