Jeff
ee40389f05
Merge pull request #916 from majestrate/add-contention-killer-2019-11-14
...
assorted crap
5 years ago
Jeff Becker
c3858a56df
make it compile
5 years ago
Jeff Becker
34bc3da069
flush quues of other paths
5 years ago
Jeff Becker
6f95fbfece
work in progress
5 years ago
Jeff Becker
ac686a9329
remove valgrind access errors
5 years ago
Jeff Becker
0ec4e583d4
initialize with zeros
5 years ago
Jeff Becker
065b022427
std::move
5 years ago
Jeff Becker
b8f773eb73
use lambda
5 years ago
Jeff Becker
250cfea1e9
remove use of void * in godawful old code from a time before happyness
5 years ago
Jeff Becker
b207db626f
please the gods of valgrind
5 years ago
Jeff Becker
d44d034775
make contention checker templated
5 years ago
Jeff Becker
1fa0a0aab2
make it compile
5 years ago
Jeff Becker
fdbaaa8188
try fixing file log segfault
5 years ago
Jeff Becker
1188763ece
typo fix in release
5 years ago
Jeff Becker
56dce90de9
add trace log level for tracking logic thread jobs
5 years ago
Jeff Becker
eb6d042e73
make sure all calls of logic thread jobs are not having contention
5 years ago
Jeff Becker
d7f09a365d
contention killer
5 years ago
Stephen Shelton
db56e17c23
Rename bencode function for clarity
5 years ago
Stephen Shelton
0c02ea8d2e
Add "keyfile version" to RouterContact
5 years ago
Jason Rhinelander
d3082fffc9
Lower the ev tick interval to 10ms
...
When there's nothing waiting we wait this long unconditionally, but that
can add a lot of latency across a path.
There are likely better ways to handle this via libuv's run handlers,
but this addresses the latency until we figure that out.
5 years ago
Stephen Shelton
1666498405
Replace bencode_write_version_entry with a more general-purpose function for writing bencoded dictionary entries
5 years ago
Stephen Shelton
fd02e3e149
Stub out KeyManager class
5 years ago
Jason Rhinelander
e0340e86b2
clang-format fixes
5 years ago
Jason Rhinelander
d96d33329b
Merge pull request #912 from majestrate/logic-thread-fix-2019-11-13
...
fix logic thread behavior
5 years ago
Jeff
8f6a18f411
Merge pull request #915 from notlesh/fix-session-key-mismatch-2019-11-19
...
Fix #911 : Drop new inbound IWP sessions when the first packet can't be handled
5 years ago
Jason Rhinelander
6524563d33
Merge pull request #897 from majestrate/bencode-seek-for-version-2019-11-03
...
seek for version and set it before deserializing
5 years ago
Stephen Shelton
b5b8cf0745
Reduce log level of IWP session issues as they may be encountered frequently and normally
5 years ago
Stephen Shelton
9eed243346
Merge pull request #860 from notlesh/null_mutex_clarity
...
Null mutex clarity (via comments / log statement)
5 years ago
Stephen Shelton
46fe64c2e6
make format (and git commit --amend to re-trigger CI)
5 years ago
Stephen Shelton
ef2670dfb4
Drop new inbound IWP sessions when the first packet can't be handled
5 years ago
Jeff Becker
168d25f244
add warning when trying to queue onto full logic thread
5 years ago
Jeff Becker
b34caa3e26
make unit tests pass for iwp
5 years ago
Jeff Becker
1a864832c8
make format
5 years ago
Jeff Becker
b31d7b75fc
Merge remote-tracking branch 'origin/dev' into logic-thread-fix-2019-11-13
5 years ago
Jeff Becker
f16c9f9b5d
iot seems that logic thread didn't work the way i remember it should
...
make logic work the way it should
5 years ago
Jeff Becker
3c8e148372
prevent double free crap with shared_ptr
5 years ago
Thomas Winget
5ce6ed5134
fixes some logical errors in per-path queues
5 years ago
Thomas Winget
23a9773e1e
remove our paths from outbound queues
5 years ago
Thomas Winget
ef1a5652ef
remove our paths from outbound queues
5 years ago
Thomas Winget
17de3f2478
do...while; make format; remove erroneous GUARDED_BY
5 years ago
Thomas Winget
12adff570d
fix seg fault, fix uninitialized static member
5 years ago
Thomas Winget
75512b1b58
ban zero id for pathid; clarity and cleanup
5 years ago
Thomas Winget
9d3e7d349c
Add per-path queues, prioritize control messages over traffic
5 years ago
Jeff
c05d7b69fc
Merge pull request #904 from majestrate/try-fixing-path-shit-again-2019-11-05
...
make path builds work
5 years ago
Jeff Becker
8d44eefead
make router give time directly
5 years ago
Jeff Becker
2c5561fc3c
make format
5 years ago
Jeff Becker
b589ea96ff
remove printf
5 years ago
Jeff Becker
7ee026fa50
make path builds work again
5 years ago
Jeff Becker
9b99752276
i hate windows
5 years ago
Jason Rhinelander
b0ab703c45
Silence unused variable warnings in release build
5 years ago
Jeff Becker
0d89f1170b
make it compile
5 years ago
Jeff Becker
c9f26c4911
call Router::PumpLL after every batch of packets from a link session
5 years ago
Jeff Becker
034469bfbf
Merge remote-tracking branch 'origin/dev' into fix-pump-order-2019-11-04
5 years ago
Jeff Becker
90f523881a
try interchanging pump order
5 years ago
Jeff
820f69549f
Merge pull request #899 from majestrate/fix-path-build-2019-11-03
...
make path builds work
5 years ago
Jeff Becker
1fc36f4832
changes from review
5 years ago
Jeff Becker
7c35b00f98
Revert "move calling of path build sccess hook to correct place"
...
This reverts commit 902cd86a3b
.
5 years ago
Jeff Becker
8befd6f2db
flush link session encrypt queue immediately after handling plaintext packets
5 years ago
Jeff Becker
902cd86a3b
move calling of path build sccess hook to correct place
5 years ago
Jeff Becker
9d266dbec7
meh
5 years ago
Jeff Becker
e25356c035
use <= not ==
5 years ago
Jeff Becker
89e5b6b4cc
try fixing leak
5 years ago
Jeff Becker
bdb0b847f8
seek for version and set it before deserializing
5 years ago
Jeff
a843cf44cc
Merge pull request #892 from despair86/dev
...
add patch for libsodium 1.0.17 and zmq-latest
5 years ago
Jeff
9ace1b2398
Merge pull request #870 from majestrate/disable-doh-using-isp-backdoor-provided-by-mozilla-thanks-from-nsa
...
disable DoH
5 years ago
Jeff
30fa45fa05
Merge pull request #895 from majestrate/fix-dns-crash-2019-11-01
...
fix issue #894
5 years ago
Jeff
683594b66a
Merge pull request #877 from majestrate/fix-exit-traffic-bug-2019-10-28
...
fix warnings and prevent bug that sends invalid traffic to user
5 years ago
Jeff Becker
d2be8ac384
fix issue #894
5 years ago
Rick V
28f508c1d2
fix note
5 years ago
Rick V
00440f91eb
add patch for latest stable libzmq on windows with a configure note
5 years ago
Rick V
0b8a518f24
add patch for libsodium 1.0.17
5 years ago
Rick V
44a8b9d3eb
add patchset for libsodium-upstream-stable so we can get rid of vendored
...
lib
5 years ago
Rick V
df29052a75
fix windows
5 years ago
Rick V
e9b4053bac
oops fix up some missing code
5 years ago
Rick V
e901580223
ok set write handler in event loop
5 years ago
Rick V
cfd696b4d9
just write the data straight into the socket
5 years ago
Rick V
d7900a8459
c-f everything
5 years ago
Rick V
df6fe4b6ac
emit libuv-like stub externally
5 years ago
Rick V
46169da7bf
ok add the write handler here too
5 years ago
Rick V
33378b2c0c
ok implement libuv stubs for tcp connectors
5 years ago
Jeff Becker
2bf1e4f46a
enable IOS on IOS
5 years ago
Jeff
8debf6870d
Merge pull request #879 from majestrate/parenthesis-are-hard-2019-10-28
...
fix bounds check
5 years ago
Jeff Becker
e2890e925b
make it compile
5 years ago
Jeff Becker
20dd4e4d09
use data not begin
5 years ago
Jeff Becker
2267a7d283
fix bounds check
5 years ago
Jeff Becker
5f9ea7b485
fix warnings and prevent bug that sends invalid traffic to user
5 years ago
Jeff Becker
75d746c518
update _sz
5 years ago
Jeff Becker
2f2834f331
make non copyable
5 years ago
Jeff Becker
b737fdbe03
fix crash
5 years ago
Jeff Becker
bd07845dd3
make format
5 years ago
Jeff Becker
64548ade2f
Merge remote-tracking branch 'origin/dev' into disable-doh-using-isp-backdoor-provided-by-mozilla-thanks-from-nsa
5 years ago
Jeff
3a6c16aa36
Merge pull request #871 from majestrate/ed25519-signing
...
Ed25519 signing
5 years ago
Jeff Becker
22dcb0504b
make format
5 years ago
Jeff Becker
01c4a9c287
revert a few things
5 years ago
Jeff Becker
2134355a3a
fix event loop tcp connections so they are thread safe
5 years ago
jeff
aedcaf3c43
make it compile
5 years ago
jeff
1cdd9ba13a
add unit test for identity_keygen
5 years ago
jeff
ff8c167362
make it compile on windows
5 years ago
jeff
c69165dad3
try making it work in the case that is broken on travis
5 years ago
jeff
1621ca676b
Merge remote-tracking branch 'upstream/dev' into ed25519-signing
5 years ago
jeff
c33324455a
use correct rpc call to lokid
5 years ago
jeff
37d7f2b1e7
disable DoH using mozilla's ISP backdoor record.
5 years ago
jeff
869ab0b652
Merge remote-tracking branch 'upstream/dev' into vpn-api-2019-10-03
5 years ago
jeff
1e3cd03880
make format
5 years ago
jeff
c59487014a
fix #865 by not using logic if it is null in udp_tick
5 years ago
jeff
788bc0f912
Merge remote-tracking branch 'upstream/dev' into ed25519-signing
...
also stop using libuv's uv_loop_new as it is deprecated
5 years ago
Stephen Shelton
7dc1351eba
Add missing #endif (presumably from 281fbff
)
5 years ago
jeff
265da6f37b
use get_service_nodes rpc endpoint
5 years ago
jeff
996ff06c6a
update cmakelists.txt to no longer build removed file
5 years ago
jeff
0e2fb6abd5
revert to ed25519 for signing, this breaks everything (again).
5 years ago
Jeff
d52b8bfbf5
Merge pull request #863 from jagerman/xenial-build-fix
...
Fix build on xenial
5 years ago
Jason Rhinelander
281fbff42f
Fix build on xenial
...
- xenial's cmake version (3.5.1) builds everything fine and test suite
passes, so lower the minimum to that.
- add a hack for xenial's kernel header & glibc version breaking if both
net/if.h and linux/if.h get included. The only thing we actually need
from net/if.h that linux/if.h doesn't have is `if_nametoindex`, so
just hack that definition in for xenial's specific glibc/kernel header
versions.
5 years ago
Stephen Shelton
a3c48e22f3
Even more clarity to NullMutex comments
5 years ago
Stephen Shelton
b1da46e521
Add numNodesKnown to llarp.admin.dumpstate RPC endpoint
5 years ago
jeff
b7601a6236
call read handler in logic thread
5 years ago
Stephen Shelton
36ef0954ec
Add comments to NullMutex implementation to express intent
5 years ago
Michael
f6adacf936
Review fixes
5 years ago
Michael
3371da98cf
Use libcurl (optional dependency) to hit jsonrpc
5 years ago
Michael
0721ce4d34
Add rpc call to get current addresses for our node
5 years ago
Michael
01611c2282
Convert RPC endpoint to be a lookup table
5 years ago
jeff
2425c2ba03
update comment
5 years ago
jeff
cdb5610d90
close async
5 years ago
jeff
58a25602f5
more fixes, implemenmt missing functions
5 years ago
jeff
c26b67c379
finish wiring up jni shizz
5 years ago
jeff
7d7c6bf38c
Merge remote-tracking branch 'upstream/dev' into multithreaded-cryptography
5 years ago
Michael
f326c93b5b
Apply Jeff's comments
5 years ago
jeff
52757fef0e
Merge remote-tracking branch 'micheal/background_mode' into vpn-api-2019-10-03
5 years ago
Michael
15cb49c9bd
Introduce --background to only start JSON RPC
...
fixes #853
5 years ago
Michael
d467e2618b
Support version over jsonrcp
5 years ago
jeff
4af6dca246
use static_cast
5 years ago
jeff
7d949ebf5d
always use absl for string_view
5 years ago
jeff
605da68e15
use absl optional
5 years ago
jeff
3c1d5518d8
fix windows port and make it compile
5 years ago
jeff
da9437d0cf
don't need that
5 years ago
jeff
32ed821763
Merge remote-tracking branch 'upstream/dev' into multithreaded-cryptography
5 years ago
Jeff
3c2b2ce34d
Merge branch 'dev' into dev
5 years ago
Michael
5f0bb6fbd1
Try to fix windows build
5 years ago
Michael
ae3fc3a395
Add initial macOS app
5 years ago
Rick V
00d34709eb
bump to 0.5.2
5 years ago
Rick V
bf2ecaa74a
bump to 0.5.1
5 years ago
Rick V
ed6ef2d527
clang-format
5 years ago
Rick V
cbdbe94bab
skip null adapters
5 years ago
Rick V
ade2ae1e9a
ok let's see how we're locked up
...
more debug
5 years ago
Rick V
4389e3fee2
try install .net manually
...
use full path
test
5 years ago
Michael
86a07e2a80
Enable more sanitisers
5 years ago
Jeff
2eaa61922d
Merge branch 'master' into dev
5 years ago
jeff
cd9c4d9f1a
bump version and motto
5 years ago
jeff
f9fb40f590
final touches
5 years ago
Jeff
35230adbe5
Merge pull request #833 from majestrate/gut-utp-2019-09-19
...
remove libutp and all such code related to utp
5 years ago
jeff
7c691cf334
handover should be fixed now
5 years ago