The fwlog.txt file 15.9 – Westermo MR Series User Manual
Page 406

406
6622-3201
Web Interface and Command Line Reference Guide
www.westermo.com
The FWLOG.TXT File
15.9
When the log option is specified within a firewall script rule, an entry is created in the FWLOG.
TXT pseudo-file each time an IP packet matches the rule. Each log entry will in turn contain the fol-
lowing information:
Parameter
Description
Timestamp
The time when the log entry is created.
Short Description
Usually “FW LOG” but could be “FW DEBUG” for packets that hit rules
with the “debug” action set.
Dir
Either “IN” or “OUT”. Indicates the direction the packet is travelling.
Line
The line number of the rule that cause the packet to be logged.
Hits
The number of matches for the rule that caused this packet to be logged.
Iface
The Interface the packet was to be transmitted/received on.
Source IP
The source IP address in the IP packet.
Dest. IP
The destination IP address in the IP packet.
ID
The value of the ID field in the IP packet.
TTL
The value of the TTL field in the IP packet.
PROTO
The value of the protocol field in the IP packet. This will be expanded to
text as well for the well-known protocols.
Src Port
The value of the source port field in the TCP/UDP header.
Dst Port
The value of the source port field in the TCP/UDP header.
Rule Text
The rule that caused the packet to be logged is also entered into the log
file.
In addition, port numbers will be expanded to text pre-defined port numbers.