necro-nemsis
179e6d3d7e
Merge remote-tracking branch 'upstream/stable' into fedora/35
2 years ago
Jeff
e480e36f3d
generate windows rc for each executable target so we can set the executable name right for each one
2 years ago
Jeff
f05c2ebc71
macro removals
...
clean up version cmake stuff
clean up generated cpp version stuff
make all the windows rc stuff get generated by cmake
bump release motto message
properly inject release motto into version
2 years ago
Jeff
1eba0f836e
replace LLARP_PROTO_VERSION macro
2 years ago
Jeff
33a2226079
footcannon prevention: check for invalid address family.
...
throw if we pass in a bogus af value when getting a sockaddr for all interfaces
2 years ago
Jeff
98b3860655
set source ip on service nodes for outbound link to not use all interfaces
2 years ago
Jeff
60ada470db
format systemd status as time deltas from now
2 years ago
Jeff
18e1272c76
add gossip info to systemd status
...
* adds next and last gossip datetimes
* adds a few things for time points, like ostream operator overloads for time point
2 years ago
Jeff
3c44a06403
publish our rc out to the network when we regenerate them
2 years ago
Jeff
5f496259b7
if we are decommissioned or deregistered, do not test other routers so we do not spam them.
...
disambiguiate error message to distinguish between decomissioned and deregistered.
2 years ago
Jeff
706e34c082
connect to routers even if we are decomissioned
2 years ago
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.
2 years ago
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
2 years ago
Jeff
f0867832e5
alignas
2 years ago
Jeff
70b07bab44
clean up ip packet code
2 years ago
majestrate
d30fe95f2e
use ::/0
...
makes us map all ranges not just ipv4 when exit mode is on by default.
2 years ago
Jeff
9556741f6a
split up link order for oxenmq and oxenc
...
* lokinet uberlib needs oxenc and oxenmq
* lokinet-util only needs oxenc
fixes #1911
2 years ago
majestrate
5b0ece3f9e
Update llarp/router/outbound_message_handler.cpp
...
add comment
Co-authored-by: Thomas Winget <tewinget@gmail.com>
2 years ago
majestrate
238c33f565
Update llarp/iwp/session.cpp
...
return
Co-authored-by: Thomas Winget <tewinget@gmail.com>
2 years ago
Jeff
26c8063fc9
convert priority queues
2 years ago
Jeff
14d75cc654
add util::ascending_priority_queue type
2 years ago
Jeff
8960ca08f3
propagate link layer message priority to link layer so it can order retransmissions with that in mind
2 years ago
Jeff
8aa465d0ed
randomize all frames in lrsm to prevent info leak about hop length
2 years ago
Jeff
926074f7c4
add idempotent pump after sending lrcm to very make sure that it is pumped
2 years ago
Jason Rhinelander
b09298e211
Replace llarp/util/endian.hpp with oxenc/endian.h
2 years ago
Jeff
64684d4dd4
dont require libcrypt for cross compiled builds
2 years ago
Jeff
7a8410b375
make more platforms ignore libcrypt
2 years ago
Jeff
ee12ba51d5
disable hashed auth on windows
2 years ago
Jeff
5050cd0299
add hashed password capability to endpoint auth by file
2 years ago
Jeff
a51576d1ea
make destructor virtual
2 years ago
Jeff
a082ba4e77
add file auth for tokens
2 years ago
Jeff
9a6bfe6013
static endpoint auth codes
2 years ago
Jeff
1a254a4301
kill/restore ipv6 with powershell because windows is vile
2 years ago
majestrate
d972b04fe0
Merge pull request #1891 from majestrate/idempotent-flush-path-builds-2022-04-12
...
idempotent flush queues on path builds
2 years ago
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
2 years ago
Jeff
768ed30c05
add public key in rpc ping
3 years ago
Jeff
3fbddac464
idempotent flush queues on path builds
3 years ago
Jeff
ffadcb2e93
clean up paths that are ignored and inactive
3 years ago
Jeff
af041cfee4
try not to spam builds
3 years ago
Jeff
38a157808e
Cache best paths determined by GetPathByRouter to reduce cpu usage
3 years ago
majestrate
1fc901330c
Merge pull request #1851 from majestrate/ci-docs-generation-2022-02-04
...
ci docs generation
3 years ago
Jeff
a76acd4956
fix wire protocol race condition
...
only send close packet once, before we were sending a close after we got a close causing excess log spam.
include handshake phase when checking for connection timeouts.
when we change our rc make sure to put it into nodedb too when we are a service node to prevent weirdness in dht lookups.
3 years ago
Jeff
b4c4c3977a
oxenc
3 years ago
Jeff
eeb93343c0
rpc fixes for lokinet gui
...
only add stats for services when we have them
3 years ago
audric
41405be612
summary status: no services means not running
3 years ago
Audric Ackermann
ad6d206aa6
add version and uptime to summary status endpoint
3 years ago
Jeff
6bb438ca33
make comments with colins in them not have them in it
3 years ago
majestrate
8a849e81df
Merge pull request #1858 from jagerman/omq-11
...
Crank oxen-mq to (1.2.)11; switch to oxen-encoding
3 years ago
Jason Rhinelander
d02558350a
Crank oxen-mq to (1.2.)11; switch to oxen-encoding
...
- Update oxen-mq submodule to latest stable
- Add oxen-encoding submodule
- Convert all oxenmq encoding usage to oxenc
- Modernize cmake handling of oxenmq/oxenc
3 years ago
majestrate
f8b6b9d34b
Merge pull request #1856 from Bilb/fix-num-path-built-summary-status
...
fix numPaths value in Router::ExtractSummaryStatus
3 years ago