Sunday, February 2nd 2014, Version 1.0 of cwrap, a project to test your full software stack, has been released at FOSDEM. cwrap is a set of tools to create a fully isolated network testing environment to test client/server components on a single host. It provides synthetic account information, hostname resolution and privilege separation support. The heart of cwrap consists of three libraries you can preload in any executable.
The cwrap project does not require virtualization and can be used to build environments on different operating systems. The project consists of a socket wrapper, NSS module wrapper (users, groups, hosts), and a (s)uid wrapper with support for GNU/Linux, BSD and Solaris.
The origin of these wrappers is the Samba project, where the wrappers have already been in use for many years to successfully test the SMB and other protocols’implementations. Now it is possible to use them outside of the Samba project. The wrappers have been enhanced with new features.
Learn more at http://cwrap.org/