diff options
author | mp7462@student.uni-lj.si <mp7462@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2014-12-12 23:16:36 +0000 |
---|---|---|
committer | mp7462@student.uni-lj.si <mp7462@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2014-12-12 23:16:36 +0000 |
commit | d00419f6a244eb0f4ca880fb34296ae979d06e2f (patch) | |
tree | 9008c8b754a15df997a5d95819d6b32aef0eabc2 /kpov_judge/tasks | |
parent | bc1293b70031427ac06c3f70ca35061f1192e3b6 (diff) |
Added some TODOs
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@70 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks')
-rw-r--r-- | kpov_judge/tasks/openvpn_simple_smb/task.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/kpov_judge/tasks/openvpn_simple_smb/task.py b/kpov_judge/tasks/openvpn_simple_smb/task.py index ef7d48a..1d639ff 100644 --- a/kpov_judge/tasks/openvpn_simple_smb/task.py +++ b/kpov_judge/tasks/openvpn_simple_smb/task.py @@ -147,9 +147,17 @@ def task(IP_NM, DNS_NM, IP_static, DNS_static): # Must return a non-empty string results['is_VPN_running'] = sA.run('ls /sys/class/net | grep "tun0"'); + # TODO # Check if both clients are connected - # - # + #sB.run('sudo apt-get install nmap --assume-yes') + #sB.run('sudo nmap -sP 10.8.0.0/24') + + # TODO + # Check if both clients are connected to the correct VPN (check if first 24 bits of IP addr are the same as the server's) + + # TODO + # Ping each of the clients (10.8.0.6 and 10.8.0.10, these are default incrementing addresses handed by OpenVPN) + sA.logout() |