Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Ryan Blankenship on October 06, 2003, 06:31:17 AM
-
Someone is making joke of using Pornolize.com to "translate" and view our _school_ website in sexually explicit terms. Is there a way to block this translation from being used? Maybe with .htaccess?
TIA
Ryan
-
Or you could block access from the pornolize.com server using IP-Tables.
-
How would I do that?
-
I believe the rule you would use would be:
iptables -A INPUT -p tcp --dest-addr www.pornolize.com -j DROP
Note, nslookup reveals that pornolize.com and www.pornolize.com use the same IP Addr.
-
I have a template-fragment in /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/47BlockSpecificIP
which I use to block a particularly annoying "client". A version for you could be:
# Block specific IPs
/sbin/iptables -I INPUT -s pornolize.com -j DROP
I expect you could try this if Nathans rule doesn't work for you. Always use template-fragments if at all possible. (If I understand the question correctly, it is access *from* pornolize,com which is the problem).
/Jens
-
Thanks! Now if you try to use it, the Pornolize.com server sends an 500 Internal Server Error--probably a timeout because its connection to our server was dropped?
-
Sorry to say this, but pornolize.com can still access your school site and present it in a somewhat skewed way. (I hope!) Which method did you try?
/Jens
-
I used Jens method. I tried it and I got an Internal Server Error from pornolize.com's server.