Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: satisfy sparse | Jason A. Donenfeld | 2017-03-19 | 1 | -1/+1 |
| | |||||
* | socket: enable setting of fwmark | Jason A. Donenfeld | 2017-02-13 | 1 | -0/+6 |
| | |||||
* | config: useless newline | Jason A. Donenfeld | 2017-01-12 | 1 | -2/+0 |
| | |||||
* | Update copyright | Jason A. Donenfeld | 2017-01-10 | 1 | -1/+1 |
| | |||||
* | uapi: use sockaddr union instead of sockaddr_storage | Jason A. Donenfeld | 2017-01-10 | 1 | -8/+5 |
| | |||||
* | uapi: use flag instead of C bitfield for portability | Jason A. Donenfeld | 2017-01-10 | 1 | -6/+6 |
| | |||||
* | cookies: use xchacha20poly1305 instead of chacha20poly1305 | Jason A. Donenfeld | 2016-12-23 | 1 | -4/+14 |
| | | | | | This allows us to precompute the blake2s calls and save cycles, since hchacha is fast. | ||||
* | config: allow removing multiple peers at once | Jason A. Donenfeld | 2016-12-23 | 1 | -1/+2 |
| | |||||
* | config: cleanups | Jason A. Donenfeld | 2016-12-16 | 1 | -33/+19 |
| | |||||
* | peer: don't use sockaddr_storage to reduce memory usage | Jason A. Donenfeld | 2016-12-13 | 1 | -3/+10 |
| | |||||
* | global: move to consistent use of uN instead of uintN_t for kernel code | Jason A. Donenfeld | 2016-12-11 | 1 | -5/+5 |
| | |||||
* | headers: cleanup notices | Jason A. Donenfeld | 2016-11-21 | 1 | -1/+1 |
| | |||||
* | socket: keep track of src address in sending packets | Jason A. Donenfeld | 2016-11-15 | 1 | -4/+6 |
| | |||||
* | socket: use dst_cache instead of handrolled cache | Jason A. Donenfeld | 2016-11-04 | 1 | -1/+1 |
| | |||||
* | timers: take reference like a lookup table | Jason A. Donenfeld | 2016-11-03 | 1 | -8/+1 |
| | |||||
* | Rework headers and includes | Jason A. Donenfeld | 2016-09-29 | 1 | -1/+0 |
| | |||||
* | persistent-keepalive: change range to [1,65535] | Jason A. Donenfeld | 2016-08-08 | 1 | -7/+4 |
| | |||||
* | timers: upstream removed the slack concept | Jason A. Donenfeld | 2016-07-23 | 1 | -5/+2 |
| | | | | | No longer do we specify slack ourselves. Instead we need to add it directly in the main scheduling. | ||||
* | timers: apply slack to hotpath timers | Jason A. Donenfeld | 2016-07-10 | 1 | -2/+5 |
| | | | | | | | | | | | For timers in the hotpath, we don't want them to be rescheduled so aggressively, and since they don't need to be that precise, we can set a decent amount of slack. With the persistent keepalive timer, we have something of a special case. Since the timeout isn't fixed like the others, we don't want to make it more often than the kernel ordinarily would. So, instead, we make it a minimum. | ||||
* | persistent keepalive: use unsigned long to avoid multiplication in hotpath | Jason A. Donenfeld | 2016-07-10 | 1 | -2/+2 |
| | |||||
* | persistent keepalive: use authenticated keepalives | Jason A. Donenfeld | 2016-07-10 | 1 | -1/+1 |
| | |||||
* | persistent keepalive: start sending immediatelyexperimental-0.0.20160708.1 | Jason A. Donenfeld | 2016-07-08 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | Rather than only start sending the persistent keepalive packets when the device first sends data, this changes it to send the packets immediately on `ip link set up`. This makes things generally seem more stateless, since the administrator does not have to manually ping the endpoint. Of course, if you have a lot of peers and all of them have persistent keepalive enabled, this could cause a lot of unwanted immediate traffic. On the other hand, if all of those peers are at some point going to be sending packets, this would happen anyway. I suppose the moral of the story is that persistent keepalive is a feature really just for clients behind NAT, not for servers, and it should be used sparingly, which is why we've set it off by default in the first place. | ||||
* | persistent keepalive: add kernel mechanism | Jason A. Donenfeld | 2016-07-08 | 1 | -0/+8 |
| | |||||
* | Initial commit | Jason A. Donenfeld | 2016-06-25 | 1 | -0/+314 |