]> jfr.im git - irc/quakenet/snircd.git/blame - doc/readme.jupe
Merged revisions 122-126 via svnmerge from
[irc/quakenet/snircd.git] / doc / readme.jupe
CommitLineData
189935b1 1JUPE documentation, last updated on 18 Mar 2000
2
3For an ordinary user, the syntax is:
4
5 JUPE [<server>]
6
7If <server> is given, and if a jupe for that server exists, all the
8information about that jupe is displayed. If <server> is not given,
9all un-expired jupes are displayed.
10
11For an operator, the syntax is:
12
13 JUPE [[+|-]<server> [[<target>] <expiration> :<reason>]]
14
15If <server> is not given, or if it is not prefixed by "+" or "-", the
16operation is exactly the same as if it were issued by an ordinary
17user. If the "+" or "-" prefixes are used, the arguments <target>,
18<expiration>, and <reason> must be given, even if the jupe already
19exists. If <target> is "*" and the currently existing jupe is a local
20jupe, the local jupe will be erased and recreated with the parameters
21given, as described below. Otherwise, if the jupe currently exists, a
22prefix of "+" will cause an inactive jupe to be activated, whereas a
23prefix of "-" will cause an active jupe to be deactivated.
24
25If the jupe does not already exist, it is created. The <target>
26parameter is used to select whether the jupe is only to apply to a
27single server (which need not be the local server) or to the whole
28network; if <target> is not given, it is assumed to be the local
29server. This could be useful if a single particular link is having
30problems, for instance. The <expiration> parameter is a number of
31seconds, not to exceed 7 days, for the jupe to exist. The <reason>
32argument is mandatory and should describe why this particular jupe was
33placed.
34
35For a server, the syntax is:
36
37 <prefix> JU <target> (+|-)<server> <expiration> <lastmod> :<reason>
38
39The <target> may be a server numeric or the character "*", for a
40globally scoped jupe. The <server> argument is a server name, and
41must be prefixed by one of "+" (to indicate an active jupe) or "-" (to
42indicate an inactive jupe). The parameter <expiration> is a total
43number of seconds the jupe is to live for, and <lastmod> is used for
44versioning. Since JUPEs are propagated during netbursts, there must
45be some way of resolving conflicting states, which is the reason for
46this argument, and is also the reason jupes cannot be deleted, only
47deactivated. The <reason> parameter indicates the reason the jupe was
48placed.
49
50If a JUPE is received with a <target> of "*", any jupes with local
51scope are deleted, in preference for the globally scoped version. If
52the jupe already exists, the values of <lastmod> are compared; if the
53received <lastmod> is less than the stored <lastmod>, the existing
54jupe is resent to the server from which the JUPE message was received;
55otherwise, the jupe is activated or deactivated, depending on the
56<server> prefix. If the jupe does not currently exist, it is created
57with the parameters given.