1.1 --- a/OpenSecurity/bin/firewall-install.bat Wed Oct 29 18:22:39 2014 +0100
1.2 +++ b/OpenSecurity/bin/firewall-install.bat Thu Oct 30 12:58:37 2014 +0100
1.3 @@ -1,4 +1,16 @@
1.4 @echo off
1.5 echo 'adding firewall rules for OpenSecurity...'
1.6 netsh advfirewall firewall add rule name="Osec Communication Rule" dir=in action=allow profile=any localip=192.168.56.1 remoteip=192.168.56.0/24 localport=8090 remoteport=any protocol=tcp
1.7 +netsh advfirewall firewall add rule name="Osec python" program="%CD%\python27\python.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp
1.8 +netsh advfirewall firewall add rule name="Osec python" program="%CD%\python27\python.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp
1.9 +netsh advfirewall firewall add rule name="Osec python" program="%CD%\python27\python.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp
1.10 +netsh advfirewall firewall add rule name="Osec python" program="%CD%\python27\python.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp
1.11 +netsh advfirewall firewall add rule name="Osec pythonw" program="%CD%\python27\pythonw.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp
1.12 +netsh advfirewall firewall add rule name="Osec pythonw" program="%CD%\python27\pythonw.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp
1.13 +netsh advfirewall firewall add rule name="Osec pythonw" program="%CD%\python27\pythonw.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp
1.14 +netsh advfirewall firewall add rule name="Osec pythonw" program="%CD%\python27\pythonw.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp
1.15 +netsh advfirewall firewall add rule name="Osec xwin" program="%CD%\cygwin64\bin\XWin.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp
1.16 +netsh advfirewall firewall add rule name="Osec xwin" program="%CD%\cygwin64\bin\XWin.exe" dir=in action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp
1.17 +netsh advfirewall firewall add rule name="Osec xwin" program="%CD%\cygwin64\bin\XWin.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=tcp
1.18 +netsh advfirewall firewall add rule name="Osec xwin" program="%CD%\cygwin64\bin\XWin.exe" dir=out action=allow profile=private localip=any remoteip=any localport=any remoteport=any protocol=udp
1.19
2.1 --- a/OpenSecurity/bin/firewall-uninstall.bat Wed Oct 29 18:22:39 2014 +0100
2.2 +++ b/OpenSecurity/bin/firewall-uninstall.bat Thu Oct 30 12:58:37 2014 +0100
2.3 @@ -1,4 +1,7 @@
2.4 @echo off
2.5 echo 'removing firewall rules for OpenSecurity...'
2.6 netsh advfirewall firewall delete rule name="Osec Communication Rule"
2.7 +netsh advfirewall firewall delete rule name="Osec python"
2.8 +netsh advfirewall firewall delete rule name="Osec pythonw"
2.9 +netsh advfirewall firewall delete rule name="Osec xwin"
2.10