From: Mateusz Viste Subject: Re: DOSemu networking made easy Date: Tue, 25 Jun 2013 09:33:46 +0200 Message-ID: <2b887f2b-af85-4fc6-a1b1-1562f1faf678@email.android.com> References: <51C82F2C.5@viste-family.net> <51C84847.60903@list.ru> <51C84EB4.3070000@viste-family.net> <51C85F24.9050809@list.ru> <51C86809.5040001@viste-family.net> <51C86FDA.7050009@list.ru> <87sj07i8lv.fsf@xmission.com> <51C8AF27.4060002@list.ru> <51C940CA.4090801@list.ru> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <51C940CA.4090801@list.ru> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8" To: Stas Sergeev Cc: "Eric W. Biederman" , linux-msdos@vger.kernel.org, dosemu-devel Well, the challenge is simple: let's say that a dos app wants to connec= t to 1.2.3.4. There is no chance to 'translate' this into an ipv6 addre= ss, because both protocols use very different addressing models. Sure t= here exist some mechanisms that try to solve this by spoofing dns recor= ds, 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 h= ost. 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 s= ervices 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 proble= m to install it via the package manager of my OpenSuse though. But I gu= ess 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 wrote: >25.06.2013 02:04, Mateusz Viste =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> 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 --=20 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