]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r306417: portsnap: only move expected snapshot contents from snap/ to files/
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 5 Oct 2016 01:01:10 +0000 (01:01 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 5 Oct 2016 01:01:10 +0000 (01:01 +0000)
commit5f65583f443d5178e7aabbd5bbf70fa3897b7c2c
tree5a03abfcc29d928f0f27740890e2eab1eee15bdd
parent4406cebf48dfc247cc6e42b3188f4bf36fe1050d
MFC r306417: portsnap: only move expected snapshot contents from snap/ to files/

Previously it was possible to smuggle in addional files that would
used by later portsnap runs. Now we only move those files expected
to be in the snapshot into files/ and require that there are no
unexpected files.

This was used by portsnap attacks 2, 3, and 4 in the "non-cryptanalytic
attacks against FreeBSD update components" anonymous gist.

git-svn-id: svn://svn.freebsd.org/base/stable/9@306701 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/portsnap/portsnap/portsnap.sh