diff --git a/en/projects/summerofcode-2007.sgml b/en/projects/summerofcode-2007.sgml index 539ef3c863..8eec57a961 100644 --- a/en/projects/summerofcode-2007.sgml +++ b/en/projects/summerofcode-2007.sgml @@ -1,446 +1,457 @@ - + %developers; ]> &header;
The FreeBSD Project is proud to have taken part in the Google Summer of Code 2007. We received more high quality applications this year than ever before. In the end it was a very tough decision to narrow it down to the 25 students selected for funding by Google. These student projects included security research, improved installation tools, new utilities, and more. Many of the students have continued working on their FreeBSD projects even after the official close of the program.
We are happy to report that all students made some progress towards their goals for the summer, and the 22 students listed below completed the program successfully.
Information about the student projects is available from our Summer of Code wiki and all of the code is checked into Perforce. The summaries below were submitted by the individual students and their mentors with minor editing for consistency.
A front-end to freebsd-update using GTK+. It includes:
Multicast DNS (mDNS) is a part of Zero Configuration Networking (Zeroconf) and provides the ability to address hosts using DNS-like names without the need of an existing (unicast), managed DNS server.
The Multicast DNS responder (mdnsd), is more or less feature complete and is currently in a bug fixing and testing phase. A few more features are planned, most notably mdns proxy support. The daemon performs multicast dns queries on behalf of clients and acts as a unified cache to all clients. Provides the ability to announce its own mdns records onto the network.
The daemons abilities are exposed to clients through libmdns, it provides an API to do mDNS queries and to add/remove/list records and view/flush cache. Two consumers exists, one console based basic debugging and administrative utility (mdns) which simply provides whatever libmdns provides and a NSS module (nss_mdns) which integrates mDNS lookups with the systems name lookup routines.
Ready to enter CVS: after testing and reviewingThis project revised FreeBSD's package tools (/usr/src/usr.sbin/pkg_install) to use Berkeley DB files for storing information held in /var/db/pkg/*, and use Hash table structures. It also aims to devise a frontend for dealing with package and ports installation and management and insert virtuals into ports infrastructure to support modular components functionality, for dealing with ports installed components vs base installed components (OpenSSL, OpenSSH, Kerberos).
Ready to enter CVS: not determined yetThe project implements the Super Tunnel Daemon, a tunneling daemon using plugins for different encapsulations and automagically selecting the best encapsulation in each environment. When the environment change, the user should not notice the transition to a different encapsulation except for a small delay. Connections established within the tunnel shall seamlessly migrate to a different encapsulation. In this way, mobility is supported as well, even to the extent of changing between different physical network interfaces, e.g. disabling the wireless interface and plugging in an ethernet cable. New encapsulations can easily be added in the future using the plugin interface.
Ready to enter CVS: not determined yetThis project involved rewriting the lockmgr syncronization primitive since recent efforts (in particular sun4v porting) evicted that this is a strong bottleneck for fs workloads (due to its spreadness in VFS land). One of the main goal of the rewriting was offering a more customed interface, trimming all unused (and possibily bugged) features of lockmgr and offering a more intelligent interface (that would help a lot in debugging and lock assertions).
Ready to enter CVS: not determined yetApple's MacBook computers are nicely designed and have neat features that other laptops don't. While Mac OS X is a nice operating system, UNIX folks (like me) would prefer to run other operating systems like FreeBSD. This project brings bug fixes and new drivers to FreeBSD that help running this OS on this platform.
Ready to enter CVS: some parts committed alreadyThis project involved testing the correctness of FreeBSD Mandatory Access Control Framework including correctly passing the security label from userland to kernel and non-bypassibility of Mandatory Access Control Hooks. Specific contributions include:
Ready to enter CVS: not determined yet
The project was about a testing suite for any host's perform-ability in TCP/IP networks. N. Li implemented it on a FreeBSD machine using libpcap (a library of BSD Packet Filter) to sniff frames on MAC layer, decode them into human-readable format, and send crafted ones to examinate if the target host follows RFC793's requirements.
Ready to enter CVS: not determined yetIn FreeBSD the setproctitle call is implemented with a sysctl, this has the unfortunate side effect that this simple call locks the Giant-lock. As this call is a simple matter of setting a value, it could be better implemented with shared memory between the kernel and user-space.
This project proposes a scheme to securely share process specific data between the kernel and a user-space process. This is done by having each process allocate a special memory page, in which the kernel and user-space process can share data. This will give the security needed, as the VM-system will make sure that no outside processes can fiddle with a process' data. As everything is going on in user-space, there is no concern about a rogue process could write inside the kernel memory. There is still a locking concern, which will be addressed either by locking the entire page, or micro-locking each data field on the page.
A suggestion by Howard Su is a multi page scheme, where a read/write page is used for things like get/setproctitle and a read-only page for things like getpid. And maybe a system wide read-only page for things like getdomain, gethostname etc.
Ready to enter CVS: not determined yetThis project involved porting the sysctl hw.sensors framework and related utilities from OpenBSD to FreeBSD. Apart from the framework itself, lm(4) and it(4) where ported. The goal was to enable users to access temperature and other sensors in a unified fashion from sysctl, systat, sensorsd and ports/sysutils/symon.
Ready to enter CVS: after more testing and reviewThe basic idea of this project was to implement secure and reliable log file shipping to remote hosts. While the implementation focuses on audit logs, the goal was to build tools that will make it possible to perform distributed logging for any application by using a simple API and linking with a shared library. The audit logs served as a testbed, other logs can be adopted.
Ready to enter CVS: not determined yetOriginally selected to design and implement a common way to retrieve and process data from input devices, the project resulted in a code base of a bigger and more generic project -- Enhanced NewBus. The following features are introduced by now: basic functional devices support, filter drivers and NewBus input/output subsystem. Functional devices (ex. demuxing, muxing, terminals) are supposed to coordinate real devices. Each device is handled by a stack of drivers (low-level and filters). Filter drivers are to simplify code reuse. The NewBus input/output subsystem is designed to push io requests through the NewBus graph.
Ready to enter CVS: not determined yetCurrently, many devices in FreeBSD's source tree use the excessively verbose methods of resource allocation and deallocation. Numerous calls to bus_alloc_resource() or bus_alloc_resource_any() are used to allocate resources, and subsequently, multiple calls to bus_release_resource() are used to free the resources after an error in allocation or when the device is detached.
Recently, however, the bus_alloc_resources() and bus_release_resources() functions have been added. These simple wrappers around bus_alloc_resource_any() and bus_release_resource() both operate on the same resource description, so that much of the repetition once needed to allocate and free resources can be mitigated.
-This project updated driver source code where necessary - using the new functions to make the code related to allocation - and deallocation simpler and clearer, while making other - refinements as needed.
+This project updated driver source code where necessary using + the new functions to make the code related to allocation and + deallocation simpler and clearer, while making other + refinements as needed. Approximately 40 drivers were updated + during SoC, although testing is still needed. There are likely + 25 or more other drivers that could be updated as well, and + these are listed on the wiki.
Ready to enter CVS: not determined yetThis project re-implemented part of the GNU binutils based on the libelf and libarchive libraries. It will bring FreeBSD a BSD Licensed toolchain for processing ELF binary files. The project mainly concentrated on re-implementing the tools ar(1), ranlib(1), objcopy(1), strip(1) and composing corresponding manual pages.
Ready to enter CVS: not determined yetThis is a continuation of the same project of the last GSoC. While the last year the focus was to bring basic 2.6 compatibility to FreeBSD, this year was focused on bug fixing and implementing epoll() and *at().
Ready to enter CVS: after a final reviewReady to enter CVS: not determined yet
A GTK+ based graphical audit log - analysis tool.
+ Summary: +A GUI audit log analysis tool which can display audit log in tree view + and list view and analyze audit log lively. It is important to + provide a intuitionistic and visualize audit log to + administrator. This program's intention is to provide a totally + GUI audit log display, filter and statistic, in addition provide + expandability when a new type of token added. The Glib library + is used as a basic platform abstraction library and GTK are used + to build AuditAnalyzer's GUI.
+ Ready to enter CVS: not determined yetThis project reimplemented the DESTDIR support from the last GSoC by the same student in a technical better way. Additionally the PERL support was refactored from bsd.port.mk into its own file and enhanced to provide more features.
Ready to enter CVS: already committedThe goal of this project was to write extendable code wrappers (as much as possible in C) to provided by PXE and UNDI APIs to support downloading of files via TCP-based protocols in the preboot environment. This allows to download and prepare the booting of a FreeBSD kernel from a remote server via a direct connection or a http proxy.
Ready to enter CVS: not determined yetThis project aims to create a user-friendly graphical installer for FreeBSD & FreeBSD-derived systems. The project should yield something usable for 7.x-RELEASE, but the intention is to keep it as a "second" installer system during 7.x, alongside sysinstall. In any case, sysinstall will be kept for architectures not supported by finstall (e.g. currently all except i386 and amd64).
Ready to enter CVS: not determined yetLinux KVM is a Virtual Machine Monitor, part of the Linux kernel, that uses Intel VT-x Intel VT-x or AMD-V extensions for x86 processors to create a full virtualization environment. This project consisted of porting Linux KVM to the FreeBSD kernel.
Since Linux KVM has a structure similar to that of a device driver (actually, it is a device driver, from many points of view,) core kernel changes where not be required, and the final product of this project is an external loadable kernel module, exporting an interface based on ioctl() calls to a device descriptor. Part of the project was also the porting of the userspace client for that interface, a modified qemu that uses KVM for host execution.
Ready to enter CVS: not determined yet