Commit Graph

899 Commits

Author SHA1 Message Date
886e1d7911 allow DHCP range to cancel
The problem is easily seen most times when a DHCP range is canceled.
       The cancel completely fails to work, and refuses to cancel until
       correct values are put in start and end. (However, pressing the ESC
       key sometimes helped.)
2019-02-23 12:20:24 -06:00
06eb896558 cancel should also cancel auto-filled lastIP values
The problem is seen in the first puzzle if you ping
       pc0, and then edit the 0.0.0.0 gateway.   It auto-fills in
       the last-used pc0 IP address, and canceling saves that change
       instead of leaving the gateway at 0.0.0.0.

       lastIP nicely saves some typing (although it has also confused
       my student quite a bit I think), but since it updates WhatToEdit,
       that becomes the "saved" value even during a cancel.

       Instead, save the original value as a copy, and set back to
       the original value when cancellng.

       Perhaps it would be worth creating a reparse( NB_IPAddress)
       function, but this was easy to just hack together.

       Tested by pinging pc0, then editing the gateway and cancellng,
       editing the IP address and canceling.

       Next: don't add a canceled route
2019-02-23 12:16:04 -06:00
ddebafeec9 don't add a canceled, empty route
This was especially bad when lastIP filled in default values,
       so this patch pretty much depends on the patch that cancels
       the auto-filled lastIP.

       This didn't cause a problem - it just cluttered up the routing
       table with duplicate, undeletable routes.
2019-02-23 12:08:01 -06:00
2ae5781bea Don't crash when adding a NIC to a PC/server (Justin) 2019-02-23 12:06:24 -06:00
fa163b3d21 ubuntu 18.04 2019-02-22 14:24:45 -06:00
5e916e82a4 Hopefully correct the READ.md file so it displays properly and has the right info. 2019-02-22 13:26:06 -06:00
7c292f5b7d Justin Luth:
ping source is firewall ? set sourceIP to vpn IP address

       The problem can be seen easily in Puzzle 2, VPN Demo.
       From firewall2, ping firewall0. The ping request tunnels
       to firewall0 with a source address of 0.0.0.0, and so
       the reply returns untunneled and drops at the default gateway.

       This patch probably needs to be tweaked a bit in case it
       covers too many situations, but in general something like
       this is needed.
2019-02-22 13:15:43 -06:00
110a751d25 Add time-based delay to slow packet movement on super-fast computers 2019-01-23 08:24:30 -06:00
c66aa99a28 Adding entry for next version number in preparation for adding release note documentation as we make changes. 2018-10-23 11:47:03 -05:00
36dd9639b3 Update to version number from publishing 2018-10-23 11:46:07 -05:00
9de1acf82f A trivial update to the release notes 2018-10-23 11:45:49 -05:00
408e769631 Update version number for publishing 2018-10-23 11:44:34 -05:00
d1e3a4dda9 Update release notes 2018-10-23 09:03:51 -05:00
bf820055ca When doing multiple regression tests, add a counter to the name so we see a status. 2018-10-23 08:52:28 -05:00
facd5d1ea1 Able to change gateway if device has both DHCP and ethernet, but the ethernet is the one plugged in. 2018-10-23 08:25:04 -05:00
2b92fea4cb Do not check firewall rules if the firewall is disabled 2018-10-23 08:01:43 -05:00
c8c66970d0 Get reload to work properly 2018-10-23 07:57:02 -05:00
e6e6328eca Start regression window with untested and failed checked. 2018-10-17 16:58:03 -05:00
59d8fd7e47 Level 6 regression testing completed 2018-10-17 16:56:06 -05:00
8d848eaa39 select the first unfinished puzzle on the level if one is available 2018-10-17 16:23:13 -05:00
b74f9932bb Fix bug with replays and VLANs 2018-10-17 15:23:30 -05:00
811339b176 Network timeout during replay 2018-10-17 14:56:28 -05:00
17b127d69d Fix a bug where resetting a switch did not reset the vlans on the switch 2018-10-17 14:38:42 -05:00
f2c2f9bb96 Level 5 replays 2018-10-16 12:52:01 -05:00
b6d2eb0a60 Some of level 5 2018-10-12 17:38:36 -05:00
48bf63b967 Replays for level 4 2018-10-11 15:08:17 -05:00
b623ebd9ec Fix some duplication when things added. 2018-10-11 14:44:18 -05:00
d0fcba7854 Level 3 replays 2018-10-11 11:24:26 -05:00
27a29ff44f Some older replays which were skipped 2018-10-10 16:15:45 -05:00
258bff6ce7 Finish level2 replays. 2018-10-10 16:11:55 -05:00
cf83771a7d More regression testing for puzzles 2018-10-08 11:54:16 -05:00
2ca9ddce19 Fix reporting bug when doing replay 2018-10-08 11:52:53 -05:00
de5acab132 Make reload work for all puzzles. We want to use that when making replays. It is nice to reload it once we know the solution so we can save a clean replay. 2018-10-05 13:58:54 -05:00
bee42488d2 Refresh the form after one test to show passed / failed 2018-10-05 13:28:49 -05:00
92246a3dac Add file -> forget replay statuses. So we can reset our replays. 2018-10-05 13:24:47 -05:00
d838fe1987 Add a clear replay status function 2018-10-05 13:06:53 -05:00
aa78fa5aca centralize passed/failed tracking 2018-10-05 13:00:04 -05:00
eec743d9c6 Update puzzles passed / failed 2018-10-05 12:53:38 -05:00
00d78684a2 Load puzzles passed/failed 2018-10-05 12:48:27 -05:00
c25e3fd666 make sure UserActions are not serialized 2018-10-05 12:47:18 -05:00
47790c1de1 Add PuzzlesPassed and PuzzlesFailed to settings. 2018-10-05 12:43:57 -05:00
3865794d81 Only allow regression testing if we are not a student. 2018-10-05 11:04:19 -05:00
4c25bf4721 Turning off debugging 2018-10-05 10:52:30 -05:00
0cdb4855ad Update the actiondebug. 2018-10-05 10:51:22 -05:00
b4e828162a refresh the form instead of doing full do-events. Much, much quicker that way. 2018-10-05 10:45:30 -05:00
fbfc1e148b Skip visual ticks when in the middle of invisible network testing. 2018-10-05 10:24:10 -05:00
c4c58b59bd Mark the puzzle as being complete. If we need to track it, we want to do that as well. This had been a bit of a bug; it only marked it as done if it had never been done previously. So, if you were trying to replay something, it would only be completed if you had never done it. Lots of puzzles were failing their replay. 2018-10-05 10:07:23 -05:00
87e483c43e Initial debugging of test completion process 2018-10-05 08:48:46 -05:00
a81392ca75 initial debugging of action code 2018-10-05 08:43:07 -05:00
9c9826ef85 the old replay for Frozen! was wrong. Replaced it. 2018-10-03 16:45:17 -05:00