RCF wrote:
[11:16:[EMAIL PROTECTED]:~$ uptime
11:16AM up 440 days, 22:15, 1 user, load averages: 0.39, 0.26, 0.19
[11:16:[EMAIL PROTECTED]:~$ sudo pfctl -s info
Status: Enabled for 440 days 22:20:03 Debug: Urgent
I guess your time was off by a few minutes when you started your computer.
Uptime seems unaffected by changing the clock, while I guess pfctl just
calculates the time difference between now and the time it was started.
$ sudo date 02; sudo pfctl -d; sudo pfctl -e; sudo pfctl -si | head -n1
Thu Oct 26 13:02:00 CEST 2006
pf disabled
pf enabled
Status: Enabled for 0 days 00:00:00 Debug: Urgent
^^^^^^^^^^^^^^^ All is well
$ sudo date 03; sudo pfctl -si | head -n1
Thu Oct 26 13:03:00 CEST 2006
Status: Enabled for 0 days 00:01:00 Debug: Urgent
^^^^^^^^^^^^^^^ Oops
$ sudo date 01; sudo pfctl -si | head -n1
Thu Oct 26 13:01:00 CEST 2006
Status: Enabled for 49710 days 06:27:16 Debug: Urgent
^^^^^^^^^^^^^^^^^^^ D'oh!
Don't know if there is much to do about it. Maybe a sanity check a la
time = (start < stop ? stop - start : 0)
or so, if someone should care enough.
/Alexander