Changed to put tperimeter requests *before* DNS fwd/reverse check.
1 parent 09b1db6 commit 7f96f4aa780f41cbbd2219809139c0f8a9c3cabc
@tundra tundra authored on 14 Jul 2006
Showing 1 changed file
View
19
rebuild-hosts.allow.sh
#
# Copyright (c) 2006 TundraWare Inc., Des Plaines, IL USA
# All Rights Reserved
 
RCSID='$Id: rebuild-hosts.allow.sh,v 1.104 2006/05/03 06:39:56 tundra Exp $'
RCSID='$Id: rebuild-hosts.allow.sh,v 1.105 2006/07/14 15:09:40 tundra Exp $'
 
BASE="/usr/local/etc/tperimeter"
EPILOGUE=${BASE}/epilogue
PROLOGUE=${BASE}/prologue
echo "# Built By: ${RCSID}"
echo "# Built On: `date`"
echo ""
 
# First, the standard prologue
 
cat ${PROLOGUE}
 
 
# Add any user-requested temporary additions
# First, add any user-requested temporary additions
# This puts 'tperimeter' requests *before* the check for
# Forward/Reverse IP agreement in the prologue section.
# This avoids problems with mobile access locations that
# have improperly configured DNS.
 
echo "# Access Requested Via The 'tperimeter' Interface"
echo ""
 
BuildEntries ${USERREQUESTS} "ALLOW"
 
 
# Now, the standard prologue
 
cat ${PROLOGUE}
 
 
# Delete the user requests