wireguard

 火... [复制链接]  3541查看
 楼主| 易西 发表于 2024-3-27 13:31:09 | 显示全部楼层
 楼主| 易西 发表于 2024-3-29 20:14:45 | 显示全部楼层
 楼主| 易西 发表于 2024-3-29 20:19:51 | 显示全部楼层
https://git.zx2c4.com/wireguard-windows/about/#download-install
Download & Install
If you've come here looking to simply run WireGuard for Windows, the main download page has links. There you will find two things:
  • The WireGuard Installer – This selects the most recent version for your architecture, downloads it, checks signatures and hashes, and installs it.
  • Standalone MSIs – These are for system admins who wish to deploy the MSIs directly. For most end users, the ordinary installer takes care of downloading these automatically.
Documentation
In addition to this README.md, the following documents are also available:
  • adminregistry.md – A list of registry keys settable by the system administrator for changing the behavior of the application.
  • attacksurface.md – A discussion of the various components from a security perspective, so that future auditors of this code have a head start in assessing its security design.
  • buildrun.md – Instructions on building, localizing, running, and developing for this repository.
  • enterprise.md – A summary of various features and tips for making the application usable in enterprise settings.
  • netquirk.md – A description of various networking quirks and "kill-switch" semantics.
License
This repository is MIT-licensed.
Copyright (C) 2018-2022 WireGuard LLC. All Rights Reserved.Permission is hereby granted, free of charge, to any person obtaining acopy of this software and associated documentation files (the "Software"),to deal in the Software without restriction, including without limitationthe rights to use, copy, modify, merge, publish, distribute, sublicense,and/or sell copies of the Software, and to permit persons to whom theSoftware is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISINGFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHERDEALINGS IN THE SOFTWARE.



C


 楼主| 易西 发表于 2024-3-29 20:21:03 | 显示全部楼层
https://www.wireguard.com/repositories/
下载

Source Code Repositories and Official Projects
WireGuard is divided into several sub-projects and repositories. The following is a list of official and supported WireGuard projects, along with their status and maintainer. Most repositories are hosted on git.zx2c4.com using free software, though some are hosted on GitHub, at the preference of the maintainer.
Repositories have an associated status:
  • Complete: The repo completes its goal mostly and is actively maintained. There is still much todo, of course, and we're always looking for contributors.
  • Complete: Complete, as above. While the current maintenance is healthy and solid, we'd be happy to have somebody new takeover maintenance of it, in which case, please get in touch.
  • Active: Development is very actively underway but the project is not yet complete.
  • Abandoned: The repo does not accomplish its goal entirely and has no active maintainer. If you'd like to pick this up, please get in touch.
The project accepts contributions through a variety of means, depending on the preference of the maintainer:
  • : Send properly formatted patches using to the WireGuard mailing list.git-send-email
  • : Commit directly to prefixed feature branches. Email us to receive push access to all branches that begin with your initials, with discussions about merging on IRC ( on Libera.Chat) or on the mailing list.#wireguard
  • : GitHub pull requests.
Similar to the policies of kernel.org, patches submitted should have a line, which can be automatically added via , and we also generally prefer patches that use your full name.Signed-off-by:git commit -s
Repository
Description
Maintainer
Status
Contrib

wireguard-linuxWireGuard for the Linux kernel. Commits in the branch are staged for the upstream net-next tree, and commits in the branch are staged for the upstream net tree. Commits in the are rebased against Greg KH's stable 5.4.y branch, and provide a backport of WireGuard for that older stable kernel.develstablebackport-5.4.yJason A. DonenfeldComplete,
wireguard-toolsCross-platform userspace tools to configure WireGuard implementations, such as the wg(8) and wg-quick(8) programs, alongside useful other programs in .contrib/Jason A. DonenfeldComplete,
wireguard-linux-compatBackports of the WireGuard kernel module for Linux to 3.10 ≤ kernel ≤ 5.5.y, as an out-of-tree module.Jason A. DonenfeldComplete,
wireguard-rsCross-platform high-performance userspace implementation of WireGuard in Rust.Mathias Hall-AndersenActive,
wireguard-goCross-platform userspace implementation of WireGuard in Go.Jason A. DonenfeldComplete,
wireguard-hsSketches of WireGuard in Haskell.Abandoned
wireguard-openbsdOpenBSD kernel implementation of WireGuard.Matt DunwoodieActive,
wireguard-freebsdFreeBSD kernel implementation of WireGuard.Jason A. DonenfeldActive,
wireguard-androidAndroid client of WireGuard.Jason A. Donenfeld / Harsh ShandilyaComplete,
android_kernel_wireguardTools for integrating WireGuard into Android ROM builds and kernel trees.Jason A. DonenfeldComplete,
android-wireguard-module-builderBuilder for modules for various Android devices.Nathan ChancellorActive
wireguard-applemacOS and iOS client of WireGuard.Jason A. DonenfeldComplete,
wireguard-windowsWindows client of WireGuard.Jason A. Donenfeld / Simon RozmanComplete,
wireguard-ntWireGuard implementation for the Windows NT kernel.Jason A. Donenfeld / Simon RozmanComplete,
wireguard-tamarinTamarin proof of WireGuard.Kevin Milner / Jason A. DonenfeldComplete,
wintunLayer 3 TUN driver for the Windows kernel and NDIS stack.Jason A. Donenfeld / Simon RozmanComplete,
wg-dynamicDynamic configuration daemons to be layered on top of WireGuard.Thomas GschwantnerActive,
wireguard-vyatta-ubntModule, tools, and Vyatta integration for Ubiquiti devices.Pascal VorwerkComplete
wgctrl-goLibrary for programmatic control of WireGuard instances in Go.Matt LayherComplete
zincNext-generation cryptography library for the Linux kernel.Jason A. Donenfeld / Samuel NevesComplete,
kbench9000In-kernel cryptography measurement module.Jason A. DonenfeldActive,

Would you like to add your WireGuard-related project to the list and join our team? Feel free to get in touch.

[发帖际遇]: 一个袋子砸在了 易西 头上,易西 赚了 3 金钱. 幸运榜 / 衰神榜
 楼主| 易西 发表于 2024-3-29 20:23:13 | 显示全部楼层
https://git.zx2c4.com/wireguard-apple/about/
参考
WireGuard for iOS and macOS
This project contains an application for iOS and for macOS, as well as many components shared between the two of them. You may toggle between the two platforms by selecting the target from within Xcode.
Building
  • Clone this repo:
$ git clone https://git.zx2c4.com/wireguard-apple$ cd wireguard-apple
  • Rename and populate developer team ID file:
$ cp Sources/WireGuardApp/Config/Developer.xcconfig.template Sources/WireGuardApp/Config/Developer.xcconfig$ vim Sources/WireGuardApp/Config/Developer.xcconfig
  • Install swiftlint and go 1.19:
$ brew install swiftlint go
  • Open project in Xcode:
$ open WireGuard.xcodeproj
  • Flip switches, press buttons, and make whirling noises until Xcode builds it.
WireGuardKit integration
  • Open your Xcode project and add the Swift package with the following URL:
https://git.zx2c4.com/wireguard-apple
  • WireGuardKit links against wireguard-go-bridge library, but it cannot build it automatically due to Swift package manager limitations. So it needs a little help from a developer. Please follow the instructions below to create a build target(s) for wireguard-go-bridge.
  • In Xcode, click File -> New -> Target. Switch to "Other" tab and choose "External Build System".
  • Type in WireGuardGoBridge<PLATFORM> under the "Product name", replacing the <PLATFORM> placeholder with the name of the platform. For example, when targeting macOS use macOS, or when targeting iOS use iOS. Make sure the build tool is set to: /usr/bin/make (default).
  • In the appeared "Info" tab of a newly created target, type in the "Directory" path under the "External Build Tool Configuration":
    ${BUILD_DIR%Build/*}SourcePackages/checkouts/wireguard-apple/Sources/WireGuardKitGo
  • Switch to "Build Settings" and find SDKROOT. Type in macosx if you target macOS, or type in iphoneos if you target iOS.

  • Go to Xcode project settings and locate your network extension target and switch to "Build Phases" tab.
  • Locate "Dependencies" section and hit "+" to add WireGuardGoBridge<PLATFORM> replacing the <PLATFORM> placeholder with the name of platform matching the network extension deployment target (i.e macOS or iOS).
  • Locate the "Link with binary libraries" section and hit "+" to add WireGuardKit.

  • In Xcode project settings, locate your main bundle app and switch to "Build Phases" tab. Locate the "Link with binary libraries" section and hit "+" to add WireGuardKit.
  • iOS only: Locate Bitcode settings under your application target, Build settings -> Enable Bitcode, change the corresponding value to "No".

Note that if you ship your app for both iOS and macOS, make sure to repeat the steps 2-4 twice, once per platform.
MIT License
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.

[发帖际遇]: 易西 在论坛发帖时没有注意,被小偷偷去了 3 金钱. 幸运榜 / 衰神榜
 楼主| 易西 发表于 2024-3-29 20:24:42 | 显示全部楼层
 楼主| 易西 发表于 2024-3-29 20:32:09 | 显示全部楼层
 楼主| 易西 发表于 2024-3-30 10:04:17 | 显示全部楼层
[发帖际遇]: 易西 在论坛发帖时没有注意,被小偷偷去了 2 金钱. 幸运榜 / 衰神榜
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

邮箱|首页|小黑屋|吾侪 ( 蜀ICP备2020029307号-4 )

GMT+8, 2025-11-5 22:20 , Processed in 0.074209 second(s), 17 queries , APCu On.

Powered by Discuz! X3.5

Copyright © , 吾侪网

快速回复 返回顶部 返回列表