From 3716fdf234e4923b08756c964a26992006dea1dc Mon Sep 17 00:00:00 2001 From: Tim Young Date: Tue, 15 Nov 2016 19:49:16 -0800 Subject: [PATCH] Added another puzzle --- EduNetworkBuilder/EduNetworkBuilder.csproj | 1 + EduNetworkBuilder/NB.cs | 2 +- .../Properties/Resources.Designer.cs | 10 + EduNetworkBuilder/Properties/Resources.resx | 3 + .../Resources/Level6_VlanRouting3.enbx | 1247 +++++++++++++++++ 5 files changed, 1262 insertions(+), 1 deletion(-) create mode 100644 EduNetworkBuilder/Resources/Level6_VlanRouting3.enbx diff --git a/EduNetworkBuilder/EduNetworkBuilder.csproj b/EduNetworkBuilder/EduNetworkBuilder.csproj index f5fdf4f..a1956ee 100644 --- a/EduNetworkBuilder/EduNetworkBuilder.csproj +++ b/EduNetworkBuilder/EduNetworkBuilder.csproj @@ -295,6 +295,7 @@ + diff --git a/EduNetworkBuilder/NB.cs b/EduNetworkBuilder/NB.cs index cf42c4f..aa1cf58 100644 --- a/EduNetworkBuilder/NB.cs +++ b/EduNetworkBuilder/NB.cs @@ -74,7 +74,7 @@ namespace EduNetworkBuilder Level5_WirelessAccessPoint, Level5_WirelessCorruption, Level5_Failed, Level5_LostPacket, Level5_HereComesTrouble, Level6_VLAN_Intro, Level6_VLAN_Intro2, Level6_Intro3_LockedOut, Level6_ForbiddenVLAN, Level6_TaggedBetweenSwitches, Level6_VLANRouting, Level6_VLANRouting2, level6_UntaggedAndDHCP, Level6_SorryBoss, Level6_VLANFrustrations, - Level6_TwoAccessPoints, + Level6_TwoAccessPoints, Level6_VlanRouting3, } public enum DebugPausePoint { none=0, packet_create=1, packet_kill=2, diff --git a/EduNetworkBuilder/Properties/Resources.Designer.cs b/EduNetworkBuilder/Properties/Resources.Designer.cs index 1f97293..189bda0 100644 --- a/EduNetworkBuilder/Properties/Resources.Designer.cs +++ b/EduNetworkBuilder/Properties/Resources.Designer.cs @@ -892,6 +892,16 @@ namespace EduNetworkBuilder.Properties { } } + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] Level6_VlanRouting3 { + get { + object obj = ResourceManager.GetObject("Level6_VlanRouting3", resourceCulture); + return ((byte[])(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/EduNetworkBuilder/Properties/Resources.resx b/EduNetworkBuilder/Properties/Resources.resx index d429be4..a0e996c 100644 --- a/EduNetworkBuilder/Properties/Resources.resx +++ b/EduNetworkBuilder/Properties/Resources.resx @@ -430,4 +430,7 @@ ..\Resources\Level2_FirewallTest2.enbx;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\Resources\Level6_VlanRouting3.enbx;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/EduNetworkBuilder/Resources/Level6_VlanRouting3.enbx b/EduNetworkBuilder/Resources/Level6_VlanRouting3.enbx new file mode 100644 index 0000000..f46837c --- /dev/null +++ b/EduNetworkBuilder/Resources/Level6_VlanRouting3.enbx @@ -0,0 +1,1247 @@ + + + + + VLAN security is mainly about adding firewall rules to stop vlans from talking to each other. In this one, we want the default vlan not to talk to the staff VLAN. +The staff VLAN can ping the default VLAN. +To solve this puzzle, go to the firewall button on the firewall, and add a rule to stop the default VLAN interface from communicating to the staff VLAN. + VLAN Routing3 + 1024 + 1024 + 100 + True + 6 + 4.6 + 154 + full + True + False + + firewall0 + 100 + 145 + 660,170 + firewall + False + False + True + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 145 + 146 + firewall0 + lo0 + + lo + 146 + False + + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wan + wan0 + + 145 + 149 + firewall0 + wan0 + + wan + 149 + False + + + + wan0 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 145 + 147 + firewall0 + eth0 + + eth + 147 + False + + + + eth0 + + 0.0.0.0 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth1 + + 145 + 148 + firewall0 + eth1 + + eth + 148 + False + + + + eth1 + + 192.168.2.1 + 255.255.255.0 + 0.0.0.0 + ip + + Forbidden + Tagged + + + eth1:1 + + 192.168.1.1 + 255.255.255.0 + 0.0.0.0 + ip + + Tagged + Forbidden + + + + + net_switch0 + 100 + 100 + 240,390 + net_switch + False + False + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 100 + 101 + net_switch0 + lo0 + + lo + 101 + False + + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + management_interface + management_interface0 + + 100 + 102 + net_switch0 + management_interface0 + + management_interface + 102 + False + + + + management_interface0 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port1 + + 100 + 103 + net_switch0 + port1 + + port + 103 + False + + + + port1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Tagged + Tagged + + + + port + port2 + + 100 + 104 + net_switch0 + port2 + + port + 104 + False + + + + port2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + Forbidden + + + + port + port3 + + 100 + 105 + net_switch0 + port3 + + port + 105 + False + + + + port3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + Forbidden + + + + port + port4 + + 100 + 106 + net_switch0 + port4 + + port + 106 + False + + + + port4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Forbidden + Forbidden + + + + port + port5 + + 100 + 107 + net_switch0 + port5 + + port + 107 + False + + + + port5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Forbidden + Forbidden + + + + port + port6 + + 100 + 108 + net_switch0 + port6 + + port + 108 + False + + + + port6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + Forbidden + + + + port + port7 + + 100 + 109 + net_switch0 + port7 + + port + 109 + False + + + + port7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Forbidden + Untagged + + + + + net_switch1 + 100 + 110 + 660,390 + net_switch + False + False + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 110 + 111 + net_switch1 + lo0 + + lo + 111 + False + + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + management_interface + management_interface0 + + 110 + 112 + net_switch1 + management_interface0 + + management_interface + 112 + False + + + + management_interface0 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port1 + + 110 + 113 + net_switch1 + port1 + + port + 113 + False + + + + port1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Tagged + Tagged + + + + port + port2 + + 110 + 114 + net_switch1 + port2 + + port + 114 + False + + + + port2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Forbidden + Untagged + + + + port + port3 + + 110 + 115 + net_switch1 + port3 + + port + 115 + False + + + + port3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Forbidden + Untagged + + + + port + port4 + + 110 + 116 + net_switch1 + port4 + + port + 116 + False + + + + port4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + Forbidden + + + + port + port5 + + 110 + 117 + net_switch1 + port5 + + port + 117 + False + + + + port5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Forbidden + Forbidden + + + + port + port6 + + 110 + 118 + net_switch1 + port6 + + port + 118 + False + + + + port6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Forbidden + Forbidden + + + + port + port7 + + 110 + 119 + net_switch1 + port7 + + port + 119 + False + + + + port7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Tagged + Tagged + + + + + pc0 + 100 + 121 + 100,640 + pc + False + False + Yellow + + 192.168.1.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 121 + 122 + pc0 + lo0 + + lo + 122 + False + + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 121 + 123 + pc0 + eth0 + + eth + 123 + False + + + + eth0 + + 192.168.1.2 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + pc1 + 100 + 124 + 240,640 + pc + False + False + Yellow + + 192.168.1.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 124 + 125 + pc1 + lo0 + + lo + 125 + False + + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 124 + 126 + pc1 + eth0 + + eth + 126 + False + + + + eth0 + + 192.168.1.3 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + pc2 + 100 + 127 + 360,690 + pc + False + False + Green + + 192.168.2.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 127 + 128 + pc2 + lo0 + + lo + 128 + False + + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 127 + 129 + pc2 + eth0 + + eth + 129 + False + + + + eth0 + + 192.168.2.2 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + pc3 + 100 + 130 + 570,710 + pc + False + False + Green + + 192.168.2.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 130 + 131 + pc3 + lo0 + + lo + 131 + False + + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 130 + 132 + pc3 + eth0 + + eth + 132 + False + + + + eth0 + + 192.168.2.3 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + pc4 + 100 + 133 + 730,680 + pc + False + False + Green + + 192.168.2.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 133 + 134 + pc4 + lo0 + + lo + 134 + False + + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 133 + 135 + pc4 + eth0 + + eth + 135 + False + + + + eth0 + + 192.168.2.4 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + pc5 + 100 + 136 + 870,640 + pc + False + False + Yellow + + 192.168.1.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 136 + 137 + pc5 + lo0 + + lo + 137 + False + + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 136 + 138 + pc5 + eth0 + + eth + 138 + False + + + + eth0 + + 192.168.1.4 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + + 100 + 103 + net_switch0 + port1 + + + 110 + 113 + net_switch1 + port1 + + + normal + 120 + + + + 136 + 138 + pc5 + eth0 + + + 110 + 116 + net_switch1 + port4 + + + normal + 144 + + + + 133 + 135 + pc4 + eth0 + + + 110 + 115 + net_switch1 + port3 + + + normal + 143 + + + + 130 + 132 + pc3 + eth0 + + + 110 + 114 + net_switch1 + port2 + + + normal + 142 + + + + 121 + 123 + pc0 + eth0 + + + 100 + 104 + net_switch0 + port2 + + + normal + 139 + + + + 127 + 129 + pc2 + eth0 + + + 100 + 109 + net_switch0 + port7 + + + normal + 141 + + + + 124 + 126 + pc1 + eth0 + + + 100 + 105 + net_switch0 + port3 + + + normal + 140 + + + + 110 + 119 + net_switch1 + port7 + + + 145 + 148 + firewall0 + eth1 + + + normal + 153 + + + All + All + LockVLANNames + + + pc0 + pc4 + FailedPing + + + pc4 + pc0 + SuccessfullyPings + + VLAN + Default + Sttaff + + \ No newline at end of file