delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/26/01:55:22

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:cc
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=P5Q1PMATwTtbuZN4
J0e8eOwh+lwBg350fvrQaMBKJbRN1q7fd0FjT3Dcd9Tln0SjisORsKov6Oq/dtRg
cjeecB/ORWRbhggkA/Y/DtUcQyCJI/ptK3CUDfAYFm/EGGnz7oxDrKicpw4hismL
1nqF31qH1sOrpIImCgd7gJ0XW3Y=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:cc
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=gM9obGSvTtGJoJhpPJBlSu
tJ+98=; b=oPRuHE2bMNbnHMl8tibjEXkg71SV7jn6ppF12M7Ti6dMg7JQekcDiX
E0MQGRTbC5iGhfaSmp0WzPcv9lmR33KavKD4f7VM0CEUesfsJEvSfCmFO4+gW23N
88kjrGKdyt5RXDMzwb40p8UNS4LsKhJyihWayMW69pwQs1+n+W86s=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,GIT_PATCH_2 autolearn=ham version=3.3.2 spammy=handheld, sessions, Yeah, thinks
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <5C74E202.3010306@tlinx.org>
Date: Mon, 25 Feb 2019 22:51:46 -0800
From: L A Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: =?UTF-8?B?UmVuw6kgQmVyYmVy?= <rene DOT berber AT gmail DOT com>, mikebrady AT eircom DOT net
CC: cygwin AT cygwin DOT com
Subject: Re: Question about D-Bus and cygrunsrv
References: <287EA5C9-AEDB-417D-8E1D-29405AB24325 AT eircom DOT net> <23766B16-3812-4D94-AA7C-C61C167A05C9 AT eircom DOT net> <20190222095525 DOT GN4256 AT calimero DOT vinschen DOT de> <q4psb6$4h1q$1 AT blaine DOT gmane DOT org>
In-Reply-To: <q4psb6$4h1q$1@blaine.gmane.org>
X-IsSubscribed: yes

On 2/22/2019 2:16 PM, René Berber wrote:
>
>
> My guess is that its a permission problem: D-Bus by default on Windows
> uses unix sockets (fills up your temp directory with those pesky files :
> - -)
>
> In Cygwin the temp directory has the sticky permission (t), but the
> socket file created by the server most likely doesn't have access for
> anybody else.
>   
---
    I'm not sure, but I'd think dbus demon would be enabled to
talk to the system socket
> Check those permissions to maybe get a clue.
>
> The problem comes from upstream, I'm just not sure because I used to
> build my own, patched, version of DBUS (for a workaround which is to
> use tcp, not unix sockets... but the Windows maintainer says "nobody
> uses tcp sockets on Windows", and then they "improved" security which
> is why I suspect access permissions).
>   
---
    Yeah, they are more than a little bit security paranoid.

I'd like to get the dbus sessions between my desktop & server to talk --
like when I am running an X-app, and press help, it really would be
better if it brought up the browser on my desktop instead of one
on the server via X.

I had hopes as one of their examples specifies tcp in the protocol
field, but supposedly the tcp doesn't work and likely won't due to
security concerns -- mainly because the bus architecture was structured
around the idea of an internal HW bus -- where normally there isn't
much in the way of security.  If they allowed it to be open to
a network, then they think everyone on the internet will have access
and that dbus will be blaimed for a security problem.

I did mention that some people use closed nets between machines
and should be allowed to use dbus to talk between them where desirable,
but he thinks that most hand-held users wouldn't know how to isolate
a net.  On top of that, dbus doesn't have the ability to categorize
if the net is public, private(home) or enterprise(work).  Seemed
like a pain to get working for what would be a plus for me, but
not sure about demand, not to mention working with such paranoid
folk really can be frustrating.

There's a dbus list where they talk about development and security
issues @

https://lists.freedesktop.org/mailman/listinfo/dbus

best of luck!





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019