Worked fine for me when I cut-and-pasted yours into my xinetd.d directory,
and re-started xinetd.  I'm guessing that we actually have to pay
attention to the error message:

can't get client address: Transport endpoint is not connected

Is it possible that your IP(chains|tables) is blocking this?  I'm guessing
it's stopping it on the client side; you might try, from the "server",
doing a
telnet 127.0.0.1 666
and see what happens.  If that works, it's time to work over your firewall
config.

-Ken

On Sat, 8 Dec 2001, Jeff Macdonald wrote:

> Hi,
> Anybody runnig their own program out of xinetd? I can't get event simple
> stuff to work like ls:
>
> service unlisted
> {
>       type            = UNLISTED
>       protocol        = tcp
>       socket_type     = stream
>       wait            = yes
>       user            = root
>       server          = /bin/ls
>       server_args     = /
>       port            = 666
> }
>
> I keep getting this in /varlog/messages:
>
> Dec  8 21:58:59 localhost xinetd[3113]: warning: can't get client
> address: Transport endpoint is not connected
> Dec  8 21:58:59 localhost xinetd[3114]: warning: can't get client
> address: Transport endpoint is not connected
> Dec  8 21:58:59 localhost xinetd[3115]: warning: can't get client
> address: Transport endpoint is not connected
> Dec  8 21:58:59 localhost xinetd[3116]: warning: can't get client
> address: Transport endpoint is not connected
> Dec  8 21:58:59 localhost xinetd[3117]: warning: can't get client
> address: Transport endpoint is not connected
> Dec  8 21:58:59 localhost xinetd[3118]: warning: can't get client
> address: Transport endpoint is not connected
> Dec  8 21:58:59 localhost xinetd[3119]: warning: can't get client
> address: Transport endpoint is not connected
> Dec  8 21:58:59 localhost xinetd[3120]: warning: can't get client
> address: Transport endpoint is not connected
> Dec  8 21:58:59 localhost xinetd[3121]: warning: can't get client
> address: Transport endpoint is not connected
> Dec  8 21:58:59 localhost xinetd[3107]: unlisted service was deactivated
> because of looping
>
>
> Telnetting to 666 should just produce a list of /. I just get 'Connection
> closed by foreign host'.
>
> Could someone else try this?
>
> Thanks in advance.
>
>
>
> *****************************************************************
> To unsubscribe from this list, send mail to [EMAIL PROTECTED]
> with the text 'unsubscribe gnhlug' in the message body.
> *****************************************************************
>
>


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to