|
|
This is the manual for GNU Gatekeeper 3.0. Chapters: Contents · Introduction · Installation · Getting started · Basic Config · Routed Mode & Proxy · Routing · RAS Config · Authentication · Accounting · Neighbors · Per Endpoint Config · Advanced Config · Monitoring · Advanced Topics
2. Compiling and Installing
2.1 Pre-requisites for CompilingTo build the gatekeeper you need PWLib and OpenH323 or PTLib and H323Plus. Please see http://www.gnugk.org/compiling-gnugk.html for up-to-date information on required library versions. NOTE: In order to use any H.460 features, you must build with H323Plus. To successfully compile the GNU Gatekeeper you must first compile the pre-requisites in this order:
On Unix, run NOTE: You must use either
2.2 Installing on UnixThe first step is to get an executable: You can either download an executable for your flavour of Unix from gnugk.org, use the executable your distribution provides or compile the GNU Gatekeeper yourself. For simple installations or to try the features of the gatekeeper, using pre-built executables shouldn't pose any issues, but for professional installations it is always recommended that you self-compile GnuGk.
Installing a binary of GnuGkCopy the executable to the directory you like and create a config file.
There are several config examples and auto startup scripts in the For example you may copy GnuGk to
See section
Command Line Options for details on the command line options.
Compiling the GatekeeperNOTE: you must use GCC 3.3.x or later. You are strongly encouraged to execute Type In order to use the gatekeeper under heavy load, enabling the LARGE_FDSET feature (only available on Unix) is recommended (configure --with-large-fdset=4096). Some systems also need to use ulimit in order to allow more than 1024 sockets to be allocated for a single process. Maximum LARGE_FDSET value for voice calls should be calculated based upon predicted maximum sockets usage using the following formula:
So for 100 concurrent voice calls you don't need more than 1024 sockets in the
LARGE_FDSET.
As a final step, you must either use
2.3 Installing on WindowsThe first step is to obtain the executable program; you can either download it from gnugk.org or compile the GNU Gatekeeper yourself. There are two versions of the gatekeeper available: A regular program and a service.
Installing as a ProgramThese are the steps for a manual installation: Copy Then start the gatekeeper manually from the command line ('cmd.exe') or create a batch file to start it. For example you may copy GnuGk to
See section
Command Line Options for details on the command line options.
Remember to add GnuGk as an exception for the Windows Firewall so it can communicate freely with the network.
Installing as a ServiceThese are the steps for a manual installation; there may be a binary version of the Gatekeeper-as-service which includes a GUI installer program available in the download location. First, ensure that you have the service version of GnuGk before you proceed. Copy To register the service, run the following command from the command line ('cmd.exe'):
Your service is now installed and will be started on the next reboot, or you may start it manually using the Windows Control Panel -> Services function. On Windows Vista and Windows 7, you may have to disable UAC during the service installation. When running GnuGk as a service, it will always look for a config file named Remember to add GnuGk as an exception for the Windows Firewall so it can communicate freely with the network.
Compiling the GatekeeperOnce you have compiled the pre-requisites as specified at the beginning of
this section and have the appropriate include/library paths configured, open and
compile one of the provided solution files (
2.4 The addpasswd utilityStatus port authentication and many other authentication modules, like SimplePasswordAuth, require
encrypted passwords to be stored in the gatekeeper configuration file.
The gatekeeper also supports encryption of all passwords
in the config. The
The usage is as follows:
Example 1: 'gkadmin' user with 'secret' password has to be added to the [GkStatus::Auth] config section to enable authentication on the status port:
Example 2: 'joe' user with 'secret' password has to be added to the [Password] config section to enable endpoint authentication:
Example 3: An encrypted shared secret is added to a RadAuth config section:
IMPORTANT: The Next Previous Contents Chapters: Contents · Introduction · Installation · Getting started · Basic Config · Routed Mode & Proxy · Routing · RAS Config · Authentication · Accounting · Neighbors · Per Endpoint Config · Advanced Config · Monitoring · Advanced Topics
|
|
Last updated: 28. Nov 2011 Page maintained by Jan Willamowius |