Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2007 17:04:39 -0400
From:      Mike Jakubik <mikej@rogers.com>
To:        Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Cc:        freebsd-current@freebsd.org, andre@freebsd.org
Subject:   Re: TCP info spamming the logs and dmesg
Message-ID:  <46C4BBE7.5000908@rogers.com>
In-Reply-To: <20070816164133.GH988@void.codelabs.ru>
References:  <19693.209.47.38.69.1187277248.squirrel@wettoast.dyndns.org>	<20070816163405.GG988@void.codelabs.ru> <20070816164133.GH988@void.codelabs.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> @@ -259,6 +259,11 @@
>  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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46C4BBE7.5000908>