]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make ipfw's logging more dynamic. Now, log will use the default limit
authorgreen <green@FreeBSD.org>
Sun, 1 Aug 1999 16:57:24 +0000 (16:57 +0000)
committergreen <green@FreeBSD.org>
Sun, 1 Aug 1999 16:57:24 +0000 (16:57 +0000)
commitd848a791d143dcd43bbfd4243df4fe61c62fac41
tree02d5b553f5f87af777c6d66d6b2b25611e79109b
parent7263583ccb568e6d5e6e6d32d6e126a50ea4229d
  Make ipfw's logging more dynamic. Now, log will use the default limit
_or_ you may specify "log logamount number" to set logging specifically
the rule.
   In addition, "ipfw resetlog" has been added, which will reset the
logging counters on any/all rule(s). ipfw resetlog does not affect
the packet/byte counters (as ipfw reset does), and is the only "set"
command that can be run at securelevel >= 3.
   This should address complaints about not being able to set logging
amounts, not being able to restart logging at a high securelevel,
and not being able to just reset logging without resetting all of the
counters in a rule.
sbin/ipfw/ipfw.8
sbin/ipfw/ipfw.c
sys/netinet/in.h
sys/netinet/ip_fw.c
sys/netinet/ip_fw.h
sys/netinet/raw_ip.c