jeff
6c2ebbb925
try fixing handover and add snapp traffic to multithreaded crypto workers
5 years ago
Jeff Becker
5863e33825
move it arround
5 years ago
Jeff Becker
327c545530
finish multithread cryptography first pass
5 years ago
jeff
14c9ef15ed
try calling stuff in logic thread from event loop
5 years ago
Jeff Becker
bcf9135da6
testnet
5 years ago
Jeff Becker
3c0245f8b3
Merge remote-tracking branch 'github/master' into iwp-multi-ack
5 years ago
Jeff Becker
4bf6882c8a
more async cryptography
5 years ago
Jeff Becker
12314e8d00
ensure no crash on quit
5 years ago
Jeff Becker
5cdd92e2a3
remove more locking and make it safe
5 years ago
Jeff Becker
1adae338ce
Merge remote-tracking branch 'origin/master'
5 years ago
Michael
edd0ec398f
Move thread stuff to subdirectory
5 years ago
Michael
4d8fe2a8a8
Move meta programming to subdirectory
5 years ago
Jeff Becker
c01112e4b7
tracy lock contention testing and other fun things
5 years ago
Michael
094b697b01
Replace StatusObject with underlying JSON type
5 years ago
Michael
40aabd6d92
Use the right version of clang-tidy
5 years ago
Michael
0a1620aff2
make format
5 years ago
Michael
16cdfbd5f0
clang-tidy modernize pass
5 years ago
Michael
84601fa474
Make format
5 years ago
Michael
d1990b5e93
Fix suspicious thread-unsafety
5 years ago
Jeff
10d7e7cb77
Merge branch 'master' into master
5 years ago
Michael
c429f0cec9
Jeff's fixes
5 years ago
Michael
a270fe5f33
fixup! Fix gcc trunk warnings
5 years ago
Michael
f9e9227e19
Fix gcc trunk warnings
5 years ago
Michael
4763888d2c
Add fail-able docker build for gcc trunk
5 years ago
Rick V
f6c97091fd
clang-format
5 years ago
Rick V
16096c6adb
add debug helper lib for core dump generation on all supported windows targets
...
had an epiphany earlier
i kept having problems with static linking because
i merged the GNU C runtime with the SEH library
instead of merging the latter with pthread
5 years ago
Jeff Becker
aa0a795689
call path build fail stuff in logic thread
5 years ago
Jeff Becker
60fbeca9d4
const correctness
5 years ago
Jeff Becker
db2206664a
fix crashes in testnet
5 years ago
Thomas Winget
697ece64cc
make TransitHop self-destruct if path is invalidated
5 years ago
Thomas Winget
38fd0552d3
Adds Link-Relay Status Messages
...
Success case:
- the path endpoint creates and sends a LR_StatusMessage upon
successful path creation
Failure case:
- an intermediate hop creates and sends a LR_StatusMessage upon
failure to forward the path to the next hop for any reason
Both cases:
- transit hops receive LR_StatusMessages and add a frame
to them reflecting their "status" with respect to that path
- the path creator receives LR_StatusMessages and decrypts/parses
the LR_StatusRecord frames from the path hops. If all is good,
the Path does as it would when receiving a PathConfirmMessage.
If not, the Path marks the new path as failed.
LR_StatusMessage is now used/sent in place of PathConfirmMessage
5 years ago
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
5 years ago
Jeff Becker
d423ee02d2
use shared_ptr
5 years ago
Jeff Becker
d50b18d7b0
try fixing leak also make format
5 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