delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/17/15:45:34

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=sh
Sm6sAsHy4M5lHQdiolYG3DuiBHAkCyWqi0oLP/yCxCqbIHYyLmF3B3Fh37er6S2p
W4iPsbfMOGlipm/3s2GRZYXErGpeb7y2vQ7BVJjzESYcdynmkIaiq4RJwaylsHVV
8N2wj07CnpnTCo4FeG9ogFDs2zoIrzqKQ6BxuHrQc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=drhK3Cp7
K56VlYAzPinPmFe9KfU=; b=VsPMmQ/76iu++Exx8Jmi79mNlnkCupjBDBEJkQpm
+SQeGIcSMWsoMweeIgDrLNQn2tWulyhCUVzlw1FzVVKQQdEE5+yh1mJYIipfFQY0
Ua4AEB5pUMbUozaFf/u25EcQ3yLHeBIlgzR3YwzCpQ1R5UK2JQaB8jG1gs3tlqOh
wH0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-vb0-f43.google.com
MIME-Version: 1.0
X-Received: by 10.52.251.68 with SMTP id zi4mr1646728vdc.25.1389991512186; Fri, 17 Jan 2014 12:45:12 -0800 (PST)
In-Reply-To: <52D985D3.9070506@etr-usa.com>
References: <CAF+jOM1XK9d36w+FdRtd2q35yirEaVb0p0wNyteuWru4zTGWrA AT mail DOT gmail DOT com> <52D985D3 DOT 9070506 AT etr-usa DOT com>
Date: Fri, 17 Jan 2014 13:45:12 -0700
Message-ID: <CAF+jOM3X96jE+2nXBbadstJf6ehKCk0ae9est+6wvX5G1VFupg@mail.gmail.com>
Subject: Re: socat with IP6 support?
From: Aaron Humphrey <alfvaen AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Fri, Jan 17, 2014 at 12:34 PM, Warren Young <warren AT etr-usa DOT com> wrote:
> On 1/17/2014 11:58, Aaron Humphrey wrote:
>>
>> I had thought that cygwin 1.7 had IPv6 support,
>
>
> It does, to the extent that the underlying Winsock APIs do.  Basically, you
> want to be on Vista or newer if you're going to depend on IPv6 under Cygwin.
> IPv6 support for earlier versions of Windows was available only in
> "experimental" form.  (Microsoft's term.)

I am using Windows 7, so I was pretty sure that I had it.  But I
suppose that means that building it will still mean it only works on
machines with Vista or later.  That's probably okay.

>> Is there an inherent limitation in IPv6 support under Cygwin
>
> Here's the relevant section of the configure output:
>
> checking whether to include IPv6 support... yes
> checking for netinet/ip6.h... no
> configure: WARNING: include file netinet/ip6.h not found, disabling IP6
> checking netinet6/in6.h usability... no
> checking netinet6/in6.h presence... no
> checking for netinet6/in6.h... no

> So, apparently Cygwin needs several header files, or socat needs to be
> tweaked to use the definitions in the files that already exist.

I ran across a reference that implied that the regular netinet/ip.h
files should work, so I gave that a try.  I just disabled the check
for netinet/ip6.h and forced the WITH_IP6 flag, and after that it
built just fine.  Probably I could accomplish the same thing by
putting in an empty or stub ip6.h file.  So why does it think it
requires ip6.h if it compiles fine without it?  Is Cygwin unusual in
what it has in its header files, compared to other *n*x variants?  It
seems to work fine, too: starting up a simple IP4 to IP6 relay, my IP4
app can now connect to the IP6 server just fine.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019