| |
---|
| | # |
---|
| | # 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 |
---|
| | |
---|
| |
---|
| | |