omezení interface na kterých poslouchají síťové služby

Petr Janda prcek na netbox.cz
Středa Srpen 11 09:21:26 CEST 2004


Zdravim...

Reseni by melo byt xinetd

man xinetd.conf

...
bind             Allows  a  service to be bound to a specific
		interface on the machine.   This  means  you
		can  have  a  telnet  server  listening on a
		local, secured interface,  and  not  on  the
		external  interface.   Or  one  port  on one
		interface can do something, while  the  same
		port  on  a different interface can do some-
		thing completely different.  Syntax: bind  =
		(ip address of interface).
...

Prcek


On Wed, Aug 11, 2004 at 12:30:05AM +0200, AlesD wrote:
> Dobrý den,
> 
>   prohlížel jsem pomocí netstat -l co vše naslouchá spojením z 
> Internetu a chtěl bych tento seznam omezit. imapd "démoni" poslouchají 
> všude, ale např. exim (smtp) poslouchá jen na loopbacku - jenže ten má 
> pro tento účel speciální option. V nam inetd se o možnosti určit 
> interface na kterém program poslouchá nepíše - je to možné? Lze 
> nějakým způsobem vynutit určitý interface libovolné aplikaci/procesu?
> 
> 			Děkuji za radu Aleš
>





Další informace o konferenci Linux