From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Some findings and suggestion about Emacs on w32 Date: Mon, 25 Oct 2004 10:42:52 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <008d01c4b886$32d07ff0$0200a8c0@sedrcw11488> <417AA9D8.6080600@wyrdrune.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098693825 31057 80.91.229.6 (25 Oct 2004 08:43:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2004 08:43:45 +0000 (UTC) Cc: Guy Gascoigne-Piggford , Lennart Borgman , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 25 10:43:29 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CM0Rs-0000la-00 for ; Mon, 25 Oct 2004 10:43:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CM0ZW-0003KY-E0 for ged-emacs-devel@m.gmane.org; Mon, 25 Oct 2004 04:51:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CM0ZG-0003JH-NK for emacs-devel@gnu.org; Mon, 25 Oct 2004 04:51:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CM0ZG-0003Ix-2a for emacs-devel@gnu.org; Mon, 25 Oct 2004 04:51:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CM0ZE-0003Is-Dk for emacs-devel@gnu.org; Mon, 25 Oct 2004 04:51:05 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1CM0RF-0003tK-0i for emacs-devel@gnu.org; Mon, 25 Oct 2004 04:42:49 -0400 Original-Received: (qmail 50709 invoked from network); 25 Oct 2004 08:42:46 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 25 Oct 2004 08:42:46 -0000 Original-To: Jason Rumney In-Reply-To: (Jason Rumney's message of "Sun, 24 Oct 2004 13:14:45 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28886 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28886 Jason Rumney writes: > 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. The problem with TCP is that it may allow access from other users on the same machine and from other machines in the network. But it is easy to avoid connections from other machines -- just use :host "127.0.0.1" when creating the emacs server socket, then it only listens for connections from the local host. And on windoze, I don't think there (typically) are that many other users active at the same time... Someone else pointed out that the use of a personal firewalls on Windows should be an problem for using TCP for emacs server. Actually, I think that it is an advantage, as the firewall will block external access to the emacs server (as an extra security), but not interfere with local access (to 127.0.0.1). If mailslots allow external access bypassing the firewall, I think that's a big problem speaking against mailslots. -- Kim F. Storm http://www.cua.dk