public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Mateusz Viste <mateusz@viste-family.net>
To: Stas Sergeev <stsp@list.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	linux-msdos@vger.kernel.org,
	dosemu-devel <dosemu-devel@lists.sourceforge.net>
Subject: Re: DOSemu networking made easy
Date: Tue, 25 Jun 2013 09:33:46 +0200	[thread overview]
Message-ID: <2b887f2b-af85-4fc6-a1b1-1562f1faf678@email.android.com> (raw)
In-Reply-To: <51C940CA.4090801@list.ru>

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. Sure there exist some mechanisms that try to solve this by spoofing dns records, providing the client with a fake ip, and then remembering that this ip has to be redirected to the AAAA record of the initially targeted host. But from a network point of view this is total havoc, and I wouldn't expect any sane person to create an actusl implemention :)
It makes much more sense to use a http proxy then, and reach external services via the CONNECT method. This is at least totally transparent at the TCP/IP level, and the client knows that it will receive a bare tcp stream (but it requires the client to support http tunneling).

I dont know how is the availability of slirp on fedora. I had no problem to install it via the package manager of my OpenSuse though. But I guess it was contained in a non-suse repo anyway (packman probably?). Can fedora use outside repos? Otherwise the solution could be to package a slirp executable along with dosemu (eg. as /usr/bin/dosemu-slirp).



Stas Sergeev <stsp@list.ru> wrote:

>25.06.2013 02:04, Mateusz Viste пишет:
>> Hello
>>
>> There is no really any way to translate ipv4 into ipv6.
>Could you please name the exact challenges?
>I thought if it does proxying on a transport layer
>then all it needs is to map the IPv4 address to IPv6
>and then create a TCP connection as usual.
>What am I missing?
>
>> About slirp - it is a pretty ancient soft indeed, but it is actively
>maintained by the qemu team. Both Qemu and Bochs use it for their user
>net service already, so it should be quite stable in time :)
>So for instance on fedora will people have to install
>the qemu package to get /usr/bin/slirp? Or is it completely
>internal to quemu, so that dosemu will have to import
>its sources and re-sync every time?

Mateusz
-- 
Sent from mobile mail.
--
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

  reply	other threads:[~2013-06-25  7:33 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 [this message]
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
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=2b887f2b-af85-4fc6-a1b1-1562f1faf678@email.android.com \
    --to=mateusz@viste-family.net \
    --cc=dosemu-devel@lists.sourceforge.net \
    --cc=ebiederm@xmission.com \
    --cc=linux-msdos@vger.kernel.org \
    --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