Solved

which interface is used by \etc\inetd

Posted on 1998-11-26
2
181 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
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.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

808 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