Commit Graph

8149 Commits

Author SHA1 Message Date
Jeff
0df26fe81c
bump ci to make jammy debs 2022-05-27 11:34:15 -04:00
Jeff
0d0295e2dc
remove unneeded submodule 2022-05-25 16:42:10 -04:00
majestrate
608dced827
typofix 2022-05-24 12:56:55 -04:00
majestrate
f16c2ecd43
use oxenc submodule in android 2022-05-24 12:56:37 -04:00
majestrate
8529ab2c62
Merge pull request #1920 from majestrate/fixup-link-layer-state-machine-2022-05-20
state machine fix for link layer
2022-05-20 11:33:29 -04:00
Jeff
a61e9636b2
state machine fix for link layer
if a pending inbound session did not complete a handshake after an unclean close from a previous session the
remote udp endpoint would remain stuck mapped as authed and thus any further attempts from the remote would
be silently dropped as it entered a stuck state in the state machine. this was happening as a small part
of the state machine was hidden in the implementation details of iwp, but instead should be in the super type
as it is logic exclusively outside the details which every dialect would have regardless of its details.

this commit will unmap the udp endpoint every time it needs to in the link layer state machine, independat of
the implementation details of the diact.
2022-05-20 10:18:37 -04:00
majestrate
a149e6e384
Merge pull request #1918 from majestrate/fixup-win32-2022-05-19
fixup edge case on windows
2022-05-19 11:55:08 -04:00
Jeff
3fccb3ab0c
fixup edge case on windows
* add platform detection constexprs
* add quark for platforms without native ipv6 like windows, exit mapping cannot work with ipv6 yet
2022-05-19 10:24:18 -04:00
majestrate
e3aedda4c8
Merge pull request #1917 from majestrate/ip-fixups-2022-05-18
clean up ip packet code
2022-05-18 22:11:26 -04:00
Jeff
f0867832e5
alignas 2022-05-18 18:02:57 -04:00
Jeff
7396eb7f3b
bump oxenc submodule and force oxenc submodule on win32 2022-05-18 17:40:55 -04:00
Jeff
70b07bab44
clean up ip packet code 2022-05-18 17:18:31 -04:00
majestrate
d30fe95f2e
use ::/0
makes us map all ranges not just ipv4 when exit mode is on by default.
2022-05-18 12:16:46 -04:00
majestrate
a610dd6e50
Merge pull request #1912 from majestrate/issue-1911-fixup-oxenc-linkage
split up link order for oxenmq and oxenc
2022-05-14 18:41:29 -04:00
Jeff
9556741f6a
split up link order for oxenmq and oxenc
* lokinet uberlib needs oxenc and oxenmq
* lokinet-util only needs oxenc

fixes #1911
2022-05-10 10:34:19 -04:00
majestrate
bad98b5476
Merge pull request #1907 from majestrate/link-layer-priority-2022-05-02
propagate message priority to link layer
2022-05-02 19:04:28 -04:00
Jeff
3c92568881
typo 2022-05-02 17:48:46 -04:00
Jeff
d85d208156
bump libuv version with hashpin 2022-05-02 17:31:21 -04:00
Jeff
8efac67c0a
add static deps mirror to ci 2022-05-02 16:52:32 -04:00
Jeff
546aede528
add mirror for cmake static deps 2022-05-02 16:32:45 -04:00
majestrate
5b0ece3f9e
Update llarp/router/outbound_message_handler.cpp
add comment

Co-authored-by: Thomas Winget <tewinget@gmail.com>
2022-05-02 16:24:54 -04:00
majestrate
238c33f565
Update llarp/iwp/session.cpp
return

Co-authored-by: Thomas Winget <tewinget@gmail.com>
2022-05-02 15:27:09 -04:00
Jeff
26c8063fc9
convert priority queues 2022-05-02 15:27:08 -04:00
Jeff
14d75cc654
add util::ascending_priority_queue type 2022-05-02 15:27:08 -04:00
Jeff
8960ca08f3
propagate link layer message priority to link layer so it can order retransmissions with that in mind 2022-05-02 15:27:07 -04:00
majestrate
a80f7e1cf6
Merge pull request #1908 from majestrate/lrsm-and-queue-flush-2022-05-02
plug LRSM infoleak and queue flushing
2022-05-02 15:01:09 -04:00
Jeff
8aa465d0ed
randomize all frames in lrsm to prevent info leak about hop length 2022-05-02 08:23:53 -04:00
Jeff
926074f7c4
add idempotent pump after sending lrcm to very make sure that it is pumped 2022-05-02 08:23:40 -04:00
majestrate
da4a3e517a
Merge pull request #1903 from jagerman/oxenc-endian
Replace llarp/util/endian.hpp with oxenc/endian.h
2022-04-28 15:52:41 -04:00
Jason Rhinelander
c2f8a618e0
Update to oxenc 1.0.2 2022-04-28 14:23:52 -03:00
Jason Rhinelander
b09298e211
Replace llarp/util/endian.hpp with oxenc/endian.h 2022-04-28 12:09:51 -03:00
majestrate
64d6ba8a53
Merge pull request #1830 from majestrate/static-auth-codes-2021-12-26
static endpoint auth codes
2022-04-20 16:22:22 -04:00
Jeff
64684d4dd4 dont require libcrypt for cross compiled builds 2022-04-20 15:26:39 -04:00
Jeff
7a8410b375 make more platforms ignore libcrypt 2022-04-20 15:26:39 -04:00
Jeff
ee12ba51d5 disable hashed auth on windows 2022-04-20 15:26:39 -04:00
Jeff
5050cd0299 add hashed password capability to endpoint auth by file 2022-04-20 15:26:39 -04:00
Jeff
a51576d1ea make destructor virtual 2022-04-20 15:26:39 -04:00
Jeff
a082ba4e77 add file auth for tokens 2022-04-20 15:26:39 -04:00
Jeff
9a6bfe6013 static endpoint auth codes 2022-04-20 15:26:39 -04:00
majestrate
1dfed9e061
Merge pull request #1899 from majestrate/use-new-gui-2022-04-18
windows updates
2022-04-18 18:34:46 -04:00
Jeff
1a254a4301 kill/restore ipv6 with powershell because windows is vile 2022-04-18 17:50:48 -04:00
Jeff
d05518be57 use the new electron gui in windows build 2022-04-18 17:25:16 -04:00
majestrate
d972b04fe0
Merge pull request #1891 from majestrate/idempotent-flush-path-builds-2022-04-12
idempotent flush queues on path builds
2022-04-18 15:54:09 -04:00
majestrate
9fd20c885b
Merge pull request #1896 from majestrate/unstuck-obctx-2022-04-17
handle edge case better
2022-04-18 15:48:20 -04:00
Jeff
9765eeee7e handle edge case better
when our path is fine but the recipiant's path on the pivot router isn't we should pivot to another router
2022-04-17 21:22:53 -04:00
majestrate
dfa291fb91
Merge pull request #1894 from majestrate/cleanup-readmes-2022-04-15
remove bitrotten files
2022-04-15 19:27:15 -04:00
majestrate
293bccb6d8
Merge pull request #1893 from majestrate/issue-1892-rpc-ping-pubkey-2022-04-13
add public key in rpc ping
2022-04-15 17:55:05 -04:00
Jeff
699591b76e remove bitrotten files 2022-04-15 17:47:46 -04:00
Jeff
768ed30c05 add public key in rpc ping 2022-04-13 22:49:24 -04:00
Jeff
3fbddac464 idempotent flush queues on path builds 2022-04-12 11:48:08 -04:00