Articles
WANGUARD and WANSIGHT can be installed using Ubuntu-compatible packages built for i686 ( 32 bit Intel or AMD ) and amd64 ( 64 bit Intel or AMD ) architectures. The installation instructions listed below contain references only for 64 bit packages. To install the packages on 32 bit CPUs, simply change the "amd64" string with "i686". The packages were tested on Ubuntu Server 12.x.
WANGUARD_5_4.pdf | WANGUARD 5.4 - User Manual and Administrator Guide. |
WANSIGHT_5_4.pdf | WANSIGHT 5.4 - User Manual and Administrator Guide. |
WANconsole-5.4-0.i686.deb | The Console is a web portal that provides single-point management and reporting for WANSIGHT and WANGUARD. |
WANconsole-5.4-0.amd64.deb | |
WANsensor-5.4-0.i686.deb | The Sensor is the WANSIGHT and WANGUARD component that does traffic accounting, monitoring and analysis. |
WANsensor-5.4-0.amd64.deb | |
WANfilter-5.4-0.i686.deb | The Filter is the WANGUARD component able to detect attackers and scrub malicious traffic. |
WANfilter-5.4-0.amd64.deb | |
WANsupervisor-5.4-0.i686.deb | The Supervisor provides routines used to start, shutdown and monitor WANSIGHT and WANGUARD components. |
WANsupervisor-5.4-0.amd64.deb | |
WANbgp-5.4-0.all.deb | The WANbgp package is used by WANGUARD for sending BGP routing announcements. |
CONSOLE INSTALLATION STEPS: |
Step 1. Install the Console's dependencies First make sure that all the required packages are installed. ubuntu:~# apt-get install mysql-server apache2 php5 php5-snmp php5-cli php5-mysql libdbd-mysql-perl libnet-telnet-perl quagga tshark rrdtool wget php5-mcrypt tcpdump ntp whois traceroute libnuma1
Step 2. Configure the MySQL server By default MySQL is bound to the loopback interface, so you should comment the bind-address parameter. If you deploy Sensors or Filters on remote systems, make sure that the MySQL server is accessible by opening port tcp/3306 in the firewall. ubuntu:~# nano /etc/mysql/my.cnf #comment any "bind-address" directive, enable "max_connections=300", edit "max_allowed_packet=64M" and add "skip-name-resolve", all in the [mysqld] section
ubuntu:~# service mysql restart Step 3. Install the packages Install the packages WANsupervisor, WANconsole, WANsensor and WANbgp.
ubuntu:~# wget http://www.andrisoft.com/files/ubuntu12/WANsupervisor-5.4-0.amd64.deb
ubuntu:~# wget http://www.andrisoft.com/files/ubuntu12/WANconsole-5.4-0.amd64.deb ubuntu:~# dpkg -i WANsupervisor-5.4-0.amd64.deb WANconsole-5.4-0.amd64.deb ubuntu:~# wget http://www.andrisoft.com/files/ubuntu12/WANsensor-5.4-0.amd64.deb ubuntu:~# wget http://www.andrisoft.com/files/ubuntu12/WANbgp-5.4-0.all.deb ubuntu:~# dpkg -i WANsensor-5.4-0.amd64.deb WANbgp-5.4-0.all.deb Step 4. Configure the Apache server Add the line "zend_extension=/opt/andrisoft/webroot/ixed/ixed.5.3.lin" in php.ini, in the [PHP] section. ubuntu:~# nano /etc/php5/apache2/php.ini #add zend_extension=/opt/andrisoft/webroot/ixed/ixed.5.3.lin in the [PHP] section
ubuntu:~# nano /etc/php5/cli/php.ini #add zend_extension=/opt/andrisoft/webroot/ixed/ixed.5.3.lin in the [PHP] section ubuntu:~# service apache2 restart Step 5. Install the Console's database Finish installing the Console by running the /opt/andrisoft/bin/install_console script. Enter the MySQL root password, and provide a new password for the Console's database. ubuntu:~# /opt/andrisoft/bin/install_console
Step 6. Configure and start the Supervisor The WANsupervisor daemon must be installed and started on all systems. You have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password you set on step 5. If the Supervisor and Console are installed on the same system, don't use the loopback address 127.0.0.1 for the Console's IP address. Enter the IP address of the server. ubuntu:~# /opt/andrisoft/bin/install_supervisor
ubuntu:~# service WANsupervisor start ubuntu:~# update-rc.d WANsupervisor defaults 99 Step 7. Access the Console The Console web interface is accessible by pointing your web browser to http://<hostname>/wanguard or http://<hostname>/wansight, where <hostname> is the name of the server running the Console. The default username is "admin" with the password "changeme". Continue with the installation of the Sensor by following the steps below. |
SENSOR INSTALLATION STEPS: |
Step 1. Install the Sensor's dependencies Install the required packages. Configure and start ntpd to prevent clock de-synchronization issues. ubuntu:~# apt-get install wget ntp libmysqlclient18
ubuntu:~# service ntp start Step 2. Install, configure and start the Supervisor This step is required if you haven't previously installed and configured WANsupervisor on the target system. In order to configure the Supervisor, you have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password. ubuntu:~# wget http://www.andrisoft.com/files/ubuntu12/WANsupervisor-5.4-0.amd64.deb
ubuntu:~# dpkg -i WANsupervisor-5.4-0.amd64.deb ubuntu:~# /opt/andrisoft/bin/install_supervisor ubuntu:~# service WANsupervisor start ubuntu:~# update-rc.d WANsupervisor defaults 99 Step 3. Install the Sensor Install the WANsensor package. ubuntu:~# wget http://www.andrisoft.com/files/ubuntu12/WANsensor-5.4-0.amd64.deb
ubuntu:~# dpkg -i WANsensor-5.4-0.amd64.deb Step 4. Setup the Sensor Log into the Console to setup the Sensor(s). Sensors are started, monitored and stopped by the WANsupervisor daemon, so make sure the WANsupervisor service is always running. |
FILTER INSTALLATION STEPS: |
Step 1. Install the Filter's dependencies Install the required packages. Configure and start ntpd to prevent clock de-synchronization issues. ubuntu:~# apt-get install tcpdump iptables wget ntp libmysqlclient18
ubuntu:~# service ntp start Step 2. Install, configure and start the Supervisor This step is necessary if you haven't previously installed and configured WANsupervisor on the target system. In order to configure the Supervisor, you have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password. ubuntu:~# /opt/andrisoft/bin/install_supervisor
ubuntu:~# service WANsupervisor start ubuntu:~# update-rc.d WANsupervisor defaults 99 Step 3. Remove local firewall rules The iptables service overrules the Filter, and therefore has to be stopped. The Filter will manage the firewall rules from now on. ubuntu:~# update-rc.d iptables stop
ubuntu:~# service iptables stop Step 4. Install the Filter Install the packages WANsensor and WANfilter. ubuntu:~# wget http://www.andrisoft.com/files/ubuntu12/WANsensor-5.4-0.amd64.deb
ubuntu:~# wget http://www.andrisoft.com/files/ubuntu12/WANfilter-5.4-0.amd64.deb ubuntu:~# dpkg -i WANsensor-5.4-0.amd64.deb WANfilter-5.4-0.amd64.deb Step 5. Setup the Filter Log in to the Console to set up Filter(s). Filters are started, monitored and stopped by the WANsupervisor daemon, so make sure the WANsupervisor service is always running. |
WANGUARD and WANSIGHT can be installed using RedHat-compatible packages built for i686 ( 32 bit Intel or AMD ) and x86_64 ( 64 bit Intel or AMD ) architectures. The installation instructions listed below contain references only for 64 bit packages. To install the packages on 32 bit CPUs, simply change the "x86_64" string with "i686". The packages were tested on RedHat Enterprise Linux 6.x and CentOS 6.x.
WANGUARD_5_4.pdf | WANGUARD 5.4 - User Manual and Administrator Guide. |
WANSIGHT_5_4.pdf | WANSIGHT 5.4 - User Manual and Administrator Guide. |
WANconsole-5.4-0.i686.rpm | The Console is a web portal that provides single-point management and reporting for WANSIGHT and WANGUARD. |
WANconsole-5.4-0.x86_64.rpm | |
WANsensor-5.4-0.i686.rpm | The Sensor is the WANSIGHT and WANGUARD component that does traffic accounting, monitoring and analysis. |
WANsensor-5.4-0.x86_64.rpm | |
WANfilter-5.4-0.i686.rpm | The Filter is the WANGUARD component able to detect attackers and scrub malicious traffic. |
WANfilter-5.4-0.x86_64.rpm | |
WANsupervisor-5.4-0.i686.rpm | The Supervisor provides routines used to start, shutdown and monitor WANSIGHT and WANGUARD components. |
WANsupervisor-5.4-0.x86_64.rpm | |
WANbgp-5.4-0.noarch.rpm | The WANbgp package is used by WANGUARD for sending BGP routing announcements. |
CONSOLE INSTALLATION STEPS: |
Step 1. Install the Console's dependencies First make sure that all the required packages are installed. On CentOS and Fedora you should use the yum package manager. On RedHat Enterprise systems you should use the up2date package manager. [root@localhost ~]# yum install mysql mysql-server httpd php php-cli php-mysql perl-MailTools perl-DBD-MySQL perl-Net-Telnet quagga libart_lgpl php-snmp wget which tcpdump ruby gettext php-ldap cairo pango wireshark tcpdump openssl rrdtool rrdtool-perl ntp
Step 2. Configure the MySQL server By default, the MySQL server does not have a password set. Start the MySQL server and set a password for the MySQL root user. If you deploy Sensors or Filters on remote systems, make sure that the MySQL server is accessible by opening port tcp/3306 in the firewall. [root@localhost ~]# nano /etc/my.cnf #set "max_allowed_packet=64M", "max_connections=300" and "skip-name-resolve" in the [mysqld] section
[root@localhost ~]# service mysqld start [root@localhost ~]# /usr/bin/mysqladmin -u root password 'new-password' [root@localhost ~]# service mysqld restart [root@localhost ~]# chkconfig --level 345 mysqld on Step 3. Install the packages Install the packages WANsupervisor, WANconsole and WANbgp. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANsupervisor-5.4-0.x86_64.rpm
[root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANconsole-5.4-0.x86_64.rpm [root@localhost ~]# rpm -Uvh ./WANsupervisor-5.4-0.x86_64.rpm ./WANconsole-5.4-0.x86_64.rpm [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANbgp-5.4-0.noarch.rpm [root@localhost ~]# rpm -Uvh ./WANbgp-5.3-0.noarch.rpm Step 4. Configure the Apache server Add the "zend_extension=/opt/andrisoft/webroot/ixed/ixed.5.3.lin" in php.ini, in the [PHP] section. Disable SeLinux. [root@localhost ~]# nano /etc/php.ini #add zend_extension=/opt/andrisoft/webroot/ixed/ixed.5.3.lin in the [PHP] section, set date.timezone in the [Date] section ( see http://php.net/manual/en/timezones.php )
[root@localhost ~]# service httpd restart [root@localhost ~]# setenforce 0 ; nano /etc/selinux/config #set SELINUX=permissive Step 5. Install the Console's database Finish installing the Console by running the /opt/andrisoft/bin/install_console script. Enter the MySQL root password you set on step 2, and provide a new password for the Console's database. [root@localhost ~]# /opt/andrisoft/bin/install_console
Step 6. Configure and start the Supervisor The WANsupervisor daemon must be installed and started on all systems. You have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password you set on step 5. If the Supervisor and Console are installed on the same system, don't use the loopback address 127.0.0.1 for the Console's IP address. Enter the IP address of the server. [root@localhost ~]# /opt/andrisoft/bin/install_supervisor
[root@localhost ~]# service WANsupervisor start [root@localhost ~]# chkconfig --level 345 WANsupervisor on Step 7. Access the Console The Console web interface is accessible by pointing your web browser to http://<hostname>/wanguard or http://<hostname>/wansight, where <hostname> is the name of the server running the Console. Continue with the installation of the Sensor by following the steps below. |
SENSOR INSTALLATION STEPS: |
Step 1. Install the Sensor's dependencies Install the required packages. Configure and start ntpd to prevent clock de-synchronization issues. [root@localhost ~]# yum install wget mysql-libs ntp
[root@localhost ~]# service ntpd start Step 2. Install, configure and start the Supervisor This step is required if you haven't previously installed and configured WANsupervisor on the target system. In order to configure the Supervisor, you have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANsupervisor-5.4-0.x86_64.rpm
[root@localhost ~]# rpm -Uvh ./WANsupervisor-5.4-0.x86_64.rpm [root@localhost ~]# /opt/andrisoft/bin/install_supervisor [root@localhost ~]# service WANsupervisor start [root@localhost ~]# chkconfig --level 345 WANsupervisor on Step 3. Install the Sensor Install the WANsensor package. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANsensor-5.4-0.x86_64.rpm
[root@localhost ~]# rpm -Uvh ./WANsensor-5.4-0.x86_64.rpm Step 4. Setup the Sensor Log into the Console to setup the Sensor(s). Sensors are started, monitored and stopped by the WANsupervisor daemon, so make sure the WANsupervisor service is always running. |
FILTER INSTALLATION STEPS: |
Step 1. Install the Filter's dependencies Install the required packages. Configure and start ntpd to prevent clock de-synchronization issues. [root@localhost ~]# yum install wget mysql-libs ntp
[root@localhost ~]# service ntpd start Step 2. Install, configure and start the Supervisor This step is necessary if you haven't previously installed and configured WANsupervisor on the target system. In order to configure the Supervisor, you have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANsupervisor-5.4-0.x86_64.rpm
[root@localhost ~]# rpm -Uvh ./WANsupervisor-5.4-0.x86_64.rpm [root@localhost ~]# /opt/andrisoft/bin/install_supervisor [root@localhost ~]# service WANsupervisor start [root@localhost ~]# chkconfig --level 345 WANsupervisor on Step 3. Remove local firewall rules The iptables service overrules the Filter, and therefore has to be stopped. The Filter will manage the firewall rules from now on. [root@localhost ~]# chkconfig --level 2345 iptables off
[root@localhost ~]# service iptables stop Step 4. Install the Filter Install the packages WANsensor and WANfilter. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANsensor-5.4-0.x86_64.rpm
[root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANfilter-5.4-0.x86_64.rpm [root@localhost ~]# rpm -Uvh ./WANsensor-5.4-0.x86_64.rpm [root@localhost ~]# rpm -Uvh ./WANfilter-5.4-0.x86_64.rpm Step 5. Setup the Filter Log in to the Console to set up Filter(s). Filters are started, monitored and stopped by the WANsupervisor daemon, so make sure the WANsupervisor service is always running. |
WANGUARD and WANSIGHT can be installed using RedHat-compatible packages built for i686 ( 32 bit Intel or AMD ) and x86_64 ( 64 bit Intel or AMD ) architectures. The installation steps listed below contain references only to packages built for 64 bit CPUs. To install the packages on 32 bit CPUs, simply change the "x86_64" string with "i686". All packages were tested on RedHat Enterprise Linux 6.x and CentOS 6.x.
WANGUARD_5_4.pdf | WANGUARD 5.4 User Guide. |
WANSIGHT_5_4.pdf | WANSIGHT 5.4 User Guide. |
WANconsole-5.4-0.i686.rpm | The Console is a web portal that provides single-point management and reporting for WANSIGHT and WANGUARD. |
WANconsole-5.4-0.x86_64.rpm | |
WANsensor-5.4-0.i686.rpm | The Sensor is the WANSIGHT and WANGUARD component that does traffic accounting, monitoring and analysis. |
WANsensor-5.4-0.x86_64.rpm | |
WANfilter-5.4-0.i686.rpm | The Filter is the WANGUARD component able to detect attackers and scrub malicious traffic. |
WANfilter-5.4-0.x86_64.rpm | |
WANsupervisor-5.4-0.i686.rpm | The Supervisor provides routines used to start, shutdown and monitor WANSIGHT and WANGUARD components. |
WANsupervisor-5.4-0.x86_64.rpm | |
WANbgp-5.4-0.noarch.rpm | The WANbgp package is used by WANGUARD for sending BGP routing announcements. |
CONSOLE INSTALLATION STEPS: |
Step 1. Install the Console's dependencies First make sure that all the required packages are installed. On CentOS and Fedora you should use the yum package manager. On RedHat Enterprise systems you should use the up2date package manager. [root@localhost ~]# yum install mysql mysql-server httpd php php-cli php-mysql perl-MailTools perl-DBD-MySQL perl-Net-Telnet quagga libart_lgpl php-snmp wget which tcpdump ruby gettext php-ldap cairo pango wireshark tcpdump openssl rrdtool rrdtool-perl ntp jwhois traceroute
Step 2. Configure the MySQL server By default, the MySQL server does not have a password set. Start the MySQL server and set a password for the MySQL root user. If you deploy Sensors or Filters on remote systems, make sure that the MySQL server is accessible by opening port tcp/3306 in the firewall. [root@localhost ~]# nano /etc/my.cnf #set "max_allowed_packet=64M", "max_connections=300" and "skip-name-resolve" in the [mysqld] section
[root@localhost ~]# service mysqld start [root@localhost ~]# /usr/bin/mysqladmin -u root password 'new-password' [root@localhost ~]# service mysqld restart [root@localhost ~]# chkconfig --level 345 mysqld on Step 3. Install the packages Install the packages WANsupervisor, WANconsole, WANsensor and WANbgp. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANsupervisor-5.4-0.x86_64.rpm
[root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANconsole-5.4-0.x86_64.rpm [root@localhost ~]# rpm -Uvh ./WANsupervisor-5.4-0.x86_64.rpm ./WANconsole-5.4-0.x86_64.rpm [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANsensor-5.4-0.x86_64.rpm [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANbgp-5.4-0.noarch.rpm [root@localhost ~]# rpm -Uvh ./WANsensor-5.4-0.x86_64.rpm ./WANbgp-5.4-0.noarch.rpm Step 4. Configure the Apache server Add the "zend_extension=/opt/andrisoft/webroot/ixed/ixed.5.3.lin" in php.ini, in the [PHP] section. Disable SeLinux. [root@localhost ~]# nano /etc/php.ini #add zend_extension=/opt/andrisoft/webroot/ixed/ixed.5.3.lin in the [PHP] section, set date.timezone in the [Date] section ( see http://php.net/manual/en/timezones.php )
[root@localhost ~]# service httpd restart [root@localhost ~]# setenforce 0 ; nano /etc/selinux/config #set SELINUX=permissive Step 5. Install the Console's database Finish installing the Console by running the /opt/andrisoft/bin/install_console script. Enter the MySQL root password you set on step 2, and provide a new password for the Console's database. [root@localhost ~]# /opt/andrisoft/bin/install_console
Step 6. Configure and start the Supervisor The WANsupervisor daemon must be installed and started on all systems. You have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password you set on step 5. If the Supervisor and Console are installed on the same system, don't use the loopback address 127.0.0.1 for the Console's IP address. Enter the IP address of the server. [root@localhost ~]# /opt/andrisoft/bin/install_supervisor
[root@localhost ~]# service WANsupervisor start [root@localhost ~]# chkconfig --level 345 WANsupervisor on Step 7. Access the Console The Console web interface is accessible by pointing your web browser to http://<hostname>/wanguard or http://<hostname>/wansight, where <hostname> is the name of the server running the Console. The default username is "admin" with the password "changeme". Continue with the installation of the Sensor by following the steps below. |
SENSOR INSTALLATION STEPS: |
Step 1. Install the Sensor's dependencies Install the required packages. Configure and start ntpd to prevent clock de-synchronization issues. [root@localhost ~]# yum install wget mysql-libs ntp
[root@localhost ~]# service ntpd start Step 2. Install, configure and start the Supervisor This step is required if you haven't previously installed and configured WANsupervisor on the target system. In order to configure the Supervisor, you have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANsupervisor-5.4-0.x86_64.rpm
[root@localhost ~]# rpm -Uvh ./WANsupervisor-5.4-0.x86_64.rpm [root@localhost ~]# /opt/andrisoft/bin/install_supervisor [root@localhost ~]# service WANsupervisor start [root@localhost ~]# chkconfig --level 345 WANsupervisor on Step 3. Install the Sensor Install the WANsensor package. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANsensor-5.4-0.x86_64.rpm
[root@localhost ~]# rpm -Uvh ./WANsensor-5.4-0.x86_64.rpm Step 4. Setup the Sensor Log into the Console to setup the Sensor(s). Sensors are started, monitored and stopped by the WANsupervisor daemon, so make sure the WANsupervisor service is always running. |
FILTER INSTALLATION STEPS: |
Step 1. Install the Filter's dependencies Install the required packages. Configure and start ntpd to prevent clock de-synchronization issues. [root@localhost ~]# yum install wget mysql-libs ntp
[root@localhost ~]# service ntpd start Step 2. Install, configure and start the Supervisor This step is necessary if you haven't previously installed and configured WANsupervisor on the target system. In order to configure the Supervisor, you have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANsupervisor-5.4-0.x86_64.rpm
[root@localhost ~]# rpm -Uvh ./WANsupervisor-5.4-0.x86_64.rpm [root@localhost ~]# /opt/andrisoft/bin/install_supervisor [root@localhost ~]# service WANsupervisor start [root@localhost ~]# chkconfig --level 345 WANsupervisor on Step 3. Remove local firewall rules The iptables service overrules the Filter, and therefore has to be stopped. The Filter will manage the firewall rules from now on. [root@localhost ~]# chkconfig --level 2345 iptables off
[root@localhost ~]# service iptables stop Step 4. Install the Filter Install the WANsensor and WANfilter packages. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANsensor-5.4-0.x86_64.rpm
[root@localhost ~]# wget http://www.andrisoft.com/files/redhat6/WANfilter-5.4-0.x86_64.rpm [root@localhost ~]# rpm -Uvh ./WANsensor-5.4-0.x86_64.rpm [root@localhost ~]# rpm -Uvh ./WANfilter-5.4-0.x86_64.rpm Step 5. Setup the Filter Log in to the Console to set up Filter(s). Filters are started, monitored and stopped by the WANsupervisor daemon, so make sure the WANsupervisor service is always running. |
WANSIGHT and WANGUARD can be installed from RedHat-compatible packages built for i686 ( 32 bit Intel or AMD ) and x86_64 ( 64 bit Intel or AMD ) architectures. The installation steps listed below contain references only to 64 bit packages. To install the packages on 32 bit CPUs, simply change the "x86_64" string with "i686". All packages were tested on RedHat Enterprise Linux 5.x, CentOS 5.x and Fedora 8.
WANconsole-5.4-0.i686.rpm | The Console is a web portal that provides single-point management and reporting for WANSIGHT and WANGUARD. |
WANconsole-5.4-0.x86_64.rpm | |
WANsensor-5.4-0.i686.rpm | The Sensor is the WANSIGHT and WANGUARD component that does traffic accounting, monitoring and analysis. |
WANsensor-5.4-0.x86_64.rpm | |
WANfilter-5.4-0.i686.rpm | The Filter is the WANGUARD component able to detect and scrub malicious traffic. |
WANfilter-5.4-0.x86_64.rpm | |
WANsupervisor-5.4-0.i686.rpm | The Supervisor provides routines used to start, shutdown and monitor WANSIGHT and WANGUARD components. |
WANsupervisor-5.4-0.x86_64.rpm | |
WANbgp-5.4-0.noarch.rpm | The WANbgp package is used by WANGUARD for sending BGP routing announcements. |
WANGUARD_5_4.pdf | WANGUARD 5.4 User Guide. |
WANSIGHT_5_4.pdf | WANSIGHT 5.4 User Guide. |
CONSOLE INSTALLATION STEPS: |
Step 1. Install the Console's dependencies First make sure you have the required packages installed. On CentOS and Fedora systems you should use the yum package manager. On RedHat Enterprise systems you should use the up2date package manager. [root@localhost ~]# yum install mysql mysql-server httpd php php-cli php-mysql perl-MailTools perl-DBD-MySQL perl-Net-Telnet quagga libart_lgpl php-snmp wget which tcpdump ruby gettext php-ldap cairo pango wireshark tcpdump openssl rrdtool rrdtool-perl ntp
Step 2. Configure the MySQL server By default, the MySQL server does not have any password set. You must start the MySQL server, set a password for the MySQL root user, and make sure that old_passwords=0 in /etc/my.cnf ! If you deploy the Sensor or Filter on remote systems, make sure that the MySQL server is accessible by opening port 3306 in the firewall. [root@localhost ~]# nano /etc/my.cnf #set "old_passwords=0", "max_allowed_packet=64M", "max_connections=300" and "skip-name-resolve" in the [mysqld] section
[root@localhost ~]# service mysqld start [root@localhost ~]# /usr/bin/mysqladmin -u root password 'new-password' [root@localhost ~]# service mysqld restart [root@localhost ~]# chkconfig --level 345 mysqld on Step 3. Install the Supervisor and Console Install the WANsupervisor and WANconsole packages. The WANbgp package is not needed for WANSIGHT. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat5/WANsupervisor-5.4-0.x86_64.rpm
[root@localhost ~]# wget http://www.andrisoft.com/files/redhat5/WANconsole-5.4-0.x86_64.rpm [root@localhost ~]# wget http://www.andrisoft.com/files/redhat5/WANbgp-5.4-0.noarch.rpm [root@localhost ~]# rpm -Uvh --nodeps ./WANbgp-5.4-0.noarch.rpm [root@localhost ~]# rpm -Uvh --nodeps ./WANsupervisor-5.4-0.x86_64.rpm ./WANconsole-5.4-0.x86_64.rpm ./WANbgp-5.4-0.noarch.rpm Step 4. Configure the Apache server Please check if your distribution has PHP version 5.2 or above with the "rpm -aq | grep php" command. If it doesn't please install PHP 5.2 from another source, for example http://wiki.centos.org/HowTos/PHP_5.1_To_5.2. Add the "zend_extension=/opt/andrisoft/webroot/ixed/ixed.5.2.lin" for PHP 5.2 or "zend_extension=/opt/andrisoft/webroot/ixed/ixed.5.3.lin" for PHP 5.3 in php.ini, in the [PHP] section. Also, change magic_quotes_gpc to Off. [root@localhost ~]# nano /etc/php.ini #add zend_extension=/opt/andrisoft/webroot/ixed/ixed.5.2.lin, and make sure the magic_quotes_gpc are Off
[root@localhost ~]# service httpd restart [root@localhost ~]# setenforce 0 ; nano /etc/selinux/config #set SELINUX=permissive Step 5. Install the Console's database Configure the Console by running the /opt/andrisoft/bin/install_console script. You will have to enter the MySQL root password you set on step 2, and provide a new Console database password. [root@localhost ~]# /opt/andrisoft/bin/install_console
Step 6. Configure and start the Supervisor The WANsupervisor daemon must be installed and started on all systems. You have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password you set on step 5. If the Supervisor and Console are installed on the same system, don't use the loopback address 127.0.0.1 for the Console's IP address. Use the IP address of the server instead. [root@localhost ~]# /opt/andrisoft/bin/install_supervisor
[root@localhost ~]# service WANsupervisor start [root@localhost ~]# chkconfig --level 345 WANsupervisor on Step 7. Access the Console The Console web interface is accessible by pointing your web browser to http://<hostname>/wansight or http://<hostname>/wanguard, where <hostname> is the name of the server running the Console. The default username is "admin" with the password "changeme". Continue installing the Sensor by following the steps below. |
SENSOR INSTALLATION STEPS: |
Step 1. Install the Sensor's dependencies Make sure you have dependencies installed. [root@localhost ~]# yum install wget mysql ntp
Step 2. Install, configure and start the Supervisor This step is required if you haven't previously installed and configured WANsupervisor on the target system. In order to configure the Supervisor, you have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat5/WANsupervisor-5.4-0.x86_64.rpm
[root@localhost ~]# rpm -Uvh --nodeps ./WANsupervisor-5.4-0.x86_64.rpm [root@localhost ~]# /opt/andrisoft/bin/install_supervisor [root@localhost ~]# service WANsupervisor start [root@localhost ~]# chkconfig --level 345 WANsupervisor on Step 3. Install the Sensor Install the WANsensor package. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat5/WANsensor-5.4-0.x86_64.rpm
[root@localhost ~]# rpm -Uvh --nodeps ./WANsensor-5.4-0.x86_64.rpm Step 4. Setup the Sensor Log into the Console to setup the Sensor(s). Sensors are started, monitored and stopped by the WANsupervisor daemon, so make sure the WANsupervisor service is always running. |
FILTER INSTALLATION STEPS: |
Step 1. Install the Filter's dependencies Make sure you have dependencies installed. The quagga package is needed only if bgpd will be running on the filtering server. [root@localhost ~]# yum install quagga perl-Net-Telnet perl-DBD-MySQL wget mysql ntp
[root@localhost ~]# service bgpd start Step 2. Install, configure and start the Supervisor This step is necessary if you haven't previously installed and configured WANsupervisor on the target system. In order to configure the Supervisor, you have to run the /opt/andrisoft/bin/install_supervisor script to enter the Console's IP address and database password. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat5/WANsupervisor-5.4-0.x86_64.rpm
[root@localhost ~]# rpm -Uvh --nodeps ./WANsupervisor-5.4-0.x86_64.rpm [root@localhost ~]# /opt/andrisoft/bin/install_supervisor [root@localhost ~]# service WANsupervisor start [root@localhost ~]# chkconfig --level 345 WANsupervisor on Step 3. Remove local firewall rules The iptables service overrules the Filter, and therefore has to be stopped. The Filter will manage the firewall rules from now on. [root@localhost ~]# chkconfig --level 2345 iptables off
[root@localhost ~]# service iptables stop Step 4. Install the Filter Install the WANsensor and WANfilter packages. [root@localhost ~]# wget http://www.andrisoft.com/files/redhat5/WANsensor-5.4-0.x86_64.rpm
[root@localhost ~]# wget http://www.andrisoft.com/files/redhat5/WANfilter-5.4-0.x86_64.rpm [root@localhost ~]# rpm -Uvh ./WANbgp-5.4-0.noarch.rpm ./WANsensor-5.4-0.x86_64.rpm [root@localhost ~]# rpm -Uvh --nodeps ./WANfilter-5.4-0.x86_64.rpm Step 5. Setup the Filter Log in to the Console to set up Filter(s). Filters are started, monitored and stopped by the WANsupervisor daemon, so make sure the WANsupervisor service is always running. |