This program can automatically detect when changes to the firewall block
the administrative shell session, and to take corrective action
fwrestart uses terminal auto-response codes to safely re-start firewall
rules over a remote shell session. It sends a request to your terminal
(xterm, for example), which responds back automatically. When that
response is received, ensuring that fwrestart can communicate with the
terminal, fwrestart then issues a command to restart the firewall.
It then tries another request to the terminal, and if that is not
received within 5 seconds, a command is run to clear the firewall and
an appropriate error is generated.