Commit Graph

1051 Commits

Author SHA1 Message Date
Haley Weslin
58524657fe setting not settings: struct.RoutingContext.html
"by settings ‘force_refresh’" needs to use the "setting" word.

After changing it, build_docs.sh fixes rustdoc for
veilid_core/struct.RoutingContext.html
2023-09-05 16:05:18 +00:00
Brandon Vandegrift
93963e9d08 (wasm) Cleanup and refactoring, add TableDB transactions, copy over docs for JSDoc. 2023-09-04 14:04:57 -04:00
Brandon Vandegrift
ca11f6075d (wasm) Add VeilidCrypto class, refine interfaces for VeilidRoutingContext 2023-09-03 23:27:20 -04:00
Brandon Vandegrift
c5d7922fc5 Add VeilidRoutingContext class for WASM 2023-09-03 23:27:20 -04:00
Christien Rioux
9aeec3cfa8 build fixes and cleanup 2023-09-03 23:27:20 -04:00
Brandon Vandegrift
779532b624 Add new VeilidTable and VeilidClient to WASM API
These new interfaces have been reworked (compared to the original API) to emit (mostly) proper TypeScript types.
2023-09-03 23:27:08 -04:00
Brandon Vandegrift
1b20037053 Setup for TypeScript type gen for WASM using Tsify
- Includes breaking changes to the WASM API surface, since it now accepts objects instead of stringified JSON.
2023-09-03 23:27:08 -04:00
TC Johnson
65826b219b
Version update: v0.2.0 → v0.2.1 2023-09-03 19:45:12 -05:00
John Smith
71f91998b2 more fork 2023-09-03 10:23:41 -04:00
John Smith
896df0bb97 more forking 2023-09-03 10:08:04 -04:00
John Smith
fd6e9e22c2 crate fixes 2023-09-03 09:53:00 -04:00
Christien Rioux
7d71b50170
Merge branch 'rustdocTypo2023-09-02' into 'main'
Remove stray by: veilid_core/struct.VeilidAPI.html

See merge request veilid/veilid!166
2023-09-03 00:18:16 +00:00
Christien Rioux
b3354194e0 repo fix 2023-09-02 18:50:12 -04:00
Christien Rioux
a77f80a8a9 repo fixes 2023-09-02 15:47:19 -04:00
Christien Rioux
20f55745b0 add descriptions 2023-09-02 12:28:31 -04:00
TC Johnson
2c46a159a3
Version update: v0.1.10 → v0.2.0 2023-09-02 09:45:56 -05:00
Christien Rioux
90772728c2 bumpversion fixes 2023-09-02 10:41:59 -04:00
Haley Weslin
3cfaff9cbb Remove stray by: veilid_core/struct.VeilidAPI.html
"specified by at startup time" has an extra "by" (wrong grammar)

After changing it, build_docs.sh fixes rustdoc here:
target/doc/veilid_core/struct.VeilidAPI.html
2023-09-02 05:22:51 +00:00
Christien Rioux
709ec4543b change visibility of dhcache 2023-09-01 21:18:45 -04:00
Christien Rioux
246056913e doc work 2023-09-01 21:13:05 -04:00
Christien Rioux
c377a59278 fix tests 2023-09-01 18:59:43 -04:00
Christien Rioux
ffcf16711b android fixes 2023-09-01 17:44:42 -04:00
Christien Rioux
d68a543800 fix ios 2023-08-29 17:50:25 -05:00
Christien Rioux
e302b764d0 docs and tests work 2023-08-29 15:15:47 -05:00
Christien Rioux
3125c19f02 doc work 2023-08-27 16:39:50 -05:00
Christien Rioux
8c366387eb Merge branch 'fix-set-record-data-size-call' into 'main'
call set_record_data_size with accumulated size

See merge request veilid/veilid!155
2023-08-27 16:07:38 +00:00
Christien Rioux
59dda0febe Merge branch 'api_startup_json_skip_all' into 'main'
api_startup_json: use 'skip_all'

See merge request veilid/veilid!154
2023-08-27 15:58:00 +00:00
Rivka Segan
5dd0a3793b call set_record_data_size with accumulated size
set_subkey corrupts record_data_size in a Record struct by calling
set_record_data_size with a value that depends only on the length of
the new subkey value. This leads to various undesirable outcomes, such
as: applications can write more than MAX_RECORD_DATA_SIZE without
encountering the intended "veilid.error.VeilidAPIErrorGeneric:
label='Generic' message='dht record too large'" error message, and
"panicked at 'attempt to subtract with overflow'" (i.e., an attempt to
set a negative value of a size) if a subkey's new length is less than
a subkey's old length. Typically, record_data_size in a Record struct
will be incorrect if a value was set for more than one subkey. Some
users might want to start over with a table_store that doesn't have
any incorrect record_data_size values.

The issue begins here:
6f71c6a00a/veilid-core/src/storage_manager/record_store.rs (L583-L586)

and is triggered here:
6f71c6a00a/veilid-core/src/storage_manager/record_store.rs (L613-L615)

It should be clear that new_record_data_size is only related to the
subkey that is currently being set. The amount of data in the record,
before set_subkey is called, is ignored. It appears that
new_total_size, not new_record_data_size, was intended to be used for
set_record_data_size, and this change succeeds for me in limited
testing but I don't have a comprehensive test suite.

One way to reproduce is by running the code from
https://gitlab.com/vatueil/veilid-file on a greater than 1 MB file
while watching variable values within
veilid-core/src/storage_manager/record_store.rs. For example: "poetry
run file put /usr/bin/tcpdump" (1.3 MB on Ubuntu 23.04). With the
original Veilid code, each of the dozens of subkey writes is checking
whether a roughly 32K value is greater than 1048576, it never is, and
thus there is never a "dht record too large" error. With the patch in
this MR, each of the dozens of subkey writes is checking whether an
ever-increasing value is greater than 1048576, it eventually is, and
the "dht record too large" error is printed. With the patch, one can
work with smaller files, e.g., do "poetry run file put /usr/bin/ssh"
(0.8 MB) followed by "poetry run file get VLD0:<_insert_key_here_>
ssh-copy" and the retrieved file ssh-copy is identical to
/usr/bin/ssh.

The more detailed behavior is that the modified code has
record.total_size of 350 on the first iteration, then 33596, 66842,
100088, etc. The original code also has record.total_size of 350 on
the first iteration, but then stays at 33246 forever (33246 is the
user-supplied subkey size of 32768, plus 128, plus the minimum record
size of 350),
2023-08-26 07:08:47 +00:00
Bruno Bigras
ff6f04be8c api_startup_json: use 'skip_all' 2023-08-26 02:01:57 +00:00
Christien Rioux
248b21a951 proper relay switch, fix wasm 2023-08-24 18:59:33 -04:00
John Smith
6bb35dd6a6 skip publishing relay for fullconenat 2023-08-24 18:35:37 -04:00
John Smith
945215aba1 speed up public address detection 2023-08-24 18:35:37 -04:00
John Smith
4eca53fd9b direct port forward detection 2023-08-24 18:35:37 -04:00
Christien Rioux
654b5dfebc simplify code 2023-08-24 18:35:37 -04:00
Christien Rioux
34c686c227 xfer 2023-08-24 18:35:37 -04:00
Christien Rioux
030a0073da fix public address check 2023-08-24 18:35:37 -04:00
Pedro Nunes
aa824c176f Merge branch veilid:main into fix-lockapi-dependency 2023-08-23 15:52:56 +00:00
solace-10
59f4899bca Added exact lock_api dependency. 2023-08-23 16:46:14 +01:00
Christien Rioux
1315766fa9 eliminate network keying from bootstrap name 2023-08-22 15:11:45 -04:00
Christien Rioux
e504da2564 xfer 2023-08-22 15:11:45 -04:00
Christien Rioux
0249b7c7ae dial info failure reprioritization 2023-08-22 15:11:45 -04:00
Christien Rioux
10ec693fb4 Merge branch 'fix/value-data-api-crash' into 'main'
fix: large value_data length in api crashes server

See merge request veilid/veilid!139
2023-08-22 19:00:50 +00:00
Cheradenine Zakalwe
0ce19d85fa fix: large value_data length in api crashes server 2023-08-22 19:00:49 +00:00
Christien Rioux
eb4f29900d Merge branch 'mr-test' into 'main'
Fix a couple of minor speedup issues

See merge request veilid/veilid!142
2023-08-22 18:58:30 +00:00
a1ecbr0wn
3f9f31a0a2
Fix a couple of minor speedup issues 2023-08-22 13:00:53 +01:00
pbarry25
0b018edfe5
Fix minor typos 2023-08-21 20:12:20 -05:00
TC Johnson
513116e672
Version update: v0.1.9 → v0.1.10 2023-08-20 11:37:18 -05:00
John Smith
f43462da8c add more changelog and clean up test output 2023-08-20 12:10:54 -04:00
John Smith
2d454c2654 fix comment 2023-08-20 11:52:54 -04:00
John Smith
c1cbcbe7c1 switch back to Sha512 for ed25519 compliance. add domain separation for signing and crypt 2023-08-20 11:47:29 -04:00
John Smith
d0fabbe3d9 Merge branch 'main' of gitlab.com:veilid/veilid into windows-fix 2023-08-20 11:25:39 -04:00
John Smith
1a3c87f9f1 fix nul termination 2023-08-20 11:23:17 -04:00
John Smith
964741463e vld0 work 2023-08-20 10:54:26 -04:00
John Smith
a7860d829e dh fix 2023-08-20 01:37:49 -04:00
John Smith
909a2f5362 windows fixess 2023-08-19 21:21:58 -04:00
Imuli
8f18569e30
use strict verification for ed25519
This enables all the signature malleability checks (including one that
is not RFC8032 compliant but are still likely important for Veilid.)

For details on the additional check, see
https://docs.rs/ed25519-dalek/2.0.0/ed25519_dalek/struct.VerifyingKey.html#method.verify_strict
2023-08-19 23:35:34 +00:00
TC Johnson
dfeecdde0d
Version update: v0.1.8 → v0.1.9 2023-08-19 17:35:52 -05:00
John Smith
a9c13d45fd add changelog and missing file 2023-08-19 18:24:25 -04:00
John Smith
eae839e484 decompression fix for OOM 2023-08-19 18:13:30 -04:00
John Smith
89b357350d upgrade dependencies and fix cargo locks 2023-08-19 15:16:51 -04:00
TC Johnson
04c26e48f0 'Version update: 0.1.7 → 0.1.8' 2023-08-18 20:27:01 -05:00
Christien Rioux
2c779b2257 fanout debugging 2023-08-18 00:06:21 -04:00
Christien Rioux
b2503ae789 offline work 2023-08-18 00:06:21 -04:00
Christien Rioux
435469ce94 offline subkey writes 2023-08-18 00:06:21 -04:00
Christien Rioux
8e1ed1e3f1 fix crash 2023-08-18 00:06:21 -04:00
Christien Rioux
ef327fb963 crash fix 2023-08-18 00:06:21 -04:00
Christien Rioux
559ac5f162 fix server port allocation 2023-08-18 00:06:21 -04:00
Christien Rioux
79bf6fca69 fix bug 2023-08-18 00:06:21 -04:00
Christien Rioux
01aa411498 punishments 2023-08-18 00:06:21 -04:00
John Smith
8a287d13ef 0.1.7 2023-07-30 19:33:58 -04:00
Christien Rioux
ffdd885aa4 test 2023-07-30 17:20:36 -04:00
John Smith
422a645708 python and api fixes 2023-07-30 16:45:20 -04:00
John Smith
9551ecd9a3 fix compilation error 2023-07-30 16:25:17 -04:00
John Smith
079211890b fix lru bug in connection table 2023-07-30 16:15:57 -04:00
Christien Rioux
91fab6ce5a Merge branch 'veilidchat-work' into 'main' 2023-07-25 17:22:44 +00:00
Teknique
7fa1df0474 Check b.len() < Self::FIXED_SIZE, not b.len() < 4
The original thinking was that if len(b) < FIXED_SIZE, then that would
be picked up later by the "invalid member length" check. In that case,
this only really *needs* to make sure that the check after this for
"wrong fourcc" wouldn't fail. But if len(b) < FIXED_SIZE, it really is
an invalid size, and should get that error message before even starting
to validate its other qualities.
2023-07-25 08:39:15 -07:00
Christien Rioux
00aad2c728 bugfixes 2023-07-25 01:04:22 -04:00
Teknique
f8bb97b39c Fix(?) size check in try_from for DHTSchemaSMPL 2023-07-24 21:43:14 -07:00
Christien Rioux
a6666d3a6c addresses 2023-07-23 23:13:42 -04:00
Christien Rioux
b993063aba network and ios fixes 2023-07-23 21:49:10 -04:00
John Smith
1861650d44 0.1.6 2023-07-22 16:28:05 -04:00
Christien Rioux
cff955782b fix fox nodes length issue 2023-07-22 15:37:15 -04:00
TC Johnson
4951e983c7
Release 0.1.5 2023-07-22 12:02:10 -05:00
Christien Rioux
9d3e847a68 more punishment cleanup 2023-07-21 14:30:10 -04:00
Christien Rioux
3f59f3bde3 cleanup warning 2023-07-21 09:48:30 -04:00
Christien Rioux
674a4d26f3 attempt to fix suspend issue 2023-07-21 09:44:14 -04:00
Christien Rioux
3224a315c3 proper node info filter for fanout 2023-07-20 17:52:45 -04:00
Christien Rioux
fa45f491eb 0.1.4 2023-07-19 21:15:54 -04:00
Christien Rioux
dfc2a09847 relay work 2023-07-19 20:55:37 -04:00
Christien Rioux
8d4f9cebab outbound relay fix 2023-07-19 14:45:05 -04:00
John Smith
4702a33a4a licensing 2023-07-19 12:48:44 -04:00
John Smith
9d0479fc45 better peer minimum refresh 2023-07-19 12:32:03 -04:00
Christien Rioux
f65400a1ce network fixes 2023-07-19 10:07:51 -04:00
Christien Rioux
05c75a5933 more error detail 2023-07-18 10:59:43 -04:00
John Smith
fff6742c6f version bump 2023-07-17 17:53:42 -04:00
John Smith
7658e2cb42 fix punishment 2023-07-17 17:51:05 -04:00
Christien Rioux
217a2470b0 first version bump 2023-07-16 15:04:00 -04:00
John Smith
304e9fd117 nodeinfo update fix 2023-07-16 13:29:41 -04:00
John Smith
f3d99541cc ws err 2023-07-16 12:56:02 -04:00
John Smith
3b76b1f81f network fixes 2023-07-16 12:28:27 -04:00
John Smith
823db3adf2 reverse connect fix 2023-07-16 00:21:19 -04:00
John Smith
b8c55f61d0 cargo updates 2023-07-15 22:28:08 -04:00
Christien Rioux
befb100ba4 compress envelopes with lz4 2023-07-15 21:44:36 -04:00
Christien Rioux
21ecd64ff8 loosen up on dropped rpcs 2023-07-15 20:03:58 -04:00
Christien Rioux
3264b568d0 punish by node id 2023-07-15 19:35:22 -04:00
Christien Rioux
80cb23c0c6 remove rkyv 2023-07-15 19:35:22 -04:00
Christien Rioux
19f384ab33 refactor create dht value 2023-07-15 19:35:22 -04:00
Christien Rioux
4960d13447 more semantics 2023-07-14 19:37:06 -04:00
Christien Rioux
e61d6be6a9 allow revert to invalid nodeinfo 2023-07-14 19:14:12 -04:00
Christien Rioux
167374969d connections work 2023-07-14 17:13:58 -04:00
Christien Rioux
6c2aaa16c6 relay work 2023-07-14 16:54:29 -04:00
John Smith
41b9a22595 fix keepalives 2023-07-14 14:21:00 -04:00
Christien Rioux
742b8e09a5 revert binding change 2023-07-14 00:24:19 -04:00
Christien Rioux
aec9f60290 ipv6 nat 2023-07-13 23:22:37 -04:00
Christien Rioux
858b0e6617 use unbound connections for outbound 2023-07-13 22:31:47 -04:00
Christien Rioux
73498c991f fix dns error 2023-07-13 21:44:34 -04:00
John Smith
7a737abb12 simplify tracing 2023-07-13 21:12:59 -04:00
Christien Rioux
0f33dfb15d more network triage 2023-07-13 19:54:08 -04:00
Christien Rioux
70a0346cc3 fix some more network issues 2023-07-13 18:52:03 -04:00
Christien Rioux
5977b6a141 add more error telemetry 2023-07-13 14:16:20 -04:00
John Smith
0a16938f9b fix signal 2023-07-12 20:12:45 -04:00
John Smith
714eca1411 relay fixes 2023-07-12 19:38:35 -04:00
John Smith
87694f5f4a more entries detail 2023-07-12 00:04:44 -04:00
John Smith
2a807715b6 network debugging 2023-07-11 21:56:13 -04:00
John Smith
c16888e214 fix missing relay issue 2023-07-04 15:34:48 -05:00
John Smith
b5906a52bc fix wasm 2023-07-04 15:34:48 -05:00
John Smith
907075411d protocol level capabilities 2023-07-04 12:35:48 -04:00
John Smith
8f721c428b more capability work 2023-07-04 00:24:55 -04:00
John Smith
e674eaf496 capability work 2023-07-03 18:01:02 -04:00
John Smith
6de2ccb1f9 more punish fixes 2023-07-03 16:42:49 -04:00
John Smith
ffc54f482e more capabilities 2023-07-03 15:56:13 -04:00
John Smith
dfb4eefd92 switch out capabilities 2023-07-03 15:10:28 -04:00
John Smith
cf9d8cf7c2 fix punish 2023-07-03 12:20:39 -04:00
John Smith
b7e531f35b fix blocked issue 2023-07-03 11:38:40 -04:00
John Smith
cb66af7df3 address filter 2023-07-02 00:17:04 -04:00
John Smith
d290a66f32 dht fixes 2023-07-01 10:45:31 -04:00
John Smith
176d9ac68e dht testing work 2023-06-29 22:18:45 -04:00
John Smith
d044f646bf fix serialize for keypair 2023-06-29 20:49:15 -04:00
John Smith
98a20f5921 fix attachment update 2023-06-28 23:46:29 -04:00
John Smith
05a9ee754e cleanup dht stuff and client/server api 2023-06-28 23:15:06 -04:00
John Smith
b01fb20ec9 add dht record get 2023-06-28 11:55:37 -04:00
John Smith
f1292694a2 enable full safety selection through api 2023-06-28 11:40:02 -04:00
John Smith
fde70610cc oop 2023-06-27 19:05:50 -04:00
John Smith
73c37aa4ca clean up valuesubkeyrangeseT 2023-06-27 18:26:53 -04:00
John Smith
291e3ef2fe add better dht debugging 2023-06-26 21:29:02 -04:00
John Smith
62aeec6faf debug less 2023-06-25 18:28:32 -04:00
John Smith
c3639fd331 fix nodecontactmethod cache 2023-06-25 17:59:11 -04:00
John Smith
297908796c remove owo colors 2023-06-25 14:09:22 -04:00
John Smith
0f3e7010f2 sequencing 2023-06-25 01:53:06 -04:00
John Smith
3e23f808d0 more sequencing 2023-06-25 01:23:24 -04:00
John Smith
234f048241 simplify tracing 2023-06-24 22:59:51 -04:00
John Smith
c8fdded5a7 fix crypto
s
2023-06-24 21:23:48 -04:00
John Smith
b1df2c9d2d fix traces 2023-06-24 20:29:36 -04:00
John Smith
909ef6bf69 messages cleanup 2023-06-24 20:23:33 -04:00
John Smith
4a14cabeeb handle unreachable 2023-06-24 18:40:19 -04:00
John Smith
355040a3e4 refactor and change protocol selection for new connections 2023-06-24 18:12:17 -04:00
John Smith
197b7fef6e reliability work 2023-06-24 11:16:34 -04:00
John Smith
acebcb7947 network keying 2023-06-23 21:12:48 -04:00
John Smith
bc6421acf7 fixes 2023-06-23 17:01:52 -04:00
John Smith
296ca5cadb Merge branch 'main' of gitlab.hackers.town:veilid/veilid into dht-testing 2023-06-23 12:05:40 -04:00
John Smith
e4f97cfefa assembly buffer 2023-06-23 12:05:28 -04:00
John Smith
dfc22aee8e fix tests 2023-06-22 18:31:31 -04:00
John Smith
d21f580de2 Merge branch 'main' of gitlab.hackers.town:veilid/veilid into dht-testing 2023-06-22 17:51:58 -04:00
John Smith
addfd64473 xfer 2023-06-22 17:42:34 -04:00
John Smith
7dbd1e8b92 frag work 2023-06-22 16:54:01 -04:00
John Smith
3d3582e688 assemblybuffer work 2023-06-21 23:35:33 -04:00
John Smith
05d774d23b log cleanup 2023-06-21 14:56:21 -04:00
John Smith
754abf2135 fix binding issues 2023-06-21 13:40:12 -04:00
John Smith
2272b8e139 xfer 2023-06-21 10:02:16 -04:00
John Smith
1c8ecab2b6 cli fixes 2023-06-20 23:46:39 -04:00
John Smith
f17c2f62cb xfer 2023-06-19 22:35:49 -04:00
John Smith
ea651e526d xfer 2023-06-19 11:29:33 -04:00
John Smith
e2824da06e another tabledb fix 2023-06-18 21:34:40 -04:00
John Smith
2314fcb57e more release lifetime cleanup and base class contextmanager stuff 2023-06-18 20:57:51 -04:00
John Smith
b6e055e47d test work 2023-06-18 18:47:39 -04:00
John Smith
c278ddce53 fix udp hole punch goof 2023-06-16 22:28:04 -04:00
John Smith
bfb66e3000 extra error details in the event we see this again 2023-06-16 20:31:01 -04:00
John Smith
d308ebc324 fix tests 2023-06-16 14:23:36 -04:00
John Smith
9ffcc0da87 fix tests 2023-06-16 14:18:34 -04:00
John Smith
f3a3d5322c fixes for tests 2023-06-16 13:29:25 -04:00
John Smith
c6e2836b85 xfer 2023-06-16 13:14:43 -04:00
John Smith
fe502a3645 Merge branch 'main' of gitlab.hackers.town:veilid/veilid into json-rpc 2023-06-16 13:13:51 -04:00
John Smith
14ba85efda fixes 2023-06-16 11:57:55 -04:00
John Smith
d114ea3b72 crufy 2023-06-15 20:29:12 -04:00
John Smith
d6f442d431 better error handling 2023-06-15 20:22:54 -04:00
John Smith
d053e93e72 python work 2023-06-14 16:33:14 -04:00
John Smith
df0b06bf3c python work 2023-06-13 23:17:45 -04:00
John Smith
b6c39ef042 fix firewalling/fragmentation issue 2023-06-10 11:02:48 -04:00
John Smith
88466db03f better statusq failure recording 2023-06-09 22:42:03 -04:00
John Smith
532bcf2e2a json api cli working 2023-06-09 19:08:49 -04:00
John Smith
419bfcd8ce checkpoint 2023-06-08 14:07:09 -04:00
John Smith
317f036598 server api 2023-06-07 17:39:10 -04:00
John Smith
771a7c9e7e json api 2023-06-06 18:48:37 -04:00
John Smith
89f5770fd1 more json api 2023-06-05 22:02:37 -04:00
John Smith
0e52c1fb0a more json schema 2023-06-04 22:08:46 -04:00
John Smith
06081df22a json schema generation 2023-06-04 21:22:55 -04:00
John Smith
6a86f2265a json api work 2023-06-03 18:33:27 -04:00
Teknique
e3a20a352e Added JSON dht and dht/schema tests. 2023-06-01 15:40:47 -07:00
Teknique
cb49477490 Rearrangement for easier scaling of test count 2023-06-01 14:14:24 -07:00
Teknique
b397b5c66b Finish coverage of veilid_api::types 2023-06-01 13:57:18 -07:00
Teknique
ded3f22870 Factor out fixtures; add path to things tested 2023-06-01 13:38:35 -07:00
Teknique
c25029b10f Added veilid_state tests. 2023-06-01 13:04:51 -07:00
Teknique
075da7fe49 Refactoring snapshot 2023-05-31 18:12:57 -07:00
Teknique
febd5fe2dd Added veilid_log tests. 2023-05-31 16:26:28 -07:00
Teknique
04c52a4ddb Added tunnel.rs tests. 2023-05-31 16:16:57 -07:00
Teknique
4b14bbb4f4 Add stats JSON serde tests 2023-05-31 15:49:21 -07:00
Teknique
e2b8c4488e Fix routing_table test imports 2023-05-31 13:34:53 -07:00
Teknique
cdff17dca1 Snapshot 2023-05-31 12:58:18 -07:00
Teknique
f1e12a8ac3 More type testing. 2023-05-31 12:57:01 -07:00
Teknique
9daf47d117 Tested AlignedU64 2023-05-31 12:57:01 -07:00
Teknique
367e160075 Better run_test! macro param naming 2023-05-31 12:57:01 -07:00
Teknique
c01566cc69 Round-trip de/ser for PeerInfo 2023-05-31 12:57:01 -07:00
Teknique
cd8e90cafa Added the bones of test_serialize_json 2023-05-31 12:57:00 -07:00
Teknique
d0ac838708 test_serialize => test_serialize_routing_table 2023-05-31 12:55:54 -07:00
Teknique
a74b0cf3b6 Refactor veilid_core::tests::native with macros 2023-05-31 12:53:59 -07:00
John Smith
bd928e6f09 remove netlink fork 2023-05-29 17:09:29 -04:00
John Smith
4bdf0d58d3 switch back to mainline dalek cryptography crates 2023-05-29 20:22:41 +00:00
John Smith
ca6e70e1df cleanup 2023-05-29 15:33:53 -04:00
John Smith
0a890c8707 removing dev branch, many changes 2023-05-29 19:24:57 +00:00
John Smith
bf55baa052 fix 2023-03-14 23:48:16 +00:00
John Smith
ce1eca606c xfer 2023-03-14 17:44:32 -04:00
John Smith
e91044e33d crash fixes 2023-03-14 14:52:02 -04:00
John Smith
df931a9329 fixes 2023-03-13 20:59:57 -04:00
John Smith
dae2e7c10f xfer 2023-03-13 17:57:51 -04:00
John Smith
894acc18e3 xfer 2023-03-13 16:43:07 -04:00
John Smith
3c7c49684c try multiple cryptosystems 2023-03-13 16:14:31 -04:00
John Smith
d680f1b785 xfer 2023-03-12 17:23:02 +00:00
John Smith
0ea858b08e wasm fixes 2023-03-12 12:24:21 -04:00
John Smith
f8060715ce fix debug 2023-03-11 13:56:40 -05:00
John Smith
f298650ffa fix 2023-03-11 12:35:24 -05:00
John Smith
e52b5f60cd fixes 2023-03-11 15:23:50 +00:00
John Smith
0d614c61a2 xfer 2023-03-07 01:05:12 +00:00
John Smith
5ae3cc0d72 fixes 2023-03-06 16:36:15 -05:00
John Smith
9ae16680c6 xfer 2023-03-05 19:31:11 +00:00
John Smith
9bc907fddd bugfixes 2023-03-05 18:16:01 +00:00
John Smith
d527c4c8e7 xfer 2023-03-03 17:17:23 -05:00
John Smith
ff9b421631 fix tests 2023-03-03 10:55:31 -05:00
John Smith
dfd1af0c6b bugfixes 2023-03-01 20:12:30 -05:00
John Smith
562f9bb7f7 refactor 2023-03-01 15:50:30 -05:00
John Smith
615158d54e cleaning up 2023-02-28 21:11:26 -05:00
John Smith
5a4c2cb37e refactor 2023-02-27 21:29:51 -05:00
John Smith
584ce05a10 fixes 2023-02-27 18:44:11 -05:00
John Smith
bb4dbb7c4a more refactor 2023-02-27 16:59:47 -05:00
John Smith
b3c55f4a6d checkpoint 2023-02-26 21:27:16 -05:00
John Smith
c330faa4fa checkpoint 2023-02-26 18:11:10 -05:00
John Smith
66db856c50 minor fixes 2023-02-25 22:05:44 -05:00
John Smith
1fba8831e8 more refactor 2023-02-25 22:02:13 -05:00
John Smith
4bc3f950df more refactor 2023-02-25 19:51:14 -05:00
John Smith
7962d3fe11 more private route work 2023-02-24 21:02:24 -05:00
John Smith
4823c979ab routing work 2023-02-23 21:07:46 -05:00
John Smith
8fc38febca checkpoint 2023-02-22 21:47:00 -05:00
John Smith
4085af7fc4 checkpoint 2023-02-22 18:29:07 -05:00
John Smith
ecc69bff27 more refactor 2023-02-22 11:15:26 -05:00
John Smith
ae991334d3 checkpoint 2023-02-20 20:37:52 -05:00
John Smith
05be3099c8 checkpoint 2023-02-17 17:47:21 -05:00
John Smith
ca3ce91365 work 2023-02-16 19:54:29 -05:00
John Smith
8f9b9b58d5 more refactor 2023-02-15 18:18:08 -05:00
John Smith
f11dc8aaac more work 2023-02-13 21:12:27 -05:00
John Smith
1d8e2d3fda bootstrap 2023-02-13 16:12:46 -05:00
John Smith
5fd0684ae7 more crypto support 2023-02-11 23:16:32 -05:00
John Smith
1ba0cdb9cf checkpoint 2023-02-11 15:54:55 -05:00
John Smith
064e6c018c more refactor 2023-02-09 21:01:04 -05:00
John Smith
1f62d3836c more breaking everything 2023-02-08 21:43:55 -05:00
John Smith
764b629714 checkpoint 2023-02-08 16:50:07 -05:00
John Smith
a58a87719c break everything 2023-02-07 21:44:50 -05:00
John Smith
9d826b27db checkpoint 2023-01-29 13:13:54 -05:00
John Smith
766872ac26 checkpoint 2023-01-29 13:13:50 -05:00
John Smith
74a9ccfaad hot reload fix 2023-01-20 11:22:56 -05:00
John Smith
de8349004d checkpoint 2022-12-28 12:12:04 -05:00
John Smith
99d840e281 db work 2022-12-28 09:48:25 -05:00
John Smith
f3330e7589 ui work 2022-12-27 14:51:28 -05:00
John Smith
68b4dd636e fix deadlock 2022-12-26 17:49:23 -05:00
John Smith
f49e4f0892 refactor attachment 2022-12-26 16:33:48 -05:00
John Smith
525baea32c progress 2022-12-25 21:28:45 -05:00
John Smith
e1593baabf capnp update 2022-12-19 17:35:46 -05:00
John Smith
64ae83bf82 route work 2022-12-19 17:22:52 -05:00
John Smith
ee30f19ecf route work 2022-12-19 17:01:42 -05:00
John Smith
dc1a27c0a0 adjust routes 2022-12-19 15:40:41 -05:00
John Smith
faeb8eb8f3 adjust routes 2022-12-19 10:34:27 -05:00
John Smith
9776671e8b better route manager 2022-12-18 22:24:01 -05:00
John Smith
71be7cf1ab cli fix 2022-12-18 18:12:54 -05:00
John Smith
65dede4c75 disable profiling
correct hop count
2022-12-17 23:00:09 -05:00
John Smith
26311e96c5 route caching 2022-12-17 22:09:08 -05:00
John Smith
6f937039c7 better route selection 2022-12-17 13:02:39 -05:00
John Smith
1f57b05708 typo 2022-12-17 11:25:33 -05:00
John Smith
085767f7b7 stats quiet 2022-12-16 23:19:37 -05:00
John Smith
500c2f32eb wasm fixes 2022-12-16 22:07:05 -05:00
John Smith
16d74b96f3 alignment refactor 2022-12-16 21:55:03 -05:00
John Smith
221c09b555 checkpoint 2022-12-16 20:07:28 -05:00
John Smith
10a0e3b629 bug fixes 2022-12-15 20:52:24 -05:00
John Smith
d089612cbb wasm shit 2022-12-15 20:16:42 -05:00
John Smith
fc804bdf24 less chat 2022-12-15 19:36:45 -05:00
John Smith
e2b4e1fb76 route work 2022-12-15 18:45:41 -05:00
John Smith
8d80fbb228 route grooming fix 2022-12-15 18:41:44 -05:00
John Smith
f0674e46d1 xfer 2022-12-14 16:50:33 -05:00
John Smith
78d06fb187 route fix 2022-12-10 19:22:23 -05:00
John Smith
2e1920b626 route fixes 2022-12-10 19:11:58 -05:00
John Smith
572f0f23ed timestamp fix 2022-12-10 13:36:26 -05:00
John Smith
6753fe01a1 log cleanup 2022-12-10 13:16:26 -05:00
John Smith
8c96373cfd example work 2022-12-09 18:59:31 -05:00
John Smith
855a5a0756 fix connections 2022-12-08 20:30:42 -05:00
John Smith
2b9044fdfa close #169 2022-12-08 12:48:01 -05:00
John Smith
0b059e0ef9 checkpoint 2022-12-08 10:24:33 -05:00
John Smith
ef313133cf unify ios mac build 2022-12-01 20:38:57 -05:00
John Smith
4c3ffa927b add tests for windows 2022-12-01 18:40:17 -05:00
John Smith
0427922116 remove cruft
fix earthfile
2022-12-01 18:25:53 -05:00
John Smith
9cb5e72267 move gitignore 2022-12-01 18:16:49 -05:00
John Smith
b5c87e4882 log fixes 2022-12-01 16:49:37 -05:00
John Smith
e2153a34e4 test work 2022-12-01 14:32:02 -05:00
John Smith
e1be2bac67 test work 2022-12-01 12:26:02 -05:00
John Smith
9a4ab59ed6 test work 2022-12-01 10:46:52 -05:00
John Smith
b6c446cd39 test debugging 2022-11-30 22:48:50 -05:00
John Smith
89dd5da522 more test work 2022-11-30 21:32:41 -05:00
John Smith
edc87cd78e build updates 2022-11-30 16:15:54 -05:00
John Smith
b2c14fc56c upgrades 2022-11-30 09:48:49 -05:00
John Smith
b47b5c1e85 more test work 2022-11-30 09:39:12 -05:00
John Smith
672d750f8f wasm fixes 2022-11-29 22:51:51 -05:00
John Smith
5c0a500971 core fixes 2022-11-29 19:22:33 -05:00
John Smith
f7582fabb2 refactor 2022-11-29 12:32:05 -05:00
John Smith
d99273334d ios work 2022-11-27 22:33:41 -05:00
John Smith
3a7d9b57b5 veilid-tools work 2022-11-27 09:00:20 -05:00
John Smith
07e3201e06 checkpoint 2022-11-26 22:18:55 -05:00
John Smith
b1bdf76ae8 refactor 2022-11-26 21:37:23 -05:00
John Smith
5df46aecae cleanup 2022-11-26 16:17:30 -05:00
John Smith
25ace50d45 break everything 2022-11-26 14:16:02 -05:00
John Smith
79f55f1a0c pr management work 2022-11-25 14:21:55 -05:00
John Smith
05be3c8cc5 refactor 2022-11-24 20:17:54 -05:00
John Smith
4d573a966f private route loopbacks 2022-11-24 16:23:33 -05:00
John Smith
0b2ecd53c7 private route stats and tests 2022-11-23 22:12:48 -05:00
John Smith
d7e7f3ba1d checkpoint 2022-11-22 22:48:03 -05:00
John Smith
dec7bd27da checkpoint 2022-11-22 18:26:39 -05:00
John Smith
27f7f49d4f checkpoint 2022-11-21 22:50:42 -05:00
John Smith
e98fae711e cli 2022-11-21 20:21:46 -05:00
John Smith
749ba91b8b checkpoint 2022-11-20 22:30:45 -05:00
John Smith
5453eb2e92 upnp improvements 2022-11-20 21:03:34 -05:00
John Smith
c9595d8549 pr fixes 2022-11-19 19:05:43 -05:00
John Smith
688995ed0d pr work 2022-11-16 12:49:53 -05:00
John Smith
28c31fe424 fix private routing 1.0 2022-11-14 13:09:33 -05:00
John Smith
da9276a77f meh 2022-11-13 22:45:03 -05:00
John Smith
5935ca9e41 route spec store work 2022-11-13 19:46:10 -05:00
John Smith
4a9d516f32 xfer 2022-11-13 12:48:44 -05:00
John Smith
fd26acec16 xfer 2022-11-13 11:56:27 -05:00
John Smith
662ed03d19 capnp ids 2022-11-12 22:20:31 -05:00
John Smith
94d1598ce1 remove node_dial_info 2022-11-12 21:29:43 -05:00
John Smith
53b52848b5 temporary fix 2022-11-12 15:15:06 -05:00
John Smith
1c93b6e8cb rkyv issue 2022-11-12 12:10:38 -05:00
John Smith
fbe5d807e6 unit tests pass 2022-11-10 22:11:57 -05:00
John Smith
9c2a7488f1 bug fixes 2022-11-10 21:53:45 -05:00
John Smith
592c83d83a checkpoint 2022-11-09 22:27:37 -05:00
John Smith
e672ae0319 checkpoint 2022-11-09 17:11:35 -05:00
John Smith
a54da97393 remove nodejs support 2022-11-06 16:07:56 -05:00
John Smith
0e7f3e1c3c fix colliding net connections 2022-11-05 19:41:18 -04:00
John Smith
cd892d077a fixes 2022-11-05 18:50:20 -04:00
John Smith
b2dd3bf9b7 fixes 2022-11-04 19:58:01 -04:00
John Smith
dbd9d87434 fix async 2022-11-04 19:39:02 -04:00
John Smith
ed0049dc22 xfer 2022-11-04 19:29:44 -04:00
John Smith
60c4648530 fix signed node info 2022-11-04 12:58:13 -04:00
John Smith
9f917af767 trace fix 2022-11-03 22:52:18 -04:00
John Smith
c1644f1015 bug fixes 2022-11-03 22:02:40 -04:00
John Smith
f1bf883376 fix hang 2022-11-02 22:21:22 -04:00
John Smith
bb03a44e48 routing domain fixes 2022-11-02 21:54:48 -04:00
John Smith
941cf9309e lifetime cleanup 2022-11-02 16:29:29 -04:00
John Smith
92b22d5af5 private routing 2022-11-02 15:36:01 -04:00
John Smith
ec58574a5e checkpoint 2022-11-01 22:42:34 -04:00
John Smith
d96b83fb4e private route work 2022-11-01 21:05:48 -04:00
John Smith
5ae0bd834c fuck 2022-10-31 22:03:05 -04:00
John Smith
68d55a5e77 more route work 2022-10-30 23:23:12 -04:00
John Smith
50718b7074 checkpoint 2022-10-30 19:29:31 -04:00
John Smith
d94a023c32 route work 2022-10-29 22:15:50 -04:00
John Smith
d335b56571 route work 2022-10-28 22:26:21 -04:00
John Smith
be55a42878 route work 2022-10-21 21:27:07 -04:00
John Smith
a1b40c79f1 more route work 2022-10-21 10:35:03 -04:00
John Smith
c8ba88fb99 more route work 2022-10-20 23:11:41 -04:00
John Smith
fc6eb6e84a checkpoint 2022-10-20 15:09:04 -04:00
John Smith
6d5df71ac1 routing table refactor 2022-10-18 21:53:45 -04:00
John Smith
63768580c6 checkpoint 2022-10-16 19:59:59 -04:00
John Smith
e85d72f21a more private route work 2022-10-13 22:05:43 -04:00
John Smith
2d526674a5 refactor get_contact_method 2022-10-12 22:53:40 -04:00
John Smith
a06c2fb5a3 checkpoint 2022-10-12 15:52:19 -04:00
John Smith
9c59507ea0 checkpoint 2022-10-11 19:49:29 -04:00
John Smith
f7f166741b private route work 2022-10-09 22:07:15 -04:00
John Smith
338dc6b39d refactor checkpoint 2022-10-09 14:59:01 -04:00
John Smith
1fdcd5ae45 wasm fixes 2022-10-06 12:39:30 -04:00
John Smith
e77577ba66 wasm fixes 2022-10-06 11:40:55 -04:00
John Smith
b1cc0d803c xfer 2022-10-05 19:12:10 -04:00
John Smith
98f90154f3 instrumentation and network fixes 2022-10-04 20:09:32 -04:00
John Smith
7ed6b44d21 better race condition handling 2022-10-04 13:09:03 -04:00
John Smith
4b2164a546 various fixes, including node_ref last_connection sorting problem 2022-10-04 11:27:38 -04:00
John Smith
0a01c0d23e debugging, add async_tag_lock 2022-10-02 18:47:36 -04:00
John Smith
046b61d5d8 more app message call 2022-09-30 22:37:55 -04:00
John Smith
baa1714943 app call/message and private routing checkpoint 2022-09-25 18:04:53 -04:00
John Smith
507d02974c Merge branch 'main' of gitlab.hackers.town:veilid/veilid into dev 2022-09-23 11:31:15 -04:00
John Smith
9dcfcd02a0 atomic routing domain editor fixes 2022-09-23 11:23:33 -04:00
John Smith
51b509221c routing table editing atomic 2022-09-22 20:25:39 -04:00
Adam Shamblin
b7e05ceea0
WIP, further docs 2022-09-19 19:18:46 -06:00
Adam Shamblin
a7e9200c30
veilid6, begin commenting config w/ rustdoc 2022-09-18 17:01:38 -06:00
John Smith
d160344a77 remove debugging code 2022-09-14 14:45:44 -04:00
John Smith
8878817961 connection table cleanup 2022-09-14 14:36:29 -04:00
John Smith
72b03939ef fixes 2022-09-09 16:27:13 -04:00
John Smith
b13f8947df clean up locking 2022-09-07 21:52:08 -04:00
John Smith
19db64cdfa peer table cleanup
async cleanup
2022-09-07 11:30:43 -04:00
John Smith
c36db533f2 android fixes 2022-09-07 10:33:14 -04:00
John Smith
a12d8da6d1 checkpoint 2022-09-06 18:59:41 -04:00
John Smith
ca6c616d66 veilid-cli cleanup 2022-09-06 16:49:43 -04:00
John Smith
4d65903ee4 fixes 2022-09-04 16:58:39 -04:00
John Smith
75ade4200a more refactor checkpoint 2022-09-04 15:40:35 -04:00
John Smith
79cda4a712 refactor checkpoint 2022-09-04 14:17:28 -04:00
John Smith
e0a5b1bd69 refactor checkpoint 2022-09-03 13:57:25 -04:00
John Smith
9966d25672 more routingdomain refactor 2022-08-31 21:41:48 -04:00
John Smith
68ea977d0f refactor for routing domains 2022-08-30 21:21:16 -04:00
John Smith
38ec19d9da fixes 2022-08-29 11:22:03 -04:00
John Smith
acf65fa48b narrow down bugs 2022-08-28 22:34:24 -04:00
John Smith
2be409da61 change hostnames 2022-08-28 14:46:14 -04:00
John Smith
6f05f9308c fixes 2022-08-28 13:13:09 -04:00
John Smith
4e8c1d5b4a xfer 2022-08-27 12:54:09 -04:00
John Smith
39ddb6534a demote chatty log 2022-08-26 23:56:43 -04:00
John Smith
32d3388bd9 public address detection work 2022-08-26 22:52:08 -04:00
John Smith
75094bb6be eliminate race condition 2022-08-25 19:58:47 -04:00
John Smith
f83e1d2680 adjust comments 2022-08-25 19:29:39 -04:00
John Smith
1bd22bf6ba fix status response 2022-08-25 19:21:50 -04:00
John Smith
317db3cf44 validate upnp map 2022-08-24 22:03:30 -04:00
John Smith
c0f94ea2b3 Websocket fixes 2022-08-24 20:59:09 -04:00
John Smith
ce19a1bfbf fix asyncpeekstream 2022-08-24 13:49:05 -04:00
John Smith
cd99a4210b tcp work 2022-08-23 20:55:33 -04:00
John Smith
fbe02e605b fix crash 2022-08-23 18:12:15 -04:00
John Smith
075bd99075 more fixes for flutter 2022-08-23 11:48:22 -04:00
John Smith
1793dd90e8 fix android unit tests and add better macos instructions 2022-08-23 10:37:41 -04:00
John Smith
e112cc4527 android fixes 2022-08-22 19:25:00 -04:00
John Smith
c7e184541e oops port 0 2022-08-22 15:19:39 -04:00
John Smith
997eca05b6 igd 2022-08-22 13:27:26 -04:00
John Smith
53ae04aff9 commit with debug code 2022-08-20 17:08:48 -04:00
John Smith
126bf28070 fixes 2022-08-19 21:10:47 -04:00
John Smith
127f9aa7cf oops 2022-08-19 14:24:11 -04:00
John Smith
6e34bdd420 fix wasm 2022-08-19 12:49:18 -04:00
John Smith
568a308c82 testing 2022-08-18 19:27:18 -04:00
John Smith
ee0e729a92 keepalive work 2022-08-18 16:21:13 -04:00
John Smith
6226845e9f checkpoint 2022-08-08 20:42:27 -04:00
John Smith
0204af263d detection work 2022-08-07 14:55:48 -04:00
John Smith
4aa9f6d2b9 discovery work 2022-08-06 20:55:24 -04:00
John Smith
28b3b841a3 last connection work 2022-08-06 13:59:50 -04:00
John Smith
292712671a last connection work 2022-08-06 13:15:33 -04:00
John Smith
5e1176db5a last connection work 2022-08-06 12:36:07 -04:00
John Smith
e7ae6b04bd clear last connection 2022-08-06 10:23:26 -04:00
John Smith
0e047a0120 debug 2022-08-05 20:34:00 -04:00
John Smith
ef096eb310 liveness tweaks 2022-08-05 18:07:32 -04:00
John Smith
63aa0dc1f6 revert debug 2022-08-05 14:59:16 -04:00
John Smith
9e506d23df filters 2022-08-05 14:48:02 -04:00
John Smith
82dce24224 deadlock 2022-08-05 08:57:53 -04:00
John Smith
8287675278 tcp/ws work 2022-08-04 21:40:37 -04:00
John Smith
b7a9085f73 Merge branch 'main' of gitlab.hackers.town:veilid/veilid 2022-08-04 20:21:12 -04:00