{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lab-Mar16 - Lab on Firewall Ethereal ICMP and ARP in...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Lab on Firewall, Ethereal, ICMP and ARP in SANDBOX lab (PL112) CSE398: Network Systems Design, Lehigh University Instructor: Dr. Liang Cheng, Assistant Professor, Computer Science and Engineering Lab Graduate Assistant: Yaoyao Zhu March 16th, 2005 Introduction This lab session includes two parts: 1. Configuring firewalls using iptables in Linux; 2. Using ethereal to capture network packets and observe the packets in various layers; Each machine has one network interface cards (NIC), eth0 . Their IP-address configurations are DHCP enabled. The eth0 interface belongs to a 192.168.1.0/24 network and is connected with a switch, which enables an Internet connection. A machine with an IP address 192.168.1.200 is configured and activated in this 192.168.1.0/24 network to be used for ping checking functionality. Procedure Firewall 1. Make a temporary directory called “ temp ” and perform the rest of the steps under “temp” directory. 2. Open a terminal window. Try to ping localhost , 192.168.1.200, and www.lehigh.edu . They all should be ping-able, otherwise please ask the lab graduate assistant for help. 3. Open a web browser, and visit http://www.cse.lehigh.edu/~cheng/Teaching/CSE398- 05/firewall-031605.tar to download firewall-031605.tar to the temp directory that you have just created. 4. Untar the firewall-031605.tar using “tar –xvf firewall-031605.tar ”. It will automatically create a firewall-031605 sub-directory. 5. Change directory to firewall-031605 . And modify all the script files to be executable by using “ chmod 700 * ”. 6. Study the firewall script accept-all based on the Linux command iptables , which has been briefly described in the appendix of this document. 7. Run the script accept-all using “./ accept-all ”. Then try to ping localhost , 192.168.1.200, and www.lehigh.edu . They all should be ping-able, otherwise please ask the lab graduate assistant for help.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
8. Study the firewall script deny-all based on the Linux command iptables , which has been briefly described in the appendix of this document. 9. Run the script deny-all using “./ deny-all ”. Then try to ping localhost , 192.168.1.200, and www.lehigh.edu . They all should NOT be ping-able, otherwise please ask the lab graduate assistant for help. 10. Modify the deny-all script to enable the Loopback interface. 11. Run the script deny-all using “./ deny-all ”. Then try to ping localhost , and it should be ping-able. Then try to ping 192.168.1.200, and www.lehigh.edu . They all should NOT be ping- able, otherwise please ask the lab graduate assistant for help. 12. Modify the deny-all script to enable the LOCAL_INTERFACE interface. 13. Run the script deny-all using “./ deny-all ”. Then try to ping localhost , and it should be ping-able. Then try to ping 192.168.1.200 and www.lehigh.edu , and they should be ping-able. 14. Run the script accept-all using “./ accept-all ”. Then try to ping localhost , 192.168.1.200, and www.lehigh.edu . Then they all should be ping-able, otherwise please ask the lab graduate assistant for help.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern