Commit Graph

7026 Commits (174e1b247bf70c8ddf487558cecb5223b4022ebc)
 

Author SHA1 Message Date
Jeff Becker c547cd0118
fixes for lokinet-bootstrap
* use schannel on windows platforms
* load ca bundle for non windows platforms
* use geteuid for detecting root user when finding default data dir
4 years ago
Jeff Becker 3d87dbff91
bullshit for windows and openssl with CPR
* windows static cross compile is wonky af so we add some hacks to make it work
4 years ago
Jeff Becker ebdb9699c0
refactor: make lokinet-bootstrap a native executable
* pull in cpr
* tidy up windows.sh
* rename main.cpp to lokinet.cpp to satisfy my autism
* add llarp::GetDefaultBootstrap()
4 years ago
Jeff Becker f63122272d
fix some compiler errors 4 years ago
Jeff Becker b721b8d65b
finish wiring up config for #1595 4 years ago
Jeff Becker 0be62f0ad4
win32 fix
* windows does not have uint
4 years ago
Jeff Becker 37b2f0f1e3
rebrand and bump version 4 years ago
Jeff Becker fedc56e3f1
initial commit for #1595 4 years ago
Jeff Becker 545021aa3d
temp commit 4 years ago
Jeff Becker 8ae0808f97
add forgotten files 4 years ago
Jeff Becker bb7b46c43d
fixes for testnet 4 years ago
Jeff Becker 3d76e3d4bd
split up liblokinet headers 4 years ago
Jeff Becker 118bc9c2fb
formatting 4 years ago
Jeff Becker 230fb15b24
ensure dns srv data is valid after decoding 4 years ago
Jeff Becker 998923a48d
remove old deprecated files 4 years ago
Jeff Becker a7a886e670
fix infinite iteration 4 years ago
Jeff Becker 44d7fa0ab1
remove untracked file 4 years ago
Jeff Becker 4520e7fe6c
remove deprecated test 4 years ago
Jeff Becker 07eaeb681a
try fixing deadlock 4 years ago
Jeff Becker 4889b8cddf
fix up client to snode codepath 4 years ago
Jeff Becker 8b2ede5fc5
use rxid 4 years ago
Jeff Becker 1ea77e6a68
more client to snode quic fixes 4 years ago
Jeff Becker 0ee40c1720
use rxid 4 years ago
Jeff Becker e1f90e5e5a
use rx id on snode side of paths
set protocol on reply routing messages
4 years ago
Jeff Becker e058b873b6
Revert "tweak timeout parameters for link layer."
This reverts commit eef192b37aec070d624e84cedfc94f522fd0a346.
4 years ago
Jeff Becker 1677ed40f6
dont persist sessions if we failed to build 4 years ago
Jeff Becker 657c39a91c
tweak timeout parameters for link layer.
have different timeouts for service node vs client
4 years ago
Jeff Becker 6b2c311800
cover special case for 1 hop path builders 4 years ago
Jeff Becker 2e8f47a7fa
various cleanups 4 years ago
Jeff Becker b36f87a4d2
stop crashing when we send dns reply for snode on service nodes 4 years ago
Jeff Becker b01e20b4cb
add forgotten file again 4 years ago
Jeff Becker 2fa24b5eae
add untracked file 4 years ago
Jeff Becker 5eda4addc2
correctly discard invalid data on transfer traffic message 4 years ago
Jeff Becker 25e338d621
srv records
* add srv records in RCs if we have any
* add mechanism to add SRV records for plainquic exposed ports
* resign and republish rc or introset on srv record changes
4 years ago
Jeff Becker a2285730b8
reduce log level 4 years ago
Jeff Becker de1b0c9d14
add forgotten header 4 years ago
Jeff Becker 94ecf02a62
add option to run lokinet traffic only with no exit and drop all non lokinet traffic
triggered by: exit-node=null
4 years ago
Jeff Becker 2ed0ab1ca1
liblokinet and lnproxy updates
* add lokinet_status function to get the current status of the context, aka are we ready to send or not.
* catch some exceptions in lnproxy
4 years ago
Jeff Becker e005b34169
fix up some retarded bullshit
* llarp::service::NameIsValid was not checking that the tld was .loki, add this check.
* make link layer initial connection timeout 5s not the session activity timeout which happens to be 60 god damn seconds.
4 years ago
Jeff Becker 0046de3e7a
service node logic change: simplify transit hop behavior to send protocol frames directly from a path transfer message 4 years ago
Jeff Becker 3f9e51e391
more liblokinet api functions
* get/set netid
* set log level
4 years ago
Jeff Becker cf7603f20e
temp commit, closeReset -> close 4 years ago
Jeff Becker 48ce77ed1f
XXX: single threaded mode 4 years ago
Jeff Becker bac9341ae0
fix: if we have not used a session yet we only check the intro for expiration 4 years ago
Jeff Becker 2a9d041644
add readme 4 years ago
Jeff Becker 2188b443e9
more liblokinet api stuff
* add lokinet_wait_for_ready to wait until we have published introsets and such
* optionally expose ports in lnproxy
* dont save profiles by default
4 years ago
Jeff Becker 95cd275cdd
liblokinet additions:
* add lokinet_add_bootstrap_rc function for adding an rc from memory
* prevent stack overflow on error closing connection in quic
* add in memory nodedb
* refactor how convotags are set as active
* add initial stubs for endpoint statistics
* refactor time stuff to be a bit cleaner
* update lnproxy script with more arguments
4 years ago
Jeff Becker 6306876904
proper shutdown 4 years ago
Jason Rhinelander 354f0f63e5
Reduce max number of per-connection active streams to 32
This is the max number of simultaneous open connections to the same port
on the remote.  100 was fairly arbitrary and seems a bit high.
4 years ago
Jason Rhinelander 5e912600f8
Fix connection close handling
Replace stream_reset (which typically isn't called) with a stream_close
handler (which is already called whether or not it was a reset).  Most
importantly, the server side needs to extend the max bidi streams
counter during stream_close (otherwise we run out when we hit the
limit and new connections just stall).
4 years ago