Most IM programs in use today adapt themselves automatically to work behind a firewall. This includes unsing port 80, 23, or any other available port to get it's message through. Here's a couple of things you can try though.
To block AOL IM you need to block port 5190 and the AIM authentication servers login.oscar.aol.com (current addresses: 126.96.36.199, 188.8.131.52)
Yahoo Messenger doesn't seem to use any standard port but you can try the same thing with their servers at (cs.yahoo.com and scsa.yahoo.com) 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52 and 184.108.40.206
MSN Messenger can be blocked with TCP Port 1863 and IP Range 220.127.116.11/24. I don't believe this will block out any web content with MSN, but use with caution.
ICQ can be blocked with ports 4000/UDP, 5190/TCP, and login.icq.com (18.104.22.168, 22.214.171.124)
I've seen this question a hundred times, and it seems as though as soon as you get a working block in, they (the IM demons) update the software and it finds a way around your configs. Your results may vary - and no guaranties from this ol' boy.
If you really want to prevent the use of Instant Messaging apps, the only sure way is to lock down the workstation to the point that they can no longer be loaded.
Login to the FXOS chassis manager.
Direct your browser to https://hostname/, and log-in using the user-name and password.
Go to Help > About and check the current version:
Check the current version availa...
We have configured the outside and inside Interface with official ipv6 adresses, set a default route on outside Interface to our router, we also have definied a rule , which also gets hits, to permit tcp from inside Interface to any6.
In Syslog I also se...