Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-09 | Switch to go modules | Jason A. Donenfeld | |
2018-10-01 | version: bump snapshot | Jason A. Donenfeld | |
2018-10-01 | Adding missing queueconstants file | Jason A. Donenfeld | |
2018-09-25 | Fix transport message length check | Chris Branch | |
wireguard-go has a bad length check in its transport message handling. Although it cannot be exploited because of another length check earlier in the function, this should be fixed regardless. | |||
2018-09-25 | Make it easy to restrict queue sizes more | Jason A. Donenfeld | |
2018-09-24 | Fix shutdown races | Jason A. Donenfeld | |
2018-09-24 | More pooling | Jason A. Donenfeld | |
2018-09-22 | Fixup buffer freeing | Jason A. Donenfeld | |
2018-09-16 | send: more precise padding calculation | Jason A. Donenfeld | |
2018-09-16 | device: preallocated buffers scheme | Jason A. Donenfeld | |
Not useful now but quite possibly later. | |||
2018-09-16 | Change queueing drop order and fix memory leaks | Jason A. Donenfeld | |
If the queues are full, we drop the present packet, which is better for network traffic flow. Also, we try to fix up the memory leaks with not putting buffers from our shared pool. | |||
2018-09-16 | send: use accessor function for buffer pool | Jason A. Donenfeld | |
2018-09-16 | Fixed port overwrite issue on kernels without ipv6 | Mathias Hall-Andersen | |
Fixed an issue in CreateBind for Linux: If ipv6 was not supported the error code would be correctly identified as EAFNOSUPPORT and ipv4 binding attempted. However the port would be set to 0, which results in the subsequent create4 call requesting a random port rather than the one provided to CreateBind. This issue was identified by: Kent Friis <leeloored@gmx.com> | |||
2018-09-16 | global: fix up copyright headers | Jason A. Donenfeld | |
2018-09-02 | uapi: insert peer version placeholder | Jason A. Donenfeld | |
While we don't want people to ever use old protocols, people will complain if the API "changes", so explicitly make the unset protocol mean the latest, and add a dummy mechanism of specifying the protocol on a per-peer basis, which we hope nobody actually ever uses. | |||
2018-07-30 | Fix duplicate copyright line | Jason A. Donenfeld | |
2018-07-24 | uapi: allow overriding socket directory at compile time | Jason A. Donenfeld | |
2018-07-16 | send: better debug message for failed data packet | Jason A. Donenfeld | |
2018-06-13 | version: bump snapshot | Jason A. Donenfeld | |
2018-06-12 | Support IPv6-less kernels | Jason A. Donenfeld | |
2018-06-09 | Do not build tun device on ios | Jason A. Donenfeld | |
2018-06-02 | Fix duplicated wording | Jason A. Donenfeld | |
2018-06-02 | Makefile: export PWD for OpenBSD's ksh(1) | Jason A. Donenfeld | |
Interestingly, ksh(1) on OpenBSD does not export PWD by default, and it also has a notion of the "logical cwd" vs the "physical cwd", with the latter being passed to chdir, but the former being stored in the non-exported PWD and displayed to the user. This means that if you `cd` into a directory that's comprised of symlinks, exec'd processes will see the physical path. Observe: # ksh # mkdir a # ln -s a b # cd b # pwd /root/b # ksh -c pwd /root/a The fact of separating physical and logical paths is not too uncommon for shells (bash does it too), but not exporting PWD is very odd. Since this is common behavior for many shells, libraries that return the working directory will do something strange: they `stat(".")` and then `stat(getenv("PWD"))`, and if these point to the same inode, they roll with the value of `getenv("PWD")`, or otherwise fallback to asking the kernel for the cwd. Since PWD was not exported by ksh(1), Go's dep utility did not understand it was operating inside of our faked GOPATH and became upset. This patch works around the whole situation by simply exporting PWD before executing dep. | |||
2018-05-31 | version: bump snapshot | Jason A. Donenfeld | |
2018-05-30 | Print version number in log | Jason A. Donenfeld | |
2018-05-28 | Update deps | Jason A. Donenfeld | |
2018-05-27 | Fix typo in timers | Jason A. Donenfeld | |
2018-05-27 | Disable broadcast mode on *BSD | Jason A. Donenfeld | |
Keeping it on makes IPv6 problematic and confuses routing daemons. | |||
2018-05-27 | Disappointing anti-sticky experiment | Jason A. Donenfeld | |
2018-05-24 | Fix tests | Jason A. Donenfeld | |
2018-05-24 | Trick for being extra sensitive to route changes | Jason A. Donenfeld | |
2018-05-24 | Back to sticky sockets on android | Jason A. Donenfeld | |
2018-05-24 | Do not build on Linux | Jason A. Donenfeld | |
2018-05-24 | Catch EINTR | Jason A. Donenfeld | |
2018-05-24 | Remove old makefile artifact | Jason A. Donenfeld | |
2018-05-24 | version: bump snapshot | Jason A. Donenfeld | |
2018-05-24 | Add undocumented --version flag | Jason A. Donenfeld | |
2018-05-23 | Eye before ee except after see | Jason A. Donenfeld | |
2018-05-23 | No zero sequence numbers | Jason A. Donenfeld | |
2018-05-23 | Don't cause a new fake gopath to call dep | Jason A. Donenfeld | |
2018-05-23 | Infoleak ifnames and be more permissive | Jason A. Donenfeld | |
Listing interfaces is already permitted by the OS, so we allow this info leak too. | |||
2018-05-23 | Adopt GOPATH | Jason A. Donenfeld | |
GOPATH is annoying, but the Go community pushing me to adopt it is even more annoying. | |||
2018-05-23 | Remove more windows cruft | Jason A. Donenfeld | |
2018-05-23 | Cleanup | Jason A. Donenfeld | |
2018-05-23 | Move replay into subpackage | Jason A. Donenfeld | |
2018-05-23 | Move tun to subpackage | Jason A. Donenfeld | |
2018-05-22 | Avoid sticky sockets on Android | Jason A. Donenfeld | |
The android policy routing system does insane things. | |||
2018-05-22 | Fix integer conversions | Jason A. Donenfeld | |
2018-05-22 | Bump dependencies for OpenBSD | Jason A. Donenfeld | |
2018-05-22 | Fix markdown | Jason A. Donenfeld | |