Re: Choosing services without using bind
David J Craigon <[email protected]> Thu, 17 Jul 2003 14:15:09 +0100
| Newsgroups | gmane.network.xinetd |
|---|---|
| Message-ID | <[email protected]> |
> Hope this helps....
Sort-of. So I can do something like:
service telnet
{
id = telnet1
socket_type = stream
wait = no
user = root
only_from = .mydomain.com
server = /usr/sbin/super-telnet
bind = 121.121.121.121
}
service telnet
{
id = telnet2
socket_type = stream
wait = no
user = root
no_access = .mydomain.com
server = /usr/sbin/boring-telnet
bind = 121.121.121.121
}
and users inside my domain will get to use "super-telnet", but users
outside my domain will get "boring-telnet"?
David
Steve G wrote:
>>one block of source IP addresses will get this service,
>>another will get that service. Can this be done?
>
>
> Sort of. You will have to create a service entry for each
> ip-address. Each one will require the "id" attribute t be
> set. It must be different - telnet1, telnet2, telnet3, etc.
> You will also have to set the bind attribute to 1 address
> each.
>
> I should take a look at the examples, the ones you put in
> the e-mails message just look bad. REUSE is on by default,
> so its not needed and USERID will slow eveything down and
> is untrustworthy unless you control all machines that
> access the server. One example should use it but not all of
> them.
>
> -Steve Grubb
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> _______________________________________________
> xinetd mailing list
> [email protected]
> http://www.xinetd.org/mailman/listinfo/xinetd