Full network server/client testing made easy.

Download Download

scroll for more information




Preloading is a feature of the dynamic linker (ld). On most UNIX systems ld allows to load a number of shared libraries before loading all the shared libraries which are required by an executable. The cwrap project uses this feature to implement special libraries which can be used to fake certain behavior of the system. Think of it like "The Matrix" where reality is simulated and everything is a lie!
Learn more ...

An isolated network.


socket_wrapper makes possible to run several instances of a a full client/server software stack on the same machine and to perform functional testing of many complex network configurations locally, with without going out to the network.
Learn more ...

Users and groups, with artificial flavors


System management software often requires to create, modify, or delete unix users. Or just switch user identity its processes use to interact with the system e.g., a privilege separation in a user space file server. To be able to test that you need the privilege to modify the passwd and groups file. With nss_wrapper it is possible to define your own passwd and groups file which will be used by software to act correctly while under test.
Learn more ...

Network name resolution.

Applications believe in DNS resolution. nss_wrapper allows them to believe in your twist of their reality and seamlessly blend addresses they get through socket_wrapper with DNS resolution of their host names.
Learn more ...

Privilege separation.

File serving applications often need a privilege separation to be able to switch to the connecting user identity and do required file operations. uid_wrapper convincingly lies to the applications, letting them to believe they are operating as root and even switching betwen uids and gids as needed.
Learn more ...

DNS queries.

It is likely that if you have a server/client architecture, you need to do DNS queries or a third party library, like Kerberos needs to be able to do queries. In the case of Kerberos the client needs to lookup the address of the KDC via a SRV record. resolv_wrapper is able to either redirect all DNS queries to your DNS server implementation, or fake DNS replies!
Learn more ...


uid_wrapper 1.1.0

A new version of uid_wrapper a tool to fake privilege separation has been released today!

read more

resolv_wrapper 1.1.2

A new resolv_wrapper version improving DNS faking has been released today!

read more

socket_wrapper 1.1.2

A new version of socket_wrapper has been released with a manpage and a lot of bugfixes. It works with bind utils now.

read more

cwrap is an open source project, feel free to use it, share with love, if you want to collaborate just contact us.