strongSwan UML - InstallationContents
1. Making the host system UML-capableUML instances can be run on both Linux 2.4 and Linux 2.6 kernels. If you are using a vanilla kernel from kernel.org then you must first apply the host SKAS patch available fromand recompile and reboot your host kernel. Many Linux distributions as e.g. SuSE already include the SKAS patch in their kernels. You will also need the UML utilities (uml_mconsole and uml_switch) available from Many Linux distributions offer these UML utilities as a package. 2. Installing the required filesFirst create a directory where you want the strongSwan UML testing environment to be located.The default directory is If you choose a different location, please adapt the UMLTESTDIR variable in testing.conf accordingly. Now copy the testing subdirectory coming with the strongSwan distribution to the UML testing environment: Next you need to copy several files into the ~/strongswan-testing directory that are required for the strongSwan testing environment:
3. Creating the environmentNow change into the testing subdirectoryand make the UML testing environment: The "make-testing" script calls a series of subscripts which can be enabled or disabled individually by setting the corresponding flags in testing.conf builds an UML kernel out of the vanilla Linux kernel and the corresponding UML kernel patch. generates the default configurations for the UML hosts by replacing the wildcards PH_IP_ALICE, etc. by the actual IP addresses defined in testing.conf. takes the gentoo-based UML file system and compiles the latest strongSwan distribution into it. adds the RSA public key of the UML instances to your ~/.ssh/known_hosts directory so that you can log onto the UML instances using ssh without typing in a password. The scripts/build-sshkeys script should only be run once. creates the customized UML file systems for the instances given as command line arguments by adding the default host configurations to the UML root file system. If the make-starting scripts is called without any arguments then by default the UML file systems are created for the hosts Each UML root file system has as size defined by the ROOTFSSIZE in testing.conf which by default is 544 MBytes. Thus all 8 UML hosts will require a total of 5 GBytes of disk space. starts the automated testing. More details on the tests you'll find in the README document.
|
|
|
|
|
| 25.07.2008 info@strongswan.org | UML |