Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 16:33:05 -0500
From:      Jeff Sapp <jasapp@pelennor.net>
To:        Beech Rintoul <akbeech@anchoragerescue.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: netcraft uptime
Message-ID:  <20010719163305.A27165@pelennor.net>
In-Reply-To: <01071912454000.51519@galaxy.anchoragerescue.org>; from akbeech@anchoragerescue.org on Thu, Jul 19, 2001 at 12:45:40PM -0800
References:  <01071912454000.51519@galaxy.anchoragerescue.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I believe that they figure a computer's uptime by looking at the timestamp 
option of tcp packets. The field is incremented every 500ms, and is 
set to 0 on reboot.

You can turn the tcp options on by:

sysctl -w net.inet.tcp.rfc1323=1

The rfc has lots of cool stuff and it's worth a read.

Jeff

On Thu, Jul 19, 2001 at 12:45:40PM -0800, Beech Rintoul wrote:
> I was looking at netcraft's site today and noticed that uptime doesn't work 
> with FBSD servers. Anyboy have any info on this? Like how they do it and can 
> my server be configured to show it?
> 
> TIA
> 
> Beech
> -- 
> Micro$oft: "Where can we make you go today?"
> -------------------------------------------------------------------
>      Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org
> /"\   ASCII Ribbon Campaign  | Anchorage Gospel Rescue Mission
> \ / - NO HTML/RTF in e-mail  | P.O. Box 230510
>  X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
> / \ -----------------------------------------------------------------
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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