[ 
https://issues.apache.org/jira/browse/VCL-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14682210#comment-14682210
 ] 

ASF subversion and git services commented on VCL-893:
-----------------------------------------------------

Commit 1695344 from [~arkurth] in branch 'vcl/trunk'
[ https://svn.apache.org/r1695344 ]

VCL-893
Updated section of cygwin-sshd-config.sh which configures the firewall. It now 
defaults to use the newer netsh command if the Windows version is greater than 
5.x.

> Add support for Windows 10 images
> ---------------------------------
>
>                 Key: VCL-893
>                 URL: https://issues.apache.org/jira/browse/VCL-893
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend)
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>             Fix For: 2.5
>
>
> There are a few tweaks which are necessary for Windows 10 images to work 
> correctly.
> The database schema should be updated.  However, it would be much better if 
> [VCL-566|https://issues.apache.org/jira/browse/VCL-566] were completed before 
> supporting Windows 10.
> The product version number is something like _10.0.10240_.  For Windows 7 and 
> 8.x images, the version number began with _6._.  There are some places in the 
> code which detect if the version is 5.x or 6.x, but nothing else.  These need 
> to be updated.  One example is in {{cygwin-sshd-config.sh}}:
> {noformat}
> if [[ $WINDOWS_VERSION =~ ^6\. ]]; then
>       echo Configuring sshd firewall port 22 exception for Windows 6.x
>       netsh.exe advfirewall firewall delete rule name=all dir=in protocol=TCP 
> localport=22
>       netsh.exe advfirewall firewall add rule name="VCL: allow SSH port 22 
> from any address" description="Allows incoming SSH (TCP port 22) traffic from 
> any address" protocol=TCP localport=22 action=allow enable=yes dir=in 
> localip=any remoteip=any
> else
>  echo Configuring sshd firewall port 22 exception for Windows 5.x
>       netsh.exe firewall set portopening name = "Cygwin SSHD" protocol = TCP 
> port = 22 mode = ENABLE profile = ALL scope = ALL
> fi
> {noformat}
> This section checks if the OS is version 6.x, and defaults to the 5.x 
> firewall commands.  As a result, it attempts to run the 5.x commands on 10.x.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to