Choosing services without using bind

David J Craigon <[email protected]> Thu, 17 Jul 2003 10:17:32 +0100
Newsgroups gmane.network.xinetd
Message-ID <[email protected]>
This may be an FAQ- sorry.

I'm looking to do a situation like the one listed in the sample config
web pages for telnet:

service telnet
{
     flags          = REUSE
     socket_type    = stream	
     wait           = no
     user           = root
     redirect       = 192.168.1.1 23
     bind           = 127.0.0.1
     log_on_failure += USERID
}

service telnet
{
     flags          = REUSE
     socket_type    = stream	
     wait           = no
     user           = root
     server         = /usr/sbin/in.telnetd
     bind           = 192.168.1.11
     log_on_failure += USERID
}

only I want to use 1 IP address for my server, and choose which service 
based on the IP address of the connecting machine.
i.e. one block of source IP addresses will get this service, another
will get that service. Can this be done?

David