?
Solved

which interface is used by \etc\inetd

Posted on 1998-11-26
2
Medium Priority
?
186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 200 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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month15 days, 7 hours left to enroll

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