If you use IPv6 (and you should, if possible), it's better to use an alternative that supports it (e.g. SSHGuard).