Some settings of Zorp Authentication Agent (Satyr) can be modified via the Windows Registry. Launch the registry editor by issuing the regedit command (either from a command prompt or via the Start menu / Run application menu item).
The parameters of the Zorp Authentication Agent are located under
HKEY_LOCAL_MACHINE\SOFTWARE\BalaBit\Satyr.
The component column contains the name of the component related to the parameter. This component has to be restarted if a value is modified (i.e. the Satyr Multiplexer service for Multiplexer, the Satyr Client application for Client).
To restart the Multiplexer right click on the Satyr Multiplexer element of the Start menu / Settings / Control panel / Administrative Tools / Services list and select Restart.
The following settings are available from the registry:
|
Name |
Description |
Default value |
Component |
|---|---|---|---|
|
aliasfile |
The name and path (e.g.: |
1 |
Multiplexer |
|
Automatic |
Enables the automatic Kerberos authentication if set to
|
1 |
Client |
|
Can Remember |
The user can set the client to remember his/her password if set to
|
1 |
Client |
|
Details |
The authentication agent displays the details of the connection in the popup
dialog if this parameter is set to |
0 |
Client |
|
Has Preferences |
Enable the Preferences menu item in the local menu of
the authentication agent (right click on the tray icon). The
Preferences menu item is displayed only if this parameter
is set to |
1 |
Client |
|
Forget Password Interval |
Instructs the authentication agent to forget the stored password after the set period (in minutes). That way no unauthorized connections can be initiated from an unattended machine. |
1 |
Client |
|
Forget Password |
The authentication agent can store the set password indefinitely if this
parameter is set to |
1 |
Client |
|
LOG_CLIENT |
The verbosity level of the authentication client, ranging from
|
0 |
Client |
|
LOG |
The verbosity level of the Multiplexer, ranging from
|
0 |
Multiplexer |
|
SSL |
The Multiplexer accepts only SSL-encrypted if this parameter is set to
|
1 |
Multiplexer |
The version number of the client can be displayed from the command line via the
satyr-client.exe --version command. The Satyr Multiplexer
(satyr-mpxd.exe) has the following command-line options:
Register the Satyr Multiplexer service.
Remove the Satyr Multiplexer service.
Start the Satyr Multiplexer service.
Stop the Satyr Multiplexer service.
Satyr Multiplexer and Zorp can communicate via an SSL-encrypted channel. For this, a certificate has to be available on the Zorp firewall that Zorp uses to authenticate the connection to the Multiplexer. The Multiplexer verifies this certificate using the certificate of the CA issuing Zorp's certificate, therefore the certificate of the CA has to be imported to the machine running the Zorp Authentication Agent.
![]() |
Note |
|---|---|
It is highly recommended to encrypt the communication between Zorp and the authentication agent, since without it anyone can connect to the Satyr Multiplexer, resulting in the authentication information obtained by unauthorized people. It is essential to use encryption when password authentication is used. |
To enable encryption between Zorp and the authentication agent complete the following steps. See Chapter 14, Key and certificate management in Zorp in the Zorp Administrator`s Guide for the steps to be completed from ZMC.
Procedure 5. Encrypting the communication between Zorp and the authentication agent (Windows)
Create a CA (e.g.: Satyr_CA) using the Zorp Management
Console (ZMC). This CA will be used to sign the certificates shown by the Zorp
firewalls to the authentication agents.
Export the CA certificate into DER format.
Generate certificate request(s) for the Zorp firewall(s) and sign it with the CA created in Step 1.
![]() |
Note |
|---|---|
Every firewall should have its own certificate. Do not forget to set the firewall as the Owner host of the certificate. |
Distribute the certificates to the firewalls.
Install the Zorp Authentication Agent (Satyr) application to the workstations and import to each machine the CA certificate exported in Step 2.
There are three ways to import the CA certificate:
Using the installer of the Zorp Authentication Agent.
Manually using the addcert and getcert programs (see Section 4.1.3.1, “Using the addcert and getcert programs”).
Using the Microsoft Management Console (see Section 4.1.3.2, “Importing the CA certificate using Microsoft Management Console (MMC)”).
Create the appropriate outband authentication policies in ZMC and reference them in the services of Zorp. See Chapter 18, Connection authentication and authorization in the Zorp Administrator`s Guide for details.
To import the certificate of the CA complete the following steps.
Procedure 6. Importing the CA certificate manually
The certificate can be imported using the addcert.exe
program located in the installation folder of the Satyr client (C:\Program
Files\Satyr client by default). The program can be started from a
command prompt or via the Run application item of the
Start menu. Supply the name and path of the DER-format
certificate is as an input parameter. E.g.:
C:\Program Files\Satyr client\addcert C:\temp\Satyr_CA.crt
![]() |
Note |
|---|---|
Running |
Verify that the certificate has been successfully imported by running getcert.exe. Running getcert.exe lists the Subject of all imported certificates.
Restart the Satyr Multiplexer service.
To import the certificate of the CA complete the following steps.
Procedure 7. Importing the CA certificate using MMC
Start Microsoft Management Console by executing mmc.exe
(Start menu Run application).
![]() |
Note |
|---|---|
Running |
Click on the Add/Remove snap-in) item of the File).
Click Add, select the Certificates module, and click Add.
Select Service account in the displayed window and click Next.
Select Local menu and click Next.
Select the Satyr Multiplexer service from the displayed list and click Finish.
With the above steps a snap-in module has been configured that enables to conveniently manage the certificates related to the Satyr Multiplexer.
Navigate to Certificates - Service (Satyr Multiplexer) \ satyr-mpxd \ Personal \ Certificates), and click Add.
Right-click on the Certificates) folder and from the appearing menu select All tasks / Import. The Certificate Import Wizard will be displayed. Click Next.
Select the certificate to import (e.g.:
C:/tmp/Satyr_CA.crt) and click
Next.
Windows offers a suitable certificate store by default, so click Next.
Click Finish on the summary window and OK on the window that marks the successful importing of the certificate. The main window of MMC is displayed with the imported certificate.
Restart the Satyr Multiplexer service. Navigate to Start menu / Settings / Control panel / Administrative Tools / Services) and right-click in the Satyr Multiplexer element of the list. Select the Restart option.
For authentication based on X.509 certificates the certificate and the private key of the user has to be deployed onto the workstation. Import the certificate of the user into his/her personal certificate store. This can be accomplished most easily via the Internet Explorer:
Start Internet Explorer from the Start menu or from a command prompt by running iexplore.exe.
From the Tools) menu select Internet Options.
On the Contents tab click on Certificates.
The certificates of the user are displayed on the Personal tab. Click Import.
![]() |
Note |
|---|---|
Hardware keys and tokens (e.g.: Aladdin) having a suitable driver for Windows are also displayed in this store and can be used from the Zorp Authentication Agent. |
Import the certificate using the Certificate Import Wizard.
The graphical client (satyr-gtk) has the following command line
parameters:
Display a brief help message.
Display version number and compilation information.
Enables automatic Kerberos authentication.
Send log messages to the standard output instead of syslog.
Set verbosity level to <verbosity>. Default the verbosity level is 3; possible values are 0-10.
Prepend log category and log level to each message.
Satyr Multiplexer (satyr-mpxd) has the following command line
parameters:
Display a brief help message.
Display the version number of satyr-mpxd
Send log messages to the standard output instead of syslog.
Set verbosity level to <verbosity>. Default the verbosity level is 3; possible values are 0-10.
Prepend log category and log level to each message.
The name (including full path) of a text file (e.g.:
/tmp/aliases) used by Satyr Multiplexer to redirect the
authentication requests of certain users to a different user in multiuser
environments. E.g.: to redirect all authentication request of the
root user to MainUser add the
following line to the file: root: MainUser.
Set verbosity mask on a per category basis. Each log message has an assigned multi-level category, where levels are separated by a dot. For example, HTTP requests are logged under http.request. <spec> is a comma separated list of log specifications. A single log specification consists of a wildcard matching log category, a colon, and a number specifying the verbosity level of that given category. Categories match from left to right. E.g.: --logspec 'http.*:5,core:3'. The last matching entry will be used as the verbosity of the given category. If no match is found the default verbosity specified with --verbose is used.
Disable the SSL encryption of the communication between Zorp and the Multiplexer.
The IP address and the port the Multiplexer is accepting connections on.
Path of the directory containing the certificate of the CA that issued the certificate of the Zorp firewall.
Path of the directory containing the Certificate Revocation List (CRL) related to the above CA.
To enable encryption between Zorp and the authentication agent complete the following steps. See Chapter 14, Key and certificate management in Zorp in the Zorp Administrator`s Guide for the steps to be completed from ZMC.
Procedure 9. Encrypting the communication between Zorp and the authentication agent (Linux)
Create a CA (e.g.: Satyr_CA) using the Zorp Management
Console (ZMC). This CA will be used to sign the certificates shown by the Zorp
firewalls to the authentication agents.
Export the CA certificate into PEM format.
Generate certificate request(s) for the Zorp firewall(s) and sign it with the CA created in Step 1.
![]() |
Note |
|---|---|
Every firewall should have its own certificate. Do not forget to set the firewall as the Owner host of the certificate. |
Distribute the certificates to the firewalls.
Install the Zorp Authentication Agent (Satyr) application to the workstations and import to each machine the CA certificate exported in Step 2.
To import the CA certificate complete the following steps:
Create the /etc/satyr/ca directory:
mkdir /etc/satyr/ca
Copy the certificate exported into PEM format in Step 2 into the
/etc/satyr/ca directory.
Verify the hash of the CA certificate:
openssl x509 -in /etc/satyr/ca/cacert.pem -hash -noout
Create a symlink to the certificate file using the hash received in the above
step. Add the .0 suffix (or the next free suffix if .0 is
already taken) to the file as an extension, e.g.:
ln -s /etc/satyr/ca/cacert.pem /etc/satyr/ca/6d2962a8.0
Restart the Satyr Multiplexer daemon:
/etc/init.d/satyr-mpxd restart
The authentication client is now ready to accept encrypted connections from Zorp.
Create the appropriate outband authentication policies in ZMC and reference them in the services of Zorp. See Chapter 18, Connection authentication and authorization in the Zorp Administrator`s Guide for details.
For authentication based on X.509 certificates the certificate and the private key of
the user has to be deployed onto the workstation. Create a directory called
.satyr in the home folder of the user and copy the certificate and
private key of the user in PEM format into this directory. Use the
cert.pem and key.pem filenames, or create
symlinks with these names pointing to the certificate and the key file. The authentication
agent will automatically use the certificate found in this directory.
© 2006 BalaBit IT Security
Please send your comments or documentation bugs to: documentation@balabit.com