Commit Graph

982 Commits

Author SHA1 Message Date
bfd76ff76a add go fd test 2021-10-06 09:22:20 +00:00
776df87879 bugfix: addpeer API. new: tcpsock,udpsock,fd 2021-10-06 08:47:57 +00:00
b99b0254ea L2FIB Timeout v0.2.4-1 2021-10-01 09:01:41 +00:00
06b7ea1edb Static mode for supernode,dump packet, update readme, add code of concept 0.2.4 v0.2.4 2021-09-30 21:44:07 +00:00
b6cb1db5d8 Update readme 0.2.3 2021-09-29 12:13:22 +00:00
96682579f8 Add timeout and lastseen at supernode, add lock to map access v0.2.3 2021-09-28 23:36:55 +00:00
a60a9e8388 Don't lock peer while it's alive 2021-09-26 12:59:57 +00:00
4d0b5d1a3f bugfix: loop breaks on error, should continue to next 2021-09-24 11:33:17 +00:00
34443127b9 parse error for metamessage and allow single network stack 2021-09-23 19:16:45 +00:00
2ac7c0547d std bind, http api, hole punching, domain endpoint, faster reaction, psk v0.2.2 2021-09-23 11:31:01 +00:00
1fcc1bbfa1 update readme 2021-09-21 20:10:11 +00:00
a26376cec5 add/del peer dynamically 2021-09-21 20:03:11 +00:00
33b0b5f055 bugfix: p2p route problem v0.2.1 2021-09-21 12:48:50 +00:00
29b53884ba shrink header to inc MTU to 1416 v0.2.0 2021-09-21 01:31:11 +00:00
72e4ebc91d version check in supernode 2021-09-20 21:00:34 +00:00
7951ba2f6a fix supernode ipv6 problem, add error message 2021-09-20 16:27:53 +00:00
612901c16a MAC address suffix now use NodeID instead of VPPIfaceID v0.1.2 2021-08-30 06:39:34 +00:00
0cff923ed6 update README.md 2021-08-30 14:24:46 +08:00
c27695063d Update README_zh.md v0.1.1 2021-08-27 10:45:19 +00:00
d8f7cb1b60 First release v0.1.0 2021-08-26 12:40:53 +00:00
9e8e3ddc13 fix bug for vpp close v0.0.20210826 2021-08-26 11:33:35 +00:00
5fbb065897 no-vpp version 2021-08-26 11:20:54 +00:00
4443b8bddf Path solver and beta release 2021-08-25 18:20:35 +00:00
f8fe962f6a NTP support 2021-08-25 18:20:33 +00:00
eae0dc1aa5 Fix bug: remove unnecessary nhTable update 2021-08-25 18:20:30 +00:00
89f3069e7f New log option: LogNormal 2021-08-25 18:20:29 +00:00
ad196d3f95 http guest api 2021-08-25 18:20:25 +00:00
c4183ca924 workaround for bug https://jira.fd.io/projects/GOVPP/issues/GOVPP-22 2021-08-25 18:20:17 +00:00
6b563b5ad5 LinuxTap, bugfix 2021-08-24 13:55:42 +00:00
d717d35f64 LinuxTap, not test yet 2021-08-24 12:37:37 +00:00
26ba4dbe94 VPPTap, not test yet 2021-08-23 20:15:31 +00:00
2beb19c224 Bugfix, save peer to file ok 2021-08-23 17:45:09 +00:00
8a1126dcbf Bugfix, p2p mode ok 2021-08-23 16:39:04 +00:00
88ef721c1d Bugfix, static mode ok 2021-08-23 08:35:17 +00:00
19fe84cf0c bunch of bugfix, supermode OK 2021-08-22 14:19:35 +00:00
4939f9f0c4 Not test yet 2021-08-21 14:23:27 +00:00
87a62f873b TAP and routeing 2021-08-16 19:37:15 +00:00
1fa36f77ac delete unused part(tun/allow_ip) 2021-08-16 19:37:08 +00:00
7801b56b41 rename module 2021-08-16 19:36:46 +00:00
3957e9b9dd memmod: register exception handler tables
Otherwise recent WDK binaries fail on ARM64, where an exception handler
is used for trapping an illegal instruction when ARMv8.1 atomics are
being tested for functionality.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-08-05 14:56:48 +02:00
bad6caeb82 memmod: fix protected delayed load the right way
The reason this was failing before is that dloadsup.h's
DloadObtainSection was doing a linear search of sections to find which
header corresponds with the IMAGE_DELAYLOAD_DESCRIPTOR section, and we
were stupidly overwriting the VirtualSize field, so the linear search
wound up matching the .text section, which then it found to not be
marked writable and failed with FAST_FAIL_DLOAD_PROTECTION_FAILURE.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-07-29 01:27:40 +02:00
c89f5ca665 memmod: disable protected delayed load for now
Probably a bad idea, but we don't currently support it, and those huge
windows.NewCallback trampolines make juicer targets anyway.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-07-29 01:13:03 +02:00
15b24b6179 ipc: allow admins but require high integrity label
Might be more reasonable.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-24 17:01:02 +02:00
f9b48a961c device: zero out allowedip node pointers when removing
This should make it a bit easier for the garbage collector.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-04 16:33:28 +02:00
d0cf96114f device: limit allowedip fuzzer a to 4 times through
Trying this for every peer winds up being very slow and precludes it
from acceptable runtime in the CI, so reduce this to 4.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-03 18:22:50 +02:00
841756e328 device: simplify allowedips lookup signature
The inliner should handle this for us.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-03 16:29:43 +02:00
c382222eab device: remove nodes by peer in O(1) instead of O(n)
Now that we have parent pointers hooked up, we can simply go right to
the node and remove it in place, rather than having to recursively walk
the entire trie.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-03 16:29:43 +02:00
b41f4cc768 device: remove recursion from insertion and connect parent pointers
This makes the insertion algorithm a bit more efficient, while also now
taking on the additional task of connecting up parent pointers. This
will be handy in the following commit.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-03 15:08:42 +02:00
4a57024b94 device: reduce size of trie struct
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-03 13:51:03 +02:00
64cb82f2b3 go.mod: bump golang.org/x/sys again
To pick up https://go-review.googlesource.com/c/sys/+/307129.

Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
2021-05-25 16:34:54 +02:00