看板FB_security
标 题Re: Is there any way to know if userland is patched?
发信站NCTU CSIE FreeBSD Server (Thu Nov 11 02:05:21 2004)
转信站ptt!FreeBSD.csie.NCTU!not-for-mail
--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi, Julian,
On Wed, Nov 10, 2004 at 09:45:00AM -0800, Julian Elischer wrote:
> X-Sieve: CMU Sieve 2.2
> Date: Wed, 10 Nov 2004 09:45:00 -0800
> From: Julian Elischer <[email protected]>
> User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a3) Gecko/200=
41017
> X-Accept-Language: en, hu
> To: Xin LI <[email protected]>
> Cc: [email protected], [email protected]
> Subject: Re: Is there any way to know if userland is patched?
> In-Reply-To: <[email protected]>
> X-Virus-Scanned: by amavisd-new at frontfree.net
>=20
> Xin LI wrote:
[snip]
> I upgrade systems by creating packages which contain all upgraded files
> I have a set of makefiles etc. checked into my local CVS tree that check =
out
> a freeBSD tree at a given revision and build it (withlocal patches added)
> and then extracts out fies according to a list I supply. On completion I=
=20
> check the list in too, so I can theoretically recreate that patch..
Hmm... Thanks for the comments. That's somewhat like the way I am current=
ly
using at company.
We maintain a local CVS tree with a subset of ports/ tree as well as src/
tree containing some of our local changes. The tree is has several frozen
branches that is maintained by a small group of staff, they make packages
for the upgrades.
For me, I think it might be beneficial if we can keep track of system patch=
level
in some other way that can be easily detected, so some ``guardian'' scripts
would be easier to create.
I have an idea that is somewhat too complex to be included in FreeBSD - we
maintain a ``master'' patchlevel, and two patchlevels indicating the least
``master'' patchlevel that touches kernel or userland. It might be somethi=
ng
like this:
Master | Userland | Kernel
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
4.10-RELEASE | 4.10-RELEASE | 4.10-RELEASE
4.10-RELEASE-p1 | 4.10-RELEASE | 4.10-RELEASE-p1
4.10-RELEASE-p2 | 4.10-RELEASE | 4.10-RELEASE-p2
4.10-RELEASE-p3 | 4.10-RELEASE-p3 | 4.10-RELEASE-p2
And propograte it somewhere. This is somewhat complex as the security offi=
cer
must bump two version when he is doing a security update and I'm not sure w=
hether
this is beneficial enough so I hesitate to proposal a patch of this, as I f=
ound
that Colin has a simpler solution in his excellent freebsd-update program, =
which
tracks binary changes by checking $FreeBSD$ changes. While this is sometim=
es
not enough to detect every changes, but it requires less human interactions.
Cheers,
--=20
Xin LI <delphij frontfree net>
http://www.delphij.net/
See complete headers for GPG key and other information.
--rwEMma7ioTxnRzrJ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)
iD8DBQFBkl5W/cVsHxFZiIoRAg3XAKCFC20RJQ3FN0BTvZrI1t+QPI4zmwCfex+q
Ljs+8h9tdR1gEta0ejXDD9g=
=u/p+
-----END PGP SIGNATURE-----
--rwEMma7ioTxnRzrJ--