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

Separate out mark setting for Windows

github.com/SagerNet/wireguard-go - c967f15e443a5953429000e50fad2e117992b72d authored about 6 years ago by Jason A. Donenfeld <[email protected]>
Use upstream's xchacha20poly1305

github.com/SagerNet/wireguard-go - 5ace0fdfe237b2062c060fbe30d6fb40965fb1b9 authored about 6 years ago by Jason A. Donenfeld <[email protected]>
Update go x/ libraries

Android 9's Bionic disallows inotify_init with seccomp, so we want the
latest unix change, and w...

github.com/SagerNet/wireguard-go - 849fa400e915ece69c4fbaed0f261b9b4efcb565 authored about 6 years ago by Jason A. Donenfeld <[email protected]>
tun: remove nonblock hack for linux

This is no longer necessary and actually breaks things

Reported-by: Chris Branch <cbranch@cloud...

github.com/SagerNet/wireguard-go - 651744561e9e31197d8ebb59f97ab3dae3c39687 authored about 6 years ago by Jason A. Donenfeld <[email protected]>
tai64n: use proper nanoseconds offset

The code before was obviously wrong.

Reported-by: Vlad Krasnov <[email protected]>

github.com/SagerNet/wireguard-go - 4fd55daafe64f6101dde5c0a8a6887fef0ff0545 authored about 6 years ago by Jason A. Donenfeld <[email protected]>
Use darwin tun on ios

github.com/SagerNet/wireguard-go - 276bf973e8a086da7767dc25ebe116926c0b59db authored about 6 years ago by Jason A. Donenfeld <[email protected]>
uapi: typo

github.com/SagerNet/wireguard-go - c37c4ece9efd1b7afc952905ad44a10e4c5d45d7 authored about 6 years ago by Jason A. Donenfeld <[email protected]>
receive: make started status uniform

github.com/SagerNet/wireguard-go - b803276061b23076aa9dad8a5683973c0a51ac50 authored about 6 years ago by Jason A. Donenfeld <[email protected]>
send: do not unlock already freed object

github.com/SagerNet/wireguard-go - 8be1fc9c00407b85073ed66d95f12202df674ccb authored about 6 years ago by Jason A. Donenfeld <[email protected]>
version: bump snapshot

github.com/SagerNet/wireguard-go - 738d027f0bfc59e14384e36c44753d7b61fb1c43 authored about 6 years ago by Jason A. Donenfeld <[email protected]>
Makefile: rename default to all

github.com/SagerNet/wireguard-go - 60848b9c7227363d311948456198e129a37f80e0 authored about 6 years ago by Jason A. Donenfeld <[email protected]>
tun: only call .Fd() once

Doing so tends to make the tunnel blocking, so we only retrieve it once
before we call SetNonblo...

github.com/SagerNet/wireguard-go - 2e772194cf7cd7c37d24364a9f9d407dc96a25e8 authored about 6 years ago by Jason A. Donenfeld <[email protected]>
Use go modules always

github.com/SagerNet/wireguard-go - 85b2378a07126fb64460f0a23e7a150d0e63d909 authored about 6 years ago by Jason A. Donenfeld <[email protected]>
Do not build if nothing to do

github.com/SagerNet/wireguard-go - fddb9490025c4c9b5fb1b77028a54fc92fa39c45 authored about 6 years ago by Jason A. Donenfeld <[email protected]>
Switch to go modules

github.com/SagerNet/wireguard-go - 5d6083df7e0399d9cbb47a9dc0b227fd86ccffbb authored about 6 years ago by Jason A. Donenfeld <[email protected]>
version: bump snapshot

github.com/SagerNet/wireguard-go - b41922e5c81a8121734143f9b773f976cd891081 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Adding missing queueconstants file

github.com/SagerNet/wireguard-go - dbb72402f2f4f5c972be98ad0c9602eb74e9f133 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix transport message length check

wireguard-go has a bad length check in its transport message handling.
Although it cannot be exp...

github.com/SagerNet/wireguard-go - 7c971d7ef458d47908940396149bf56e6335fb04 authored over 6 years ago by Chris Branch <[email protected]>
Make it easy to restrict queue sizes more

github.com/SagerNet/wireguard-go - 70bcf9ecb801dadd82c68143209ca2707aa63d2b authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix shutdown races

github.com/SagerNet/wireguard-go - ebc7541953269b39cd73d703166b9b8ee7b34e37 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
More pooling

github.com/SagerNet/wireguard-go - 833597b585f460aaa17bad93ad59290ec282e77e authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fixup buffer freeing

github.com/SagerNet/wireguard-go - cf81a28dd30bd8714432d2ff108d64c7f4b65e50 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
send: more precise padding calculation

github.com/SagerNet/wireguard-go - 942abf948a9121a4595f782093ca623534997776 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
device: preallocated buffers scheme

Not useful now but quite possibly later.

github.com/SagerNet/wireguard-go - 47d1140361eaeca7c0a4a940397f0a71b42c59ce authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Change queueing drop order and fix memory leaks

If the queues are full, we drop the present packet, which is better for
network traffic flow. Al...

github.com/SagerNet/wireguard-go - 39d6e4f2f18265c9cee1a2b1b456f6468950b932 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
send: use accessor function for buffer pool

github.com/SagerNet/wireguard-go - 1c025570139f614f2083b935e2c58d5dbf199c2f authored over 6 years ago by Jason A. Donenfeld <[email protected]>
global: fix up copyright headers

github.com/SagerNet/wireguard-go - 5be541d147562bf87f6a9ebd551412d4a6920b4b authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fixed port overwrite issue on kernels without ipv6

Fixed an issue in CreateBind for Linux:
If ipv6 was not supported the error code would be
correc...

github.com/SagerNet/wireguard-go - 32d2148835d28f5927daee2d1206c88ac343cfb3 authored over 6 years ago by Mathias Hall-Andersen <[email protected]>
uapi: insert peer version placeholder

While we don't want people to ever use old protocols, people will
complain if the API "changes",...

github.com/SagerNet/wireguard-go - 063becdc735f74965ffa2d51964b87e604b9c1e7 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix duplicate copyright line

github.com/SagerNet/wireguard-go - 15da869b31106d47823cb0a6cdd5c0ad3a0c243b authored over 6 years ago by Jason A. Donenfeld <[email protected]>
uapi: allow overriding socket directory at compile time

github.com/SagerNet/wireguard-go - 3ad3e83c7aea762c7030b7aa7485f48083d7d9a9 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
send: better debug message for failed data packet

github.com/SagerNet/wireguard-go - 2e13b7b0fb1a6076c729acfc7055a96ae53f0a12 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
version: bump snapshot

github.com/SagerNet/wireguard-go - 6b3b1c3b918fcb9bbf1d876ad6d58c38932a2469 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Support IPv6-less kernels

github.com/SagerNet/wireguard-go - 6a5d0e2bcd1fe64b48ac462ffff0a31154f1050f authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Do not build tun device on ios

github.com/SagerNet/wireguard-go - 0ba551807fcd0d33c6ad80842b71c8de42c2da55 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix duplicated wording

github.com/SagerNet/wireguard-go - 99d5aeeb276e0602cba86c39ca77c7c2412fe2fa authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Makefile: export PWD for OpenBSD's ksh(1)

Interestingly, ksh(1) on OpenBSD does not export PWD by default, and it
also has a notion of the...

github.com/SagerNet/wireguard-go - a050431f2660d73e191ab8100d2f0934c8aedbf9 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
version: bump snapshot

github.com/SagerNet/wireguard-go - 0c976003c8690506915dab0003138283307a8089 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Print version number in log

github.com/SagerNet/wireguard-go - 955e89839fbb3f2f9808a5699e5a6e99b263d2eb authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Update deps

github.com/SagerNet/wireguard-go - a4cd0216c068da5012a9485fb94b972b1a29d7ee authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Disable broadcast mode on *BSD

Keeping it on makes IPv6 problematic and confuses routing daemons.

github.com/SagerNet/wireguard-go - 5079298ce2fb783ccfff83b4cf4af57c74ed2546 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Disappointing anti-sticky experiment

github.com/SagerNet/wireguard-go - fc3a7635e56a336ae06277ce3157b1b14fdd2fa8 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix typo in timers

github.com/SagerNet/wireguard-go - 1d7845a600252daee850c90a31da40e59ca2254c authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix tests

github.com/SagerNet/wireguard-go - 2496cdd8e6078e2a6955b7facb239e4cf2fe5e55 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Trick for being extra sensitive to route changes

github.com/SagerNet/wireguard-go - 4365b4583fa32b1b77d33f5074da9c165a28f824 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Back to sticky sockets on android

github.com/SagerNet/wireguard-go - bbf320c477ea10a28c2199187f6f29b3dcb07bcb authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Do not build on Linux

github.com/SagerNet/wireguard-go - 625d59da14729e9b20b10074b81828182a524634 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Catch EINTR

github.com/SagerNet/wireguard-go - 2f2eca894744baef365aaa07554f56979159d988 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Remove old makefile artifact

github.com/SagerNet/wireguard-go - 66f6ca3e4a435935c38b93c4441575e3b003137d authored over 6 years ago by Jason A. Donenfeld <[email protected]>
version: bump snapshot

github.com/SagerNet/wireguard-go - e6657638fce0ddf6b2901721a73d6a0bcba1ba99 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Add undocumented --version flag

github.com/SagerNet/wireguard-go - 4a9de3218e6445742f29fef06f8b2f1dcef6306f authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Eye before ee except after see

github.com/SagerNet/wireguard-go - 28a167e8288b6dc6c10d9c5d1c1661ba64a6c835 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
No zero sequence numbers

github.com/SagerNet/wireguard-go - 99c6513d60557b626503be6c340b91574040c3f0 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Don't cause a new fake gopath to call dep

github.com/SagerNet/wireguard-go - 8a92a9109aa8214b18a020b6ab2b5a9dd9350a45 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Infoleak ifnames and be more permissive

Listing interfaces is already permitted by the OS, so we allow this info
leak too.

github.com/SagerNet/wireguard-go - 0b647d1ca7e079f3bb2fe95c3ca7c05898315a6e authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Adopt GOPATH

GOPATH is annoying, but the Go community pushing me to adopt it is even
more annoying.

github.com/SagerNet/wireguard-go - 588b9f01ae1ac81844b52c095c9abcd9326d35a3 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Remove more windows cruft

github.com/SagerNet/wireguard-go - f70bd1fab32ce7d1bb482f97cbca0a3ec0c45e40 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Cleanup

github.com/SagerNet/wireguard-go - 40d5ff0c705bb3034513b3ee3b25b0dbb8a9ac06 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Move replay into subpackage

github.com/SagerNet/wireguard-go - 5a2228a5c910ada948677f1dd3fcc59f74e5cb20 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Move tun to subpackage

github.com/SagerNet/wireguard-go - 0a63188afab1dd49380f916963307f9b2efdcac1 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Avoid sticky sockets on Android

The android policy routing system does insane things.

github.com/SagerNet/wireguard-go - 65a74f3175855dc41b49332103ada6bb27733291 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix integer conversions

github.com/SagerNet/wireguard-go - b4cef2524f3b2be11f905c4114e2e747a8101160 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Bump dependencies for OpenBSD

github.com/SagerNet/wireguard-go - 7038de95e119147245741c04feab25b833b615e9 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix markdown

github.com/SagerNet/wireguard-go - 82d12e85bb625d2d0d72c043ac2c85146ab23f86 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Add OpenBSD tun driver support

github.com/SagerNet/wireguard-go - d6b694e1613fd19f8a77ea177d467a60fda4db1d authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix code duplication

github.com/SagerNet/wireguard-go - 794e4948025f108dde3c7d8a4546273d840039ee authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Notes on FreeBSD limitations

github.com/SagerNet/wireguard-go - dd663a7ba41563c82cf68aa5492ed4f2fe875d35 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Just in case darwin changes, we also shutdown

github.com/SagerNet/wireguard-go - 8462c08cf2c968386374c81d0e9dafb904483f8c authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Call shutdown on route socket on freebsd

github.com/SagerNet/wireguard-go - b8c9e13c6e0db93133dc302b40e25b615fece9b8 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Minor main.go signal fixes

* Buffer the signal channel as it's non-blocking on the sender side
* Notify on SIGTERM instead ...

github.com/SagerNet/wireguard-go - bc05eb1c3c39609f9c76696d7db4f40da36b4817 authored over 6 years ago by Filippo Valsorda <[email protected]>
Fix Sscanf use in tun_darwin

License: MIT
Signed-off-by: Filippo Valsorda <[email protected]>

github.com/SagerNet/wireguard-go - 7a527f7c89fe7929e2bc2c7e38be4862f24cc494 authored over 6 years ago by Filippo Valsorda <[email protected]>
Make successful tests silent

License: MIT
Signed-off-by: Filippo Valsorda <[email protected]>

github.com/SagerNet/wireguard-go - 84f52ce0d690c2377b032c8fc42b591930822d7e authored over 6 years ago by Filippo Valsorda <[email protected]>
Properly close DummyTUN to avoid deadlock in TestNoiseHandshake

License: MIT
Signed-off-by: Filippo Valsorda <[email protected]>

github.com/SagerNet/wireguard-go - 7bdc5eb54ed7ac45016e6e028913f1594471a074 authored over 6 years ago by Filippo Valsorda <[email protected]>
User cookie is closer to fwmark than setfib

github.com/SagerNet/wireguard-go - 1c666576d584fd827dfcefdbabe797f391487624 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Remove broken windows cruft

github.com/SagerNet/wireguard-go - 2ae22ac65daac44c9d4b2eb530db9e8863f4a21a authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Rework freebsd support

github.com/SagerNet/wireguard-go - ff3f2455e5cd74bd45c2f124a1d275462e33a4a0 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Add FreeBSD support

Signed-off-by: Brady OBrien <[email protected]>

github.com/SagerNet/wireguard-go - b962d7d791bb13830d62d7ae326780b413463971 authored over 6 years ago by Brady OBrien <[email protected]>
Close events channel when no status listener

github.com/SagerNet/wireguard-go - 837a12c84151968fac6477f75d6bcb52e7ae64db authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Straighten out UAPI logging

github.com/SagerNet/wireguard-go - 7472930d4e7b908646f87adf638188857566a7c6 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Close hack listener before closing channel

github.com/SagerNet/wireguard-go - 6307bfcdf4616c87b791fc002004526de5511d8f authored over 6 years ago by Jason A. Donenfeld <[email protected]>
ratelimiter: do not run GC with nothing to do

github.com/SagerNet/wireguard-go - e28d70f5b2a00af75aa9f283e31c7da31a2913df authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Reasonable punctuation given the spacing

github.com/SagerNet/wireguard-go - 84c5357cf31b9b04e794f474ad3ab47cc55f61a1 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix data races in timers

github.com/SagerNet/wireguard-go - acb5481246ea97bff64cc3eba1fa4255fc1ccd72 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix race with closing event channel

There's still a tiny race on Linux, since the tun channel is written to
from two places.

github.com/SagerNet/wireguard-go - 18f43705ecbc8751bcf5ed05cd65cf93c36798b0 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Style

github.com/SagerNet/wireguard-go - 058cedcf664e3bb553e699a09beda4dc5c1474fa authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Use proper status listener on Darwin

github.com/SagerNet/wireguard-go - b290cf05e3fce351fd44f99c4f01c201a060305a authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Remove unused mtu variable

github.com/SagerNet/wireguard-go - c5fa3de24c03872c582718185c4b35737cdf13ea authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Avoid deadlock when the mutex isn't required, since these are atomics

Maybe this fixes the "double lock issue" in
f73d2fb2d96bc3fbc8bc4cce452e3c19689de01e?

github.com/SagerNet/wireguard-go - 5e924e540764ec64cdf19f9b146a3c398da4d240 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Give bind its own wait group

In a waitgroup, all waits must come after all adds

github.com/SagerNet/wireguard-go - 1068d6b92b905adef34525fbac37a5af7290f4fa authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Reduce the hack listener to once a second

github.com/SagerNet/wireguard-go - b95a4c61a5170f1f60d3fcfd666d0421a8bca025 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix race in netlink peer correlator

github.com/SagerNet/wireguard-go - a5b3340e5b0a3623e953c88f9c5c0a31d8987b8d authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix race in lock pending

github.com/SagerNet/wireguard-go - 7c21a3de0adba015250d657e7605a228d5244009 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix race in stats

github.com/SagerNet/wireguard-go - 0a68c1ab175f8b45cb478e2a05732e1179efa0fb authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix race in packetInNonceQueueIsAwaitingKey

github.com/SagerNet/wireguard-go - e04f9543c011b67d81b85f97743dc9701ec446dc authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Discourage building for Linux

github.com/SagerNet/wireguard-go - fa003b6933b07bdf87a541114ba8fe694329e2b2 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Listen for flush in outer select

Now listen for flushNonceQueue signal in outer select during
the RoutineNonce routine. This is n...

github.com/SagerNet/wireguard-go - 2a432523ed0e8f7409f8917432f2791da1f32de0 authored over 6 years ago by Mathias Hall-Andersen <[email protected]>
timers: clear send_keepalive timer on sending handshake response

We reorganize this into also doing so on sending keepalives itself,
which means the state machin...

github.com/SagerNet/wireguard-go - 870734ab5e1ee1dd3f8859381c9f173c30ed197f authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Add copyright headers

github.com/SagerNet/wireguard-go - 38accea986211f232ffcf2411379f5dc120514dc authored over 6 years ago by Mathias Hall-Andersen <[email protected]>
timers: no need to clear keepalive in persistent keepalive

We do this after sending the keepalive anyway.

This is something of a regression, though, since...

github.com/SagerNet/wireguard-go - 5a267f0b8cc8aa712b8171f43bea36d0f5767f39 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Revert "Temporary work around. Please revert me"

This reverts commit 4312a7c70a58656891ff1398f2d0d36f4ed74c8a.

github.com/SagerNet/wireguard-go - 75cdc5986a7e34f50a48c0b9935ec15b7c5012ff authored over 6 years ago by Jason A. Donenfeld <[email protected]>