[peqi-hackathon-orga] Technical Instructions Preparation for Connection Tests
Daniel Adam Dobos Daniel.Dobos at cern.ch
Thu Sep 26 14:25:11 CEST 2019
Dear Matt, that is great, here typically outbound only below 1024 might cause trouble, above client applications on higher ports are not an issue as long they are not exposing server processes. Great and looking forward to Tuesday, Daniel > On 26 Sep 2019, at 14:17, Matt Skrzypczyk <M.D.Skrzypczyk at student.tudelft.nl> wrote: > > Hey Daniel, Karolos, Cenk! > > Welcome to the party :). It would be awesome if you would have 8000-8100 open just to be on the safe side. Since the connections to AWS are all initiated from the physical nodes I believe you only need these opened up outbound and that the firewall should understand that incoming data is associated with a session that was initiated within your network, but this is what the test will verify! > > Thanks > -Matt > From: Daniel Adam Dobos <Daniel.Dobos at cern.ch> > Sent: Thursday, September 26, 2019 12:25:46 PM > To: Matt Skrzypczyk > Cc: peqi-hackathon-orga at ripe.net; Karolos Potamianos; Cenk Tuysuz > Subject: Re: [peqi-hackathon-orga] Technical Instructions Preparation for Connection Tests > > Dear Matt, > > thanks for email, Karolos and me will be the technical contacts here in Geneva. Adding also Cenk, but not yet clear if he can be in Geneva for the event yet. > We will perform some first test over the weekend and should be available for Tests on the 1st Oct. > > Looking very quickly at the instructions all should be straight forward (famous last words!) from our side. > The biggest issue we might imagine is that there would be a need for some incoming ports that would need to be open in the firewall? but seeing you using AWS infrastructure I assume the nodes will only need outgoing ports? Anyhow do you have a list of all ports to be used incoming & outgoing so we can check before Tuesday if we expect any issues? > > Looking forward to Tuesday, > > Daniel > for the Geneva team > > >> On 26 Sep 2019, at 09:37, Matt Skrzypczyk <M.D.Skrzypczyk at student.tudelft.nl <mailto:M.D.Skrzypczyk at student.tudelft.nl>> wrote: >> >> Hey all, >> >> In preparation for the connection test on October 1st I'd like to give an overview of what needs to be done beforehand and how the test will be performed. >> >> >> PREPARATION >> To run the tests (and work on the projects during the hackathon), machines at your venue will need to be set up with Simulaqron installed. Currently, Mac OS and Linux are the supported operating systems for use with Simulaqron, and Windows has shown to be more finicky. As such for the tests it is preferable that you do so using a Mac OS or Linux machine. >> >> If you are restricted to Windows, you may set up a virtual machine using Oracle's Virtualbox (https://www.virtualbox.org/ <https://www.virtualbox.org/>) or VMware's Workstation Player (https://www.vmware.com/products/workstation-player.html <https://www.vmware.com/products/workstation-player.html>). A safe choice for the operating system would be Ubuntu 18.04 (http://releases.ubuntu.com/18.04/ <http://releases.ubuntu.com/18.04/>). Please ensure that you have a Mac or Linux environment prepared for the connection test October 1st. >> >> Once a machine with an appropriate operating system has been provisioned, you will next need to setup Simulaqron. Ensure your work environment has Python 3 installed, this can be verified by opening up a terminal and executing the command "python3" or "python" and verifying that the reported version is at least 3. If not, you can set up python3 on a Mac by following this guidehttps://wsvincent.com/install-python3-mac/ <https://wsvincent.com/install-python3-mac/>, and on Linux by simply using your favorite package manager to install python3. At this point you may follow the Simulaqron installation documentation (https://softwarequtech.github.io/SimulaQron/html/GettingStarted.html <https://softwarequtech.github.io/SimulaQron/html/GettingStarted.html>) to set up Simulaqron and verify the installation. On Ubuntu 18.04 you will need to additionally execute the following command in the terminal (and may be worth adding to the ~/.bashrc file): >> export PATH=$PATH:/home/<username>/.local/bin/ >> to make sure that the "simulaqron" command will work in the terminal. If you do not have pip for python3 you can install it using brew (Mac) or our favorite package manager (Linux) by installing the package "python3-pip". >> >> If you are able to verify the installation of simulaqron then you will all ready be a great help to your local participants if they have any trouble getting set up for the hackathon :). >> >> >> OCTOBER 1st CONNECTION TEST >> >> Great, now that Simulaqron is set up your machine will be able to verify your connection to our simulated network setup! Once I have obtained all the port information from the end nodes I will prepare a set of configurations for each of the end nodes along with instructions on where to place the configuration file. I will also provide you a small Python 3 script to be executed as well. The script will verify a few key Simulaqron commands that will be used during the hackathon and ensure that your machine is able to send commands and receive data back from the simulated network in AWS using the specified ports. If errors occur during script execution, information will be printed to the console which can be used for debugging and discovering issues with the specified ports. If any node has such issues you may contact me and we will figure out what needs to be changed at your location or with the future simulated network set up. If changes are to be made, we will reattempt this test October 4th and decide what the next steps are for testing. >> >> The test is a relatively hands-off procedure. The script, configuration, and instructions will be sent to your technical contacts before October 1st. I will set up the AWS infrastructure and have it running all day so that you may execute the tests whenever is most convenient. I will be available for assistance starting from 11:00 in Delft due to classes and I am able to video call/email to help if you have an issues that we can debug together. >> >> >> Questions/Notes >> >> - If your availability is limited October 1st please let me know in advance so that it is kept in mind. >> - Due to the operating system constraints, it may be a good idea to inform the participants ahead of time so that less time is spent setting up their environments and more time can be spent hacking. >> -- >> peqi-hackathon-orga mailing list >> peqi-hackathon-orga at ripe.net <mailto:peqi-hackathon-orga at ripe.net> >> https://lists.ripe.net/mailman/listinfo/peqi-hackathon-orga <https://lists.ripe.net/mailman/listinfo/peqi-hackathon-orga> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.ripe.net/ripe/mail/archives/peqi-hackathon-orga/attachments/20190926/625e1095/attachment-0001.html>