From: ebiederm@xmission.com (Eric W. Biederman)
To: Stas Sergeev <stsp@list.ru>
Cc: Mateusz Viste <mateusz@viste-family.net>,
linux-msdos@vger.kernel.org,
dosemu-devel <dosemu-devel@lists.sourceforge.net>
Subject: Re: DOSemu networking made easy
Date: Tue, 25 Jun 2013 04:16:59 -0700 [thread overview]
Message-ID: <87r4fq7844.fsf@xmission.com> (raw)
In-Reply-To: <51C9675C.2050801@list.ru> (Stas Sergeev's message of "Tue, 25 Jun 2013 13:48:12 +0400")
Stas Sergeev <stsp@list.ru> writes:
> 25.06.2013 11:33, Mateusz Viste пишет:
>> Well, the challenge is simple: let's say that a dos app wants to connect to 1.2.3.4. There is no chance to 'translate' this into an ipv6 address, because both protocols use very different addressing models.
> How about this:
> http://publib.boulder.ibm.com/infocenter/zos/v1r12/index.jsp?topic=%2Fcom.ibm.zos.r12.hale001%2Fipv6d0031001726.htm
Those are not on the wire addresses. Those are just for sockets that
can talk to ipv4 and ipv6 addresses at the same time. Dual stack
sockets work but can be a little odd sometimes. To use them would
require upgrading socket calls and literal addresses of slirp and
that is no likely to be worth the effort.
If you happen to have something like NAT64 upstream you can implement
464xlate and get essentialy native IPv4 connectivity and that will
handle connecting to 1.2.3.4. But at that point you linux box should
already have ipv4 addresses so doing anything in taprouter or dosemu
is pointless.
Another painful example of the problems of trying to NAT between address
families is connecting over ipv6 to an ftp server. What happens
when the IPv6 ftp server tells the DOS IPv4 ftp client to connect
to 2001:DB8:12:34:::21. The DOS ftp client doesn't won't have a clue
what to do with that address.
There are lots of protocols with that problem ftp is just the oldest of
them. Certainly classes of web pages from services such as Akamai (so
no where important) embbed ip address literals into web pages. Again
defeating attempts to translate names in dns.
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-06-25 11:16 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-24 11:36 DOSemu networking made easy Mateusz Viste
2013-06-24 13:23 ` Stas Sergeev
2013-06-24 13:50 ` Mateusz Viste
2013-06-24 15:00 ` Stas Sergeev
2013-06-24 15:38 ` Mateusz Viste
2013-06-24 16:12 ` Stas Sergeev
2013-06-24 19:58 ` Eric W. Biederman
2013-06-24 20:42 ` Stas Sergeev
2013-06-24 22:04 ` Mateusz Viste
2013-06-25 7:03 ` Stas Sergeev
2013-06-25 7:33 ` Mateusz Viste
2013-06-25 8:27 ` Eric W. Biederman
[not found] ` <87zjue8ujo.fsf-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org>
2013-06-25 11:43 ` Stas Sergeev
2013-06-25 9:48 ` Stas Sergeev
2013-06-25 11:16 ` Eric W. Biederman [this message]
2013-06-25 13:30 ` Mateusz Viste
2013-06-24 21:47 ` Mateusz Viste
2013-06-24 23:43 ` Eric W. Biederman
2013-06-25 6:49 ` Mateusz Viste
[not found] ` <8fbd00db-16cc-4fd2-8135-0c3c99fcc3a6-2ueSQiBKiTY7tOexoI0I+QC/G2K4zDHf@public.gmane.org>
2013-06-25 7:47 ` Eric W. Biederman
2013-06-25 7:13 ` Stas Sergeev
2013-06-25 7:57 ` Eric W. Biederman
2013-06-25 9:45 ` Stas Sergeev
2013-06-24 14:40 ` Mateusz Viste
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r4fq7844.fsf@xmission.com \
--to=ebiederm@xmission.com \
--cc=dosemu-devel@lists.sourceforge.net \
--cc=linux-msdos@vger.kernel.org \
--cc=mateusz@viste-family.net \
--cc=stsp@list.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox