Servus, Am un calculator cu mai multe interfete (eth0, eth1) si as vrea ca anumiti daemoni sa asculte numai pe una din ele. Am citit man-urile la fiecare dar nu am gasit nimic in acest sens:
Portmap: tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 5835/portmap NFSD: tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN 5850/rpc.statd tcp 0 0 0.0.0.0:962 0.0.0.0:* LISTEN 5871/rpc.mountd udp 0 0 0.0.0.0:32769 0.0.0.0:* 5850/rpc.statd udp 0 0 0.0.0.0:938 0.0.0.0:* 5850/rpc.statd udp 0 0 0.0.0.0:959 0.0.0.0:* 5871/rpc.mountd X: tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 6429/X XFS (de asta e nevoie sa mearga pe TCP): tcp 0 0 0.0.0.0:7100 0.0.0.0:* LISTEN 6304/xfs LISA: tcp 0 0 0.0.0.0:7741 0.0.0.0:* LISTEN 5692/lisa (din /etc/lisarc: PingAddresses = 192.168.1.0/255.255.255.0 AllowedAddresses = 192.168.1.0/255.255.255.0 BroadcastNetwork = 192.168.1.0/255.255.255.0) NMBD: udp 0 0 192.168.1.1:137 0.0.0.0:* 5924/nmbd udp 0 0 0.0.0.0:137 0.0.0.0:* 5924/nmbd udp 0 0 192.168.1.1:138 0.0.0.0:* 5924/nmbd udp 0 0 0.0.0.0:138 0.0.0.0:* 5924/nmbd (desi in smb.conf am pus "interfaces = eth1") KDM: udp 0 0 0.0.0.0:177 0.0.0.0:* 6426/kdm DHCPD: udp 0 0 0.0.0.0:67 0.0.0.0:* 5435/dhcpd (desi i-am indicat sa asculte numai pe eth1 (output din ps): usr/sbin/dhcpd -pf /var/run/dhcp/dhcpd.pid -q -user dhcp -group dhcp eth1) Care ar fi optiunile pentru fiecare din daemonii de mai sus pentru ca sa asculte numai pe eth1 (192.168.1.1)? Multumesc --- Detalii despre listele noastre de mail: http://www.lug.ro/
