public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
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 00:57:10 -0700	[thread overview]
Message-ID: <871u7qbp2h.fsf@xmission.com> (raw)
In-Reply-To: <51C9430B.3080300@list.ru> (Stas Sergeev's message of "Tue, 25 Jun 2013 11:13:15 +0400")

Stas Sergeev <stsp@list.ru> writes:

> 25.06.2013 03:43, Eric W. Biederman пишет:
>> At a very basic level I don't know if it is wise to make it easy to
>> open up old unmaintained dos executables to the public internet.
> According to wikipedia:
> https://en.wikipedia.org/wiki/Slirp#Limitations
> slirp cannot accept the incoming connections, and therefore
> gives as much of a protection as the NAT does.
> But I really can't follow their (wikipedia) logic: at least if the
> port is not already in use, why can't slirp open it to listen for
> the incoming connections? They claim you need a port forwarding
> for that.

slirp and qemu can do that.  You can't open a privileged port (because
you don't have permission but it otherwise works).  I do think they call
the feature port forwarding however.

NAT is sufficient to protect your old DOS mail client or to prevent
packet spoofing by the bad guys.  Let alone protect you if your DNS is
compromised or you are otherwise tricked into connecting into a site the
bad guys own.

Applications like chrome and firefox are constantly getting updates to
prevent problems in those kinds of scenarios.  Other network facing
applications are paranoid to one degree or another.

My concern was just that most DOS applications are old enough that if
anyone was serious they could use modern techniques and own your dosemu
without trying hard.

But like you say below these changes don't propogate quickly.

>> maintenance dead end.  If slirp updates can be pulled from qemu I don't
>> imagine there will be any maintenance problems.
> Well you probably know how "often" the dosemu releases
> are made: not much more frequently than the ones of slirp. :)
> So if there be some updates on slirp, even if someone will pull
> them into dosemu git quickly, they have zero chances to reach
> the user within 10 years or more, so this is not the best
> solution. :))

Shrug.  Whatever works.  My networking facing hat is quite paranoid
these days.

I suspect simply having the configuration default to off by default is
enough to protect most existing users of DOS applications.

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

  reply	other threads:[~2013-06-25  7:57 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
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 [this message]
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=871u7qbp2h.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