xinetd bind to same port on multiple IPs
Hello,
I am trying run different servers on different addresses but the same port.
I have "generic" pidentd listening on wildcard addresses (0.0.0.0) and want
different ident server listen on different address (192.168.0.1).
However xinetd does not allow me to do that and it seems linux kernel does
the same:
xinetd[31311]: service: ident id: ident is unique but
its identical to service: ident id: ident-cgiirc - DISABLING
06/11/7@15:24:57: ERROR: 32411 {activate_normal} bind failed (Address
already in use (errno = 98)). service = ident
Where is the problem? I thought i CAN have multiple servbices running on
multiple addresses, even if one of them is wildcard. Can I get this
behaviour somehow?
Here are configs:
service ident
{
id = ident
socket_type = stream
protocol = tcp
wait = no
bind = 0.0.0.0
max_load = 4
user = identd
group = root
log_on_success -= USERID
log_on_failure -= USERID
server = /usr/sbin/identd
server_args = -i -uidentd -groot -e -m
}
service ident
{
id = ident-cgiirc
socket_type = stream
protocol = tcp
wait = no
bind = 192.168.0.1
max_load = 4
user = nobody
group = www-data
log_on_success -= USERID
log_on_failure -= USERID
server = /usr/share/cgiirc/identd.pl
}
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I feel like I'm diagonally parked in a parallel universe.
Reply to: