Building from the development repository
Briefly, to build from the development repository:
$ git clone https://bitbucket.org/sshguard/sshguard.git $ cd sshguard/ $ autoreconf -i $ ./configure --prefix=/your/path --with-firewall=your-firewall $ make # make installBuilding from the development repository requires autoconf and automake.
Decide which blocking backend you are going to use. These are the typical associations of backends with operating systems:
|MacOS X||FreeBSD IPFirewall||ipfw|
|many BSDs||the OpenBSD Packet Filter||pf|
|IBM AIX||AIX firewall||aix|
|others or no firewall||tcp wrappers' /etc/hosts.allow||hosts|
The complete list of firewall backends is:
If you have no idea which backend to choose, hosts is the most portable choice.
Compiling and installing
Run the configure script:
e.g., for linux:
Finally, compile the source code and install the result the usual way:
make make install
Lates Releases View all»
F.A.Q. View all»
- What is sshguard?Sshguard is a small program that monitors services running on your machine from the log files. When it ...
- Sshguard does not workYou have one of these problems: sshguard is not given logs correctly sshguard cannot run the commands for ...
- What does sshguard do?The short version is: it receives log messages, it detects when a networked service has been abused based ...