Question

In: Computer Science

I am working on these questions but I would like someone to review them before I...

I am working on these questions but I would like someone to review them before I submit and add any addition information I may have missed or worse gotten wrong! I provided the questions and then my answers to them.

1) Explain what is blacklisting and whitelisting?

2) iptables:

Compare -j DROP vs -j REJECT. Which option would you use to implement a firewall rule that blocks incoming packets and why?

3) State the iptables command you would use to add a firewall rule where outgoing packets(connections) to ports 20, 21 (ftp) were blocked.

4) ICMP is a protocol for sending various messages to report network conditions. Ping is the sends ICMP Echo request packets to the target host and waits for ICMP echo reply from the host.

Your Task: State a firewall rule that will block other systems from pinging your system.

My answers.

1.    Explain what is blacklisting and whitelisting?

White lists and black lists are two ways of filtering data. If you have a white list then you will filter in only data on the white list; if you have a black list you will filter out only data on that list.

2.    iptables:

Compare -j DROP vs -j REJECT. Which option would you use to implement a firewall rule that blocks incoming packets and why?

Since DROP silently drops without a response, and REJECT denies and send an ICMP message to indicate the denial I think you would want to reject and never receive them to drop them using sudo ufw reject ssh

3.    State the iptables command you would use to add a firewall rule where outgoing packets(connections) to ports 20, 21 (ftp) were blocked.

sudo firewall-cmd --direct --add-rule ipv4 filter OUTPUT 0 -p tcp --dport 20,22 -j ACCEPT

sudo firewall-cmd --direct --add-rule ipv4 filter OUTPUT 1 -j REJECT

4.    ICMP is a protocol for sending various messages to report network conditions. Ping is the sends ICMP Echo request packets to the target host and waits for ICMP echo reply from the host.

Your Task: State a firewall rule that will block other systems from pinging your system.

sudo iptables -A INPUT -p tcp --dport 110 -j DROP

This doesn't not allow and connection to ping the system.

Solutions

Expert Solution

All of you rnaswer are correct and are explained enough , but in the first question you can add more imformation to explain more to the reader , explanation is as follow :

Blacklisting is probably the most seasoned calculation in PC security, and it's utilized by most antivirus programming to impede undesirable elements. The way toward boycotting applications includes the formation of a rundown containing all the applications or executables that may represent a danger to the organization, either as malware assaults or essentially by hampering its condition of profitability. Blacklisting can be viewed as a danger driven technique. Similarly as the name recommends, whitelisting is something contrary to Blacklisting, where a rundown of confided in elements, for example, applications and sites are made and only permitted to work in the organization. Whitelisting takes all the more a trust-driven methodology and is viewed as safer. This technique for application control can either be founded on strategies like document name, item, and merchant, or it tends to be applied on an executable level, where the advanced endorsement or cryptographic hash of an executable is checked.

Rest of the command and explain are detailed enough to explain their fucntionality


Related Solutions

I am working on an accounting project related to a supermarket and would like to seek...
I am working on an accounting project related to a supermarket and would like to seek help with regard to its costing system. I was asked to describe the company’s costing system. I have identified supermarket as a value-added intermediary between suppliers and customers, but how do I classify or describe it's costing system since it does not manufacture its own product. Would there be a manufacturing cost incurred or I can only trace non-manufacturing costs to its products? I...
I am working on an Arduino Project. I would like to build a controllable RGB LED...
I am working on an Arduino Project. I would like to build a controllable RGB LED Nightlight (with a debounce code included). With each time pushing the button I want a different color. like the following Initial state = LED off first press= LED turns on Red second Press = LED turns on Green third Press = LED turns on Blue Fourth Press = LED turns on Purple Fifth Press = LED turns on Teal sixth press= LED turns on...
I am having a hard time understanding these two questions. If someone can explain that would...
I am having a hard time understanding these two questions. If someone can explain that would be great. 1) Explain the steps that enables body to metabolize fat to ATP? 2) Write out the amount of ATP, NADH, FADH2 produced in each step of cellular metabolism of a glucose.
okay so i am working on a physic review quetion that i seem not to know...
okay so i am working on a physic review quetion that i seem not to know where to start.. It states as follow A magnetic field of .250T points straight up in a lab, a circular coil of wire with 10 turns, a radius of 12 cm and a resistance of 1.6 ohms, sits on a slanted surface, tilted at 30 degress from horizontal. Then the magnetic field is turn off and it decays exponentially to 0. (B=Boe-t/T) At the...
I am trying to get this code to work but I am having difficulties, would like...
I am trying to get this code to work but I am having difficulties, would like to see if some one can solve it. I tried to start it but im not sure what im doing wrong. please explain if possible package edu.hfcc; /* * Create Java application that will create Fruit class and Bread class * * Fruit class will have 3 data fields name and quantity which you can change. * The third data field price should always...
I am working on these study questions and am having trouble understanding how it all works...
I am working on these study questions and am having trouble understanding how it all works together. Any help would be greatly appreciated!! An all equity firm is expected to generate perpetual EBIT of $50 million per year forever. The corporate tax rate is 0% in a fantasy no tax world. The firm has an unlevered (asset or EV) Beta of 1.0. The risk-free rate is 5% and the market risk premium is 6%. The number of outstanding shares is...
I am in a statistics class. When I graduate, I would like to work in an...
I am in a statistics class. When I graduate, I would like to work in an area where I can help restructure businesses that are failing and make them successful. My professor has asked me where in my career that I think I will use the process of data collection. He has asked me to provide 2 examples. This is my first statistics class, so I don't really know of how to give him any examples. Can you please give...
given the following questions, i would like to ... Question Given the following questions, I would...
given the following questions, i would like to ... Question Given the following questions, I would like to know the answers to c, d, and e. located at the bottom (due to 4 answers per post limit). Thanks! Platinum (Pt) is used in part of your car's catalytic converter to reduce carbon monoxide emissions by the following chemical reaction: 2CO(g) + O2(g) Pt 2CO2(g) ---> 1) A matrix contains 7.1mg Pt/g of matrix. What is the %Pt in the matrix...
Hi I am working in an accouting project for a taco food truck. Can someone please...
Hi I am working in an accouting project for a taco food truck. Can someone please help me find the variable and fixed costs or such ? i can provide more info if needed. please assists. I have the costs of opening a start up food truck but that is it . thanks. what info do you need from me if any
i am working on a project.. i would love to implement ENERGY METERING WITH IT SO...
i am working on a project.. i would love to implement ENERGY METERING WITH IT SO AS TO BE ABLE TO CALCULATE THE BILLS AT THE END OF A CERTAIN PERIOD.. how could this be done...BULBS,FANS,SOCKETS are the appliances involved... how can i get the energy used by all this appliances. i need very DETAILED TECHNICAL EXPLANATION.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT