Date: Sat, 31 Aug 1996 10:58:24 -0700 (PDT) From: Nate Williams <nate> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/ipfw ipfw.8 ipfw.c Message-ID: <199608311758.KAA03054@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
nate 96/08/31 10:58:24 Modified: sbin/ipfw ipfw.8 ipfw.c Log: Because 'ipfw flush' is such a dangerous command (given that most firewalls are remote, and this command will kill the network connection to them), prompt the user for confirmation of this command. Also, add the '-f' flag which ignores the need for confirmation the command, and if there is no controlling tty (isatty(STDIN_FILENO) !=0) assume '-f'. If anyone is using ipfw flush in scripts it shouldn't affect them, but you may want to change the script to use a 'ipfw -f flush'. Reviewed by: alex Revision Changes Path 1.22 +6 -1 src/sbin/ipfw/ipfw.8 1.33 +36 -7 src/sbin/ipfw/ipfw.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608311758.KAA03054>