Downloads:

2,773

Downloads of v 4.37.3:

316

Last Update:

16 Apr 2021

Package Maintainer(s):

Software Author(s):

  • Project V Developers

Tags:

v2ray shadowsocks trojan

V2Ray Core

  • 1
  • 2
  • 3

4.37.3 | Updated: 16 Apr 2021

Downloads:

2,773

Downloads of v 4.37.3:

316

Maintainer(s):

Software Author(s):

  • Project V Developers

  • 1
  • 2
  • 3
V2Ray Core 4.37.3

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details

To install V2Ray Core, run the following command from the command line or from PowerShell:

>

To upgrade V2Ray Core, run the following command from the command line or from PowerShell:

>

To uninstall V2Ray Core, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://community.chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade v2ray -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade v2ray -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure v2ray installed
  win_chocolatey:
    name: v2ray
    state: present
    version: 4.37.3
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'v2ray' do
  action    :install
  version  '4.37.3'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: v2ray,
    Version: 4.37.3,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller v2ray
{
   Name     = 'v2ray'
   Ensure   = 'Present'
   Version  = '4.37.3'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'v2ray':
  provider => 'chocolatey',
  ensure   => '4.37.3',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install v2ray version="4.37.3" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

There are versions of this package awaiting moderation . See the Version History section below.

This package was approved as a trusted package on 16 Apr 2021.

Description

V2Ray, a platform for building proxies to bypass network restrictions.


tools\chocolateyinstall.ps1
$v2rayPID = Get-Process -name v2ray -ErrorAction Ignore | Select-Object id | ForEach-Object -Process { $_.id }
$wv2rayPID = Get-Process -name wv2ray -ErrorAction Ignore | Select-Object id | ForEach-Object -Process { $_.id }
$v2rayInstallPath = "$env:SystemDrive" + "\tools" + "\v2ray"
$temp = "$env:TEMP"
$urlia32 = "https://github.com/v2fly/v2ray-core/releases/download/v4.37.3/v2ray-windows-32.zip"
$urlarm32 = "https://github.com/v2fly/v2ray-core/releases/download/v4.37.3/v2ray-windows-arm32-v7a.zip"
$url64 = "https://github.com/v2fly/v2ray-core/releases/download/v4.37.3/v2ray-windows-64.zip"
$SHA256_ia32 = "d4f20c584efda7783b7009b69eaccdd279e89bff1c05e4b5552eb59efcf3a81b"
$SHA256_arm32 = "6681b73f7da3bb8b2e310c5897f7506dad58d0c1b5792c22804e47a11275839f"
$SHA256_64 = "a2cfe9229af74903752f5e34ca76f6368cf2c329ed2dea8d88d4bfce152d55f6"

# Check the device, is it an ARM-based one?
$CheckARM = Get-WmiObject win32_processor | Select-Object Caption | Select-String ARM

if ([String]::IsNullOrEmpty($CheckARM)) {
    $url = $urlia32; $SHA256_32 = $SHA256_ia32
}
else {
    Write-Output "You have an ARM-based Windows device, it is going to install armv7(AArch32) version for you.";
    $url = $urlarm32; $SHA256_32 = $SHA256_arm32
}

# Download and installation
Get-ChocolateyWebFile -PackageName "v2ray.zip" -FileFullPath "$temp\v2ray.zip"  -Url $url  -Checksum $SHA256_32 -ChecksumType 'sha256' -Url64 $url64  -Checksum64 $SHA256_64  -ChecksumType64 'sha256'
if ([String]::IsNullOrEmpty($v2rayPID)) {
    Write-Output "Process v2ray.exe is not running."
} 
else {
    Write-Output "Process v2ray.exe is running, stop it and install a new version."; Stop-Process $v2rayPID
}
if ([String]::IsNullOrEmpty($wv2rayPID)) {
    Write-Output "Process wv2ray.exe is not running."
} 
else {
    Write-Output "Process wv2ray.exe is running, stop it and install a new version."; Stop-Process $wv2rayPID
}
Install-ChocolateyZipPackage -PackageName 'v2ray'  -UnzipLocation $v2rayInstallPath -File $temp\v2ray.zip  -File64 $temp\v2ray.zip 
Install-ChocolateyPath -PathToInstall $v2rayInstallPath -PathType 'Machine'
Write-Output "V2Ray Core has been installed / updated, you can use it now."
tools\chocolateyuninstall.ps1
$v2rayPID = Get-Process -name v2ray -ErrorAction Ignore | Select-Object id | ForEach-Object -Process { $_.id }
$wv2rayPID = Get-Process -name wv2ray -ErrorAction Ignore | Select-Object id | ForEach-Object -Process { $_.id }
$v2rayInstallPath = $env:SystemDrive + "\tools" + "\v2ray"

if ([String]::IsNullOrEmpty($v2rayPID)) {
  Write-Host "Process v2ray.exe is not running."
} 
else {
  Write-Host "Process v2ray.exe is running, it will be stopped and removed."; Stop-Process $v2rayPID
}
if ([String]::IsNullOrEmpty($wv2rayPID)) {
  Write-Host "Process wv2ray.exe is not running."
} 
else {
  Write-Host "Process wv2ray.exe is running, it will be stopped and removed."; Stop-Process $wv2rayPID
}
Uninstall-ChocolateyZipPackage `
  -PackageName 'v2ray' `
  -ZipFileName 'v2ray-windows*'
Remove-Item $v2rayInstallPath -Force -recurse


tools\LICENSE.txt
From: https://raw.githubusercontent.com/v2ray/v2ray-core/master/LICENSE

LICENSE

The MIT License (MIT)

Copyright (c) 2015-2019 V2Ray

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
V2Ray Core 4.39.2 4 Tuesday, June 22, 2021
Responded
V2Ray Core 4.36.2 213 Thursday, March 18, 2021 Approved
V2Ray Core 4.35.1 150 Monday, March 8, 2021 Approved
V2Ray Core 4.35.0 69 Sunday, March 7, 2021 Approved
V2Ray Core 4.34.0.0 400 Wednesday, January 6, 2021 Approved
V2Ray Core 4.33.0.0 259 Tuesday, November 24, 2020 Approved
V2Ray Core 4.32.1.0 91 Saturday, November 7, 2020 Approved
V2Ray Core 4.32.0.0 74 Monday, November 2, 2020 Approved
V2Ray Core 4.31.3.0 67 Sunday, October 25, 2020 Approved

This package has no dependencies.

Discussion for the V2Ray Core Package

Ground Rules:

  • This discussion is only about V2Ray Core and the V2Ray Core package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or V2Ray Core, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus