File: dreader.hosts

package info (click to toggle)
diablo 1.29-1
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 2,056 kB
  • ctags: 2,060
  • sloc: ansic: 23,136; perl: 2,397; sh: 306; makefile: 135; csh: 100
file content (64 lines) | stat: -rw-r--r-- 2,231 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# dreader.hosts
#
# ip/host/wildcard	flags	group-restrictions
#
# flags:
#	f	feed	(r & p do not apply unless feed does a 'mode reader'
#			to us and uses POST).  This option causes dreaderd
#			to respond as if it were an INN server, but with a
#			severely restricted command set.  It's just good enough
#			to handle a (full or header only) feed with takethis
#			or ihave.
#
#			if no 'r' or 'p' specified, the connection will be
#			sent to a private fork in dreaderd so as not to
#			interfere with (i.e. slow down) readers by sharing
#			their forks.  This is prefered.
#
#	r	read access
#	p	post access
#			used to give read/post access to the client.  If 'f' is
#			not specified, dreaderd responds as if it were an
#			NNTP client.
#
#	lN	rate limit for any given article (i.e. limits binary dl),
#		in bytes/sec.
#	LN	rate limit for everything, in bytes/sec
#
#	hN	limit maximum number of simultaneous connections from host
#
#	HN	limit maximum number of simultaneous connections from matching
#               config line (differs from the 'h' option if using wildcards).
#
#	uN	limit maximum number of simultaneous connections from user@host
#		(only applies of identd lookup successful)
#
#	a	enable authentication, user=name pass=name expected as
#		additional arguments.
#	
#	q	surpress logging of connects and disconnects
#
# NOTES
#
#	The file is searched once.  The search terminates on a successful
#	match.  Both the reverse lookup and the IP address is tested against 
#	the entry.  However, unless explicitly prefixed, wildcard 
#	strings that begin with a digit (0-9) are *only* matched against
#	the IP address (otherwise something like 192.100.5.* would match
#	an FQDN 192.100.5.x.hacker.com).
#
#	You can explicitly prefix match with IP: or FQDN: to force the match
#	to only be compared against the IP address or FQDN.  It is not usually
#	necessary to do this.
#
#	CIDR addresses can be used, although all 4 digits of the network
#       must be specified. See example below.
#
#remote.news.box	f
#127.0.0.1		rp
#some.auth.user		rpa user=charlie pass=fubar
#some.bad.user		rL1024
#limit.from.host	rph1u64
#127.0.0.0/8		(options go here)
#FQDN:wildcard		(options go here)
#IP:wildcard		(options go here)