[comp.protocols.tcp-ip] Listening to a specific IP address

ihsan@ficc.ferranti.com (jaleel ihsan) (06/27/90)

> 
> Jaleel,  You can certainly build a server to do exactly as you
> described.  It would only listen for specific ports from specific
> addresses.  The algorithm for selecting port numbers for TCP and
> UDP that are not the "well known port numbers" is entirely up
> to the hosts in question.  You are looking for a way to restrict
> service and this is one (weak) way to do so.  "Weak" in the security
> sense.  
> 
> Dan

Thanks for the information, Dan.

You see, we are working with Intel's RMX real-time executive, which I
do not think supports fork'ing.  But even if it did, our application
design does not support it.  So I was thinking of having a dedicated 
and a specific server for each one of the limited number of clients.

But how to channel a client to the proper server ?

A server could bind the listening socket to a well known local port (all
servers use the same well known local port so that multiple servers are
transparent to the clients), local address, a wild-card remote port, and 
a specific remote IP address.

Theoretically, it should (!!!) work. Can any one shoot some holes in it ?
Would any authority at the IAB care to comment ? Practically, ... well ...
minor details,  minor details !!!

Jaleel