-
Notifications
You must be signed in to change notification settings - Fork 35
Build and install FW1 LogGrabber
FW1-LogGrabber v2.0 and above can be built on Linux x86/amd64 platforms only.
If you are interested in other platforms please check FW1-LogGrabber v1.11.1 website
FW1-LogGrabber uses API-functions from Checkpoint's OPSEC SDK 6.0 for Linux 50.
You must take care of downloading the Checkpoint OPSEC SDK and extracting it inside the OPSEC_SDK
folder.
You also need to install some required 32-bit libraries.
If you are using Debian or Ubuntu, please run:
sudo apt-get install gcc-multilib g++-multilib libelf-dev:i386 libpam0g:i386 zlib1g-dev:i386
If you are using CentOS or RHEL, please run:
sudo yum install gcc gcc-c++ make glibc-devel.i686 elfutils-libelf-devel.i686 zlib-devel.i686 libstdc++-devel.i686 pam-devel.i686
Building should be as simple as running GNU Make in the project root folder:
make
If the build process complains, you might need to tweak some variables inside the Makefile
(e.g. CC
, LD
and OPSEC_PKG_DIR
) according to your environment.
To install FW1-LogGrabber into its default location /usr/local/fw1-loggrabber
(defined by INSTALL_DIR
variable), please run
sudo make install
FW1-LogGraber makes use of two environment variables, which should be defined in the shell configuration files.
-
LOGGRABBER_CONFIG_PATH
defines a directory containing configuration files (fw1-loggrabber.conf
,lea.conf
). If the variable is not defined, the program expects to find these files in the current directory. -
LOGGRABBER_TEMP_PATH
defines a directory where FW1-LogGrabber will store temporary files. If the variable is not defined, the program stores these files in the current directory.
Since the binary is dynamically linked to Checkpoint OPSEC libraries, please also add /usr/local/fw1-loggrabber/lib
to LD_LIBRARY_PATH
or to your dynamic linker configuration with
sudo echo /usr/local/fw1-loggrabber/lib > /etc/ld.so.conf.d/fw1-loggrabber.conf
sudo ldconfig