next up previous contents
Next: Using TUNNEL and Router Up: Using JavaGroups Previous: Members don't find each

   
Firewalls

Firewalls are usually placed at the connection to the internet. They shield local networks from outside attacks by screening incoming traffic and rejecting connection attempts to host inside the firewalls by outside machines. Most firewall systems allow hosts inside the firewall to connect to hosts outside it (e.g. HTTP = TCP on port 80), however incoming traffic is most often disabled entirely.

Tunnels are host protocols which encapsulate other protocols by multiplexing them at one end and demultiplexing them at the other end. Any protocol can be tunneled by a tunnel.

The most restrictive setups of firewalls usually disable all incoming traffic, and only enable a few selected ports for outgoing traffic. In the solution below, it is assumed that a TCP connection can be established to a host outside the firewall on port 80. Tunnels make use of the fact that TCP is bidirectional, that is messages can not only be sent, but also received over a TCP connection.



 


1999-12-13