diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-03-28 01:00:39 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-03-28 01:00:39 +0000 |
commit | 5312b13be765b9249f438fa244b34d16d46d1d24 (patch) | |
tree | d89e0f6189f116c9d9959938df9cf02ce19d597d /source/lib/socket_wrapper/socket_wrapper.c | |
parent | 0dfe8a0e27b2442c9c8858c942df3e931bde4026 (diff) | |
download | samba-5312b13be765b9249f438fa244b34d16d46d1d24.tar.gz samba-5312b13be765b9249f438fa244b34d16d46d1d24.tar.xz samba-5312b13be765b9249f438fa244b34d16d46d1d24.zip |
r6088: Add the socket_wrapper library. This is a very simple library that
redirects traffic (currently just IP traffic) over unix domain sockets
if the SOCKET_WRAPPER_DIR environment variable has been set.
Aim is to use this for the Samba4 torture suite on the buildfarm.
The socket_wrapper library can only be used if Samba was compiled with
--enable-developer.
test_rpc.sh passes against a local smbd with SOCKET_WRAPPER_DIR set.
(and ethereal showed no traffic whatsoever)
Stuff that still needs to be fixed in socketwrapper:
- Give ENETUNREACH if target is not localhost
- A given port number can only be used for UDP /or/ TCP, not both.
- Perhaps allow some calls to circumvent socketwrapper (do we need DNS?)
Diffstat (limited to 'source/lib/socket_wrapper/socket_wrapper.c')
0 files changed, 0 insertions, 0 deletions