Log and Alert

1. When does the P-335 PLUS generate the firewall log?
2. What is contained in P-335 PLUS firewall log ?
3. How do I view the firewall log?
4. When does the P-335 PLUS generate the firewall alert?
5. What does the alert show to us?
6. What is the difference between the log and alert?

1. When does the P-335 Plus generate the firewall log?

The P-335 Plus generates the log immediately when DOS attack is detected.

2. What is contained in P-335 Plus firewall log ?

By default, P-335 PLUS pre-configures 2 ACLs, 1) LAN-to-WAN (SET1) 2)WAN-to-LAN (SET2). Default policy of set 1 is "forward" and default policy of set 2 is "block".

There are four types including No Log, Log Forward, Log Block and Log All options which users can choose which packets to log via WEB Configurator.

3. How do I view the firewall log?

The log keeps 128 entries, and the new entries will overwrite the old entries when the log has over 128 entries. The firewall log can be displayed via Web Configurator.

All logs generated in P-335 Plus, including firewall logs and system logs are migrated to centralized logs. So you can view firewall logs in Centralized logs.

Before you can view firewall logs there are two steps you need to do,

1. Enable log function in Centralized logs setup via either one of the following methods,

- Web configuration: Advanced/Logs/Log Settings, check Access Control and Attacks options depending on your real situation.
- CI command: sys logs category [access | attack]

2. Enable log function in firewall default policy or in firewall rules.

After the above two steps, you can view firewall logs via

1. Web Configurator: Advanced/Logs
2. View the log by CI command: sys logs disp

You can also view Centralized logs via mail or syslog, please configure mail server or Unix Syslog server in Advanced/Logs/Log Settings.

4. When does the P-335 Plus generate the firewall alert?

The P-335 Plus generates the alert when an attack is detected by the firewall and sends it via Email. So, to send the alert you must configure the mail server and Email address using Web Configurator. You can also specify how frequently you want to receive the alert via Web Configurator.

5. What does the alert show to us?

The alert shown in the Email is actually the evens of the attack. So, the Reason column shows Attack and the attack type. Please see the example shown below.

`# Time Packet Information Reason Action` `127|Mar 15 0 |From:192.168.1.1 To:192.168.1.1 |`attack`|block` `|` `03:04``:54|ICMP type:00008 code:00000 |`land`|`

6. What is the difference between the log and alert?

A log entry is just added to the log inside the P-335 Plus and e-mailed together with all other log entries at the scheduled time as configured. An alert is e-mailed immediately after an attacked is detected.

All contents copyright (c) 2006 ZyXEL Communications Corporation.