delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/09/04:47:49

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=rK/njf7Acu926G4n1r1GYvYeBHvZ7+u3rnaj6unpPghlKhPB3Yk2u
Rw84dWHkDv+KPQZOD7kAQAUrVG1GSD3wAinjGpebFPJK3ijt6waD3u1DQFOiPERa
sGpSSWieitBoHogAb4rBCYNV3BZOPOKIhWhl0+sJ63nBmwnHzOdiU8=
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=b5M9hy5QI634DqpcQ38KcZNUwAI=; b=sBzETvpKvMI2Jt7tGpngvkbyH6oo
lQfPO/Dmh8JWlzZ8VOmM1tf9MsB5knFl9SyhvM47OSpDKiuiqOHfLBNlXzzAWBeB
5M0ElupjOBZTOTBaJ1ZuVF4DrRmV9/cLX2vbpwuVuaTkW5BWxh1eeYKMPMVccVwO
SEXch7rAD2d0mEU=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 9 May 2014 10:47:27 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: socat with IP6 support?
Message-ID: <20140509084727.GE2645@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <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> <20140118114751 DOT GC22079 AT calimero DOT vinschen DOT de> <6nnpd9tm0hn3od1ch642flc0upuvr15jau AT 4ax DOT com> <20140120172758 DOT GA2357 AT calimero DOT vinschen DOT de> <r9mnm955ummb5mktvm8u4eds49eatpsjab AT 4ax DOT com> <20140508201034 DOT GB2645 AT calimero DOT vinschen DOT de> <vhdom9pj43vhf22gavk23ks6g2md18t1uc AT 4ax DOT com>
MIME-Version: 1.0
In-Reply-To: <vhdom9pj43vhf22gavk23ks6g2md18t1uc@4ax.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--0IvGJv3f9h+YhkrH
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On May  8 22:05, Andrew Schulman wrote:
> > On May  8 15:23, Andrew Schulman wrote:
> > > > On Jan 20 03:45, Andrew Schulman wrote:
> > > > > Cygwin doesn't seem to
> > > > > define IPV6_DSTOPTS.  In Ubuntu, it's defined in
> > > > > /usr/include/linux/in6.h (value 59), along with a whole bunch of =
other
> > > > > IPv6 socket options.
> > > > >=20
> > > > > I'm not sure what the best solution is here.  I could define it l=
ocally,
> > > > > but would it be better for Cygwin to bring in the missing definit=
ions?
> > > >=20
> > > > I don't think so.  I checked the available options on Windows again,
> > > > and IPV6_DSTOPTS is not supported.  I applied a small patch a few
> > > > minutes ago to add a few socket options our headers were missing,
> > > > but there are still a lot of Linux socket options not supported on
> > > > Windows which hinders CYgwin to support them.
> > > >=20
> > > > Any chance you could tweak this piece of code to be built only
> > > > if IPV6_DSTOPTS is defined?
> > > >=20
> > > > Corinna
> > >=20
> > > I finally got back to this.  I seem to have worked around the problem=
 in
> > > socat v2.  I've uploaded new packages for 1.7 and 2 that have IPv6 su=
pport,
> > > but that will need to be tested.  Andrew
> >=20
> > I can do that in my local IPv6 setup, if you give me an easy example...
> >=20
> > Corinna
>=20
> To copy file1 to file2 on the localhost, run:
>=20
> 	socat tcp6-listen:7777 file2
>=20
> to set up a listener, and:
>=20
> 	socat tcp6:[::1]:7777 file1
>=20
> to connect to the listener and transfer the file.
>=20
> If you have two hosts, you could try the same, running the first command
> on the server, and the second command substituting the ipv6 address of
> the server in place of ::1.

Testing this on 64 bit, with socat 1.7.2.4, and a Linux peer in both
directions works fine.

Do you need a test of the 2.0 test version as well?


Corinna

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

--0IvGJv3f9h+YhkrH
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJTbJYeAAoJEPU2Bp2uRE+gRK4P/ju+w7HDTaingBOnYCDG+ruU
VDmNCLbyVuJym6yXxSVvsQTFVWszskG7pANkCWtNwS9kB/bwOoFUXs2pYVFY/SMm
h41jXYttDBqh0AreiTtXvbJnqZVMubpPz+CPw/ijCep0su5zogboDWzuIV0bTHpY
9NqEKLox08791sr8cilBW3tE2qajXVAb76p81qeFD98ccb+O6dqg5Z5NxOI/GvV5
YfgDIh1XpIMImSwsxOw+A0u3NpUBfoBWahkV4vNU4YhKj/EmHDrIFCJ6rWljcn5r
HPbuCjJ0ssCK8wEX+xqFq6XN+4mmGwYv4psSTZoTwYJXXBGYeClouqUwyMXucaU8
JQOzn/XsT/IlOWpeJ7LDsMrU4nK6t27Pfmfe3J6ly0MBY3Huil7Xs3OJT52TrfOg
RRiACO4DNgVi/ULKddAtBFsiVrlsjD9QsD9fvIh3J324qjKY5mEoNkzqcxhghUcw
T7SMe0Z3vr7AjB9v5tSbNL+gIOwQnIDNfWEn4CQ7/eeUd1wPzEypwfW6dzXhbho+
vwZ0MhB2Xx3vmgayNtnMGAVfOmRb1wdMG6pxe1MmlSlGlnKYbiU811jPDxmtZqXx
pI5luUkoQKTlzAMKFgGY02xGQ62NRwYOHoSlK1PHZXXLkeIXCFtjyQPo7AznrGTr
oyODQHwee5blvmd7xdwH
=ynsr
-----END PGP SIGNATURE-----

--0IvGJv3f9h+YhkrH--

- Raw text -


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