Ecosyste.ms: OpenCollective

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

github.com/SagerNet/wireguard-go

Mirror only. Official repository is at https://git.zx2c4.com/wireguard-go
https://github.com/SagerNet/wireguard-go

Make it easy to restrict queue sizes more

70bcf9ecb801dadd82c68143209ca2707aa63d2b authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix shutdown races

ebc7541953269b39cd73d703166b9b8ee7b34e37 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
More pooling

833597b585f460aaa17bad93ad59290ec282e77e authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fixup buffer freeing

cf81a28dd30bd8714432d2ff108d64c7f4b65e50 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
send: more precise padding calculation

942abf948a9121a4595f782093ca623534997776 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
device: preallocated buffers scheme

Not useful now but quite possibly later.

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...

39d6e4f2f18265c9cee1a2b1b456f6468950b932 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
send: use accessor function for buffer pool

1c025570139f614f2083b935e2c58d5dbf199c2f 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...

32d2148835d28f5927daee2d1206c88ac343cfb3 authored over 6 years ago by Mathias Hall-Andersen <[email protected]>
global: fix up copyright headers

5be541d147562bf87f6a9ebd551412d4a6920b4b authored over 6 years ago by Jason A. Donenfeld <[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",...

063becdc735f74965ffa2d51964b87e604b9c1e7 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix duplicate copyright line

15da869b31106d47823cb0a6cdd5c0ad3a0c243b authored over 6 years ago by Jason A. Donenfeld <[email protected]>
uapi: allow overriding socket directory at compile time

3ad3e83c7aea762c7030b7aa7485f48083d7d9a9 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
send: better debug message for failed data packet

2e13b7b0fb1a6076c729acfc7055a96ae53f0a12 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
version: bump snapshot

6b3b1c3b918fcb9bbf1d876ad6d58c38932a2469 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Support IPv6-less kernels

6a5d0e2bcd1fe64b48ac462ffff0a31154f1050f authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Do not build tun device on ios

0ba551807fcd0d33c6ad80842b71c8de42c2da55 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix duplicated wording

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...

a050431f2660d73e191ab8100d2f0934c8aedbf9 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
version: bump snapshot

0c976003c8690506915dab0003138283307a8089 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Print version number in log

955e89839fbb3f2f9808a5699e5a6e99b263d2eb authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Update deps

a4cd0216c068da5012a9485fb94b972b1a29d7ee authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix typo in timers

1d7845a600252daee850c90a31da40e59ca2254c 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.

5079298ce2fb783ccfff83b4cf4af57c74ed2546 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Disappointing anti-sticky experiment

fc3a7635e56a336ae06277ce3157b1b14fdd2fa8 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix tests

2496cdd8e6078e2a6955b7facb239e4cf2fe5e55 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Trick for being extra sensitive to route changes

4365b4583fa32b1b77d33f5074da9c165a28f824 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Back to sticky sockets on android

bbf320c477ea10a28c2199187f6f29b3dcb07bcb authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Do not build on Linux

625d59da14729e9b20b10074b81828182a524634 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Catch EINTR

2f2eca894744baef365aaa07554f56979159d988 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Remove old makefile artifact

66f6ca3e4a435935c38b93c4441575e3b003137d authored over 6 years ago by Jason A. Donenfeld <[email protected]>
version: bump snapshot

e6657638fce0ddf6b2901721a73d6a0bcba1ba99 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Add undocumented --version flag

4a9de3218e6445742f29fef06f8b2f1dcef6306f authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Eye before ee except after see

28a167e8288b6dc6c10d9c5d1c1661ba64a6c835 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
No zero sequence numbers

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

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.

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.

588b9f01ae1ac81844b52c095c9abcd9326d35a3 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Remove more windows cruft

f70bd1fab32ce7d1bb482f97cbca0a3ec0c45e40 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Move tun to subpackage

0a63188afab1dd49380f916963307f9b2efdcac1 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Move replay into subpackage

5a2228a5c910ada948677f1dd3fcc59f74e5cb20 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Cleanup

40d5ff0c705bb3034513b3ee3b25b0dbb8a9ac06 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Avoid sticky sockets on Android

The android policy routing system does insane things.

65a74f3175855dc41b49332103ada6bb27733291 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix integer conversions

b4cef2524f3b2be11f905c4114e2e747a8101160 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Bump dependencies for OpenBSD

7038de95e119147245741c04feab25b833b615e9 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix markdown

82d12e85bb625d2d0d72c043ac2c85146ab23f86 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Add OpenBSD tun driver support

d6b694e1613fd19f8a77ea177d467a60fda4db1d authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix code duplication

794e4948025f108dde3c7d8a4546273d840039ee authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Notes on FreeBSD limitations

dd663a7ba41563c82cf68aa5492ed4f2fe875d35 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Just in case darwin changes, we also shutdown

8462c08cf2c968386374c81d0e9dafb904483f8c authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Call shutdown on route socket on freebsd

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 ...

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]>

7a527f7c89fe7929e2bc2c7e38be4862f24cc494 authored over 6 years ago by Filippo Valsorda <[email protected]>
Make successful tests silent

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

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]>

7bdc5eb54ed7ac45016e6e028913f1594471a074 authored over 6 years ago by Filippo Valsorda <[email protected]>
User cookie is closer to fwmark than setfib

1c666576d584fd827dfcefdbabe797f391487624 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Remove broken windows cruft

2ae22ac65daac44c9d4b2eb530db9e8863f4a21a authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Rework freebsd support

ff3f2455e5cd74bd45c2f124a1d275462e33a4a0 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Add FreeBSD support

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

b962d7d791bb13830d62d7ae326780b413463971 authored over 6 years ago by Brady OBrien <[email protected]>
Close events channel when no status listener

837a12c84151968fac6477f75d6bcb52e7ae64db authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Straighten out UAPI logging

7472930d4e7b908646f87adf638188857566a7c6 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Close hack listener before closing channel

6307bfcdf4616c87b791fc002004526de5511d8f authored over 6 years ago by Jason A. Donenfeld <[email protected]>
ratelimiter: do not run GC with nothing to do

e28d70f5b2a00af75aa9f283e31c7da31a2913df authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Reasonable punctuation given the spacing

84c5357cf31b9b04e794f474ad3ab47cc55f61a1 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix data races in timers

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.

18f43705ecbc8751bcf5ed05cd65cf93c36798b0 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Style

058cedcf664e3bb553e699a09beda4dc5c1474fa 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

1068d6b92b905adef34525fbac37a5af7290f4fa authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Use proper status listener on Darwin

b290cf05e3fce351fd44f99c4f01c201a060305a authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Remove unused mtu variable

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?

5e924e540764ec64cdf19f9b146a3c398da4d240 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Reduce the hack listener to once a second

b95a4c61a5170f1f60d3fcfd666d0421a8bca025 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix race in netlink peer correlator

a5b3340e5b0a3623e953c88f9c5c0a31d8987b8d authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix race in lock pending

7c21a3de0adba015250d657e7605a228d5244009 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix race in stats

0a68c1ab175f8b45cb478e2a05732e1179efa0fb authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix race in packetInNonceQueueIsAwaitingKey

e04f9543c011b67d81b85f97743dc9701ec446dc authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Discourage building for Linux

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...

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...

870734ab5e1ee1dd3f8859381c9f173c30ed197f authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Add copyright headers

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...

5a267f0b8cc8aa712b8171f43bea36d0f5767f39 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Revert "Temporary work around. Please revert me"

This reverts commit 4312a7c70a58656891ff1398f2d0d36f4ed74c8a.

75cdc5986a7e34f50a48c0b9935ec15b7c5012ff authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Avoid using v6-mapped-v4

125976edcec65265d9ea3ca38a9826c71b4a88d9 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Style

52d797ce1ab590a7988edcbe13ce7ca31ab7c4ef authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fill out readme

711f929879405cf6f4da54bce45858ab713a576b authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Finer-grained start-stop synchronization

846d721dfd0cde953f2e9304d6ef50110de050eb authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix dir permissions

23eca94508d7cef0c1adbbc37c81050899ca1d60 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Temporary work around. Please revert me

4312a7c70a58656891ff1398f2d0d36f4ed74c8a authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Lock timers on modification

207fd644e8a96b5e6d14fa9527901277d34cdd7e authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Avoid vendoring tooling as much as possible

ab02aacdd6536ea1483b939f764c85cbe3f579e6 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Add vendoring for Homebrew

0e4ebfa194efd6574c1ac6dc7e518b989fff5368 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Do not send keepalive if closed

cf161f270e208cbe36a400c12f194f1f353db31e authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix refactoring mistakes

27091c32841bf074bec60f46fea1954c455233d9 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Improve makefile

08d7602dc34db580e41fc3af5a4340f2c25f09ff authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Use /dev/null as place holder

115a2e394631d0bb5b85b7ccee80550655b8b742 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Print utun name on darwin

28c7eb43358df44ab010f6b7ace2849647d9126c authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Mask IPs when showing from trie

Otherwise intermediate nodes that get collapsed to real nodes will
display the wrong value.

7a1a537f4344129b9a1fabb0c66c61963e605e45 authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Ugly hack to suppress warning on backgrounded process

a62c770a99e830f220314d1bc779e8818d4ecc7f authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Better common bits function

09235d48d8a77b38f5c2834adbcfcb9c68a1491a authored over 6 years ago by Jason A. Donenfeld <[email protected]>
Fix noise test

7f1c9d1cc2131c49f6b77e90f050caf331df6179 authored over 6 years ago by Jason A. Donenfeld <[email protected]>