Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Network & Security Expert

Question 1 - The following "firewall" script is run on a "gateway" machine-

1 echo 1 > /proc/sys/net/ipv4/ip_forward
2
3 iptables -F
4 iptables -X
5
6 iptables -P INPUT DROP
7 iptables -P OUTPUT ACCEPT
8 iptables -P FORWARD DROP
9
10 iptables -A INPUT -i lo -j ACCEPT
11 iptables -A INPUT -i eth1 -s 192.168.48.0/24 -j ACCEPT
12 iptables -A INPUT -i eth0 \
13 -m state --state RELATED,ESTABLISHED -j ACCEPT
14
15 iptables -A FORWARD -i eth1 -s 192.168.48.0/24 \
16 -m state --state NEW -j ACCEPT
17 iptables -A FORWARD -m state \
18 --state RELATED,ESTABLISHED -j ACCEPT
19
20 iptables -t nat -F
21 iptables -t nat -X
22
23 iptables -t nat -A POSTROUTING -o eth0 -s 192.168.48.0/24 \
24 -j SNAT --to-source 147.20.53.71Using the script above answer the following questions:

a. Explain, in your own words what a "gateway" machine is and what it is used for.

b. Explain the general purpose of the firewall above. Your explanation should include a description of the networks the gateway machine is connected to and how it is connected.

c. Explain in detail how each rule of this script is filtering the network traffic on this machine.

d. There are two rules for the FORWARD chain in the above script. Explain how iptables knows a packet is to be forwarded and must apply these rules.

e. The last rule in the script modifies the POSTROUTING chain of the NAT table. What is the POSTROUTING chain and why are SNAT rules applied to this chain?

Question 2 - As the system administrator you would like to SSH to a gateway machine (see Exercise 1) from off-site. Unfortunately that would mean opening the SSH port to the world-and you would rather not do that.

A friend tells you of the dæmon knockd that can temporarily open a port for quick access.

Install knockd and configure it to open a temporary hole in a firewall using a "single" knock.

Your write-up will need to include the following:

a. A couple of paragraphs in your own words describing how knockd works.

b. A couple of paragraphs in you own words describing the security flaws in the knockd approach to opening a temporary hole in a firewall. Hint: Read about Single Packet Authorisation methods.

c. The configuration file or files you needed to modify to open a temporary hole in a firewall using a "single" knock. Include an explanation in your own words of the purpose of every line in the configuration file or files.

d. The firewall on the machine. Use the output from the command iptables -L -v to show that the machine has been firewalled.

e. Output showing that knockd worked. A successful SSH session and the output from the command iptables -L-v to show the hole that knockd has created in the firewall.

Question 3 - In about a page, explain in your own words what a VPN is, what it is used for and how it works.

Your explanation should include:

• examples of where a VPN may be useful,

• the various technologies that can be used to establish a VPN. For example, IPsec and IKE (racoon dæmon), SSL/TLS VPNs
(openvpn), PPTP, and the venerable PPP with SSH.

Do not discuss proprietory solutions, for example, Checkpoint, Cisco Concentrators, etc.

Computer Network & Security, Computer Science

  • Category:- Computer Network & Security
  • Reference No.:- M91605070
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Network & Security

Nbspfor the remaining questions consider a 4-bit block

For the remaining questions, consider a 4-bit block cipher, described in hexadecimal by the following table: Plaintext Ciphertext Plaintext Ciphertext 0 a 8 e 1 c 9 d 2 f a 0 3 6 b 7 4 3 c 5 5 8 d b 6 4 e 9 7 2 f 1 You c ...

Buffer overflowthe common vulnerabilities and exposures cve

Buffer overflow The "Common Vulnerabilities and Exposures" (CVE) is a list of cybersecurity vulnerabilities that have been discovered, and they are collected in a database for everyone to see and improve or patch their s ...

Discussion bulldefine a packet analyzer and describe its

Discussion: • Define a packet analyzer and describe its use • List commonly used packet analyzers (beyond WireShark) • List best practices for analyzing packets • Describe uses (good and bad, ie. hacker) of a packetanaly ...

With smaller companies saving thousands and larger

With smaller companies saving thousands and larger companies saving billions through flexible manufacturing, if you are a discrete parts manufacturer seeking to be more lean, it is important to consider whether this migh ...

Assignment wireless applications advances advantages and

Assignment : Wireless Applications, Advances, Advantages, and Disadvantages The adoption of wireless technologies varies from one industry to another, and is often based on the benefits provided versus the challenges, im ...

Sip encodingwhy does the session initiation protocol sip

SIP, ENCODING Why does the session initiation protocol SIP allow the sender and receiver to choose two different multimedia encoding schemes? Describe a scenario where it makes sense to use different protocols for sender ...

About rsa please answer the following questionsa suppose

About RSA, please answer the following questions. (a) Suppose p=11 and q=7. What is ? (n), where n=p?q? (b) If the public key e is 11, find the private key d. (c) If the ciphertext is 4, what is the plaintext? (d) For en ...

Topic is impacts of data breaches the report will divide in

Topic is "Impacts of data breaches". the report will divide in to 5 section which is : "" 1-Abstract: comprehensive overview of the report in 150 to 200 words. 2- Introduction: Describe the topic and its issue in 250 to ...

Overviewthis assignment has three major aims- to help

Overview This assignment has three major aims: - To help students gain good understanding of theoretical and practical material. - To encourage students to use content analysis summaries to prepare for tests, examination ...

The abstract should not be more than 250 words describe

The abstract should not be more than 250 words. Describe your project, focusing on research questions and research method for next stage of the project. 1. Introduction [The introduction should describe what the project ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As