all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan <monnier@iro.umontreal.ca>
Cc: Guy Gascoigne-Piggford <guy@wyrdrune.com>,
	Lennart Borgman <lennart.borgman.073@student.lu.se>,
	rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Some findings and suggestion about Emacs on w32
Date: Sun, 24 Oct 2004 18:06:29 -0400	[thread overview]
Message-ID: <m14qkjn5b0.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <umzyc2tze.fsf@jasonrumney.net> (Jason Rumney's message of "Sun, 24 Oct 2004 13:14:45 +0100")

> Thanks. I think the main area that needs porting is the use of
> unix domain sockets for communicating between emacsclient and the
> server. I think there are some security issues with changing to
> TCP or UDP sockets (this has been discussed in the past too), so
> mailslots are probably the best replacement on Windows.

Last time this came about "it was decided" that mailslots are *not* the way
to go.  A much better approach is to address the security issues with TCP
sockets (UDP is not really an option) because this will then benefit to all
users rather than only to w32 ones.

The simplest way to get it to work is probably along the following lines:

The server side creates a socket on an OS-chosen TCP port.  It then checks to
see which port was chosen, and writes it to a file, together with a unique
random key.  Emacsclient then just has to read this same file to find the
port to connect to and to find the key to send as an authentication token.


        Stefan

  parent reply	other threads:[~2004-10-24 22:06 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22 22:24 Some findings and suggestion about Emacs on w32 Lennart Borgman
2004-10-22 23:47 ` Kim F. Storm
2004-10-23 13:01   ` Lennart Borgman
2004-10-24 22:23     ` Kim F. Storm
2004-10-24 22:44       ` Stefan
2004-10-24 22:58         ` Guy Gascoigne-Piggford
2004-10-24 23:36           ` Stefan
2004-10-24 23:44             ` Lennart Borgman
2004-10-24 22:57       ` Guy Gascoigne-Piggford
2004-10-25  7:13       ` David Kastrup
2004-10-25  8:13         ` Kim F. Storm
2004-10-25 16:50       ` Lennart Borgman
     [not found]         ` <m3sm 81q3ut.fsf@kfs-l.imdomain.dk>
2004-10-26  8:29         ` Kim F. Storm
2004-10-26 17:29           ` Lennart Borgman
2004-10-26 17:43             ` Jason Rumney
2004-10-26 17:54               ` Stephan Stahl
2004-10-26 17:58                 ` Lennart Borgman
2004-10-26 21:59                   ` Kim F. Storm
2004-10-26 23:03                     ` Lennart Borgman
2004-10-26 17:55               ` Lennart Borgman
2004-10-26 18:50             ` Guy Gascoigne - Piggford
2004-10-26 20:48               ` Lennart Borgman
2004-10-23 12:42 ` Benjamin Riefenstahl
2004-10-23 13:15   ` Lennart Borgman
2004-10-23 13:40     ` Benjamin Riefenstahl
2004-10-23 17:39   ` Jason Rumney
2004-10-24 18:39     ` Benjamin Riefenstahl
2004-10-24 20:02       ` Jason Rumney
2004-10-24 20:25         ` Lennart Borgman
2004-10-24 20:43           ` Jason Rumney
2004-10-24 22:01             ` Guy Gascoigne-Piggford
2004-10-23 13:54 ` Richard Stallman
2004-10-23 17:44   ` Jason Rumney
2004-10-23 18:58     ` Guy Gascoigne-Piggford
2004-10-24  1:17       ` Lennart Borgman
2004-10-24 12:14       ` Jason Rumney
2004-10-24 12:46         ` Kim F. Storm
2004-10-25  4:30           ` Dhruva Krishnamurthy
2004-10-25 20:28             ` Lennart Borgman
2004-10-24 22:06         ` Stefan [this message]
2004-10-25  8:42         ` Kim F. Storm
2004-10-25  9:00           ` Guy Gascoigne-Piggford
2004-10-25  9:29             ` Kim F. Storm
2004-10-25 10:42               ` Dhruva Krishnamurthy
2004-10-25 11:39               ` Stefan
2004-10-25 12:06                 ` Kim F. Storm
2004-10-25 12:25                   ` Stefan

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=m14qkjn5b0.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=guy@wyrdrune.com \
    --cc=lennart.borgman.073@student.lu.se \
    --cc=rms@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.