[Splashy-devel] splashy talking over unix domain sockets

Vincent Amouret vincent.amouret at gmail.com
Wed Aug 16 17:23:03 UTC 2006


Hello,

Le mercredi 16 août 2006 à 12:04 +0200, Tim Dijkstra a écrit :
> OK, I couldn't resist trying to get splashy to talk over unix sockets,
> instead of udp;) I think I have it mostly working, but have a few
> questions and comments.
> 
> Advantages:
> * This uses abstract sockets, which means they live in a name space which 
>   doesn't live on a filesystem, only in the kernel. This means, I think, that 
>   we don't have any propblems in intramfs.
> * Will of course only work locally.
> * We can get the credentials of the calling program, so we can deny access to
>   non-root users. Or only to the 'splashy' user, or whatever.
> Disadvantage:
> * The credential thing only works on linux (and BSDs, but not in the code I wrote now)
>   Not sure this is a problem actually... Aren't we targeting linux 2.6 only?

I didn't know the abstract namespace of the UNIX sockets, it looks good
and it's certainly the best way.
I tried to implement an UDP socket but it doesn't work at boot time,
while networking hasn't started (so no progress bar before ~70% of the
boot process).



-- 
- Vincent Amouret -
GPG Key ID: 90AC6685
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/splashy-devel/attachments/20060816/963824d8/attachment.pgp


More information about the Splashy-devel mailing list