Table of contents:

Introduction

Shields.xml contains the Shields Configuration Data, and was first seen in MSNP11.

It is provided by the GCF command.

Content

If this is in MSNP13 or above, this element will be contained in the following:

<Policies><Policy type="SHIELDS"><config>...</config></Policy></Policies>

Otherwise, it is prefixed with the following:

<?xml version="1.0" encoding="utf-8" ?>

config

The root element of the document. Nothing special. Contains the <shield> and <block> elements.

shield

Contains many <cli> elements.

cli

This empty attribute has 5 parameters:

block

Since MSNP12.

Contains either <hashes> or <regexp> elements.

hashes

This element blocks files from being sent based on their cryptographic (TODO: Confirm this) hashes.

(TODO: Does anyone have an example of things that go here?)

regexp

This element contains multiple <imtext> elements.

imtext

This empty element only has the value attribute, which is the regular expression to search instant message text for. This attribute is base64-encoded.