答复: Support for userspace TCP/IP stacks

2016-02-17 Thread Peng Terry Wang
Hi, Could you please confirm if c-ares affected by the glibc security issue below? https://googleonlinesecurity.blogspot.com/2016/02/cve-2015-7547-glibc-getaddrinfo-stack.html Thanks. 发件人: c-ares 代表 Daniel Stenberg 发送时间: 2016年2月18日 6:25 收件人: c-ares hacki

Re: Support for userspace TCP/IP stacks

2016-02-17 Thread Daniel Stenberg
On Wed, 17 Feb 2016, Avi Kivity wrote: Hello! 1. make ares_socket_t a struct wrapping either an int or a WIN32 SOCKET type; any operations on ares_socket_t (close, sendmsg, etc.) will be forwarded to helper functions that extract the fd and call the library function; for example int ares_s

Support for userspace TCP/IP stacks

2016-02-17 Thread Avi Kivity
Hi, I'd like to add support for userspace TCP/IP stacks to c-ares. To do this, I'd like to make the following changes: 1. make ares_socket_t a struct wrapping either an int or a WIN32 SOCKET type; any operations on ares_socket_t (close, sendmsg, etc.) will be forwarded to helper functions tha