source: code/icbd.8@ 5ea93bc

Last change on this file since 5ea93bc was 5ea93bc, checked in by Tim Kuijsten <tim@…>, 9 years ago

modtab is not reread on SIGHUP

Every time modtab is needed it's mtime is stored and compared to the
previously stored mtime. If newer, the file is automatically reread.

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[cd7b81d]1.\"
2.\" Copyright (c) 2009 Mike Belopuhov
3.\"
4.\" Permission to use, copy, modify, and distribute this software for any
5.\" purpose with or without fee is hereby granted, provided that the above
6.\" copyright notice and this permission notice appear in all copies.
7.\"
8.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15.\"
16.Dd $Mdocdate: April 27 2009 $
17.Dt ICBD 8
18.Os
19.Sh NAME
20.Nm icbd
21.Nd "Internet Citizen's Band protocol daemon"
22.Sh SYNOPSIS
23.Nm icbd
24.Bk -words
[460786f]25.Op Fl 46Cdnv
[939f631]26.Oo
27.Fl G Ar group1 Ns Op , Ns Ar ...
28.Oc
[3dba97d]29.Op Fl L Ar prefix
[d488e1b]30.Op Fl M Ar modtab
[c45628b]31.Op Fl S Ar name
[cd7b81d]32.Sm off
[939f631]33.Oo
34.Ar addr Op : Ns Ar port
35.Ar \ ...
36.Oc
[cd7b81d]37.Sm on
38.Ek
39.Sh DESCRIPTION
40.Nm
[e47285c]41is an Internet Citizen's Band
[cd7b81d]42.Pq ICB
43protocol daemon which allows peoples to chat online.
44.Pp
45Please refer to the document specified in the
46.Sx SEE ALSO
[c45628b]47section for more information about the ICB protocol.
[cd7b81d]48.Pp
49The options are as follows:
50.Bl -tag -width "-G group"
51.It Fl 4
52Bind to IPv4 addresses only.
53.It Fl 6
54Bind to IPv6 addresses only.
55.It Fl C
56Allow users to create groups.
57Please note, that everyone creating a new group becomes its moderator.
58.It Fl d
59Do not daemonize.
60If this option is specified,
61.Nm
62will run in the foreground and log to
[21477e9]63.Dv stderr .
[cd7b81d]64.It Fl G Xo
65.Ar group1 Ns Op , Ns Ar ...
66.Xc
67Instruct
68.Nm
[e47285c]69to create specified groups on startup.
[3dba97d]70.It Fl L Ar prefix
71Enables logging of all public messages in all groups and specifies a
72directory inside the chroot that is owned and is writable by the
73.Nm
74user.
75The server will create subdirectories matching those of the group names
76and place log files inside one file per month.
[d488e1b]77.It Fl M Ar modtab
78Specifies a moderator table that can be used to restrict users who
79can be granted with moderation of any group.
[270fd23]80The
[d488e1b]81.Ar modtab
82file contains one nick per line; empty lines and lines starting with
83a hash symbol are ignored.
[5ea93bc]84It's located inside the chroot.
[e47285c]85Every time a moderator check is performed,
86.Nm
87checks the modification time of the file and reloads the table if
88any changes have taken place since the last call.
[a6b8c8d]89.It Fl n
[460786f]90Disable DNS resolver.
[c45628b]91.It Fl S Ar name
92Set the server's name to
93.Ar name .
[cd7b81d]94.It Fl v
95Produce more verbose output.
96.El
97.Pp
98A list of addresses and/or ports to bind to is specified after all arguments.
99By default,
100.Nm
101will try to listen on all interfaces using
102.Em icb
103protocol port number specified in
[21477e9]104.Pa /etc/services .
[cd7b81d]105.Sh SEE ALSO
106.Rs
107.%T ICB Protocol
[21477e9]108.%U ftp://ftp.icb.net/pub/icb/src/icbd/Protocol.html
[cd7b81d]109.Re
110.Sh AUTHORS
111The
112.Nm
113program was written by Mike Belopuhov.
Note: See TracBrowser for help on using the repository browser.