This file is used by the server to determine host access
permissions. By default, Changi tries to read the file
from CHANGIWORKDIR,
unless otherwise specified by
option -a
or CHANGIHOSTACCESSFILE.
If the server couldn't locate the
file, any access is granted to the local host only, either
through ip 127.0.0.1
, the name specified by
CHANGIHOSTNAME
or the explicit name localhost
.
The file consists of one or more lines with three or four fields separated by spaces. Any line with character # in the first column is interpreted as a comment line and ignored. All other lines must follow this general format:
hostname|ip read|xfer|both|no post[/nopost]|no [grouplist]
hostname|ip
read|xfer|both|no
read
xfer
both
no
post[/nopost]|no
post
P
, then Changi will enable
user authentication for posting.
/nopost
post
keyword only. Matching groups are
treated read only, posts from the specified clients to these
groups will be rejected.
no
grouplist
Changi processes this file in sequential order. Matching entries at the end will override previous ones. Changi processes the file in sequential order, so matching entries at the end of this file may override previous ones. Note that the absence of a matching entry corresponding to a client's hostname or ip address implies that the client is not allowed to access news at all.
# # Comments are preceded by '#' # * read no *,!logoport* *.ping.de read post/logoport.* naxos.ping.de read post dumbgate.ping.de xfer no comp.os.os2* globgate.ping.de xfer no *,!comp.os.os2*Any client is granted read access to any group except to group logoport and all its subgroups.
Clients in the domain ping.de are permitted to read any group. Posting is allowed to any group except subgroups of logoport. Note that because the dot is included in the given pattern, the group logoport itself doesn't match.
Clients on naxos.ping.de may freely read and post articles to any newsgroup, but article transfer coming from this site is not accepted.
Both of the hosts dumbgate and globgate of domain ping.de, are allowed to feed Changi via IHAVE. However, article transfer for group comp.os.os2 and its subgroups is only granted to dumbgate, while tranfer of all other groups is exclusively granted to globgate.
# # Enabling user authentication # *.ping.de read Post *.custom.ping.de Read Post 127.0.0.1 xfer postHosts of domain ping.de are permitted to read from and post to any available group. They must authenticate for postings only, unless they aren't members of subdomain custom.ping.de, which must authenticate themselves also for read access.
Unlimited access is granted to the local host without any need for authentication.
The rest of the world isn't granted any access at all.
[
Top of Page |
Previous Page |
Next Page |
Table of Contents ]
URL: changi/manual/nntpaccs.html Created: 3 August 1996 Revised: 21 November 1996 Author: harald@os2point.ping.de |