I have setup a full iptables firewall and still unable to block yahoo and msn because they will go through any available port as i know it.
I am now trying to use Squid to do it but finding it very hard (if i newey at this which doesnt help)
I am using RH9 and could use some help... keep me updated if u get any responces.
what is the string you are blocking the ports with?
I tried this (maybe u can get this working)
# Put this is your squid.conf file (will have to change the folder i think)
# Banned sites and Services
acl banned url_regex "/usr/local/squid/etc/banned.txt"
then create the txt file and place the list like so:
.messenger.yahoo.com
.msg.yahoo.com
Maybe this will help you but it didnt work for me unfortunately