Re: ipfw Logging Verbosity

From: Dewayne Geraghty <dewayne_at_heuristicsystems.com.au>
Date: Mon, 29 Sep 2025 23:19:50 UTC

On 22/09/2025 11:08 am, Tim Daneliuk wrote:
> Is there some middle ground between ipfw 'log' options between
> silent and garden house.
> 
> I have a rule that looks like this:
> 
>      deny ip from table(10) to any via  ${INTERFACE}
> 
> Table 10 is biiiig - lots and lots of entries in it.
> 
> 
> This results in nothing whatsoever being written to /var/log/security
> when a table entry is rejected.
> 
> But, if I add the verb "log" to the above command, it writes a
> continuous stream of rejected connection attempts matching one
> of the table rules - presumably because these many entries are
> still trying (which I why I blacklisted them in the first place).
> 
> Is there a way to get a more summarized view of the rejections
> so that the logging isn't so noisy, but still capture a sense of
> what is being stopped?
> 
> TIA
> 
> 
> 

Perhaps
sysctl net.inet.ip.fw.verbose_limit=$Some_lower_number
may assist?