Solved

which interface is used by \etc\inetd

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Ubuntu server 12.04 creating broadcast on network 6 84
ACK Attack 5 58
OpenVPN running on Ubuntu 14.4 x64 5 92
how to monitor remote shell execution on linux 9 97
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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