#-----------------------------------------------------------------------
# Copyright (C) 2000-2001, Jean-Sebastien Morisset <jsmoriss@mvlan.net>
#-----------------------------------------------------------------------
# $Id: msnzone,v 1.1 2001/10/16 07:16:30 dholmes Exp $
#-----------------------------------------------------------------------
# README
#-----------------------------------------------------------------------
#
# These rules were based on:
#	<http://support.microsoft.com/support/kb/articles/Q159/0/31.ASP> 
#
# MSN Zone ports: "80 443 6667 28800:29000"
# As ports 80 443 and 6667 have their own modules, we do not open here
#
#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#m# 3
#n# msnzone
#a# accept
#i# cluster novirtual
#t# hosts
#
#   |--------------------------------------------------------------------|
#d# MSN Game Zone
#d#
#d# Example:
#d#   accept-eth1-msnzone-hosts = zone.msn.com/24
#   |--------------------------------------------------------------------|
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------


#--------------------------------------------------------------------
# MSN Game Zone
#--------------------------------------------------------------------

ports="28800:29000"

for host in `Option_Value accept $INTOPT msnzone hosts`
do
	Hostports accept remote tcp "MSN Game Zone" $host $ports
done

unset ports host

