This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
poundctl.8
85 lines (85 loc) · 2.25 KB
/
poundctl.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.TH POUNDCTL "8" "Jan 2010" "poundctl" "System Manager's Manual"
.SH NAME
poundctl \- control the pound(8) daemon
.SH SYNOPSIS
.TP
.B poundctl \fI-c /path/to/socket\fR [\fI-t timeout\fR] command
.SH DESCRIPTION
.PP
.B Poundctl
controls various aspects of the operation of the
.I pound(8)
program.
.SH OPTIONS
Options available:
.TP
\fB\-c /path/to/socket\fR
The path to the (Unix-domain) socket
.B Pound
was configured to listen on for control. Your
.B Pound
configuration file must contain the directive
.I Control "/path/to/socket"
for
.B poundctl
to work.
.TP
\fB\-t n\fR
set a timeout in seconds for poundctl execution. 20 seconds by default.
.TP
Commands available:
The parameters n, m and r refer to the number assigned to a particular listener,
service and back-end in the listings. A listener number of -1 refers by convention
to the global context.
.TP
\fB\-L/-l n\fR
Enable/disable a listener. A disabled listener will stop accepting connection
requests.
.TP
\fB\-S/-s n m\fR
Enable/disable a service. A disabled service will not be used by
.B Pound
to answer requests.
.TP
\fB\-B/-b n m r\fR
Enable/disable a back-end. A disabled back-end will not be passed requests to
answer. Note however that existing sessions may still cause requests to be
sent their way.
.TP
\fB\-N n m k r\fR
Add a session to service m in listener n. The session key is k and it points to
back-end r.
.TP
\fB\-n n m k\fR
Remove a session from service m in listener n. The session key is k.
.TP
\fB\-R\fR
Reload the WAF configation from the configuation file. If the configuration fails,
the rulesets will not be modified.
.TP
Options when there is not a command:
When called without flags
.B poundctl
will print out a listing of the
.B Pound
internal state.
.TP
\fB\-H\fR
Try to resolve the addresses to symbolic names. Depending on your configuration,
this may require an active DNS.
.TP
\fB\-X\fR
Show the results in XML format.
.TP
\fB\-C\fR
Does not list the sessions in listener status retrieve.
.PP
.SH AUTHOR
Written by Robert Segall, Apsis GmbH.
.SH "REPORTING BUGS"
Report bugs to <[email protected]>.
.SH COPYRIGHT
Copyright \(co 2002-2010 Apsis GmbH.
.br
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.