views:

745

answers:

2

Recently we have had a lot of issues with a particular user who has been posting a piles of provocative messages on our website using the public proxy IPs.

Can someone recommend a way to determine - is a specific IP a public proxy or not?

Thanks.

+1  A: 

A server I admin on had a similar problem; I coded[1] up a script that checked every connection from a newly registered user, and performed a tor DNS lookup, to find out if it was a tor exit point.

This won't work for every public proxy, but since tor is such a widely used anonymiser, it'll catch a lot of them.

[1] See? programming solution!

Jeremy Smyth
Thanks, yes - actually I am after a programming solution for this problem. Obviously it is not possible to get it 100% right - but if I could call some kind of web service or check some lists online to filter out 90% of public proxies - that should solve our issues, I hope.
A: 

We have used http://www.maxmind.com/app/proxy API to determine if IP is proxy based.

Mark V