forked from denyhosts/denyhosts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
denyhosts.8
56 lines (54 loc) · 2.13 KB
/
denyhosts.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.TH DENYHOSTS "8" "February 2015" "DenyHosts version: 2.10" "User Commands"
.SH NAME
DenyHosts \- version: 2.10
.SH DESCRIPTION
.B DenyHosts
is a python program that automatically blocks ssh attacks by
adding entries to /etc/hosts.deny.
.B DenyHosts
will also inform system administrators about offending hosts,
attacked users and suspicious logins.
Usage:
/usr/sbin/denyhosts [\-f logfile | \fB\-\-file\fR=\fIlogfile]\fR [ \fB\-c\fR configfile | \fB\-\-config\fR=\fIconfigfile]\fR [\-i | \fB\-\-ignore]\fR [\-n | \fB\-\-noemail]\fR [\-\-purge] [\-\-migrate] [\-\-daemon] [\-\-sync] [\-\-version]
.TP
\fB\-\-file\fR:
The name of log file to parse
.HP
\fB\-\-config\fR: The configuration file to use, typically /etc/denyhosts.conf
.HP
\fB\-\-ignore\fR: Ignore last processed offset (start processing from beginning)
.HP
\fB\-\-noemail\fR: Do not send an email report
.HP
\fB\-\-unlock\fR: if lockfile exists, remove it and run as normal
.HP
\fB\-\-migrate\fR: migrate your HOSTS_DENY file so that it is suitable for \fB\-\-purge\fR
.HP
\fB\-\-purge\fR: expire entries older than your PURGE_DENY setting
.HP
\fB\-\-purge\-all\fR: expire all entries immediately
.HP
\fB\-\-purgeip\fR: remove specified IP address from blocked list
.HP
\fB\-\-daemon\fR: run DenyHosts in daemon mode
.HP
\fB\-\-foreground\fR: run DenyHosts in foreground mode
.HP
\fB\-\-sync\fR: run DenyHosts synchronization mode
.HP
\fB\-\-version\fR: Prints the version of DenyHosts and exits
.PP
Note: multiple \fB\-\-file\fR args can be processed. If multiple files are provided, \fB\-\-ignore\fR is implied
.PP
Note: in a Debian system, the default running mode is \fBdaemon mode\fR and the configuration file is \fB/etc/denyhosts.conf\fR
.SS "When run in --daemon mode the following flags are ignored:"
.HP
\fB\-\-file\fR, \fB\-\-purge\fR, \fB\-\-migrate\fR, \fB\-\-sync\fR, \fB\-\-verbose\fR
.SH "SEE ALSO"
Please refer to http://denyhost.sourceforge.net/faq.html for full documentation.
.SH AUTHOR
.B DenyHosts
was written by Phil Schwartz <[email protected]>
.PP
This manual page was written by Marco Bertorello <[email protected]>
for the Debian project (but may be used by others).