Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

***********IN UNIX************* Write a command to count the number of events that match these conditions; - The event occurred in August, 2018 OR on July

***********IN UNIX*************

Write a command to count the number of events that match these conditions; - The event occurred in August, 2018 OR on July 4th 2018 2018-08-xx OR 2018-07-04 - The dst-port field is either 80 or 443 - the action field is ACCEPT The time field follows the format of; HH:MM:SS

FILE:firewall.log

#Version 1.5

#Software: Microsoft Windows Firewall

#Time Format: local

#Fields: date time action protocol src-ip dst-ip src-port dst-port size

2018-05-25 11:47:02 FORWARD TCP 11.100.6.64 10.202.41.103 2176 7 953880

2018-02-22 03:34:00 FORWARD UDP 11.102.7.64 10.202.40.101 2075 65 116445

2018-03-20 04:47:11 REJECT UDP 9.102.8.65 10.202.41.101 2189 97 985631

2018-11-08 14:14:47 REJECT TCP 10.101.8.64 10.202.40.103 2158 63 164259

2018-07-24 22:46:54 REJECT TCP 11.100.6.65 10.202.41.103 2089 61 991882

2018-01-01 19:27:19 DROP TCP 11.101.7.64 10.202.40.100 2210 44 354300

2018-04-17 01:35:12 FORWARD UDP 10.102.6.65 10.202.41.103 2135 83 231775

2018-05-05 04:26:05 DROP UDP 11.101.6.65 10.202.40.103 2160 104 209447

2018-08-20 15:43:16 DROP TCP 10.102.6.64 10.202.41.100 2212 113 960460

2018-02-10 02:28:02 FORWARD UDP 11.101.6.65 10.202.41.102 2089 68 117449

2018-03-22 00:05:32 DROP TCP 9.101.8.65 10.202.41.101 2129 92 435203

2018-04-24 19:32:47 REJECT TCP 9.100.8.65 10.202.40.103 2115 93 682002

2018-05-19 01:43:06 FORWARD TCP 10.100.7.64 10.202.41.100 2107 29 70746

2018-04-13 03:51:33 DROP TCP 9.102.8.64 10.202.40.103 2219 32 984581

2018-08-16 21:02:36 FORWARD UDP 11.100.8.65 10.202.40.102 2190 17 965652

2018-06-27 00:44:54 DROP UDP 11.102.6.64 10.202.41.102 2109 73 82917

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

More Books

Students explore these related Databases questions