Skip to content

Getting Started

Christian Armbrust edited this page Aug 11, 2014 · 19 revisions

1)

Pull the code: git clone https://github.com/RELOAD-NET/RELOAD.NET

Open the Visual Studio solution file RELOAD.NET\RELOAD.NET.sln

2)

Overview:

The ReloadClass project is the reload stack.

The ReloadGUI project is a test GUI running the reload stack, you can use it for a quick start.

The other projects in the solution are used by the ReloadClass project. (CertificatesToDBandBack, Client, Core, DnDns, ManagedOpenSsl-2010, UPnP)

After clone the respective dll’s from the RELOAD.NET\Extern\ folder are used.

For debugging you can replace them by adding the Assembly from solution (ReloadClass -> References -> Add Reference -> Solution)

If you need a STUN server, there is one more project in the RELOAD.NET\STUN\ folder not included in the solution, the Server project. Use the command line arguments to provide a port number.

The Microsoft.Ccr.Core.dll in the RELOAD.NET\Extern folder is from the Microsoft CCR. The Microsoft CCR is made available as part of the Microsoft Robotics Developer Studio.

3)

Configure the ReloadGUI project:

  • In Properties -> Settings.settings file provide values for StunIP1, StunPort1, StunIP2, StunPort2 (IPs and ports of two STUN servers).
  • In Properties -> Settings.settings set ForceLocalConfig to True to use a local config document (ReloadGUI\config\config-reload-selfsigned.xml) and self signed certificates. Point 4) describes how to configure the config-reload-selfsigned.xml
  • The Overlay1Name setting is the name of the overlay and determines also the configuration server url. If you don't use the local config, the config document is received from this configuration server.
  • Take a look at the Open Topics wiki under "Test ICE" for an overview of ICE related settings (UseNoIce, UseUPnP, UseSR, UseSO)

4)

Configure the local config file

If you use the local config file (ForceLocalConfig = True you have to provide the following values in ReloadGUI\config\config-reload-selfsigned.xml

  • self-signed-permitted is set to True in this local config, that's why self signed certificates are used with this config
  • provide the instance-name: The overlay name
  • provide the bootstrap-node adress: IP-Adress of the bootstrap peer
  • provide the bootstrap-node port: Port of the bootstrap peer

5)

Configure the ReloadClass project:

  • In RELOAD\Enroll\EnrollmentSettings.settings provide values needed for the certificate signing request (CN, Country, Locality, State, Organization, Unit).
  • Provide values for the enrollment server (Username, Password).

6)

Compile the solution and start the ReloadGUI project.

Clone this wiki locally