Lecture Notes for Client-Server Interfaces
12 April 2001 - Gateways
- tunneling works through a network - what about between networks
- also, what about tunneling overhead
- also, what about lame systems without enough hardware or software -
think hand-helds and non-computer computers
- also, what about security (what about it?)
- inter-network box terminology
- boxes between (or among) homogeneous networks - connectors
- boxes between (or among) heterogeneous networks - gateways
- layer-based naming
- physical, data-link, network connectors - repeaters, bridges, routers
- transport, session, presentation, application gateways
- inter-network function
- translation - between dissimilar networks
- selection - among more than two networks
- translation may include selection - when to translate
- selection may include translation - three dissimilar networks; trivial
selection
- selection is either hard an unscalable (centralized) or very hard and
expensive (distributed) - avoid
- assume translation only with trivial or no selection
- gateways translate between dissimilar clouds
- application-level gateways do so at user space
- move mail between smtp and x.400 systems
- move ip packets between x.25 and appletalk clouds
- interoperability among dissimilar network endpoints
- application gateway design and implementation
- gateways work by re-encapsulation or translation
- re-encapsulation pulls the payload out of one network pdu and stores it
in another network pdu - the payload is unchanged
- translation mutates one application pdu into another
- re-encapsulation is simpler to design than translation, which can be
hard
- gateways can be easier and to implement than can re-encapsulation
- translation can generate better traffic than can re-encapsulation
- homogeneous endpoints can use re-encapsulation; heterogeneous endpoints
need to use translation somewhere
- gateway concurrency is important - buffering between different networks
- gateways vs tunneling
- gateway translation can replace tunneling - ip packets morph
- user-space development
- newness encapsulated in the gateway
- the n-by-m problem; hardware intensive
- tunneling can provide homogeneity in the network, diversity at the
endpoints
- gateways and intermittent connectivity - the network is evanescent
- gateways and security - gateways in the dmz; usually uses some tunneling
to get into the local network
- gateways may double the hop-count - when does this configuration make
sense
- examples
- cgi
- email to ftp, http - this is like tunneling
- the local client sends a request via e-mail
- the remote server gateway receives the e-mail, runs the request, and
e-mails back the reply
- the local client receives the reply and perhaps un-encapsulates it
- slirp - a gateway between two ip networks
- why do this - network address translation
This page last modified on 12 April 2001.