blockhosts - Block IP Addresses based on system logs showing undesirable access patterns

Distribution: PCLinuxOS
Repository: PCLinuxOS x86_64
Package name: blockhosts
Package version: 2.6.0
Package release: 1pclos2015
Package architecture: noarch
Package type: rpm
Installed size: 167.70 KB
Download size: 167.70 KB
Official Mirror:
Block IP Addresses based on login or access failure information in system logs. Updates a hosts blockfile (such as hosts.allow) automatically, to block IP addresses. Will also expire previously blocked addresses based on age of last failed login attempt, this keeps the blockfile size manageable. In addition to TCP_WRAPPERS, can also execute iptables or ip route commands to block all TCP/IP network input from an IP address, so all services, even those that do not run under libwrap TCP_WRAPPERS, can be protected. Facilities for whitelists and blacklists, and email notification on major events are also available.



  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsXz) <= 5.2-1


  • blockhosts = 2.6.0-1pclos2015

    Install Howto

    1. Enable PCLinuxOS x86_64 repository in /etc/apt/sources.list:
      rpm pclinuxos/64bit x86_64
    2. Update the package index:
      # apt-get update
    3. Install blockhosts rpm package:
      # apt-get install blockhosts