[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-net
Subject:    Re: inetd and AF_UNIX services
From:       Eric Haszlakiewicz <erh () nimenees ! com>
Date:       2004-02-20 15:17:11
Message-ID: 20040220151711.GE27538 () jodi ! nimenees ! com
[Download RAW message or body]

On Fri, Feb 20, 2004 at 12:16:25PM +0100, Ignatios Souvatzis wrote:
> On Fri, Feb 20, 2004 at 05:06:21PM +0600, Ian Zagorskih wrote:
> >  On the other hand, I would like to access 
> > inetd's service with AF_UNIX socket. It it possibly ?
> Seriously: it would not be trivial... as inetd maps a triple to a program
> call, while you will only map a single pathname to a program call, so the
> parser would have to support two different formats.
	actually, it is trivial. inetd already supports unix domain sockets.
Just use a line similar to this:
/tmp/foo        dgram   unix    nowait  root    /path/to/prog prog -args

eric
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic