Solved

which interface is used by \etc\inetd

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now