Solved

which interface is used by \etc\inetd

Posted on 1998-11-26
2
182 Views
Last Modified: 2012-05-04
I have a stupid question: Suppose that my Linux box
is equiped with two network adapters eth0 and eth1.
Two distinct IP addresses, two networks, no forwarding.
Networks are completly separated. I have a daemon
listening on some port (like inetd). Which interface
will this port be connected with ? None or both ?
I guess that it is the one with route to localhot,
but i am not sure.
0
Comment
Question by:sladecek
2 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1587716
it's connected to that interface which you have specified in your
deamon.
0
 
LVL 2

Accepted Solution

by:
alexbik earned 50 total points
ID: 1587717
Hi,

Inetd listens on all interfaces. That includes all ethernet adapters, loopback devices and PPP or SLIP interfaces, if you have any. In the standard inetd this cannot be changed, but there are some replacements for the standard inetd that may have this functionality.

Alex.
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question