Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2016-11-05 | qemu: move build outside of kernel dir to avoid kernel's make clean | Jason A. Donenfeld | 1 | -0/+10 | |
2016-11-05 | socket: big refactoring | Jason A. Donenfeld | 3 | -193/+170 | |
2016-11-04 | socket: route() returns an error pointer, not NULL on failure | Jason A. Donenfeld | 1 | -2/+2 | |
Reported-by: Cedric Buxin <cedric.buxin@izri.org> | |||||
2016-11-04 | compat: some grsec have get_random_long; others do not | Jason A. Donenfeld | 1 | -2/+3 | |
2016-11-04 | data: use a memory cache for parallel ctx | Jason A. Donenfeld | 3 | -61/+91 | |
2016-11-04 | data: keep FPU on when possible | Jason A. Donenfeld | 3 | -59/+46 | |
2016-11-04 | send: queue bundles on same CPU | Jason A. Donenfeld | 3 | -216/+140 | |
2016-11-04 | data: use smaller types | Jason A. Donenfeld | 2 | -8/+8 | |
2016-11-04 | data: take reference to peer | Jason A. Donenfeld | 1 | -1/+8 | |
2016-11-04 | compat: stub out dst_cache for old kernels | Jason A. Donenfeld | 3 | -1/+16 | |
2016-11-04 | socket: use dst_cache instead of handrolled cache | Jason A. Donenfeld | 6 | -102/+68 | |
2016-11-03 | chacha20poly1305: src is different from dst on last pieceexperimental-0.0.20161103 | Jason A. Donenfeld | 1 | -1/+1 | |
This took hours of debugging. In some cases, the src and dst are different for the last piece, so the incorrect code here resulted in computing the poly1305 over the wrong data. This lead to packets being unnecessarily dropped. | |||||
2016-11-03 | device: use ARPHDR_VOID instead of ARPHDR_NONE | Jason A. Donenfeld | 1 | -1/+1 | |
These amount to the same exact thing, except that IPv6 auto configuration won't assign it a (useless) random address and add multicast routes. | |||||
2016-11-03 | qemu: newer default kernel | Jason A. Donenfeld | 1 | -1/+1 | |
2016-11-03 | timers: take reference like a lookup table | Jason A. Donenfeld | 5 | -46/+42 | |
2016-11-02 | tools: abstract pkg-config to PKG_CONFIGexperimental-0.0.20161102 | Jason A. Donenfeld | 1 | -2/+3 | |
Distros like Exherbo have multitarget setups with toolnames prefixed by the arch. | |||||
2016-11-02 | tools: everybody hates automatic stripping | Jason A. Donenfeld | 1 | -1/+1 | |
I happen to like it, but package managers don't. The GNU standard [1] says there should be a separate install-strip target. I don't like duplicating code like that. So, instead, I'll just remove stripping all together. [1] https://www.gnu.org/prep/standards/html_node/Standard-Targets.html | |||||
2016-11-02 | kref: elide checks | Jason A. Donenfeld | 2 | -8/+4 | |
2016-11-01 | data: do not allow usage of keypair just before hash removal | Jason A. Donenfeld | 3 | -4/+13 | |
2016-11-01 | peer: kref is most likely to succeed | Jason A. Donenfeld | 1 | -2/+2 | |
2016-10-23 | compat: grsecurity backports get_random_longexperimental-0.0.20161025 | Jason A. Donenfeld | 1 | -0/+3 | |
2016-10-23 | data: reset all packet fields like tun.c | Jason A. Donenfeld | 1 | -2/+2 | |
2016-10-22 | device: better debug message for unroutable packets | Jason A. Donenfeld | 1 | -1/+5 | |
2016-10-22 | compat: support PaX constify plugin | Jason A. Donenfeld | 1 | -0/+7 | |
2016-10-22 | uapi.h: public_key field is a getter | Jörg Thalheim | 1 | -1/+1 | |
Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk> | |||||
2016-10-19 | receive: always send confirmation, even if queue is empty | Jason A. Donenfeld | 1 | -1/+5 | |
2016-10-19 | timers: only have initiator rekey | Jason A. Donenfeld | 6 | -66/+44 | |
If it's time to rekey, and the responder sends a message, the initator will begin the rekeying when sending his response message. In the worst case, this response message will actually just be the keepalive. This generally works well, with the one edge case of the message arriving less than 10 seconds before key expiration, in which the keepalive is not sufficient. In this case, we simply rehandshake immediately. | |||||
2016-10-19 | timers: always delay handshakes for responder | Jason A. Donenfeld | 5 | -8/+50 | |
With the prior behavior, when sending a packet, we checked to see if it was about time to start a new handshake, and if we were past a certain time, we started it. For the responder, we made that time a bit further in the future than for the initiator, to prevent the thundering herd problem of them both starting at the same time. However, this was flawed. If both parties stopped communicating after 2.2 minutes, and then one party decided to initiate a TCP connection before the 3 minute mark, the currently open session would be used. However, because it was after the 2.2 minute mark, both peers would try to initiate a handshake upon sending their first packet. The errant flow was as follows: 1. Peer A sends SYN. 2. Peer A sees that his key is getting old and initiates new handshake. 3. Peer B receives SYN and sends ACK. 4. Peer B sees that his key is getting old and initiates new handshake. Since these events happened after the 2.2 minute mark, there's no delay between handshake initiations, and problems begin. The new behavior is changed to: 1. Peer A sends SYN. 2. Peer A sees that his key is getting old and initiates new handshake. 3. Peer B receives SYN and sends ACK. 4. Peer B sees that his key is getting old and schedules a delayed handshake for 12.5 seconds in the future. 5. Peer B receives handshake initiation and cancels scheduled handshake. | |||||
2016-10-19 | timers: move constants to header | Jason A. Donenfeld | 2 | -12/+9 | |
2016-10-19 | timers: kill half-open handshakes after a while | Jason A. Donenfeld | 1 | -0/+4 | |
2016-10-19 | timers: avoid thundering herd for simultaneous initiation | Jason A. Donenfeld | 1 | -1/+1 | |
Since it's extremely unlikely for jiffies to be exactly identical everywhere, applying quarter second power of two slack not only improves power efficiency but also ensures that retries have a bit of jitter. | |||||
2016-10-19 | debug: keep alive -> keepalive | Jason A. Donenfeld | 3 | -3/+2 | |
2016-10-19 | noise: comment/document the key swapping | Jason A. Donenfeld | 1 | -1/+19 | |
2016-10-14 | send: ensure that rekey retries are staggeredexperimental-0.0.20161014 | Jason A. Donenfeld | 1 | -1/+1 | |
Before: t+120: A sends rekey [packet dropped by network congestion] t+125: A sends rekey [packet dropped by network congestion] t+130: A sends rekey t+130: B sends rekey ! race ! After: t+120: A sends rekey [packet dropped by network congestion] t+125: A sends rekey [packet dropped by network congestion] t+130: A sends rekey [packet dropped by network congestion] T+132.5: B sends rekey [packet dropped by network congestion] T+135: A sends rekey [packet dropped by network congestion] T+137.5: B sends rekey ! success, eventually ! | |||||
2016-10-14 | device: show debug message when no peer has allowed-ips for packet | Jason A. Donenfeld | 1 | -0/+1 | |
2016-10-05 | send: requeue jobs for later if padata is full | Jason A. Donenfeld | 2 | -2/+14 | |
2016-10-04 | compat: akpm merged this to 4.9 | Jason A. Donenfeld | 1 | -1/+2 | |
http://marc.info/?l=linux-mm-commits&m=147553169709478&w=2 | |||||
2016-10-02 | send: only avoid parallel path when there aren't inflight jobs | Jason A. Donenfeld | 2 | -1/+14 | |
Otherwise we get packet reordering. | |||||
2016-09-29 | remote-run: reflect recent makefile changesexperimental-0.0.20161001 | Jason A. Donenfeld | 1 | -1/+1 | |
2016-09-29 | git: organize ignore files | Jason A. Donenfeld | 5 | -2/+10 | |
2016-09-29 | compat: Isolate more functions | Jason A. Donenfeld | 2 | -59/+97 | |
2016-09-29 | Rework headers and includes | Jason A. Donenfeld | 33 | -180/+190 | |
2016-09-29 | poly1305: optimize unaligned access | René van Dorst | 1 | -0/+30 | |
2016-08-30 | tools: allow multiple AllowedIPs invocations | Jason A. Donenfeld | 1 | -1/+0 | |
It turns out this is a somewhat natural thing to do in config files. | |||||
2016-08-29 | send: properly encapsulate ECN | Jason A. Donenfeld | 4 | -16/+38 | |
We're not leaking the DSCP, but we do deal with ECN. | |||||
2016-08-29 | netns: remove dangling $@ | Jason A. Donenfeld | 1 | -4/+4 | |
2016-08-26 | examples: add key extractor | Jason A. Donenfeld | 4 | -0/+221 | |
2016-08-24 | examples: add nat-hole-punching | Jason A. Donenfeld | 3 | -0/+354 | |
2016-08-22 | socket: use isdigit | Jason A. Donenfeld | 1 | -1/+2 | |
2016-08-22 | routingtable: hyphen was ugly | Jason A. Donenfeld | 4 | -3/+3 | |