summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks')
-rw-r--r--kpov_judge/tasks/openvpn_simple_smb/task.py12
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()