diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-13 03:10:03 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-13 03:17:06 +0200 |
commit | c5a8b2c72841ad0b58fb36870624737634778056 (patch) | |
tree | 01259a4a3338777031ae730366ea0193f86db222 /kpov_judge/tasks/openvpn_multiple_hops | |
parent | 1cbc2f75ac1adf5ee70971052c819cdca1a0948c (diff) |
HTMLize instructions and use jinja2 to render them
Only fixed tasks for the kpov_2018 class for now.
Diffstat (limited to 'kpov_judge/tasks/openvpn_multiple_hops')
-rw-r--r-- | kpov_judge/tasks/openvpn_multiple_hops/task.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kpov_judge/tasks/openvpn_multiple_hops/task.py b/kpov_judge/tasks/openvpn_multiple_hops/task.py index 230393d..44ad8c4 100644 --- a/kpov_judge/tasks/openvpn_multiple_hops/task.py +++ b/kpov_judge/tasks/openvpn_multiple_hops/task.py @@ -2,13 +2,13 @@ instructions = { 'si':""" -Postavi 4 navidezne računalnike - SimpleArbiter z diska simpleArbiterDhcp, A, B ter C. +<pre>Postavi 4 navidezne računalnike - SimpleArbiter z diska simpleArbiterDhcp, A, B ter C. Na računalnikih A, B in C ustvari uporabnika test z geslom test. Poskrbi, da bodo vsi štirje na istem navideznem fizičnem omrežju. Naslov omrežja (NET_PHYS) ter naslove (IP_A, IP_B, IP_C) preberi na SimpleArbiter. S pomočjo OpenVPN postavi navidezno omrežje med A in B na naslovih NET_VPN1. Nato s pomočjo OpenVPN postavi še navidezno omrežje med B in C na naslovih NET_VPN2. Poskrbi, da bo promet z A prek VPN prišel do C in obratno. Za avtentikacijo uporabi skupne skrivnosti, ki -jih prebereš na SimpleArbiter - med A in B SECRET_AB ter med B in C SECRET_BC. +jih prebereš na SimpleArbiter - med A in B SECRET_AB ter med B in C SECRET_BC.</pre> """ } |