- Portsnap
Portsnap is a system for secure distribution of compressed, digitally signed snapshots of the
FreeBSD ports tree. The distribution follows client/server model and the protocol used isHTTP (pipelined HTTP ).As of FreeBSD 6.0, portsnap is a part of the base system (including 5.5). In previous versions it was installed from ports. It's a standalone program which can be run manually or in a cron job.
As such, it is one of alternatives to the classic
cvsup method. Its advantages include:
* secure transfer - encrypted and signed data stream, not vulnerable toman-in-the-middle attacks
*end-to-end connectivity (as opposed to mirrors with cvsup)
* delta-based distribution - effective for small and frequent updates
* HTTP is used as protocol (as opposed to custom protocol of cvsup)Another alternative to cvsup is
CVSync (used to manage the OpenBSD source tree), it shares cvsup disadvantages, though.The portsnap package is distributed under the 2-clause
BSD license .References
* [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html portsnap in the FreeBSD Handbook]
* [http://www.daemonology.net/portsnap/ portsnap at daemonology.net]
Wikimedia Foundation. 2010.