The FireBrick has a 128KB internal log buffer holding recent logs entries. This buffer is also used for all upload and download, and so is cleared whenever new software or configs are loaded or the config saved.
The email system then monitors the log continuously for an emailable event. When this happens a pre-email delay applies, and then the email is sent. All entries up to the current time that are emailable are sent in the email. If sent correctly, then all of these entries are marked as not emailable to avoid duplication and the log monitoring continues after a post-email delay. If the email fails, then the monitoring stays at the same point to try again.
Email can be sent to a specified IP address using a specified sender and recipient using normal SMTP. Sending or failing to send an email is also logged, but this has the email option removed to avoid self generating email logs.
| Fragments | filter-name: Frag MAC proto-name(proto-num )/id@offset interface/IP-interface/IPaction |
| TCP | filter-name: MAC TCP(6) interface/IP/ port-interface/IP/portflag saction |
| UDP | filter-name: MAC UDP(17) interface/ IP/port-interface/IP/port action |
| ICMP | filter-name: MAC ICMP(1) interface/IP/ type-name(type:code)-interface/IP/id action |
| Other | filter-name: MAC proto-name(proto-num) interface/IP-interface/IP action |
| Big sessions | End filter-name: proto-name( proto-num) interface/IP/port-interface/ IP/port forward/reverse |
The meaning of these various fields are as follows. In all cases the source
then the target interface/IP are shown.
| filter-name | The name of the filter, or Default for the default filter rule |
| MAC |
The source MAC address of the packet (0 if not known) |
| proto-name | The name of the protocol, e.g. TCP, GRE, etc. There are over 100 named IP protocols |
| proto-num | The protocol number, e.g. 6 for TCP, 17 for UDP, 1 for ICMP |
| interface | The name of the interface, e.g. WAN, LAN, Serial, etc. The FireBrick's name is used for the FireBrick |
| IP | The IP address, e.g. 1.2.3.4 or 001.002.003.004 if padded formatting has been configured |
| port | The port number for UDP or TCP, e.g. 1234 or 1,234 if comma formatting configured |
| id@offset | The IP packet ID and fragment offset |
| type-name | The ICMP packet type, e.g. ECHO |
| type:code | The ICMP type number and code number. |
| id | The ICMP id word |
| flags | TCP flags for S=SYN, A=ACK, R=RST, F=FIN which identify the type of TCP packet |
| action | The action, Drop, Allow, Reject, Bounce, matching the colour coding |
| forward/reverse | Total bytes sent in each direction on a session (forward is direction
of first packet). If this exceeds 4.2 billion (32 bit wrap around) then it will be incorrect. |