FGADM(8) | System Manager's Manual | FGADM(8) |
fgadm - filtergen command program
fgadm [ check | reload | save | stop ]
fgadm is a simple command interface for managing filtergen(8) based packet filters.
fgadm can be used to stop existing filters (thus turning them off), reload new packet filters, save currently running filters for longevity, and to check filter scripts for errors before reloading.
The following commands are accepted by fgadm:
One may find the following sequence of commands useful for making firewall changes on live servers:
# at now + 2 min
warning: commands will be executed using (in order) a) $SHELL b) login shell
c) /bin/sh
at> fgadm stop
at> ^D<EOT>
job 53 at 2004-06-07 17:25
# fgadm check
# fgadm reload
# atq
53
# atrm 53
# fgadm save
Packet filter descriptions are read from this file when fgadm is used.
This file alters the behaviour of filtergen as called from fgadm.
fgadm save does not work on Debian systems with iptables due to a lack of common sense in the iptables package.
fgadm was written by Jamie Wilkinson <jaq@spacepants.org> for the filtergen package, to ease maintenance of filtergen-based firewalls.
June 7, 2004 |