File: sample.spread.access_ip

package info (click to toggle)
spread 3.17.4-2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 1,800 kB
  • ctags: 2,322
  • sloc: ansic: 15,666; sh: 2,611; java: 2,291; perl: 556; yacc: 523; makefile: 255; lex: 204; xml: 77
file content (23 lines) | stat: -rw-r--r-- 894 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This is the configuration file for IP restricted access to a Spread daemon.
# Each line represents an allowed IP address or network address
# The keywords "unix" and "local" can be used to allow connections from
# Unix Domain Sockets and localhost TCP connections respectively.
# 
# So a sample file which only allowed local connections would be as shown
# below (but with the comment '#' characters removed.
#
#unix
#local 
#
# A file allowing access from local clients and clients on a 
# private network with addresses from 192.168.1.0 to 192.168.1.255 would be:
#
#unix
#local
#192.168.1.0/24
#
#
# This format follows standard network address formatting where the 
# IPv4 network address is followed by a '/' and the number of bits which
# make up the network portion of the IP address. A '/24' corresponds
# with what used to be called a "Class C" address and a '/16' with a "Class B".