Well it depends on the firewall you are using.
When nothing worked, this worked on our Sysmantec firewall 7.04 on windows NT. Maybe there is something that is specific to the firewall you use in this regard.
search for doc id number - 2003090913515954
Good Luck.
- Ketan
=================
Using URL Pattern matching to block MSN Messenger traffic at Symantec Enterprise Firewall products
Situation:
You want to block MSN messenger traffic with your Symantec Enterprise Firewall product (Symantec Enterprise Firewall, Symantec VelociRaptor, or Symantec Gateway Security appliance) to enforce security policy, increase available bandwidth, or because of other issues with the traffic.
Solution:
Symantec Enterprise Firewall products incorporate a URL Pattern matching feature. This feature can be a very effective method of blocking some traffic, including MSN Messenger traffic where connections always include the similar text strings.
To block MSN Messenger using URL Pattern matching
Connect to your firewall with the Symantec Raptor Management Console (SRMC).
In the left pane, right-click the name of your firewall and select All Tasks > Editor.
On the menu bar of the Editor window, click File > Open.
In the Open dialog box, select the httpurlpattern.cf file from the list and click OK.
Add this line to the file:
gateway/gateway\.dll*
Save the file and exit the Editor.
In the left pane of the SRMC, expand Access Controls and highlight Rules.
In the right pane, double-click the rule to which you want to apply URL Patter matching.
In the Rule Properties window, on the Advanced Services tab, click Add.
In the Service Parameters dialog box, type the following line and then click OK.
http.urlpattern
In the Rule Properties window, click OK.
Save and Reconfigure your firewall.