Table of ContentsLibraryView in Frames

Adding operations to the monitor list

For FPolicy to implement native file blocking, it first needs to monitor operations that need to be blocked natively. You can do that by adding the operations to the list of operations monitored.

Step

  1. To add operations to the list of monitored operations to be screened for FPolicy, enter the following command: fpolicy mon[itor] add PolicyName [-p {cifs|nfs|cifs,nfs} ] [-f] op-spec

    PolicyName is the name of the policy you want to add operations to.

    protocols is the protocols you want to enable monitoring for. Use cifs to monitor CIFS requests, nfs to monitor NFS requests, or cifs,nfs to monitor both.

    op-spec is the list of operations you want to add.

The specified operation is added to the list of monitored operations.

Example

To add read, write, and lookup operations to the list of monitored operations, enter the following command:fpolicy mon add p1 read,write,lookup

Once enabled, the policy p1 monitors read, write, and lookup operations along with any other operations that have been set previously.