next up previous contents
Next: Debugging with the Proxies Up: Troubleshooting Previous: Running authd in Debug

The gwchat Utility

gwchat is a utility which communicates with the running cdsgw transparent gateway program and allows some diagnostics to be carried out. After starting gwchat, you can type in different commands at the prompt followed by ENTER, and see the results either on your terminal or in the system log. The most common commands are:

?
List the current active sessions.
c
Toggle packet capture on/off. The packet trace is written to /tmp/cdsgw.dump. If you are familiar with the innards of TCP/IP this can be a very useful diagnostic tool.
s
Show the number of packets gatewayed and the number dropped. In each case four numbers are shown. The first is the number of non-ICMP, UDP or TCP packets, the second the number of ICMP packets, the third the number of UDP packets, and the last the number of TCP packets.
A
Toggle the authentication audit trail on and off; the audit trail is written to the file /tmp/cdsgw.audit.
D
Toggle debug log messages on and off.
+
Increase the verbosity of debug log messages.
-
Decrease the verbosity of debug log messages.
u
Take SLIP interface up.
d
Take SLIP interface down.
q
Quit.


next up previous contents
Next: Debugging with the Proxies Up: Troubleshooting Previous: Running authd in Debug
Copyright © 2004, CEQURUX Technologies