From 54e63f354c46e891bbb35647d025b354d17716fc Mon Sep 17 00:00:00 2001 From: Tim Young Date: Sat, 1 Aug 2015 12:17:12 -0600 Subject: [PATCH] Added new puzzle: VPN Woes. Two networks using the same IP Addresses cannot communicate with each other. --- EduNetworkBuilder/EduNetworkBuilder.csproj | 1 + .../Properties/Resources.Designer.cs | 28 +- EduNetworkBuilder/Properties/Resources.resx | 3 + .../Resources/Level2_VPN_woes.enbx | 1242 +++++++++++++++++ 4 files changed, 1265 insertions(+), 9 deletions(-) create mode 100644 EduNetworkBuilder/Resources/Level2_VPN_woes.enbx diff --git a/EduNetworkBuilder/EduNetworkBuilder.csproj b/EduNetworkBuilder/EduNetworkBuilder.csproj index 9bbf113..af7b6d9 100644 --- a/EduNetworkBuilder/EduNetworkBuilder.csproj +++ b/EduNetworkBuilder/EduNetworkBuilder.csproj @@ -233,6 +233,7 @@ + diff --git a/EduNetworkBuilder/Properties/Resources.Designer.cs b/EduNetworkBuilder/Properties/Resources.Designer.cs index bc02418..45047a1 100644 --- a/EduNetworkBuilder/Properties/Resources.Designer.cs +++ b/EduNetworkBuilder/Properties/Resources.Designer.cs @@ -116,12 +116,12 @@ namespace EduNetworkBuilder.Properties { } /// - /// Looks up a localized string similar to {\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Calibri;}{\f1\fmodern\fprq1\fcharset0 Consolas;}{\f2\fnil\fcharset0 Calibri;}} + /// Looks up a localized string similar to {\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Calibri;}{\f1\fnil\fcharset0 Courier New;}{\f2\fmodern\fprq1\fcharset0 Consolas;}{\f3\fnil\fcharset0 Calibri;}} ///{\colortbl ;\red0\green0\blue255;} ///{\*\generator Riched20 6.3.9600}\viewkind4\uc1 ///\pard\widctlpar\sa200\sl276\slmult1\f0\fs22\lang9 This is a basic help document for EduNetworkBuilder\par ///\b Overview\par - ///\b0 EduNetworkBuilder is meant to represent fairly truthfully how a network functions while removing the complexity of configuration. [rest of string was truncated]";. + ///\b0 EduNetworkBuilder is meant to represent fairly truthfully how a network functions while removing [rest of string was truncated]";. /// internal static string Help { get { @@ -449,6 +449,16 @@ namespace EduNetworkBuilder.Properties { } } + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] Level2_VPN_woes { + get { + object obj = ResourceManager.GetObject("Level2_VPN_woes", resourceCulture); + return ((byte[])(obj)); + } + } + /// /// Looks up a localized resource of type System.Byte[]. /// @@ -662,13 +672,13 @@ namespace EduNetworkBuilder.Properties { /// /// Looks up a localized string similar to {\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}} ///{\*\generator Riched20 6.3.9600}\viewkind4\uc1 - ///\pard\sa200\sl276\slmult1\f0\fs22\lang9 Version 1.0.16 \par - ///* Added ability to break links (bad network wire)\par - ///* Test for "needs link to" does not succeed if the link in question is a broken link\par - ///* Added a puzzle to show you how to find broken links \par - ///Version 1.0.15 07/11/2015\par - ///* Added ping time progress bar\par - ///* Fixed issue with things timing ou [rest of string was truncated]";. + ///\pard\sa200\sl276\slmult1\f0\fs22\lang9 Version 1.0.17 \par + ///* Added more help\par + ///* Much progress made in preparing for a French translation\par + ///* Added more to help\par + ///* Removed edit -> cut, paste, copy, undo. They never did anything. So why have them?\par + ///* Save box starts in the directory of the file we opened (if we have one)\par + ///Version 1.0.16 07/18/20 [rest of string was truncated]";. /// internal static string ReleaseNotes { get { diff --git a/EduNetworkBuilder/Properties/Resources.resx b/EduNetworkBuilder/Properties/Resources.resx index b368762..5a34ac2 100644 --- a/EduNetworkBuilder/Properties/Resources.resx +++ b/EduNetworkBuilder/Properties/Resources.resx @@ -331,4 +331,7 @@ ..\Resources\Level3_EncryptionTroubles.enbx;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\Resources\Level2_VPN_woes.enbx;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/EduNetworkBuilder/Resources/Level2_VPN_woes.enbx b/EduNetworkBuilder/Resources/Level2_VPN_woes.enbx new file mode 100644 index 0000000..2d9b0a1 --- /dev/null +++ b/EduNetworkBuilder/Resources/Level2_VPN_woes.enbx @@ -0,0 +1,1242 @@ + + + + + For routing to work, you need to have different IP addresses on the other side of the route. Here we have two networks that are using the same IP address scheme. To get them to work, you will need to change the IP Addresses of one of the networks. It is easiest to change the right network to be 192.168.2.x, as the left network has the right routes already set up for that network. + VPN Woes + 1024 + 1024 + 100 + False + 2 + 2000 + 186 + full + + firewall0 + 100 + 100 + 180,510 + firewall + False + False + + 192.168.5.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 100 + 101 + firewall0 + lo0 + + lo + 101 + False + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + wan + wan0 + + 100 + 104 + firewall0 + wan0 + + wan + 104 + False + + + wan0 + + 192.168.5.2 + 255.255.255.0 + 0.0.0.0 + ip + + + + + eth + eth0 + + 100 + 102 + firewall0 + eth0 + + eth + 102 + False + + + eth0 + + 192.168.1.1 + 255.255.255.0 + 0.0.0.0 + ip + + + + + eth + eth1 + + 100 + 103 + firewall0 + eth1 + + eth + 103 + False + + + eth1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + vpn + vpn0 + + 100 + 157 + firewall0 + vpn0 + + vpn + 157 + False + Test + + 192.168.6.2 + 255.255.255.0 + 0.0.0.0 + ip_only + + + vpn0 + + 192.168.50.1 + 255.255.255.0 + 0.0.0.0 + ip + + + + + 192.168.2.1 + 255.255.255.0 + 192.168.50.2 + route + + + + firewall1 + 100 + 105 + 700,510 + firewall + False + False + + 192.168.6.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 105 + 106 + firewall1 + lo0 + + lo + 106 + False + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + wan + wan0 + + 105 + 109 + firewall1 + wan0 + + wan + 109 + False + + + wan0 + + 192.168.6.2 + 255.255.255.0 + 0.0.0.0 + ip + + + + + eth + eth0 + + 105 + 107 + firewall1 + eth0 + + eth + 107 + False + + + eth0 + + 192.168.1.1 + 255.255.255.0 + 0.0.0.0 + ip + + + + + eth + eth1 + + 105 + 108 + firewall1 + eth1 + + eth + 108 + False + + + eth1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + vpn + vpn0 + + 105 + 156 + firewall1 + vpn0 + + vpn + 156 + False + Test + + 192.168.5.2 + 255.255.255.0 + 0.0.0.0 + ip_only + + + vpn0 + + 192.168.50.2 + 255.255.255.0 + 0.0.0.0 + ip + + + + + 192.168.1.1 + 255.255.255.0 + 192.168.50.1 + route + + + 192.168.3.1 + 255.255.255.0 + 192.168.50.1 + route + + + + laptop0 + 100 + 140 + 280,830 + laptop + False + False + + 192.168.1.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 140 + 141 + laptop0 + lo0 + + lo + 141 + False + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + eth + eth0 + + 140 + 142 + laptop0 + eth0 + + eth + 142 + False + + + eth0 + + 192.168.1.3 + 255.255.255.0 + 0.0.0.0 + ip + + + + + + laptop1 + 100 + 143 + 800,850 + laptop + False + False + + 192.168.1.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 143 + 144 + laptop1 + lo0 + + lo + 144 + False + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + eth + eth0 + + 143 + 145 + laptop1 + eth0 + + eth + 145 + False + + + eth0 + + 192.168.1.3 + 255.255.255.0 + 0.0.0.0 + ip + + + + + + net_switch0 + 100 + 114 + 180,670 + net_switch + False + False + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 114 + 115 + net_switch0 + lo0 + + lo + 115 + False + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + management_interface + management_interface0 + + 114 + 116 + net_switch0 + management_interface0 + + management_interface + 116 + False + + + management_interface0 + + 192.168.1.4 + 255.255.255.0 + 0.0.0.0 + ip + + + + + port + port1 + + 114 + 117 + net_switch0 + port1 + + port + 117 + False + + + port1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port2 + + 114 + 118 + net_switch0 + port2 + + port + 118 + False + + + port2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port3 + + 114 + 119 + net_switch0 + port3 + + port + 119 + False + + + port3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port4 + + 114 + 120 + net_switch0 + port4 + + port + 120 + False + + + port4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port5 + + 114 + 121 + net_switch0 + port5 + + port + 121 + False + + + port5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port6 + + 114 + 122 + net_switch0 + port6 + + port + 122 + False + + + port6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port7 + + 114 + 123 + net_switch0 + port7 + + port + 123 + False + + + port7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + + net_switch1 + 100 + 124 + 700,690 + net_switch + False + False + + 192.168.1.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 124 + 125 + net_switch1 + lo0 + + lo + 125 + False + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + management_interface + management_interface0 + + 124 + 126 + net_switch1 + management_interface0 + + management_interface + 126 + False + + + management_interface0 + + 192.168.1.4 + 255.255.255.0 + 0.0.0.0 + ip + + + + + port + port1 + + 124 + 127 + net_switch1 + port1 + + port + 127 + False + + + port1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port2 + + 124 + 128 + net_switch1 + port2 + + port + 128 + False + + + port2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port3 + + 124 + 129 + net_switch1 + port3 + + port + 129 + False + + + port3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port4 + + 124 + 130 + net_switch1 + port4 + + port + 130 + False + + + port4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port5 + + 124 + 131 + net_switch1 + port5 + + port + 131 + False + + + port5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port6 + + 124 + 132 + net_switch1 + port6 + + port + 132 + False + + + port6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port7 + + 124 + 133 + net_switch1 + port7 + + port + 133 + False + + + port7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + + pc0 + 100 + 134 + 90,830 + pc + False + False + + 192.168.1.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 134 + 135 + pc0 + lo0 + + lo + 135 + False + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + eth + eth0 + + 134 + 136 + pc0 + eth0 + + eth + 136 + False + + + eth0 + + 192.168.1.2 + 255.255.255.0 + 0.0.0.0 + ip + + + + + + pc1 + 100 + 137 + 600,850 + pc + False + False + + 192.168.1.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 137 + 138 + pc1 + lo0 + + lo + 138 + False + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + eth + eth0 + + 137 + 139 + pc1 + eth0 + + eth + 139 + False + + + eth0 + + 192.168.1.2 + 255.255.255.0 + 0.0.0.0 + ip + + + + + + router0 + 100 + 110 + 430,410 + router + False + False + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 110 + 111 + router0 + lo0 + + lo + 111 + False + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + eth + eth0 + + 110 + 112 + router0 + eth0 + + eth + 112 + False + + + eth0 + + 192.168.6.1 + 255.255.255.0 + 0.0.0.0 + ip + + + + + eth + eth1 + + 110 + 113 + router0 + eth1 + + eth + 113 + False + + + eth1 + + 192.168.5.1 + 255.255.255.0 + 0.0.0.0 + ip + + + + + eth + eth2 + + 110 + 182 + router0 + eth2 + + eth + 182 + False + + + eth2 + + 192.168.7.1 + 255.255.255.0 + 0.0.0.0 + ip + + + + + + + 140 + 142 + laptop0 + eth0 + + + 114 + 118 + net_switch0 + port2 + + + normal + 147 + + + + 134 + 136 + pc0 + eth0 + + + 114 + 117 + net_switch0 + port1 + + + normal + 146 + + + + 137 + 139 + pc1 + eth0 + + + 124 + 127 + net_switch1 + port1 + + + normal + 149 + + + + 143 + 145 + laptop1 + eth0 + + + 124 + 128 + net_switch1 + port2 + + + normal + 150 + + + + 105 + 109 + firewall1 + wan0 + + + 110 + 112 + router0 + eth0 + + + normal + 153 + + + + 114 + 119 + net_switch0 + port3 + + + 100 + 102 + firewall0 + eth0 + + + normal + 154 + + + + 100 + 104 + firewall0 + wan0 + + + 110 + 113 + router0 + eth1 + + + normal + 155 + + + + 124 + 129 + net_switch1 + port3 + + + 105 + 107 + firewall1 + eth0 + + + normal + 152 + + + pc0 + pc1 + SuccessfullyPings + + + \ No newline at end of file