=begin
= LeakProxy

== What's this?

Leakproxy is a tool to monitor communication of TCP applications.
It stands between the server and the client, and relays
communication like a proxy server.

  client <---> leakproxy.rb <---> server
                    |
                    | dump all received data
                    V
                terminal

== Example

When you want monitor HTTP communication, please  activate
leakproxy.rb as follows.

  $ leakproxy.rb 8080 www.example.org:80

The first argument is port number of localhost waiting for clients.
The second argument is a pair of hostname and port number of the server.

When you connect a HTTP client in other terminal, communication
contents will be dumped to standard output.

  $ lynx http://localhost:8080/ 

(If your terminal is correspond to ANSI escape sequence, the data
which have been sent from server will be indicated with bold.)

== Copyright

Author: IPR -- Internet Programming with Ruby -- writers
Copyright (c) 2003 Internet Programming with Ruby writers.

=end

