Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

SagerNet

An anti-censorship community
Collective - Host: opensource - https://opencollective.com/sagernet - Website: https://sagernet.org/ - Code: https://github.com/SagerNet

uapi: windows: work out pipe semantics

Pipes can be arranged like this, so that's fine. We also apply a strict
SDDL that can't be inher...

github.com/SagerNet/wireguard-go - 5c7cc256e39a772dcaeb879bb4371ecb68b3e280 authored almost 6 years ago
wintun: Revise interface creation wait

DIF_INSTALLDEVICE returns almost immediately, while the device
installation continues in the bac...

github.com/SagerNet/wireguard-go - 11f57802506045a137d0e2022bfb16da4fc624f1 authored almost 6 years ago
wintun: Refactor network registry key name generation

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 9b22255cadab050a1788d02917907b7a67e4d358 authored almost 6 years ago
wintun: Cleanup

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 368dea72fed3027c96a2e31c4c4af03dc730f8bd authored almost 6 years ago
receive: squelch tear down error

github.com/SagerNet/wireguard-go - 26af6c4651dbba986c1d05162e9ef1906665da92 authored almost 6 years ago
tun: linux: work out netpoll trick

github.com/SagerNet/wireguard-go - 92f72f5aa66d49cd36822fd3b973896e43a68d3e authored almost 6 years ago
wintun: Resolve some of golint warnings

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 1fdf7b19a3b7237ad7e63ae3e08d77686649ec0e authored almost 6 years ago
Elaborate the failing step when forwarding errors on return

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - a1aabb21ae83652e581ccbc0b379c2781c768932 authored almost 6 years ago
tun: import mobile particularities

github.com/SagerNet/wireguard-go - 68f0721c6a1aea6bb97320ec0cf6b8f7f723603d authored almost 6 years ago
Simplify reading NetCfgInstanceId from registry

As querying non-existing registry value and reading non-existing
registry string value both retu...

github.com/SagerNet/wireguard-go - 9041d38e2d99aa02c8c318c10b5e57a005c65a7d authored almost 6 years ago
boundif: introduce API for socket binding

github.com/SagerNet/wireguard-go - b8e85267cf22528a96cefba5f86bac5958ce0c58 authored almost 6 years ago
Unify interface-specific network registry key open

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - cddfd9a0d8d8c2dcdd778aa46ed32228d8f6cb93 authored almost 6 years ago
global: begin modularization

github.com/SagerNet/wireguard-go - 69f0fe67b63d90e523a5a1241fb1b46c2e8dbe03 authored almost 6 years ago
tun: windows: expose GUID

github.com/SagerNet/wireguard-go - d435be35cac49af9367b2005d831d55e570c4b1b authored almost 6 years ago
tun: allow special methods in NativeTun

github.com/SagerNet/wireguard-go - 967d1a0f3d7aae4a0720895a2f6e35156b34214b authored almost 6 years ago
tun: linux: netpoll is broken for tun's epoll

So this mostly reverts the switch to Sysconn for Linux.

Issue: https://github.com/golang/go/iss...

github.com/SagerNet/wireguard-go - 88ff67fb6f55456e46877b71aa5d33060468f95e authored almost 6 years ago
tun: linux: netlink sock needs cleaning up but file will be gc'd

github.com/SagerNet/wireguard-go - 971be13e773f133a0a5ab08957725b43452202e2 authored almost 6 years ago
tun: use netpoll instead of rwcancel

The new sysconn function of Go 1.12 makes this possible:

package main

import "log"
import "os"...

github.com/SagerNet/wireguard-go - 366cbd11a40a6a3fde5d0dc803ca6895859ed188 authored almost 6 years ago
tun: use sysconn instead of .Fd with Go 1.12

github.com/SagerNet/wireguard-go - ab0f442dafba417c3a13d883a447e882d7983690 authored almost 6 years ago
Rearrange imports

github.com/SagerNet/wireguard-go - 66524c1f7e1b94720e4551607eff15189b01c8d3 authored almost 6 years ago
device: send persistent keepalive when bringing up device

Reported-by: Marcelo Bello

github.com/SagerNet/wireguard-go - 6e4460ae6518b2bcdbc3dc5472a407b56772d939 authored almost 6 years ago
wintun: Read/write packet size from/to exchange buffer directly

Driver <-> user-space communication is local and using native endian.

Signed-off-by: Simon Rozm...

github.com/SagerNet/wireguard-go - d002eff15589ffc384c8d7e8da5d7bd7e75720e4 authored almost 6 years ago
wintun: Make two-step slicing a one step

Stop relying to Go compiler optimizations and calculate the end offset
directly.

Signed-off-by:...

github.com/SagerNet/wireguard-go - e06a8f8f9f571598bd3afa84b006e24262dbc420 authored almost 6 years ago
wintun: Write exchange buffer increased back to 1MiB

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - ac4944a70855bdd869eb070bd80700e789024579 authored almost 6 years ago
wintun: Migrate from unsafe buffer handling to encoding/binary

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 2491f9d4540cac7d38805531ab120e9f2d1cdfb3 authored almost 6 years ago
wintun: Adopt new packet data alignment

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 8091c6474a545fec806fd1a3611d7cb50a099746 authored almost 6 years ago
wintun: Cleanup

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 040da43889d0c3a08dc4469cb128b9f8015a78f8 authored almost 6 years ago
wintun: Add TUN device locking

In case reading from TUN device detected TUN device was closed, it
closed the file handle and se...

github.com/SagerNet/wireguard-go - b7025b56274f65080d3c20a34a35ec5a07422792 authored almost 6 years ago
wintun: Move exchange buffer in separate struct on heap

This allows buffer alignment and keeps it together with its meta-data.

Furthermore, the write b...

github.com/SagerNet/wireguard-go - 6581cfb8850ee98dc9ee7aceb76e51b0de904db1 authored almost 6 years ago
wintun: Switch to dynamic packet sizes

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 486308912077a665006afa93c76b9fa377446d12 authored almost 6 years ago
Change package path

github.com/SagerNet/wireguard-go - 42c6d0e2614414590361123344b7918c9bcc6430 authored almost 6 years ago
Bump dependencies for ARM ChaCha20

github.com/SagerNet/wireguard-go - f7170e5de2065f37bac647484b34711db4797394 authored almost 6 years ago
wintun: Auto-calculate TUN exchange buffer size

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - b719a09a26041c696e213213cebdc8ecd30ad4f3 authored almost 6 years ago
wintun: Simplify Read method()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - f05f52637f32319564a1be9c0564b4fab3e9093b authored almost 6 years ago
wintun: Make constants private and adopt Go recommended case

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 713477cfb174332f767db78143c2cf1eeb87bfb7 authored almost 6 years ago
wintun: Check for user close in read loop regardless the load

Do the WaitForSingleObject() always to provide high-load responsiveness.

Reorder events so TUN_...

github.com/SagerNet/wireguard-go - 5981d5cacff73b3ba9fc9619ea60f8fc3ad65295 authored almost 6 years ago
wintun: Adjust tunRWQueue.left member to match Wintun driver

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - b13739ada2cfa1c66672e7a4edfe339e394b1a4f authored almost 6 years ago
setupapi: Merge SP_DRVINFO_DATA and DrvInfoData

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - b662896cf42acaf09bdee948de3bd6b9abea257c authored almost 6 years ago
setupapi: Merge _SP_DRVINFO_DETAIL_DATA and DrvInfoDetailData

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - c4988999ac073db9e08a4efdb2f82a3d4f32f25d authored almost 6 years ago
setupapi: Rename SP_CLASSINSTALL_HEADER to ClassInstallHeader

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 9d830826c53d9b8cd14cf0fcd43fdf4183de4c47 authored almost 6 years ago
setupapi: Rename SP_REMOVEDEVICE_PARAMS to RemoveDeviceParams

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 0525f6b112b21250f028c1373bbd4ecf3df1702b authored almost 6 years ago
setupapi: Merge _SP_DEVINSTALL_PARAMS and DevInstallParams

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - bd963497da908d3910668dab9dab4ac7654a638a authored almost 6 years ago
setupapi: Merge _SP_DEVINFO_LIST_DETAIL_DATA and DevInfoListDetailData

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 05d25fd1b71aaad8f542999851d472d63b724ae2 authored almost 6 years ago
setupapi: Rename SP_DEVINFO_DATA to DevInfoData

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 6d2729dcccc7d02a2578ee28580b351769868b03 authored almost 6 years ago
wintun: Detect if a foreign interface with the same name exists

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - d87cbeeb2fb152b5f377758c68c655e09fe177f3 authored almost 6 years ago
wintun: Clean excessive setupapi.DevInfo.GetDeviceInfoListDetail() call

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 043b7e8013674d58757fe3d3f4e4cacf89c46112 authored almost 6 years ago
wintun: Explain rationale behind case-insensitive interface names

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - ef48d4fa957f0ae7db3e9ad51c0d443ccc410588 authored almost 6 years ago
wintun: Implement TODO in TestSetupDiGetDeviceRegistryProperty()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - f7276ed522dd31ef427ec939ed2dc3af32071974 authored almost 6 years ago
wintun: add FlushInterface stub

github.com/SagerNet/wireguard-go - c4b43e35a772305858e610d879c2b9d47f4d9866 authored almost 6 years ago
main_windows: Get iface name from argument

github.com/SagerNet/wireguard-go - 2efafecab5ee755a2b73e02ad340ab7f701e4f84 authored almost 6 years ago
wintun: Compare values of GUID, not pointers, when removing

github.com/SagerNet/wireguard-go - fac1fbcd7254d8fd2bf28ed12eeb3ce88b35a1af authored almost 6 years ago
main_windows: Catch more exit events

github.com/SagerNet/wireguard-go - 52aa00f3ba08371e3a683fa995f66ccf1c0024cd authored almost 6 years ago
wintun: Introduce new package for obscuring Windows bits

github.com/SagerNet/wireguard-go - ea59177f1c6ab9031d5d30771410c9514fa551d9 authored almost 6 years ago
tun_windows: Style

github.com/SagerNet/wireguard-go - 306d08e692bc9b2249078c0b4ab7eb3e42078230 authored almost 6 years ago
setupapi: Lower case params

github.com/SagerNet/wireguard-go - 3b7a4fa3ef9540aced469f1d7bd8726a28351a76 authored almost 6 years ago
setupapi: Do not export the toGo/toWindows functions

github.com/SagerNet/wireguard-go - 223685875faa568d97ff1d5324fe994d24f618e7 authored almost 6 years ago
setupapi: Pass pointers instead of values

github.com/SagerNet/wireguard-go - 652158ec3ce59aa45c610b6db2fa32ce92ab8cce authored almost 6 years ago
tun_windows: Introduce preliminary TUN interface creation

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - cb2bc4b34c281cf6ba61fc9723244e591854cd8f authored almost 6 years ago
tun_windows: Stop checking minimum size of received TUN packets

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 46279ad0f9561fb98c562c2c9dcc3f431357b26b authored almost 6 years ago
setupapi: Add DrvInfoDetailData.IsCompatible() to simplify HID detection

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 73df1c08719960c7002e521ce7466d1cc9e93ca6 authored almost 6 years ago
setupapi: Add SP_DRVINFO_DATA.IsNewer() method to simplify comparison

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 069016bbc4fac01260f2addd70b67bce5ebeac70 authored almost 6 years ago
setupapi: Make toUTF16() public and add UTF16ToBuf() counterpart

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 3c29434a79f5af9ce668f699105778f36417a5d6 authored almost 6 years ago
setupapi: Add support for driver info lists

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 3e8f2e3fa58b5825cfb3a2dbcf4591a882ecf92b authored almost 6 years ago
Fix up errors and paths

github.com/SagerNet/wireguard-go - c599bf9497e4180231fc7846193d26f3ed9de349 authored almost 6 years ago
setupapi: Move Go<>Windows struct marshaling to types_windows.go

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 7b636380e50f257e7f1b98b6b5829a24166e2000 authored almost 6 years ago
conn: close ipv4 socket when ipv6 socket fails

github.com/SagerNet/wireguard-go - f7f63765d1ea5e5ce6bc6757d5ad335dcdb4f2a1 authored almost 6 years ago
Extend structs rather than embed, when possible

github.com/SagerNet/wireguard-go - 89d2c5ed7a054bc05a21209d5a9c79ad7151f8f7 authored almost 6 years ago
Finish support for setupapi.SetupDiGetClassDevsEx()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - d41bc015ccc06feedd21c0a87b0a44a02b74d530 authored almost 6 years ago
Update exported types and functions annotations

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 25e18d01e66f4949ee64651177b2ade7199893c1 authored almost 6 years ago
Add support for setupapi.SetupDiCallClassInstaller()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 269944002fcd2f48cda25d564068a14159d179e2 authored almost 6 years ago
setupapi: Add support for SetupDi(Get|Set)DeviceRegistryProperty()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 99a3b628e9f2405a4acaa84c7a8fb74cfa6bbe6e authored almost 6 years ago
Change generic local variable names with meaningful replacements

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 20f1512b7c5bdc0fc0b7aaf53fa9d6eba8f7d0a6 authored almost 6 years ago
Stop accessing SetupDiGetDeviceInfoListDetail() output on error

The data returned by SetupDiGetDeviceInfoListDetail() is nil on error
which will cause the test ...

github.com/SagerNet/wireguard-go - 963be8e993ae5688f3b0c490813a95391ec98c53 authored almost 6 years ago
Add support for setupapi.SetupDiClassNameFromGuid()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 9635a0b3a69272aac998fad700344fac392d2adf authored almost 6 years ago
Add support for setupapi.SetupDiEnumDeviceInfo()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 955d8dfe04fa87d265bb1ccb671db05a323eb86f authored almost 6 years ago
uapi: Simpler function signature

github.com/SagerNet/wireguard-go - 2b7562abbb9aad20214387492b8f4f2d089c6738 authored almost 6 years ago
Add support for setupapi.SetupDi(Get|Set)ClassInstallParams()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - a5a1ece32f96416bba9515d22555c6df86a379bb authored almost 6 years ago
tai64n: whiten nano seconds

Avoid being too precise of a time oracle.

github.com/SagerNet/wireguard-go - a5ca02d79a953c883694061bba5c683b220fbfe4 authored almost 6 years ago
Stop checking for valid handle in DevInfo.Close()

User should not have called or deferred the Close() method should
SetupDiGetClassDevsEx() return...

github.com/SagerNet/wireguard-go - 90b6938ca04d49240ddcd1a50650489f3fe3f26b authored almost 6 years ago
Add support for setupapi.SetupDiOpenDevRegKey()

Furthermore setupapi.DevInfoData has been obsoleted.
SetupDiEnumDeviceInfo() fills existing SP_D...

github.com/SagerNet/wireguard-go - dce5192d860888e6af3e7fa8a7e4b2c776274e69 authored almost 6 years ago
Add support for setupapi.SetupDiGetDeviceInfoListDetail()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 45959c116aae4c81e0be7bec8ab21d2f715caddf authored almost 6 years ago
Add support for setupapi.SetupDiCreateDeviceInfo()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - dd998ca86ac47869e2ff577b63b961e470a88c9b authored almost 6 years ago
Update copyright

github.com/SagerNet/wireguard-go - dff424baf8acc4d2a5858d3947761c5090d8e640 authored almost 6 years ago
Clean an unused constant

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - f81882ee8b8a0613fb52670a2a48e92d5a2fa987 authored almost 6 years ago
Replace SetupDiClassNameFromGuid() with SetupDiClassNameFromGuidEx()

The former is only a subset of the later. To minimize future
maintenance, we'll provide support ...

github.com/SagerNet/wireguard-go - 3e0e61dd26d900eb6eaf826200241cbf84cd068d authored almost 6 years ago
setupapi: Introduce DevInfo methods for cleaner code

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - e7ffce0d21ee87f36a86d854fed5a6d18d9fa4bf authored almost 6 years ago
noise: store clamped key instead of raw key

github.com/SagerNet/wireguard-go - 3af9aa88a310f7c2b86bae1ebb3ed3843424ce9e authored almost 6 years ago
Unify certain variable names

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - e821cdabd2930d301d3a12a5d4d1fe8904cd1c14 authored almost 6 years ago
Reorder data-types and functions to match SetupAPI.h

Adding functions with non-consistent order made setupapi package a mess.
While we could reorder ...

github.com/SagerNet/wireguard-go - c15cbefc1283ce630d35573856fed2bf71eb0292 authored almost 6 years ago
Simplify SetupDiEnumDeviceInfo() synopsis

The SetupDiEnumDeviceInfo() now returns a SP_DEVINFO_DATA rather than
taking it on input to fill...

github.com/SagerNet/wireguard-go - 38c7acd70f408e63a70ff45f01d0a22f2c4ac2c7 authored almost 6 years ago
Introduce SetupAPI - Windows device and driver management API

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 31949136df477c5699d7476e909d9bf30a0904cc authored almost 6 years ago
Add support for setupapi.setupDiCreateDeviceInfoListEx()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 024a4916c245ca6b15b65995fae2002f50b11186 authored almost 6 years ago
Import windows scafolding

github.com/SagerNet/wireguard-go - 6f76edd045e20435689d9e1a3dd221b40b49adc6 authored almost 6 years ago
Add support for setupapi.SetupDi(Get|Set)DeviceInstallParams()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - f1d5db6547738a24b660d766d0690bb9642cc1bb authored almost 6 years ago
Add support for setupapi.SetupDi(Get|Set)SelectedDevice()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 35f72239ac428c41e9e3bba9f06c67d0eff3de8a authored almost 6 years ago
Add support for setupapi.SetupDiClassGuidsFromNameEx()

Signed-off-by: Simon Rozman <[email protected]>

github.com/SagerNet/wireguard-go - 348b4e9f7cd22f1f789677670351a3810b69cb7b authored almost 6 years ago
Properly bubble up setsockopt error from closure

github.com/SagerNet/wireguard-go - 6e61c369e8bf934688aeadae86f04fe25566320a authored about 6 years ago
version: bump snapshot

github.com/SagerNet/wireguard-go - 8fde8334dcf3a7f3934159f45b6fc1d5f4be8a90 authored about 6 years ago
Make error messages consistent

github.com/SagerNet/wireguard-go - a8326ae753975e73602958c1d7bbfe1174912ff9 authored about 6 years ago
Freebsd is finally normal in sys/unix

github.com/SagerNet/wireguard-go - 05cc0c829821d43cb45dc777e8dbde296304cbeb authored about 6 years ago