bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntax for binding to IPs in inetd?


From: Archai Valkryn
Subject: Re: Syntax for binding to IPs in inetd?
Date: Thu, 28 Nov 2002 05:23:46 -0800

Hello again. None of the documentation mentions this that I can see, and I'm sadly not fluent in C. Anyone know the syntax?

At 05:06 AM 11/20/02 -0800, you wrote:

> On Mon, Sep 02, 2002 at 11:01:17AM - 0400, Alain Magloire wrote:

<snip>
Ok, but you probably wants a list of features, that the new should/must
supported:
- read compatible/extended inetd.conf(for example openbsd(or one of the *BSD) has extend
  this a little for example binding of specific IP)
</snip>

What exactly was the syntax to do this? The Linux Administration Handbook gives a generic inetd.conf syntax for doing this ([ipaddr|ifname]:service is the first option in the line, there, if you want the service bound to one IP), but trying the syntax listed there, with telnet (which I'd like to run internally only), I get the following in my syslog:

Nov 20 05:02:23 (none) inetd[36]: 192.168.1.2:telnet/tcp: unknown service

The full line from the inetd.conf is
192.168.1.2:telnet stream tcp nowait root /usr/local/sbin/telnetd telnetd -h
I also tried using localhost:telnet, and got a slight variation of the same error.

My guess would be that the three distributions discussed in the handbook (RedHat using inetd rather than xinetd, SuSE, and Debian) would be running a BSD-derivative of inetd. Should this syntax work with inetutils/inetd as well, or is there some other syntax? A quick perusal of the inetd man page didn't turn up much.

This is v1.4.1 of inetutils.



_______________________________________________
Bug-inetutils mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-inetutils





reply via email to

[Prev in Thread] Current Thread [Next in Thread]