Hi does anyone know how to block IP address , This address doesn't have access to server or www account.
thanks.
ALL : 00.00.00.00
ALL : 00.00.00.00 11.22.33.44
ALL : 00.00.00.00
ALL : 11.22.33.44
$ man hosts.deny
warning: /etc/hosts.deny, line 8: missing newline or line too long
I found this
WarningIf the last line of a hosts access file is not a newline character (created by pressing the Enter key), the last rule in the file fails and an error is logged to either /var/log/messages or /var/log/secure. This is also the case for a rule that spans multiple lines without using the backslash. The following example illustrates the relevant portion of a log message for a rule failure due to either of these circumstances:
warning: /etc/hosts.allow, line 20: missing newline or line too long