Sniffer Capture
The capture command on the PIX firewall is useful only if the packets are reaching to the PIX interface. So you need to rely on external sniffer capture software. Besides, the capture command output can be converted and saved in pcap format, which later can be opened and analyzed by sniffer capture software. Ethereal is very popular free downloadable sniffer software (www.ethereal.com).
Syslog
Syslog is the best troubleshooting tool for the PIX firewall. It logs traffic both to and through the firewall. The level of detail provided by syslog is controlled by the level of detail at which PIX is configured for syslog. Seven syslog logging levels can be set on the PIX firewall as shown in Table 3-7.
Log Level | Description | # of Messages (Sum) |
---|---|---|
0 | Emergencies | 0 |
1 | Alerts | 41 (41) |
2 | Critical | 21 (62) |
3 | Errors | 74 (136) |
4 | Warnings | 56 (192) |
5 | Notifications | 21 (213) |
6 | Informational | 95 (308) |
7 | Debugging | 15 (323) |
Work through the steps that follow to configure logging on the PIX firewall.
Once logging is configured, you can verify the syslog configuration with the following command:
PIX# show running logging
To remove the logging configuration, use the following command:
PIX(config)# clear config logging
To display buffer logging syslog messages, use the following command:
PIX# show logging
To display only the syslog configuration settings, use the following command:
PIX# show logging setting
System syslog messages on PIX/ASA 5500 are found at the following link:
http://www.cisco.com/univercd/cc/td/doc/product/multisec/asa_sw/v_70/syslog/saslmsgs.htm
Syslog messages based on different severity levels on PIX/ASA 5500 can be found at the following link:
http://www.cisco.com/univercd/cc/td/doc/product/multisec/asa_sw/v_70/syslog/saslapa.htm
Get the syslog message ID from the syslog server, find the meaning, and perform the recommended action suggested by the syslog message ID in the previously listed links.