Re: TCP info spamming the logs and dmesg

From: Andre Oppermann <andre_at_freebsd.org>
Date: Fri, 17 Aug 2007 11:07:36 +0200
Mike Jakubik wrote:
> Eygene Ryabinkin wrote:
>> Andre, good day.
>>
>> Thu, Aug 16, 2007 at 08:34:05PM +0400, Eygene Ryabinkin wrote:
>>  
>>> Thu, Aug 16, 2007 at 11:14:08AM -0400, Mike Jakubik wrote:
>>>    
>>>> Is there any way to disable these, or have them log to a separate log?
>>>>       
>>
>> I had seen about four such questions for the last two weeks, so maybe
>> it is time to patch tcp(4) manpage?  The following is the very rough
>> patch for it:
>> --- tcp.4.orig    2007-08-16 20:35:06.000000000 +0400
>> +++ tcp.4    2007-08-16 20:37:33.000000000 +0400
>> _at__at_ -259,6 +259,11 _at__at_
>>  Maximum
>>  .Tn TCP
>>  receive window.
>> +.It Va log_debug
>> +Enable (1) or disable (0)
>> +.Tn TCP
>> +stack debugging messages.
>> +Default is 1, i.e., the logging is enabled.
>>  .It Va log_in_vain
>>  Log any connection attempts to ports where there is not a socket
>>  accepting connections.
>>   
> 
> 
> That sounds like a good idea, perhaps it would also be a good idea to 
> set the default to 0?

Yes, that is planned for the release together with all the
other performance affecting debugging features in the kernel
(WITNESS, INVARIANTS, etc).

I have updates to the tcp.4 and syncache.4 manpage in the wings
to document all changes and new sysctls.

-- 
Andre
Received on Fri Aug 17 2007 - 07:07:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC