The auditor presented here is a network protocol logging program. It can easily be modified to do other things, however. Auditor works by stepping in transparently between client and server.
This is exactly what makes the Auditor a great debugging tool. If you are writing a Server or client for any Protocol, the auditor can help you debug it.
Auditor is also a great educational tool. You can use it to learn or teach how certain programs really work.
Example
Let us suppose we wish
to know how the HTTP clients and servers work. We would do the following:
java Auditor www.netscape.com
80 9000
(Actually, since 80 and 9000 are defaults,
we could as well have said:
java Auditor www.netscape.com)
This creates an Auditor at port 9000 on the current machine that Audits the server at www.netscape.com port 80, the HTTP port. Suppose we want to study the Netscape web browser. All we have to do is point the browser at our site. We do this by opening the url http://our_host:9000.
The Auditor faithfully logs every bit of information that passes between them. You can modify the auditor to do marvelous other things, of course.
Try it out! It's fun! Check out the difference between Internet Explorer and Netscape!
You need some sort of Java environment (such as Sun's JDK) installed on your machine.
Download the source and
classes.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Home | Projects | Docs | Download | Credits |