[OCCP] Topic #10 - Cannot setup network for netdef.xml https://opencyberchallenge.net/discussion/topic/10 <p> Cannot setup network for netdef.xml </p> en-us OCCP https://opencyberchallenge.net/chrome/site/logo.png https://opencyberchallenge.net/discussion/topic/10 Trac 1.0.13 - DiscussionPlugin chanel.d.bernal Tue, 03 Apr 2018 01:12:48 GMT Topic #10 - Cannot setup network for netdef.xml https://opencyberchallenge.net/discussion/topic/10#topic https://opencyberchallenge.net/discussion/topic/10#topic <p> After running the --mode launch --config netdef.xml I get error: /etc/openvpn/up.sh can not be found </p> <p> I see connections to my virtwebsrv but it errors out when searching or using up.sh file. </p> Topic jafonseca Mon, 09 Apr 2018 13:44:28 GMT Reply #53 to topic #10 - Cannot setup network for netdef.xml https://opencyberchallenge.net/discussion/message/53#message53 https://opencyberchallenge.net/discussion/message/53#message53 <p> I'm sorry you had so much difficulty getting everything setup. </p> Message chanel.d.bernal Sat, 07 Apr 2018 17:44:36 GMT Reply #52 to topic #10 - Cannot setup network for netdef.xml https://opencyberchallenge.net/discussion/message/52#message52 https://opencyberchallenge.net/discussion/message/52#message52 <p> so the bridge network must be assigned to eth0 which may not show on Virtual Box settings so it required me to have to switch them. Once I did that, all VMs loaded and configured. I went to log into Gamerserver with default account root/0ccpadmin and when I hit the up arrow for "sudo occpgs -f instance.xml" it doesn't appear so we typed it manually and error out withy "file doesn't exist". </p> <p> Had to type "sudo occpgs -f /usr/local/gameserver/instance_file.xml which loaded list of options: </p> <ol><li>Start </li><li>Pause </li><li>Status </li><li>Clear Screen </li><li>Quit </li></ol><p> We selected 1. Start and errored out with unable to start network namespace for event failed to set link eth1 to promisc mode </p> <p> We had to go manually apply eth1 and was able to start the Gameserver to get another error of Gametime : Expired which was 15secs and Red Team won in 15secs. </p> <p> <strong></strong>I think I give up Folks**<strong> Too many errors and too much troubleshooting which defeats learning experience with scenarios. </strong><strong>I Tried</strong>* </p> Message chanel.d.bernal Tue, 03 Apr 2018 22:37:49 GMT Reply #51 to topic #10 - Cannot setup network for netdef.xml https://opencyberchallenge.net/discussion/message/51#message51 https://opencyberchallenge.net/discussion/message/51#message51 <p> Downloaded the v1.0 and went thru same steps. Still running into up.sh error. </p> <p> occpadmin@adminvm:/media/sf_OccpShared$ occpadmin --mode addhv --hvname myOCCPHV --hvtype vbox --url <a class="ext-link" href="http://172.34.39.71:18083"><span class="icon">‚Äč</span>http://172.34.39.71:18083</a> --username <em> --password </em> --importdir /media/sf_OccpShared/rhinoribbons INFO edu.uri.dfcsc.occp.<a class="wiki" href="/wiki/OccpAdmin">OccpAdmin</a> main: Added hypervisor: myOCCPHV occpadmin@adminvm:/media/sf_OccpShared$ occpadmin --mode deploy --hvname myOCCPHV --config /media/sf_OccpShared/rhinoribbons/netdef.xml INFO edu.uri.dfcsc.occp.<a class="missing wiki">OccpParser?</a> parseConfig: Reading the scenario configuration file INFO edu.uri.dfcsc.occp.<a class="missing wiki">OccpParser?</a> parseConfig: Finished reading the scenario configuration file INFO edu.uri.dfcsc.occp.<a class="wiki" href="/wiki/OccpAdmin">OccpAdmin</a> writeReports: Report directory: /media/sf_OccpShared/rhinoribbons/Reports INFO edu.uri.dfcsc.occp.<a class="wiki" href="/wiki/OccpAdmin">OccpAdmin</a> writeReports: Writing report: Moderator.txt INFO edu.uri.dfcsc.occp.<a class="wiki" href="/wiki/OccpAdmin">OccpAdmin</a> writeReports: Writing report: Instructions.txt INFO edu.uri.dfcsc.occp.<a class="wiki" href="/wiki/OccpAdmin">OccpAdmin</a> main: Connected to myOCCPHV INFO edu.uri.dfcsc.occp.<a class="wiki" href="/wiki/OccpAdmin">OccpAdmin</a> main: Checking appropriate networks exist on hypervisors WARNING edu.uri.dfcsc.occp.<a class="missing wiki">SetupNetwork?</a> setup: Failure starting openvpn:Options error: --up script fails with '/etc/openvpn/up.sh': No such file or directory Options error: Please correct this error. Use --help for more information. </p> <p> SEVERE edu.uri.dfcsc.occp.<a class="wiki" href="/wiki/OccpAdmin">OccpAdmin</a> main: Failed to setup setup network </p> Message jafonseca Tue, 03 Apr 2018 15:09:19 GMT Reply #50 to topic #10 - Cannot setup network for netdef.xml https://opencyberchallenge.net/discussion/message/50#message50 https://opencyberchallenge.net/discussion/message/50#message50 <p> Hello, </p> <p> Have you just installed the OCCP recently? Please be aware that we are in the process of publishing the latest 1.2 version. The Network Defense scenario has not been recompiled for the 1.2 version and will require the version 1.0 VMs. </p> Message