project 2 extra

docx

School

Clemson University *

*We aren’t endorsed by this school

Course

80

Subject

Computer Science

Date

Nov 24, 2024

Type

docx

Pages

5

Uploaded by MinisterRainGrasshopper26

Report
L3firewall.config documented Pinging from H2 to H4 fails : (CS-CNS-00101 ) Hence I did not include it )
H4 can reach webserver on h3 BUT : when you rbrowse the web server to see that h2 cannot reach web server on h3 trying to “browse” the web page at port 80 from node h2 – no matter if with netcat or curl – fails as the connection is dropped and, as we can see, it never reaches the node h3 – confirming the Layer3 rule works as intended: Repeating the test again afterwards shows that h1 can reach web server on h3
There is a block between h2 and h4 at the layer 2 level . To test this I have tried using ping then running tcpdump on h4 while scanning from h2 The TCP scan against h4 fails No packet ever reaches node hw whether ICPM, TCP or UDP TCP scan is 8000 circa ports
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
H2 tc- scan failure against h4 When I dump the flows duirectly I see rules are in place and the failures are all accurate
starting pox web server connecting to mini net to test funtionality Extra Activity File Content 1) l3firewall.config priority,src_mac,dst_mac,src_ip,dst_ip,src_port,dst_port,nw_proto 1,any,any,192.168.2.10,192.168.2.30,1,1,icmp 2,any,any,192.168.2.20,192.168.2.40,1,1,icmp 3,any,any,192.168.2.20,any,1,80,tcp 4,any,any,192.168.2.10,192.168.2.20,1,1,tcp 5,any,any,192.168.2.10,192.168.2.20,1,1,udp 2) l2firewall.config id,mac_0,mac_1 1,00:00:00:00:00:02,00:00:00:00:00:04 3) run_pox.sh nohup ./pox.py openflow.of_01 \ --port=6655 pox.forwarding.l2_learning \ pox.forwarding.L3Firewall --l2config="l2firewall.config" \ --l3config="l3firewall.config" & nohup ./pox.py openflow.of_01 \ --port=6633 pox.forwarding.l2_learning \ pox.forwarding.L3Firewall --l2config="l2firewall.config" \ --l3config="l3firewall.config" & 4) run_lab.sh mn --topo=single,4 \ --controller=remote,port=6633 \ --controller=remote,port=6655 \ --switch=ovsk --mac 24 VI. R EFERENCES Linux NAT Tutorial: https://www.karlrupp.net/en/computer/nat_tutorial Ubuntu “Basic Iptables HOWTO”: https://help.ubuntu.com/community/IptablesHowTo “Iptables Tutorial: Ultimate Guide to Linux Firewall”: https://phoenixnap.com/kb/iptables-tutorial-linux-firewall