Custom Actions in RdpGuard. How to send an e-mail when IP address is blocked/unblocked.
RdpGuard
Intrusion prevention system for your Windows Server
Follow:
Like:
Share:

Custom Actions in RdpGuard


Custom Actions Overview

The "Custom Actions" feature allows to perform one or multiple user defined actions when one of the RdpGuard events occured. For example, you may configure RdpGuard to send you an e-mail each time the IP address is blocked and/or unblocked.

Events

Currently the following types of events are supported:
  • IP Blocked - generated each time RdpGuard blocks an IP address
  • IP Unblocked - generated each time RdpGuard unblocks an IP address

Custom Actions

The following types of custom actions are supported:

  • Send E-mail
  • Send HTTP Post
  • Execute program
See detailed desciption of custom action types below.

Variables

You may use the following variables in E-mail Subject/Body, HTTP POST Body or as an arguments for program execution:

  • %IP% - IP Address
  • %BLOCK_DATE% - Block Date
  • %UNBLOCK_DATE% - Unblock Date:
  • %COMMENT% - Block Reason

Supported Custom Actions

Send E-mail

send email settings

Send Email Settings

This custom action allows you to send an e-mail using pre-defined SMTP server

The following configuration fields are available:

SMTP Server - use this drop-down list to specify SMTP server to use for sending e-mails. You may add/edit SMTP servers using the Add/Edit link at the right corner side of the drop-down list.

From - specify the the sender's email address

To - specify the recipient's email address

Subject - specify message subject, you may use variables described above.

Body - specify message body, you may use variables described above.

Send HTTP Post

http post settings

Send HTTP POST Settings

This custom action allows you to send HTTP POST request to the specified endpoint each time the event occurred.

The following configuration fields are available:

Endpoint - specify the endpoint the request will be sent to, you may also specify port after the server name using the colon symbol, for example https://server.com:443/page.aspx

Enable Basic HTTP Authentication - use this option to enable password protected access to the endpoint. Please note that username/password is transmitted in plain form for this kind of authentication, so TLS/SSL connection is recommended if you enable this option.

Username - user name for Basic HTTP Aithentication

Password - password for Basic HTTP Aithentication

POST Body - specify the HTTP POST body you would like to receive on the server side, you may use variables described above.

Execute program

execute program settings

Execute Program Custom Action Settings

This custom action allows you to execute specified program with arguments.

The following configuration fields are available:

Program/script - Specify the program or script to execute

Arguments - Specify program arguments, you may use variables described above.



To add Custom Action

1. Click Tools, Custom Actions/Notifications

Tools, Custom Actions/Notifications

Click Tools, Custom Actions/Notifications

Custom Actions dialog will open:

Custom Actions dialog

Custom Actions dialog

2. Click Add (or press Ins)

Add New Custom Action dialog will open

Add New Custom Action dialog

Add New Custom Action dialog

3. Select the Event:

  • IP Blocked
  • IP Unblocked

4. Select Custom Action

5. Configure Custom Action

6. Click "Add new custom action"



To edit Custom Action

1. Click Tools, Custom Actions/Notifications

Tools, Custom Actions/Notifications

Click Tools, Custom Actions/Notifications

Custom Actions dialog will open:

Custom Actions dialog

Custom Actions dialog

2. Select Custom Action you would like to edit and click Edit (or press F2)

Edit Custom Action dialog will open:

Edit Custom Action dialog

Edit Custom Action dialog

3. Edit Custom Action parameters

4. Click "Save changes"

You may also temporarily disable any Custom Action by unchecking corresponding check-box in the table.

RdpGuard 4.2.5 Free Trial

RdpGuard protects:

Social Connection
RdpGuard Logo
 
People like RdpGuard!
Our Other Products
FastGlacier
Windows Client for Amazon Glacier - new low-cost storage for data archiving and backup.
Copyright © 2012-2017 NetSDK Software, LLC. All rights reserved.  Terms of Use.  Privacy Policy.