delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/18/06:48:12

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=GLfQO8Kzl5SCpytD91DLuBwXGjwew+gJeoxXhefgBDXjonT9A8Kto
cCrAO7HB/I+LoA/ze+NA6r+D+RB0QJ1gsy/f1xdRaH5m0nQHB4sOi9LY2Ny2MGZM
9FV4SQly+n0MH1JfB3SYF3THnHwBfHTO3uHnb4orAHxG8kdvcPdoS8=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=nWJGRqtqpQ1mFN14r8D2uLbBScM=; b=SjSJSjgdDwfaHigffuCdl5QdubiC
1aDtoLMPDVrRqWcoXJTxdjiHAfHcS9An9ItRtVbBOdzbfgYNCJDyCCLQzMLtFNp2
iswp34vERQlYIu85JouzZDA2kHNaRCz08gZxwJppwI94RAizB4isTVb64WWc2+n2
u0bcGitM0DdJcMs=
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=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sat, 18 Jan 2014 12:47:51 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: socat with IP6 support?
Message-ID: <20140118114751.GC22079@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAF+jOM1XK9d36w+FdRtd2q35yirEaVb0p0wNyteuWru4zTGWrA AT mail DOT gmail DOT com> <52D985D3 DOT 9070506 AT etr-usa DOT com> <CAF+jOM3X96jE+2nXBbadstJf6ehKCk0ae9est+6wvX5G1VFupg AT mail DOT gmail DOT com> <52D9A0C9 DOT 4080508 AT etr-usa DOT com> <20140117213255 DOT GA1843 AT ednor DOT casa DOT cgf DOT cx> <20140117221946 DOT GA22079 AT calimero DOT vinschen DOT de> <CAF+jOM3YUtgtae5L=kTmaChYRGQYrp6yGg9H8CbFQ3GguW5-0Q AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAF+jOM3YUtgtae5L=kTmaChYRGQYrp6yGg9H8CbFQ3GguW5-0Q@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

--vOmOzSkFvhd7u8Ms
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan 17 15:39, Aaron Humphrey wrote:
> On Fri, Jan 17, 2014 at 3:19 PM, Corinna Vinschen wrote:
> > Our ipv6 stuff is in cygwin/in6.h, which is included by cygwin/in.h,
> > which in turn is included by netinet/in.h.
>=20
> Ah, that explains it.
>=20
> > We could fetch FreeBSDs netinet/ip6.h.  In contrast to Glibc's
> > netinet/ip6.h it does not include netinet/in.h but we could add
> > that.
> >
> > Aaron, if you copy this file:
> >
> > http://svnweb.freebsd.org/base/stable/10/sys/netinet/ip6.h?revision=3D2=
56281&view=3Dco
> >
> > into /usr/include/netinet, and perhaps add this patch:
> >
> > Index: netinet/ip6.h
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > RCS file: /home/ncvs/src/sys/netinet/ip6.h,v
> > retrieving revision 1.22
> > diff -u -p -r1.22 ip6.h
> > --- netinet/ip6.h       10 Apr 2013 00:26:22 -0000      1.22
> > +++ netinet/ip6.h       17 Jan 2014 22:18:50 -0000
> > @@ -64,6 +64,9 @@
> >  #ifndef _NETINET_IP6_H_
> >  #define _NETINET_IP6_H_
> >
> > +#include <inttypes.h>
> > +#include <netinet/in.h>
> > +
> >  /*
> >   * Definition for internet protocol version 6.
> >   * RFC 2460
> >
> > can you build socat with IPv6 support out of the box and it actually
> > works?
>=20
> It did build and work just fine with the FreeBSD ip6.h file, with and
> without the patch, but as I said, for all that socat uses the actual
> ip6.h library, I could have put in a file empty except for the #define
> and it would probably have worked just as well.  Other programs may,
> of course, be slightly pickier.

Thanks.  I added the ip6.h header nevertheless for the upcoming
Cygwin 1.7.28.

Andrew, any chance you could update the socat package to support
IPv6 as well?


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--vOmOzSkFvhd7u8Ms
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS2mnnAAoJEPU2Bp2uRE+gdE4P+wWHFRHKdnfRFQKCXRBexJTG
GbgeUko8FA+bZhaqylSrHvLJDkn01TJQgkbWrMVjZqoI8SF0WxZzfoGmsBVi9pVa
K6f3bny+xQDOdboVOKDZm1GxjXKK881nf4iLg0RqOwDQnyAwMN24MgNBzVU3KoWT
jdBKpjvvU6Wl4fYfkZjBintC1Ff8n1YdqcDLM/KxHaVZxYFl9Gj8j3+JD8IoaMDY
jM/XmdfNBYTyJk4/BzcoXcmhlPMgiVI67h0exuDiywfH3GHTp1iVo78UABThvhEE
ssfX9EabDSNbDg/H/1TJxK535eeSaLnfwcD4H2KuLiyni4DTSC5Roes1NR5g8Z4n
8qXpRY+XO8Ij/kHU0m+REJ+nyyXd4tAgbZd4YI4FKJVjiXO0UEOlu2YkACJOAWD2
vnW8Q5Xx08D6sHAJl4LL2yHAHm/r2uZaz/6eVu5i74vb8oQO56pmdHLMgoHfN4f2
BtzGXA8fs7dlc+vHRVicW+B+AhA7MC+qW4iA6YfLrWcVkztb7HZYlAdyF4Z25oEr
LKT9dXW3Z/HBgx9QpieY352ea+X+r7Rlme9v6q26xTNmOr7J/bQij6V9eXrhIsvF
kbqWT0vPrbGbpy+H2Uw4bPY3Hkm/SlaklC0ndM5l92dXRZ3yl4AIM8shom/mhE0e
VV+x1RL56YS4JuGHNqZV
=Eln9
-----END PGP SIGNATURE-----

--vOmOzSkFvhd7u8Ms--

- Raw text -


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