Use the New Application AgentYou can use the New Application agent to learn when an excessive number of classes are being created in your traffic tree with the auto-discovery feature. This agent is useful after the initial creation of your tree (you wouldn't want to enable the agent while the tree is in the process of being built). This agent can alert you of a possible threat to your network. For example, if someone was using a port scanner to look for open ports on your network to gain illegal entry, a large number of port numbered classes would be created in a short period of time. The standard alert is a red indicator on the info tab (PacketWise) or configuration tab (PolicyCenter). In addition, you can have an email, SNMP trap, or syslog message sent when the number of auto-discovered classes crosses a predefined threshold; this method requires that you create an action file a text file of PacketWise commands. The action file can take other actions, as well, such as disabling traffic discovery, and can include any CLI command that can run without additional user input. See Action File Overviews for more information. In order to use this feature, the adaptive response feature must be enabled and you must create an agent based on the New Application template. Note that this agent will always return a "green" status when traffic discovery is enabled. The New Application agent is intended to be used in conjunction with traffic discovery. If discovery is always disabled on your unit, you can disable this agent. Create an Agent Based on the New Application TemplateThe New Application agent triggers "red" when the number of new auto-discovered classes exceeds the red threshold. However, the default red threshold is so high (99999 classes) that it will always report a green status, regardless of the number of new applications discovered in the interval. Therefore, you will need to modify the default settings to define your own red threshold according to what you think would be an excessive number of new classes to be discovered on your network during a set period of time. The default evaluation interval is one day (1440 minutes). You can adjust the duration if you want the agent to calculate the number of newly discovered applications more frequently. To create a New Application agent:
After creating the agent, you will want to monitor it to see whether the number of new auto-discovered classes has come close to or exceeded the threshold. Check the Agent StatusNote: Before you can check the status of the New Application agent, you will need to wait until the first evaluation interval has passed (1440 minutes, by default). To check the status of the New Application agent:
Create an Action File that Sends an Email NotificationIf you would like to be notified via email when the number of new auto-discovered classes has exceeded the red threshold, you can create a command file that contains a single line: the send email command. By designating this command file as the red action file, an email will be sent when the red threshold is crossed. Note: In order to send email notification, you must configure an SMTP server in PacketWise. To create an action file that sends an email notification: 1. If the info tab is currently displayed, click the Settings link; otherwise, go to the setup tab and click the Adaptive Response Settings link. 2. Click the edit button next to the partition agent. 3. Click the browse files button. The File Browser window opens and shows the contents of the 9.258/agent/cmd directory (where action files need to be stored). 4. Click the new cmd file button. A command file window opens. 5. In the File Name field, enter a unique name for your action file up to eight characters long, including 0-9, a-z, AZ, -,_, and . (period). Spaces are not allowed. Example: red-new 6. In the Contents area, enter the following commands: 7. Click save. 8. Enter the name of your action file in the Red Action File field (for example, red-new.cmd). 9. Click OK. After the next evaluation interval, an email will be sent if and when the agent's red threshold is crossed. You may also want to create a green action file to notify you when the New Application agent returns to a green status.
|
PacketGuide™ for PacketWise® 8.1