The source code for Realeyes can be downloaded from
SourceForge.
There are four components in five source packages for the Realeyes IDS
application:
RealeyesAE and RealeyesIDS are the library and application
packages to build the sensor IDS application, which monitors
network traffic
RealeyesDB is the collection of database scripts to build
the database for storing configuration data and network
traffic detects
RealeyesDBD (database daemon) is the interface between the
sensor IDS application and the database
RealeyesGUI is the graphical user interface for administering
the application and analyzing network traffic detects and may
be installed on multiple Linux or Microsoft Windows systems.
The packages can all be installed on a single host, individual hosts,
or any combination in between, although several would not make sense.
There are three steps to installing each Realeyes package and one step
to deinstallation.
The configuration scripts are run automatically by the installation
scripts, but may be run individually if necessary. See the man pages
for realeyes_db_config, realeyes_dbd_config, and realeyes_ids_config.
After the installation is complete, see the README files in the system
documentation directory (default: /usr/share/doc/package_name) for
an explanation of each package.
Be sure to get the same version as the database
that is installed and the JDBC 3 build (which
supports SSL connections).
Regardless of the version, rename the JDBC file to:
postgresql.jdbc3.jar
The SWT runtime library archive file
eclipse-platform-3.3.2-platform, which can be
downloaded from
eclipse.org.
On the Eclipse download page, scroll down to the section
'Platform Runtime Binary' and choose the eclipse-platform
archive for the desired platform. The archive file is
approximately 40 Megabytes.
NOTE: Supported operating systems are listed on
this eclipse web page.
On Linux, the Standard Widget Toolkit for GTK library.
This should be available as a package in your distribution
(in Debian, libswtversion-gtk-jni). Using
the package manager's search, look for "libswt" and make
sure it is for GTK.
libswt-pi-gtk-version.so
It is important that the library can be found by the Realeyes
GUI application. This is done automatically by the package
manager, but if installing manually, it is accomplished by
installing the library in an existing system library directory,
or setting the user's LD_LIBRARY_PATH environment variable
to include the actual path, or using the ldconfig command.
Optionally, it may be easier to install eclipse. However,
this does not eliminate the requirement to download the
eclipse-platform.
Realeyes IDS prerequisites are libraries that include both the
development, for compiling the code, and
runtime, for execution:
libxml2 and libxml2-dev
libpcap and libpcap-dev
openssl and libssl-dev
Realeyes DBD prerequisites are:
A Java JRE that supports SSL, the following have been
tested successfully:
Blackdown Java
Sun Java 1.4 or 1.5
The PostgreSQL database interface (JDBC) file for Java,
postgresqlversion.jdbc3.jar. All JDBC files for
PostgreSQL version 8.x can be found in the 'Supported Versions'
section of the download page at
postgresql.org
IMPORTANT:
Be sure to get the same version as the database
that is installed and the JDBC 3 build (which
supports SSL connections).
Regardless of the version, rename the JDBC file to:
postgresql.jdbc3.jar
XML jar files which can be downloaded from
apache.org. Choose the 'master distribution directory'
or a mirror, and download the latest binary release in the
file, Xerces-J-bin.version.tar.gz. Extract it:
tar xzf Xerces-J-bin.version.tar.gz
Only the following two files are needed by the RealeyesDBD
application:
xercesImpl.jar
xml-apis.jar
If the Realeyes IDS application is installed on a host separate
from the rest of the system, then it is expected that there will
be two network interfaces, one for monitoring in promiscuous mode,
and the other for connections to the Realeyes DBD host and SSH
access.
In this case, both interfaces should be defined to use static
IP addresses, with the monitoring interface set to 0.0.0.0.
It is advisable to establish a site standard for using the
first or second interface for monitoring.
The following user IDs are the defaults created by Realeyes
package configuration scripts, but may be modified when the
scripts are run: