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

Cancelable netlink writes and better response correlation

021724a535592e43c4f0e3d3c60ae416b4776a5c authored over 6 years ago
Netlink sockets can't be shutdown

795f76cffa1a222e494e4609e5d3ed2f2557c463 authored over 6 years ago
Cleanup socket file

2dfd4e7d8c5f5540690dfbbac50aa6f020b2cbbc authored over 6 years ago
Clean more

355e9bd619c8ec8bdd0f2934739a87a15ceb6920 authored over 6 years ago
No more finalizer for rwcancel

8b30278ce666a74b46f607b47bf3fbe87744c016 authored over 6 years ago
No need for padding any more

17262dfd62a548e44269535ce60a905613901063 authored over 6 years ago
Shorthand for empty channels

25df2e6942b6fc2066d76b672956cb480affad11 authored over 6 years ago
Allow go routine to shutdown in darwin tun

b76ab82539ddaceefdb095a0959e52a66075fc0e authored over 6 years ago
Add rwcancelation to darwin

5f5503afa8c8b9cf2bc2bbe5a3a588e68eae15ef authored over 6 years ago
Smoother netlink shutdown

f738c45a68a34721af4ca2738be1f8389b372bfe authored over 6 years ago
Optional logging even in background

c1e097d6d0cabb81b3aa180d69107f9857606bf5 authored over 6 years ago
Fix dummy additions

e75d2d4496643ef6b4033d574cd47b92aeb21a11 authored over 6 years ago
Look up route for every peer

0fb14232fab8b9112b3cffa299ad9edf34191a9a authored over 6 years ago
Ensure go routines can exit

659106bd6d7a6f40310e5704812c6c9fbb96f06c authored over 6 years ago
Send event on erroring kqueue

29b0453cf15913b321ea423b7f81fdee55eb4409 authored over 6 years ago
Introduce rwcancel

7e10ebe1010898c48e3f1cfc12ad42d0bb5c0fa1 authored over 6 years ago
Prettier abbreviation

e21ea58db36b8caf3b7da075c9c39505449d0110 authored over 6 years ago
More refactoring

b56af1829d0368c893f8e9e14894f9563afb60ef authored over 6 years ago
More odds and ends

729773fdf3cbec5f75d5981fc1fe6f7f21b0e00c authored over 6 years ago
Fix up tests

680a57faaefbb7ca4be10ef7beefdc70b74f59c2 authored over 6 years ago
Odds and ends

2326d6a4d75f9f3736046cc526eb593a403d4c7a authored over 6 years ago
Cleanup ratelimiter

e94185681f4c19874392019b0d43bdfefcbb85b5 authored over 6 years ago
Rework index hashtable

2c27ab205c992d3387574aa6d57780744d35d36f authored over 6 years ago
Rewrite timers and related state machines

233f079a9479279d2aab68f4accb139ee87ad664 authored over 6 years ago
Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go

375dcbd4aefc8054700dcb072a5e74a9ed7e9d39 authored over 6 years ago
Removed remaining signals from peer

1. Removed remaining signals from peer struct
2. Made needAnotherKeepalive local
3. Removed envi...

abe2651ad5a22c81bc857366aad3e8e9ade4490d authored over 6 years ago
Reorder stopping messages so that logs are coherent

c29428b075aa4476f3f3f0b97e580c2f4b8bb683 authored over 6 years ago
More robust solution to close deadlock

a46401bbb151d8f1e662dc16b612426352138c1e authored over 6 years ago
Fix infinite loop in exit routine

09a9bc289990e3f377a331626b0102283d6f83f4 authored over 6 years ago
Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go

34891d92cd36289294d38cd9f26f1fc2456ef26a authored over 6 years ago
Use Int32n for jitter

8ba28be732a3ca9819595dc4cea24d45d0d676c3 authored over 6 years ago
Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go

beab52258ae22c6901b769123ae1c8d64fea294c authored over 6 years ago
Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go

d8d592787df648dfa1043cfd23e842d53f3b3f27 authored over 6 years ago
Removed old signals

7a83f2565a13624d8cb9ca6adf1aced721777a9c authored over 6 years ago
tun: simplify and combine creation logic on Linux

36659454ceadf2f323150cbe02e9d5f52a98582d authored over 6 years ago
Style

142e53f69827e6778d809d9606bb7cd4e77694a2 authored over 6 years ago
Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go

4d9f3a2f535b8ddefff5ed70c8d191106c3030fa authored over 6 years ago
tun: account for null termination on Linux

4a177de09c067ffb94c05f0859d10f78961bd3b4 authored over 6 years ago
Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go

edbce6b400250f764d3b9f38ecfc7bb29adbd967 authored over 6 years ago
Initial version of migration to new event model

- Begin move away from global timer state.
- Made logging format more consistent

6db41d5a269c79bd04b18dbfa171cc241a6cdcc9 authored over 6 years ago
uapi: use kqueue for sock deletion on darwin

e1de0f229a8f2cbfc4bb56230de885386a775fd6 authored over 6 years ago
tun: print automatically assigned interface name to stdout

This way scripts know what process they just started.

ac898bb35afde34a383f72726c2818d082933e8d authored over 6 years ago
tun: allow darwin to auto assign names

de7ecc571b9ea81d5cad97e339e84f8084352741 authored over 6 years ago
warning: put into main

0f322f83f5a920f89a9293e4dc48efc27e4acbac authored over 6 years ago
global: Add SPDX tags and copyright header

Mathias should probably add his copyright headers to each file too.

a040786645ec980059937fd6a1a361b160c1a809 authored over 6 years ago
Start to dust off Darwin

258a9223b9ab18a973c44b238e029a0dc5640102 authored over 6 years ago
Daemonize with environment variable

209dd22ea0c6ea06aca47cb53f68ae2cf0d40831 authored over 6 years ago
Add missing locks and fix debug output, and try to flush queues

Flushing queues on exit is sort of a partial solution, but this could be
better. Really what we ...

168ef61a638e4875b260edbc51551bae0dc34ac3 authored over 6 years ago
Clear src cache if route changes to new ifindex

b34604245ec4dfb50846d0ba28d022be5b756c25 authored over 6 years ago
Fix error handling and cleanup of netlink listener

92261b770fdf745b6437a4f24482d19a480a00eb authored over 6 years ago
Fix wrong debug messages

0715bdf353dd670bf7c3af332a8dabbe30187a1d authored almost 7 years ago
Rework sticky sockets

5ba84696e29c6109e84b1f48247ae02a2bcb106e authored almost 7 years ago
Check for correct first nibble

The code before assumed that the flow label was always zero.

f5c256affdecc50ecf485b7ad54986ebb17e783a authored almost 7 years ago
Signal using select and a pipe for bringing down TUN reader

Waiting on resolution of these to fix in better way:
- https://github.com/golang/go/issues/22939...

4973ea0c9e6c8fd7093e8c1848533697d6b02a69 authored almost 7 years ago
We can determine the interface name ourselves

676bb9143461ae25304c414fb19595fef9c310db authored almost 7 years ago
Do not hard code MTU default

ab875491c0c075588676b6e83d37f595a0c78ae6 authored almost 7 years ago
Fixed read from closed channel

A premature waitgroup .Done resulted in reading from closed channel.
This caused a nil-pointer d...

ac9912345b4da5034ea93f5f245ea2ce04815bd5 authored almost 7 years ago
Allow determining name

26a56a652eeeece7677ba4f1896da34c83930652 authored almost 7 years ago
Use socketcall on x86

0b940a756838efcb90363ad99cb085d077b78e96 authored almost 7 years ago
Use simple 16-bit integer for persistent keepalive

Races for this aren't a huge problem.

eb6728400ba656990aa4518dc4f5f2a6f0f19f8e authored almost 7 years ago
Align 64-bit atomics

64-bit varibles that are accessed using the Go atomic functions must be
8-byte aligned on 32-bit...

099219be2a1e58b1b34b0202e1466480a4fa0cbc authored almost 7 years ago
Begin work on full device<->device unit-test

To simulate a full interaction between two WireGuard
instances without networking, using dummy i...

6cecaf31575d77d8f30be65a0a5d34055ee220a4 authored almost 7 years ago
Support nopi mode

fd248c6cb1873229b5e487045accdf7ed7ac822e authored almost 7 years ago
Close tun fd when bringing down tunnel

09de7d1342a6d069ee888370a9bdcc289fadc73b authored almost 7 years ago
Fix timer typo

519c5d200ab5804cec2fc02136538d091e57c3f5 authored almost 7 years ago
Seperated fwmark update code into function

9de17e6c9c90f3bf3ec3eb709a92c9e1295a6d67 authored almost 7 years ago
MPLv2 for App Store

8f1d1b8c54d747309d9fdf06b157823af2a823bd authored almost 7 years ago
Reimplemented bind_rtmgrp in pure Go

Getting rid of the Cgo dependency for listing on netlink.

Ported original patch from "syscall" ...

fa37039c3bbadf902cef87ae92c9c624f0991942 authored almost 7 years ago
Use relative imports

ff8f3a412ebf3b83b2d67fdafcc3311800fd39ee authored almost 7 years ago
Revert "Don't use modules"

This reverts commit bffe99aeadae09abd02f2bd3184925af6b680535.

ea4ea6f9334b8979bec6a881d7f94d7fa94e9b9c authored almost 7 years ago
Don't use modules

Feel free to revert this if you have a strong feeling about it. But so
far as I can see, it adds...

bffe99aeadae09abd02f2bd3184925af6b680535 authored almost 7 years ago
Moved test-processes to background

77285c99aa30eb802d0281175990e6809501ec18 authored almost 7 years ago
TUN status hack was causing spam during shutdown

6cba91999c8b43dc979e707f7bbbaabf786f68bd authored almost 7 years ago
Added missing mutex acquisition

04ded4c63183927feba565a43fafc987dba32005 authored almost 7 years ago
Removed exported methods from ratelimiter package

8bdadaae5968d69f7db5e43981858d80ca3986d8 authored almost 7 years ago
Moved ratelimiter to internal package

5f0a91a12704e15f8c29d94ab59e8a39ff8e3fb6 authored almost 7 years ago
Moved tai64n into sub-package

1cf23c000540bac53324cffd864506c92077bf94 authored almost 7 years ago
Fixed tabs

743364f647e8486d81a96ce8749d818b05668951 authored almost 7 years ago
Reverted event changes

This feature was not needed for Android, upon further inspection.

73cb1a115569455566e7091ce8d98f31e4fdfddf authored almost 7 years ago
Started migration to sub-packages

b461343171726d99df20bfc4b4741f0fad0c95e0 authored almost 7 years ago
Go treats underscores specially

In case there's ever a platform called helpers or protocol, we don't
want to be doing this.

51a6001bb92c2af95415ad631344be98e54da18c authored almost 7 years ago
Work on logging format

ceccd394200b9152f4df57e5bbe7d7e9002b8704 authored almost 7 years ago
Merge branch 'master' into timer-teardown

283e7117cfd4be3c524701de20307faef7ebcf86 authored almost 7 years ago
Removed debugging locks

9c5083bd1982f7c82f8007cbaec4da4da70e0aad authored almost 7 years ago
Align with go library layout

a0f54cbe5ac2cd8b8296c2c57c30029dd349cff0 authored almost 7 years ago
Fixed tests

5871ec04deb8f4715cab37146940baa35c08cbee authored almost 7 years ago
Clear cryptographic state when interface down

Attempts to clear the cryptographic state for every
peer when the device goes down.

4f97b52ea60ce4f2448d8617853aa44759727197 authored almost 7 years ago
Rework of entire locking system

Locking on the Device instance is now much more fined-grained,
seperating out the fields into "r...

029410b118f079d77fa448cf56a97b949faee126 authored almost 7 years ago
Merge branch 'timer-teardown' of git.zx2c4.com:wireguard-go into timer-teardown

1e42b1402261d15b87b1b5871f7bc51342b46e34 authored almost 7 years ago
Added binary to .gitignore

a57c790e36439729a6af7e53ee9068898f3ac992 authored almost 7 years ago
Added initial version of peer teardown

There is a double lock issue with device.Close which has yet to be
resolved.

f73d2fb2d96bc3fbc8bc4cce452e3c19689de01e authored almost 7 years ago
Fixed potential DoS issue

068d932f2c54f3b1cf0873d74113205dbeb1816f authored about 7 years ago
Work on timer teardown + bug fixes

Added waitgroups to peer struct for routine
start / stop synchronisation

1dd590b91b893a413666b6daaed848d89bab7f05 authored about 7 years ago
Fixed fwmark update without device status change

An update of the fwmark was missing,
when the device was not bought up after the change.

5f01086f1955c50696040aeeccd0c0b18bede8fe authored about 7 years ago
Revert "Peer timer teardown"

This reverts commit d73f960aab86b9a12b0b7d18aa80ce1d4f130695.

Problems with deadlocking arises ...

9360bac63290d7869c07c0d1ba40f3f34fd39b83 authored about 7 years ago
Peer timer teardown

d73f960aab86b9a12b0b7d18aa80ce1d4f130695 authored about 7 years ago
Removed IFF_NO_PI from TUN linux

This change was needed for the Linux TUN status hack
to work properly (not increment the error c...

996c7c4d8aa11a73718e49b520d16bbf0630a3df authored about 7 years ago
Removed profiler code

9fef0ca2fb26bfc15a5b25fdc4a03768fd6207b8 authored about 7 years ago
More consistent use of signal struct

eaca1ee1f79422a501394415fd4ae8f227a134af authored about 7 years ago
Fixed receive path infinite loop

cb09125dc4c64360697af700ba71331d91e9edcd authored about 7 years ago