Thomas Winget
bbb5339b33
add debug-level log message on path build success
5 years ago
Jeff Becker
7a3c8e5ca0
set limits correctly
5 years ago
Jeff Becker
f48754c45d
make hop count and length configurable
5 years ago
Michael
e52492911d
Refactor endpoint state management to a new class
5 years ago
Jeff Becker
1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun
5 years ago
Michael
be997020dd
Fixup two minor warnings
5 years ago
Michael
488695047f
Remove redundant else blocks
5 years ago
Jeff Becker
b9bcc2b775
make threadpool consice
5 years ago
Jeff Becker
d6ec528a72
start work on seperating ips out of endpoint
5 years ago
Jeff Becker
64e9622270
start seperating tun and endpoint
5 years ago
Michael
b6b400baef
Tidy up pathbuilder code
5 years ago
Michael
08609f9e5a
Rename message files
5 years ago
Michael
8a058fcb34
Move other messages
5 years ago
Michael
83bd9227a7
Move exit messages
5 years ago
Michael
d6751e3eeb
Move subset of messages to right directory
5 years ago
Michael
b89689fec3
Refactor path build code
5 years ago
Rick V
c6c31efec9
make format
5 years ago
Jeff Becker
9ea13a9ee3
ingore paths that drop exit traffic
5 years ago
Jeff Becker
762a0c534f
Merge remote-tracking branch 'origin/master'
5 years ago
Michael
491fee206b
Port code to use CryptoManager over passing Crypto pointers
5 years ago
Jeff Becker
068fec82fb
set lifetime of paths
5 years ago
Jeff Becker
2897141036
make format and introduce new function EnsureRouter on router to check nodedb or do dht lookup
5 years ago
Jeff Becker
a375f1103f
explicitly lookup router if not connected to it on LRCM forward.
5 years ago
Jeff Becker
c77e0aff8a
only check for ready paths when counting in future
5 years ago
Jeff Becker
13190284f7
double path build timeout
5 years ago
Jeff Becker
64c7ed42fc
make format
5 years ago
Jeff Becker
9c96aecf3f
move llarp::Logic to std::shared_ptr
...
add sequence numbers to HSD messages
begin work on network isolation code
add more docs
5 years ago
Michael
dd8a93a400
Apply rule of zero to code base
5 years ago
Jeff Becker
a4e90ee769
hax to make it work.
5 years ago
Jeff Becker
d3a98db267
don't resize frames
5 years ago
Jeff Becker
f832c9a593
use shared_ptr
5 years ago
Jeff
06f8bb2f42
add blacklist-snode option
5 years ago
Jeff Becker
ad019cab71
add changes for review
5 years ago
Jeff Becker
486042511c
log hops
5 years ago
Jeff Becker
540c2e1666
fix previous commit
5 years ago
Jeff Becker
df322e1149
don't include duplicate hops in paths
5 years ago
Jeff Becker
9d466cd09d
pump only on send queue full and clear exit roles when closing exit
5 years ago
Jeff Becker
b68f539de6
limit outbound connections
5 years ago
Jeff Becker
1d852a1e83
send exit close ack
5 years ago
Jeff Becker
7b03b63d13
more sighup code
5 years ago
Jeff Becker
a53da68700
start work on sighup
5 years ago
Jeff Becker
744ebac579
only use ready paths
5 years ago
Jeff Becker
61d42811be
prevent crash
5 years ago
Jeff Becker
34533db620
add urgent build that builds over an existing path for an endpoint
5 years ago
Jeff Becker
b9adf90fb9
remove random timer fuzz
5 years ago
Jeff Becker
6c17bf35b3
decrease minimum path build interval
5 years ago
Jeff Becker
5fa85acaf7
rebuild exit paths if they die
5 years ago
Jeff Becker
92ad98be8b
refactor hooks to be have more c++isms
...
make path build timeouts use log level warning
6 years ago
Jeff Becker
d423ee02d2
use shared_ptr
6 years ago
Jeff Becker
d50b18d7b0
try fixing leak also make format
6 years ago
Jeff
01906c5d94
Merge remote-tracking branch 'origin/master'
6 years ago
Michael
0b4d787042
More work on router docker image
...
- Multi-stage docker build (final image only 15MB!)
- Build in release mode
- Fix bug with release mode
- Fix compiler being dumb AF
- Disable FORTIFY for now
- Enable LTO when making a staticly linked release
- Fix some gcc specific warnings
- Refactor cmake stuff into multiple files
6 years ago
Michael
9ee525a006
Fix shadowing warnings
6 years ago
Jeff Becker
af1529fa72
Merge remote-tracking branch 'origin/master'
6 years ago
Michael
4143472a17
Add cmake module to target a library as 'system', and fix a few warnings
6 years ago
Jeff Becker
6711296b26
finish converting to shared_ptr
6 years ago
Jeff Becker
99c29cf05a
prepare for ios/android jazz
...
move to use std::shared_ptr instead of bare pointers so we can
multithread everything.
6 years ago
Jeff Becker
5872573e91
rename Logic and Crypto functions to GetLogic and GetCrypto
6 years ago
Jeff Becker
a2912ff860
Merge remote-tracking branch 'origin/master'
6 years ago
Michael
98e691f315
Tidy up more parts of the service/ directory
6 years ago
Jeff Becker
36369abcb4
"better" (more vigorus) path building
6 years ago
Jeff Becker
d5162c2aad
dont kill active exit paths
6 years ago
Michael
e33a33635c
Remove usage of raw new from service classes
6 years ago
Jeff Becker
3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format
6 years ago
michael-loki
0195152e05
Allow builds on MSVC ( #518 )
...
* Import cxxopts to replace getopts usage
* Add visual studio build things
* Fixup abseil build parts
* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED
* Fixup minor windows build issues
* Replace getopts usage
* Temporarily fixup .rc files
* More minor windows fixes
* Get a working build
* Revert .rc files
* Revert changes to nodedb
6 years ago
Michael
c39c931d03
Remove IStateful virtual inheritance
6 years ago
Jeff Becker
57dc6cc965
make bundling rc in path builds configurable on runtime
6 years ago
Jeff Becker
94eb37d490
bundle RC in build record to improve build success rates.
6 years ago
Jeff Becker
87ff9268da
if a router is connected it's fine given it's a boostrap
6 years ago
Jeff Becker
a45d6db0e0
better profiling
6 years ago
Jeff
7a83f71713
re-animate paths
6 years ago
Jeff Becker
04a5db8789
call hook
6 years ago
Jeff Becker
6220fef2dc
select good first hops
6 years ago
Jeff Becker
c910a2a2fb
more
6 years ago
Jeff
97b9c679b0
don't use bootstrap nodes for first hops in paths
6 years ago
Jeff Becker
965b0957ee
tweaks
6 years ago
Jeff Becker
c23498925c
disable profiling on path fail
6 years ago
Jeff Becker
24e7151ff5
log and don't remove path on died
6 years ago
Jeff Becker
b849ff9a94
handle path death better
6 years ago
Jeff Becker
fcdef8d363
don't mark paths as dead after established
6 years ago
Jeff Becker
d4cb6808ec
more
6 years ago
Jeff Becker
91298c4819
re-enable profiling
6 years ago
Jeff Becker
8a63533d1a
have service nodes maintain min connections
...
path building more robust selection
6 years ago
Jeff Becker
db17b0fad5
disable profiling
6 years ago
Jeff Becker
c63beae1c6
use std::min not std::max for linear backoff
...
ayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyylmao
this was fucking dumb as shit
6 years ago
Jeff Becker
ce126166af
more logging info
6 years ago
Jeff Becker
0369e42d5e
try harder to select hops
6 years ago
Jeff Becker
dc36856922
try tweaking timeout
6 years ago
Jeff Becker
5d3833ef1a
fix dumb as shit path building that causes premature termiantion because of duplicate hops
6 years ago
Jeff Becker
6489ea2152
make it work
6 years ago
Jeff Becker
df17866ff7
breaking protocol change, bundle source txid on outside of path transfer message.
6 years ago
Jeff Becker
2218749134
Merge remote-tracking branch 'origin/staging' into staging
6 years ago
Jeff Becker
6a09348c47
today's work
6 years ago
Jeff
1a09a12ee0
Merge branch 'staging' into absl_mutex
6 years ago
Jeff Becker
8331449ab9
update profiles on path build
6 years ago
Michael
61f3273dc4
Add threading annotations and fix potential deadlocks
6 years ago
Michael
c5a129ddff
Convert to use abseil synchronisation primitives
6 years ago
Jeff Becker
71302ee48b
Merge remote-tracking branch 'origin/staging' into fix-libabyss-352
6 years ago
Jeff Becker
f8d6becce8
make whitelist happy
6 years ago
Jeff
db504e8044
Merge pull request #354 from despair86/dev
...
regression fixes
6 years ago
Rick V
975b4ca743
clang-format
6 years ago
Jeff Becker
ef13ec7499
Merge remote-tracking branch 'origin/staging' into staging
6 years ago
Michael
e4cf1f245c
Convert most of llarp to use Printer
6 years ago
Jeff Becker
c626f7c9b7
revert
6 years ago
Jeff Becker
64f34dccc2
set transit started time
...
holy what the crap.
6 years ago
Michael
4fb2b39f74
Format changes
6 years ago
Michael
13a9f65520
Fully define interface for dht::Context
6 years ago
Jeff Becker
591f3c92a9
make build records smaller
6 years ago
Rick V
5a3947ca5c
clang-format
6 years ago
Jeff Becker
445ed05b32
make format
6 years ago
Michael
887fb4ac62
Replace insert(make_pair()) with emplace()
6 years ago
Michael
048fa83c39
Finish replacement of Router with AbstractRouter
6 years ago
Jeff Becker
46222df421
refactor
6 years ago
Jeff Becker
66753430ad
fix it
6 years ago
Jeff Becker
e1522faeaa
add introspection rpc endpoint
6 years ago
Jeff
4c4f3faf83
Merge pull request #284 from michael-loki/abstract_router
...
Convert llarp::Router into an abstract base class
6 years ago
Jeff Becker
2f369a3399
dont send latency tests while building
6 years ago
Jeff Becker
b40055181d
lower path build timeout to 15s
...
tweak various dns stuff
6 years ago
Michael
729cd045f1
Convert llarp::Router into an abstract base class
6 years ago
Jeff Becker
be74589c41
remove logging
6 years ago
Jeff Becker
96006a061a
correct logging
6 years ago
Jeff Becker
b76a227897
call path built hook AFTER latency is confirmed
6 years ago
Jeff Becker
a953b34a45
fix crash
6 years ago
Ryan Tharp
4bf4faa956
make format
6 years ago
Michael
7ca3e13e78
Rename to ManagedBuffer
6 years ago
Michael
47380ba64b
Simplify some code
6 years ago
Michael
f3b0af9d2f
Create CopyableBuffer type
6 years ago
Michael
2de621b0ad
Disable copy constructing llarp_buffer_t
6 years ago
Michael
f24f554a01
Convert llarp::Crypto into an abstract base class
6 years ago
Rick V
778a45bb37
at last
...
full anonymity on computers the world over
is nearing completion - see path.cpp for a potential bug
(cherry picked from commit 7bd6ddf88a
)
# Conflicts:
# llarp/ev_win32.hpp
6 years ago
Michael
7296ebcbe8
Tidy dht code
6 years ago
Michael
da6cdfc0b2
More refactoring to continue to make dependency graph acylic
6 years ago
Michael
79157414f3
Split crypto.hpp into 3 different files
6 years ago
Michael
04e0fe3ad7
Move crypto code to a subdirectory
6 years ago
Michael
081d4dfa32
Reorganise source into more folders
6 years ago