summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-02 03:35:22 -0400
committerJune McEnroe <june@causal.agency>2019-11-02 03:35:22 -0400
commitf10b487a829a5241510c5fe54ccf6ca8b8a28c89 (patch)
tree0838b479ae8704640c4f7acb92889eb6cc796e1b
parentAdd SNI socket dispatcher (diff)
downloadpounce-f10b487a829a5241510c5fe54ccf6ca8b8a28c89.tar.gz
pounce-f10b487a829a5241510c5fe54ccf6ca8b8a28c89.zip
Document pounce -U flag
Not yet implemented.
-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
n='3' class='logmsg'> 2020-02-11Add chroot targetJune McEnroe 2020-02-11Exit focus and paste modes on err exitJune McEnroe 2020-02-11Add startup GPLv3 note and URLJune McEnroe I am a degenerate. 2020-02-11Make sure -D_GNU_SOURCE ends up in CFLAGS on LinuxJune McEnroe 2020-02-11Add note about setting PKG_CONFIG_PATHJune McEnroe 2020-02-11Rename query ID on nick changeJune McEnroe 2020-02-11Call completeClear when closing a windowJune McEnroe 2020-02-11Don't insert color codes for non-mentionsJune McEnroe 2020-02-11Take first two words in colorMentionsJune McEnroe This lets phrases like "hi june" get colored, but still doesn't get carried away. 2020-02-11Use time_t for save signatureJune McEnroe It's actually more likely to be 64-bit than size_t anyway, and it eliminates some helper functions. Also don't error when reading an empty save file. 2020-02-11Set self.nick to * initiallyJune McEnroe Allows removing a bunch of checks that self.nick is set, and it's what the server usually calls you before registration. Never highlight notices as mentions. 2020-02-11Define ColorCap instead of hardcoding 100June McEnroe 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe Rookie mistake. 2020-02-11Cast towupper to wchar_tJune McEnroe For some reason it takes and returns wint_t... 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe