Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tools: genkey: account for short reads of /dev/urandom | Jason A. Donenfeld | 2019-02-28 | 1 | -6/+11 |
| | | | | | | | | | | Apparently Haiku has a misbehaving /dev/urandom. While we're at it, simplify the function signature to completely succeed or completely fail and make sure the caller checks the result. Reported-by: Alexander von Gluck IV <kallisti5@unixzen.com> Nitpicked-by: Aaron Jones <aaronmdjones@gmail.com> | ||||
* | netlink: use __kernel_timespec for handshake time | Jason A. Donenfeld | 2019-01-23 | 1 | -1/+7 |
| | |||||
* | global: normalize -> clamp | Jason A. Donenfeld | 2019-01-23 | 1 | -3/+3 |
| | |||||
* | global: update copyright | Jason A. Donenfeld | 2019-01-07 | 3 | -3/+3 |
| | |||||
* | embeddable-wg-library: do not warn on unrecognized netlink attributes | Jason A. Donenfeld | 2018-12-07 | 1 | -15/+1 |
| | | | | This is a follow up of bcf8684c9ec90fe0d283a67d1654d05fb3eae019. | ||||
* | global: various formatting tweeks | Jason A. Donenfeld | 2018-11-13 | 1 | -25/+25 |
| | |||||
* | tools: don't fail if a netlink interface dump is inconsistent | Jason A. Donenfeld | 2018-10-13 | 1 | -2/+9 |
| | | | | | | | | | | Netlink returns NLM_F_DUMP_INTR if the set of all tunnels changed during the dump. That's unfortunate, but is pretty common on busy systems that are adding and removing tunnels all the time. Rather than retrying, potentially indefinitely, we just work with the partial results. Reported-by: Robert Gerus <ar@is-a.cat> | ||||
* | netlink: do not stuff index into nla type | Jason A. Donenfeld | 2018-10-08 | 1 | -5/+4 |
| | | | | | | | It's not used for anything, and LKML doesn't like the type being used as an index value. Suggested-by: Eugene Syromiatnikov <esyr@redhat.com> | ||||
* | global: put SPDX identifier on its own line | Jason A. Donenfeld | 2018-09-20 | 3 | -6/+6 |
| | | | | | The kernel has very specific rules correlating file type with comment type, and also SPDX identifiers can't be merged with other comments. | ||||
* | embeddable-wg-library: do not left shift negative numbers | Jason A. Donenfeld | 2018-07-24 | 1 | -7/+2 |
| | | | | Otherwise we incur undefined behavior. | ||||
* | tools: encoding: add missing static array constraints | Jason A. Donenfeld | 2018-06-06 | 1 | -2/+2 |
| | |||||
* | tools: constanter time encoding | Jason A. Donenfeld | 2018-05-31 | 1 | -7/+7 |
| | |||||
* | embeddable-wg-library: zero attribute padding | Jason A. Donenfeld | 2018-05-03 | 1 | -0/+4 |
| | | | | See: http://git.netfilter.org/libmnl/commit/?id=37c876b55a2c00424ccda5a300ab5fdec1d88b22 | ||||
* | contrib: embedded-wg-library: add key generation functions | Jason A. Donenfeld | 2018-03-02 | 3 | -2/+205 |
| | |||||
* | contrib: embedded-wg-library: add ability to add and del interfaces | Jason A. Donenfeld | 2018-02-21 | 3 | -3/+109 |
| | |||||
* | contrib: add embeddable wireguard library | Jason A. Donenfeld | 2018-02-17 | 6 | -0/+1671 |