diff --git a/rebuild-hosts.allow.sh b/rebuild-hosts.allow.sh index e5b0340..2bf71f4 100755 --- a/rebuild-hosts.allow.sh +++ b/rebuild-hosts.allow.sh @@ -6,7 +6,7 @@ # 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 @@ -61,12 +61,11 @@ 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 "" @@ -74,6 +73,11 @@ BuildEntries ${USERREQUESTS} "ALLOW" +# Now, the standard prologue + +cat ${PROLOGUE} + + # Delete the user requests rm -rf ${USERREQUESTS}