On Wed, Mar 13, 2019 at 11:49 AM Chris Hegarty <chris.hega...@oracle.com>
wrote:

>
> > At Google, we have our own hacks to test ipv6-only environments, based
> > on either LD_PRELOAD or eBPF (but it would take work to share them even
> > in minimally functional form)
>
> Maybe I can produce something similar and publish it? So you intercept
> setsocktopt, lookups? What else?
>

Here's a code snippet with the list:

static int (*libc_socket)(int, int, int);
static int (*libc_setsockopt)(int, int, int, const void *, socklen_t);
static int (*libc_getifaddrs)(struct ifaddrs **);

Reply via email to