ARM Research Labs Sniffer Plugin for CommuniGate
Pro
|
|
Note: The ARM Research Labs Sniffer Plugin is not available
on platforms. Before you order the Sniffer License, make sure that
the available versions of the Sniffer Plugin software run on your
CommuniGate Pro Server platform.
Download the ARM Research Labs Sniffer Plugins
-
ARM Research Labs Sniffer antispam plugins are available for certain platforms only.
Operating System |
CPU |
Download |
via http |
via ftp |
Microsoft Windows NT/2000/XP Microsoft Windows 95/98 |
x86 |
|
|
Linux (RedHat/Fedora/CentOS, Ubuntu, SuSE) |
x86 |
|
|
x86_64 |
|
|
FreeBSD 7.x |
x86 |
|
|
x86_64 |
|
|
OpenBSD 4.4 or later |
x86 |
|
|
x86_64 |
|
|
Source for Linux/FreeBSD/OpenBSD |
Any |
|
|
Downloads by ftp are not available
The current version of the Plugin is 0.1.0.
The current version of the ARM Research Labs Sniffer Engine is 3.0.11.
Upgrading to a newer version.
When upgrading the Plugin to a newer version, do the following:
- Stop any running copy of the Sniffer Plugin application via
CommuniGate Pro WebAdmin interface.
- Install and configure the new version of the Sniffer Plugin as
described in this document.
Installing on a MS Windows 200x/NT/XP/9x system.
- Open the command-line interface window and
change the current directory to the CommuniGate Pro base directory.
- Use any "unzip"-compatible tool to unpack the
CGPSNF-Win32-Intel.zip file. The CGPSNF directory will be created inside the base directory.
- Proceed with Configuring the Sniffer Plugin.
Installing on a Linux system.
- Log in as a super-user (root).
- Change the current directory to the CommuniGate Pro base directory.
- Unpack the Plugin archive with the tar command:
tar -xzf CGPSNF-Linux-Intel.tar.gz
The CGPSNF directory will be created inside the base directory.
- Proceed with Configuring the Sniffer Plugin.
Installing on a FreeBSD system.
- Log in as a super-user (root).
- Change the current directory to the CommuniGate Pro base directory.
- Unpack the Plugin archive with the tar command:
tar -xzf CGPSNF-FreeBSD-Intel.tar.gz
The CGPSNF directory will be created inside the base directory.
- Proceed with Configuring the Sniffer Plugin.
Installing on an OpenBSD system.
- Log in as a super-user (root).
- Change the current directory to the CommuniGate Pro base directory.
- Unpack the Plugin archive with the tar command:
tar -xzf CGPSNF-OpenBSD-Intel.tar.gz
The CGPSNF directory will be created inside the base directory.
- Proceed with Configuring the Sniffer Plugin.
Installing from source.
You can build the Sniffer Plugin from source:
- Download the snf4cgp.tar.gz.
- Extract the sources with the command:
tar -xzf snf4cgptar.gz
This creates a directory snf4cgp-X.Y.Z, where X.Y.Z is the
version of the module.
- Change directory to snf4cgp-X.Y.Z:
cd snf4cgp-X.Y.Z
- Configure and build the system:
./configure
./make
- Become super-user (root).
- Create the Sniffer Plugin:
make
module
This creates a Plugin archive
named CGPSNF-X.Y.Z-MODULE.tar.gz.
- Proceed with Installing the Sniffer
Plugin for your system, using the Plugin archive that was
created.
Configuring the Sniffer Plugin.
In the module directory (/var/CommuniGate/CGPSNF on a
Linux or Linux-like system):
- Copy the configuration file
snf_engine.xml.sample
to
snf_engine.xml
and customize as
needed. Please see the ARM
Research Labs web site for documentation on
the snf_engine.xml configuration file.
- Copy
identity.xml.sample
to
identity.xml
and edit to include the
license ID and authentication attributes of
the <identity> element.
- Copy
getRulebase.sample
to
getRulebase
and edit to include the
license ID and authentication:
- Change the line
AUTHENTICATION=authenticationxx
to
AUTHENTICATION=YOUR_AUTHENTICATION
where YOUR_AUTHENTICATION is authentication code
obtained from ARM Research Labs.
- Change the line
LICENSE_ID=licenseid
to
LICENSE_ID=YOUR_LICENSE_ID
where YOUR_LICENSE_ID is license ID obtained from
ARM Research Labs.
- Make getRulebase executable:
chmod 755 getRulebase
- Copy
GBUdbIgnoreList.txt.sample
to
GBUdbIgnoreList.txt
and customize as
needed. Please see the
ARM Research Labs web
site for documentation on the GBUdbIgnoreList.txt
file.
- Download the Sniffer database:
- Create the file UpdateReady.txt in the plugin directory:
touch UpdateReady.txt
- Run the getRulebase script in the plugin
directory:
./getRulebase
This downloads the Sniffer database to the plugin directory.
The CGPSNF program automatically updates the
Sniffer database as needed.
- Proceed with Testing the Sniffer Plugin.
Testing the Sniffer Plugin.
On Windows System:
- Change to the module directory:
cd \CommuniGatePro\CGPSNF
- Launch the CGPSNF.exe application by typing:
CGPSNF.exe
It will report the Plugin version number and build date.
- Type:
1 FILE junkmsg.msg
The plugin should report that the file is spam.
- Quit CGPSNF.exe by typing Ctrl-Z.
On a Unix System:
- Change to the module directory:
cd /var/CommuniGate/CGPSNF
- Launch the CGPSNF application by typing:
./CGPSNF
It will report the Plugin version number and build date.
- Type:
1 FILE junkmsg.txt
the plugin should report that the file is spam.
- Quit CGPSNF by typing Ctrl-D.
Command Line Options
-
The Sniffer Plugin supports the following command-line option
(parameters):
- path_to_config_file
- This option tells the Plugin to read the configuration from
path_to_config_file.
Integrating the Sniffer Plugin with CommuniGate Pro.
Please check
the External
Filters section of the CommuniGate Pro manual.
Open the General page in the Settings section of the WebAdmin
Interface and click the Helpers link. Create the Helper as follows:
Note: For Windows system the Program Path shold be
CGPSNF\CGPSNF.exe
Note: On some versions of FreeBSD system you may need to
specify the full path to the program,
i.e. /var/CommuniGate/CGPSNF/CGPSNF
The recommended Scanning Rule is as follows: