#
# Example configuration file for in.gate
#
# Format:
#  <ip addr> <daemon> <yes/no> [<time>]
#
# <ip addr> should be in dot notation.  '*' can be used as a wild card
# 	    for each octet. 
#		Ex: 
#			129.95.40.10 matches one machine
#			129.95.40.*  matches the entire subnet
#
# <deamon>  the name of the daemon. This should match inetd.conf's
#	    arg[0] of the server-arguments field. Ie: telnetd or in.telnetd
#
# <yes/no>  Should be either 'yes' or 'no'.  If yes then any ip addr
#	    matching <ip addr> is granted access.  If no access is
#	    denied to macthing <ip addr>s.
#
# <time>    Is a optional list of time when the restriction applies.
#	    If there is no times listed then the restriction always apply.
#	    Times are in 24 hour clock. Ex: 10:00-15:00,18:00-20:30
#
#  The restrictions are searched linearly.  The first match
#  is the one applied.  If no match is found access is granted.
#  A 'default' for a service can be made by placing a line at the 
#  bottom with ip addr equal to '*.*.*.*' which macthes all ip address.
#
#  Blank lines and lines starting with '#' are ignored.
#
#
# (the following ip address are random numbers)
#

#
# Restrict access to local network
#
33.123.40.*	telnetd		yes
33.123.40.*	rshd		yes
33.123.40.*	rlogind		yes
33.123.40.*	ftpd		yes
33.123.40.*	rexecd		yes

#
# only allow uucpd to host 88.99.2.56
#
88.99.2.56	uucpd		yes

#
# Only allow tftp from network 33.123.40.0
#
33.123.40.*	tftpd		yes

#
# Defualt to no access
#
*.*.*.*		telnetd		no
*.*.*.*		rshd		no
*.*.*.*		rlogind		no
*.*.*.*		tftpd		no
*.*.*.*		ftpd		no
*.*.*.*		rexecd		no
*.*.*.*		uucpd		no
