Question: 1. Write a command to count the number of firewall events in the file. Your command should exclude the header using a simple regular expression.

1. Write a command to count the number of firewall events in the file. Your command should exclude the header using a simple regular expression. 2. Write a command to count the number of unique values in the src-ip field.

3. Write a command to count the number of events that match theses conditions; - The event occurred in August, 2018 OR on July 4th 2018 - The dat-port field is either 80 or 433 - The action field is ACCEPT 4. Write a command to count the number of events that meet this criteria. - The event occurred between midnight and 3 AM 00:00:00 to 03:00:00 - The dat-port is 22 - The action is DROP - The protocol is TCP 5. Write a command to display the src-ip value for events that match the following criteria; - The size field is less than or equal to 500 - The dst-ip field starts with 10.202.40

6. Write a command to print the date and time of the earliest event in the firewall.log file.

7. Create a second command to print the date and time of the latest event in the file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!