File:  [mozdev] / archangel / www / urls.html
Revision 1.5: download - view: text, annotated - select for diffs - revision graph
Mon Jan 5 00:49:53 2004 UTC (15 years, 4 months ago) by marnanel
Branches: MAIN
CVS tags: HEAD
Link to history; some informational links added; password policies fixed for sanity

<h1 class="page-header">The format of <acronym title="Reverse Gossip Transfer Protocol">RGTP</acronym> <acronym title="Universal Resource Locator">URL</acronym>s</h1>

<p><a href="/">Archangel</a> uses URLs whose scheme is <code>rgtp</code>. These are intended to conform to the guidelines laid down in <a href="">RFC 1738</a>. This document is an informal specification of the format. It's intended to be read in conjunction with RFC 1738, and with the <a href="">RGTP protocol</a>.</p>

<p>In some cases, part of this specification is planned but not yet implemented. These are marked <b>(NYI:)</b>.</p>

<p><b>(NYI:)</b> The user name and password are supported; the password field is used to supply a shared secret. It must be a hex number with an even number of digits. If no shared secret is supplied, the program should either reuse a stored secret or prompt the user. If an invalid or incorrect shared secret is supplied, the program should report the error to the user and fail. If no username is supplied, the program should either reuse a stored name or prompt the user. If the name supplied matches the string "anonymous" exactly, any shared-secret is ignored and the program should attempt to log in without sending any sort of authentication.</p>

<p>The hostname must be given. It should be one of the following:</p>
<li>a valid name within the DNS, though not necessarily a fully-qualified one (for example, <code>rgtp://</code>)</li>
<li>one of the following well-known names:
<tr><th>well-known name</th><th>resolves to DNS name</th></tr>
<li><b>(NYI:)</b> a single asterisk, in which case no username, password, port or url-path fields may be supplied. The program should supply a list of known servers to the user. (This is by analogy with <code>news:*</code>, RFC 1738 &#XA7;3.6.)</li>

<p>A port number may be specified. If it isn't given, it defaults to <a href=";fld1=1&amp;opr1=1&amp;val1=1431&amp;rows=25&amp;submit=search">1431, as allocated by IANA</a>. The way port numbers work is independent of whether a well-known hostname is used.</p>

<p>The url-path is one of the following:</p>
<li><b>(NYI:)</b> An empty string: equivalent to <code>index</code>.</li>
<li><code>index</code>: the user should be shown the index.</li>
<li>Any alphabetic character followed by any seven decimal characters: the user should be shown the item whose itemid is in the url-path, if it exists. If not, it's an error.</li>
<li><b>(NYI:)</b><code>motd</code>: the user should be shown the message of the day.</li>
<li><b>(NYI:)</b><code>editlog</code>: the user should be shown the editors' log.</li>

<p style="text-align: right"><a href="">History of this page</a></p>

FreeBSD-CVSweb <>