Re: [freebsd-questions] FreeBSD supported versions (UNCLASSIFIED)

2011-08-11 Thread Ruben de Groot
On Thu, Aug 11, 2011 at 12:45:23PM +0100, Howard Jones typed:
> On 11/08/2011 12:37, Daniel Staal wrote:
> >
> > (Well, ok, given the current release structure having an update today
> > means you are in a supported branch, and that supported branch will
> > continue to get updates for the foreseeable future.  But that still
> > does not tell me when the branch is likely to get unsupported, and in
> > theory a patch release could be made on the last day of support for a
> > branch.)
> A simple solution would be for there to ALWAYS be a patch release on the
> last day of support for a branch, that creates /etc/NOT-SUPPORTED or
> similar. Then it's just a matter of adding an /etc/cron.daily job to
> report on that, as long as you are following updates (and if you aren't
> you don't care about this issue).
> 
> I can't think of any other OS that does this, either - they generally
> just report that there are no available updates.

You can do a lot of nice stuff just parsing the cvsweb. For example,
here's a very basic script for showing supported branches:

#!/usr/bin/perl -w

use strict;
use LWP::Simple;

print "Supported branches of FreeBSD:\n\n";

my @content = split /\n/, 
get("http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/www/en/security/security.sgml";);
die "Couldn't get url!" unless @content;

my $line = shift @content;
do { $line = shift @content; } until ($line =~ /name="supported-branches"/);
do { $line = shift @content; } until ($line =~ /table class="tblbasic"/);

while ($line = shift @content) {
last if $line =~ /\<\/table\>/;
if ($line =~ /\/) {
$line =~ s/<[^>]*>//g;
$line =~ s/^\s*//;
printf "%-20s", $line;
}
print "\n" if $line =~ /\<\/tr\>/;
}

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: [freebsd-questions] FreeBSD supported versions (UNCLASSIFIED)

2011-08-11 Thread Howard Jones
On 11/08/2011 12:37, Daniel Staal wrote:
>
> (Well, ok, given the current release structure having an update today
> means you are in a supported branch, and that supported branch will
> continue to get updates for the foreseeable future.  But that still
> does not tell me when the branch is likely to get unsupported, and in
> theory a patch release could be made on the last day of support for a
> branch.)
A simple solution would be for there to ALWAYS be a patch release on the
last day of support for a branch, that creates /etc/NOT-SUPPORTED or
similar. Then it's just a matter of adding an /etc/cron.daily job to
report on that, as long as you are following updates (and if you aren't
you don't care about this issue).

I can't think of any other OS that does this, either - they generally
just report that there are no available updates.

Howie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD supported versions (UNCLASSIFIED)

2011-08-11 Thread Daniel Staal
--As of August 10, 2011 6:42:58 PM -0700, Michael Sierchio is alleged to 
have said:



man freebsd-update


--As for the rest, it is mine.

That doesn't help with the question being asked.  The question is 'Will 
there be updates (as necessary) for this version of the OS in the future?'. 
Freebsd-update only answers 'Are there updates for this version of the OS 
in the present?'.  Having present updates says nothing about there being 
future updates.  (Nor does the fact that there aren't any at the present 
mean that there _won't_ be one tomorrow.)


(Well, ok, given the current release structure having an update today means 
you are in a supported branch, and that supported branch will continue to 
get updates for the foreseeable future.  But that still does not tell me 
when the branch is likely to get unsupported, and in theory a patch release 
could be made on the last day of support for a branch.)


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD supported versions (UNCLASSIFIED)

2011-08-10 Thread Alejandro Imass
On Wed, Aug 10, 2011 at 7:26 PM, Wright, Jonathon Mr CTR US USA
USARPAC  wrote:
> Classification: UNCLASSIFIED
> Caveats: FOUO
>
> TWIMC,
>
> How do I know as an admin of my FreeBSD server that the version I am running 
> is supported via automated fashion?

In my experience with FBSD they are supported for a very long time, no
worries there. But it's usually best to stay no more than 2 major
releases.
Example current is 8.2, I wouldn't have any 6.x systems today but
there are people that have because that particular version may provide
some specific thing to them. It's the same way that people still use
Apache 1.3 for whatever reason.
Personally, I only have 7.x and 8.x servers and I only use RELEASE
versions, but YMMV of course.

> I'm trying to find a way to do this through a script of sorts so that when 
> the date comes, I'm alerted that I need to upgrade.
>

FBSD is so awesome that all you have to is .forward root mail to your
admin account and automated scripts will tell you about outdated
ports, security patches, vulnerability notes, state of your network,
hard drives and many more things. These crons and scripts are already
part of any standard FBSD installations.

> For example on this link: http://www.freebsd.org/security/#sup
> It has a table with dates / versions.
> How can I query this through the ports tree / or other means?

You don't need to. just wait for the mails I mentioned above and take
action from there!


Best,

--
Alejandro Imass

>
> V/R,
> Jonathon
>
>
>
> Jonathon Wright   CISSP, MSIS, SSCP, BSIT
> RCERT PACIFIC - Architecture Cell
> Contractor, Quantum Research
> (808) 438-1094
>
>
>
> Classification: UNCLASSIFIED
> Caveats: FOUO
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD supported versions (UNCLASSIFIED)

2011-08-10 Thread Michael Sierchio
man freebsd-update

On Wed, Aug 10, 2011 at 6:21 PM, Daniel Staal  wrote:
> --As of August 10, 2011 1:26:10 PM -1000, Wright, Jonathon Mr CTR US USA
> USARPAC is alleged to have said:
>
>> How do I know as an admin of my FreeBSD server that the version I am
>> running is supported via automated fashion? I'm trying to find a way to
>> do this through a script of sorts so that when the date comes, I'm
>> alerted that I need to upgrade.
>>
>> For example on this link: http://www.freebsd.org/security/#sup
>> It has a table with dates / versions.
>> How can I query this through the ports tree / or other means?
>
> --As for the rest, it is mine.
>
> I don't think there is an automated way to do this.  Like most OSes, end of
> life for a particular version is announced ahead of time, and when it
> occurs, through mailing lists and the media, but there aren't any automatic
> checks.  You can check if there are current patches for your current
> version, but the lack of patches doesn't mean that there necessarily won't
> be some at some future time.
>
> (I actually can't think of _any_ OS that has support for an 'automated'
> check of this sort, besides possibly scraping a web page, which you could do
> with FreeBSD if you wanted.)
>
> Daniel T. Staal
>
> ---
> This email copyright the author.  Unless otherwise noted, you
> are expressly allowed to retransmit, quote, or otherwise use
> the contents for non-commercial purposes.  This copyright will
> expire 5 years after the author's death, or in 30 years,
> whichever is longer, unless such a period is in excess of
> local copyright law.
> ---
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: FreeBSD supported versions (UNCLASSIFIED)

2011-08-10 Thread Wright, Jonathon Mr CTR US USA USARPAC
Classification: UNCLASSIFIED
Caveats: FOUO

Agreed, 

Just thought it never hurt to ask. You never know. 
Thanks again for the support. 

Jonathon



Jonathon Wright   CISSP, MSIS, SSCP, BSIT
RCERT PACIFIC - Architecture Cell
Contractor, Quantum Research 
(808) 438-1094


-Original Message-
From: Daniel Staal [mailto:dst...@usa.net] 
Sent: Wednesday, August 10, 2011 3:21 PM
To: Wright, Jonathon Mr CTR US USA USARPAC; 'freebsd-questions@FreeBSD.org'
Subject: Re: FreeBSD supported versions (UNCLASSIFIED)

--As of August 10, 2011 1:26:10 PM -1000, Wright, Jonathon Mr CTR US USA 
USARPAC is alleged to have said:

> How do I know as an admin of my FreeBSD server that the version I am 
> running is supported via automated fashion? I'm trying to find a way 
> to do this through a script of sorts so that when the date comes, I'm 
> alerted that I need to upgrade.
>
> For example on this link: http://www.freebsd.org/security/#sup
> It has a table with dates / versions.
> How can I query this through the ports tree / or other means?

--As for the rest, it is mine.

I don't think there is an automated way to do this.  Like most OSes, end of 
life for a particular version is announced ahead of time, and when it occurs, 
through mailing lists and the media, but there aren't any automatic checks.  
You can check if there are current patches for your current version, but the 
lack of patches doesn't mean that there necessarily won't be some at some 
future time.

(I actually can't think of _any_ OS that has support for an 'automated' 
check of this sort, besides possibly scraping a web page, which you could do 
with FreeBSD if you wanted.)

Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you are expressly 
allowed to retransmit, quote, or otherwise use the contents for non-commercial 
purposes.  This copyright will expire 5 years after the author's death, or in 
30 years, whichever is longer, unless such a period is in excess of local 
copyright law.
---

Classification: UNCLASSIFIED
Caveats: FOUO


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD supported versions (UNCLASSIFIED)

2011-08-10 Thread Daniel Staal
--As of August 10, 2011 1:26:10 PM -1000, Wright, Jonathon Mr CTR US USA 
USARPAC is alleged to have said:



How do I know as an admin of my FreeBSD server that the version I am
running is supported via automated fashion? I'm trying to find a way to
do this through a script of sorts so that when the date comes, I'm
alerted that I need to upgrade.

For example on this link: http://www.freebsd.org/security/#sup
It has a table with dates / versions.
How can I query this through the ports tree / or other means?


--As for the rest, it is mine.

I don't think there is an automated way to do this.  Like most OSes, end of 
life for a particular version is announced ahead of time, and when it 
occurs, through mailing lists and the media, but there aren't any automatic 
checks.  You can check if there are current patches for your current 
version, but the lack of patches doesn't mean that there necessarily won't 
be some at some future time.


(I actually can't think of _any_ OS that has support for an 'automated' 
check of this sort, besides possibly scraping a web page, which you could 
do with FreeBSD if you wanted.)


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD supported versions (UNCLASSIFIED)

2011-08-10 Thread Chuck Swiger
Hi--

On Aug 10, 2011, at 4:26 PM, Wright, Jonathon Mr CTR US USA USARPAC wrote:
> How do I know as an admin of my FreeBSD server that the version I am running 
> is supported via automated fashion?
> I'm trying to find a way to do this through a script of sorts so that when 
> the date comes, I'm alerted that I need to upgrade. 
> 
> For example on this link: http://www.freebsd.org/security/#sup
> It has a table with dates / versions. 
> How can I query this through the ports tree / or other means?

Hopefully you are familiar with freebsd-update, which provides automated binary 
updates:

  http://www.freebsd.org/doc/handbook/updating-freebsdupdate.html

If "freebsd-update fetch" pulls in changes, then a new update exists for your 
version.  The docs mention doing this via daily cron entry which generates mail 
if an update has been found, so you can then proceed to install it at an 
appropriate time under human supervision.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD supported versions (UNCLASSIFIED)

2011-08-10 Thread Wright, Jonathon Mr CTR US USA USARPAC
Classification: UNCLASSIFIED
Caveats: FOUO

TWIMC, 

How do I know as an admin of my FreeBSD server that the version I am running is 
supported via automated fashion?
I'm trying to find a way to do this through a script of sorts so that when the 
date comes, I'm alerted that I need to upgrade. 

For example on this link: http://www.freebsd.org/security/#sup
It has a table with dates / versions. 
How can I query this through the ports tree / or other means?

V/R,
Jonathon



Jonathon Wright   CISSP, MSIS, SSCP, BSIT
RCERT PACIFIC - Architecture Cell
Contractor, Quantum Research 
(808) 438-1094



Classification: UNCLASSIFIED
Caveats: FOUO


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"