On Mon, Sep 7, 2015 at 10:07 AM, Dmitry Sivachenko <[email protected]> wrote:
>
>> On 7 сент. 2015 г., at 9:36, Lukas Tribus <[email protected]> wrote:
>>
>>
>>
>> Best would be to strace this, but this is Freebsd amd64,
>> so that doesn't work. Can you trace the syscalls with
>> the strace equivalent at least?
>
>
> It fails that way:
>
> socket(PF_INET,SOCK_DGRAM,17)                    = 4 (0x4)
> connect(4,{ AF_INET 8.8.8.8:53 },128)            ERR#22 'Invalid argument'
>
> 3rd argument for connect() looks wrong for ipv4:
>
> ERRORS
>      The connect() system call fails if:
>
>      [EINVAL]           The namelen argument is not a valid length for the
>                         address family.
>
>

Ok, excellent.
I wonder how this could happen :)

Let me check tonight and com back to you.

Baptiste

Reply via email to