summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--calico.118
-rw-r--r--pounce.116
2 files changed, 31 insertions, 3 deletions
diff --git a/calico.1 b/calico.1
index d1475ab..6c673da 100644
--- a/calico.1
+++ b/calico.1
@@ -21,7 +21,14 @@ dispatches incoming TLS connections
 to instances of
 .Xr pounce 1
 by Server Name Identification (SNI).
-\"(TODO: Explain how to configure pounce for this.
+Instances of
+.Xr pounce 1
+should be configured with
+.Fl U
+to bind to UNIX-domain sockets
+named by the host they wish to accept connections for
+in the directory passed to
+.Nm .
 .
 .Pp
 The arguments are as follows:
@@ -46,7 +53,14 @@ UNIX-domain sockets.
 .El
 .
 .Sh EXAMPLES
-\"(TODO: An example with two pounce instances and a calico.
+.Bd -literal -offset indent
+pounce -U sockets/foo.example.org foo.conf
+pounce -U sockets/bar.example.org bar.conf
+calico -H example.org sockets/
+.Ed
+.
+.Sh SEE ALSO
+.Xr pounce 1
 .
 .Sh STANDARDS
 The
diff --git a/pounce.1 b/pounce.1
index 454361b..265ec91 100644
--- a/pounce.1
+++ b/pounce.1
@@ -1,4 +1,4 @@
-.Dd October 30, 2019
+.Dd November 1, 2019
 .Dt POUNCE 1
 .Os
 .
@@ -15,6 +15,7 @@
 .Op Fl K Ar path
 .Op Fl P Ar port
 .Op Fl Q Ar mesg
+.Op Fl U Ar path
 .Op Fl W Ar pass
 .Op Fl a Ar auth
 .Op Fl f Ar path
@@ -101,6 +102,16 @@ Quit with message
 .Ar mesg
 when shutting down.
 .
+.It Fl U Ar path , Cm bind-unix = Ar path
+Bind to a UNIX-domain socket at
+.Ar path .
+Clients are accepted as sent by
+.Xr calico 1 .
+This option takes precedence over
+.Fl H
+and
+.Fl P .
+.
 .It Fl W Ar pass , Cm client-pass = Ar pass
 Require the server password
 .Ar pass
@@ -201,6 +212,9 @@ host = chat.freenode.net
 join = #ascii.town
 .Ed
 .
+.Sh SEE ALSO
+.Xr calico 1
+.
 .Sh STANDARDS
 The
 .Nm