[inbox] Re: [Y-devel] comment: security
Nurul Choudhury nurulc at yahoo.com
Thu Feb 26 01:36:12 GMT 2004
Hi
I am new to this mail list, so I may be totally barking up the wrong tree,
but the separation of local access and remote access may to be as complex as
it sounds. One would simply have a proxy for remote access that would attach
to the local Y server. This is quite common in the case of X when you use
SSH to access the machine. Many of you will be aware of ssh port forwarding
that allows X messages to tunnel through an ssh session.
Many organizations are very security conscious and will only allow incoming
ssh (port 22) sessions through the firewall. In such cases the simplest way
to use X is to do ssh tunneling of X. I will not bore everybody with the
details but the net effect of ssh tunneling is to have a secure X connection
from remote machine. A further benefit of this scheme is that ssh can be
setup to do data compression so you end up with the double benefit of
security and efficient bandwidth utilization. The main disadvantage of the
scheme is that it increases the number of context switches that have to be
made but I have not found that to be too much of a problem in Linux.
I have jumped into the middle of this discussion and I hope the information
is useful and if it is not my apology
Nurul
----- Original Message -----
From: "JP Dinger" <jpd at dsb.tudelft.nl>
To: <y-devel at www.y-windows.org>
Sent: Wednesday, February 25, 2004 4:16 PM
Subject: [inbox] Re: [Y-devel] comment: security
> On Wed, Feb 25, 2004 at 04:49:08PM +0100, Rupert Mazzucco wrote:
> > - Security: Here's a simple solution: Disallow tcp connections
> > altogether, ie only PF_LOCAL sockets, and use the "unix credentials"
> > feature of this socket type to accept only connections by processes
> > that have the same UID as the Y server.
> >
> > Advantages: Shifts the whole security issue out of the Y server domain,
> > which means transfer responsability to somebody else, which is always
> > nice and allows focus on the real issues.
>
> Maybe a bit too simplistic, as network connections are higly useful
> now and then. Then again, for the time being it'll do.
>
>
> > Applications need to find a
> > means to connect to the machine before they can connect to the Y server.
>
> This'll complicate the actual use of remote connections. Which may or may
> not be a good thing. I kinda like the idea of a redirecting application
> though. OTOH it might be more desirable to have it in a module somewhere
> near the server than in an external program.
>
>
> > Authentication will be handled by this "transport layer". This could be
> > portforwarding ssh or something OpenSSL-based, ie robust widespread
> > solutions already exist. No need to reinvent the wheel. As an added
> > bonus, we get strong encryption if desired.
>
> There are a few libraries that do this kind of stuff, indeed.
>
>
> > Disadvantage: Portability problems. The mechanism exists only for Linux
> > (see man 7 unix, example in Secure-Programs-HOWTO 3.4.) But the manpage
> > says a similar mechanism exists in "BSD derivates" (can't check that),
so
> > maybe it would be worthwhile after all. (We are talking about three
> > or four lines of code!)
>
> FreeBSD 5.* promises funky acls on almost everything, I heard. ICBW of
> course. As to the checking, feel free to dig around in the manpages cgi
> on the freebsd.org website, it features a lot more than just the freebsd
> manpages for a bunch of versions.
>
>
> --
> j p d (at) d s b (dot) t u d e l f t (dot) n l .
>
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved