Jeff Becker
b02a3715df
call hook on timeout
2019-05-05 10:42:13 -04:00
Jeff Becker
fc3db98e66
change log priority
2019-05-05 10:15:48 -04:00
Jeff Becker
92ad98be8b
refactor hooks to be have more c++isms
...
make path build timeouts use log level warning
2019-05-05 09:51:48 -04:00
Jeff Becker
d05471c989
bump version to 0.4.1
2019-05-04 08:39:02 -04:00
Jeff Becker
241dba0476
fix dns for smaller domains
2019-05-03 14:56:31 -04:00
Jeff Becker
b1b6076742
fix
2019-05-03 13:57:05 -04:00
Jeff Becker
2775de8675
try connect on no exit
2019-05-03 13:42:48 -04:00
Jeff Becker
fc3bccb161
revert
2019-05-03 10:07:17 -04:00
Jeff Becker
0cc8517bca
add error messages to ini parser and catch base cases.
2019-05-03 09:39:25 -04:00
Jeff Becker
9bc7508b5b
remove nuint128_t
2019-05-03 09:25:57 -04:00
Jeff Becker
d423ee02d2
use shared_ptr
2019-05-03 09:15:03 -04:00
Jeff Becker
986e831579
make bundle-rc option configurable on snode tld
2019-05-02 14:11:44 -04:00
Jeff Becker
e0892f7d23
gfdi
2019-05-02 12:33:53 -04:00
Jeff Becker
407f895c86
ooff
2019-05-02 12:31:08 -04:00
Jeff Becker
5b49008bca
more
2019-05-02 12:23:31 -04:00
Jeff Becker
4404d272b2
remove uint128_t for now
2019-05-02 11:19:21 -04:00
Jeff Becker
a97e1e37a7
dont filter intros they are already good
2019-05-02 09:47:22 -04:00
Jeff Becker
aa5d4c17fe
win32 guards
2019-05-01 11:36:20 -04:00
Jeff Becker
6b2ad94731
fix compile warning
2019-05-01 09:53:43 -04:00
Jeff Becker
e060082441
hook every dns for .loki and .snode when applicable
...
make {n,h}uint{32,16}_t templated type.
2019-05-01 09:40:10 -04:00
Jeff
59e6a4bc3d
make snode work again probably
2019-04-30 17:36:27 -04:00
Jeff Becker
20ba2c7b8c
try not to die
2019-04-30 12:57:59 -04:00
Jeff Becker
cde4fcc00a
queue pending traffic
2019-04-30 12:49:34 -04:00
Jeff Becker
bb47d612b3
more
2019-04-30 12:07:17 -04:00
Jeff Becker
0b68d3db5d
move stuff arround so that flushing queues are done in the correct event loops
...
TODO: locking
2019-04-30 11:09:42 -04:00
Jeff Becker
2a7ebce8f4
Merge remote-tracking branch 'origin/master'
2019-04-30 11:01:13 -04:00
Jeff Becker
5e0acc1197
separate upstream/downstream flush
2019-04-30 09:56:39 -04:00
Jeff Becker
d50b18d7b0
try fixing leak also make format
2019-04-30 08:22:15 -04:00
Michael
725ee293c1
Refactor well named functionality in service::Endpoint into new struct
2019-04-30 02:06:31 +01:00
Jeff
a5cc5225ab
static function
2019-04-29 14:34:47 -04:00
Jeff
359804e8db
fix size
2019-04-29 14:34:38 -04:00
Jeff
ac7b331ca0
unconditional pump
2019-04-29 14:34:29 -04:00
Jeff
7cb659343b
static function
2019-04-29 14:27:30 -04:00
Jeff
f8679b6405
fix size
2019-04-29 14:06:16 -04:00
Jeff
785f1366ed
unconditional pump
2019-04-29 13:13:40 -04:00
Jeff
27fac68716
fix
2019-04-28 14:22:38 -04:00
Jeff
01906c5d94
Merge remote-tracking branch 'origin/master'
2019-04-28 13:33:27 -04:00
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
2019-04-28 17:04:52 +01:00
Jeff
81bf00f9bc
Merge pull request #566 from majestrate/on-off-patch
...
add on/off values
2019-04-28 07:49:59 -04:00
Jeff Becker
2332294258
add on/off values
2019-04-28 07:49:36 -04:00
Jeff Becker
49439d80c1
add on/off values
2019-04-28 07:48:29 -04:00
Jeff Becker
c3c26df6e3
Merge branch 'master' of ssh://github.com/majestrate/loki-network
2019-04-27 07:51:47 -04:00
Jeff
5305ef5974
use iterative lookups for sercice address lookups
2019-04-27 07:13:16 -04:00
Jeff
f97b9bd299
fix osx shell hooks
2019-04-27 06:48:01 -04:00
Jeff Becker
f7dc67b189
use std::set
2019-04-26 09:02:08 -04:00
Jeff Becker
09f706b9cd
fix
2019-04-26 08:17:50 -04:00
Jeff Becker
fea64eaf12
handle subdomains
2019-04-26 08:14:29 -04:00
Jeff Becker
d20ba9ceab
handle subdomains
2019-04-26 08:11:34 -04:00
Michael
9ee525a006
Fix shadowing warnings
2019-04-26 00:21:19 +01:00
Jeff Becker
6d256f114a
increase send buffer size
2019-04-25 13:16:40 -04:00
Jeff Becker
0529e45ebe
more
2019-04-25 13:15:56 -04:00
Jeff Becker
6cd774ff9e
increase send buffer size
2019-04-25 13:15:13 -04:00
Jeff Becker
af62e051b5
gfdi
2019-04-25 08:57:26 -04:00
Jeff Becker
8282712eff
fug
2019-04-25 08:53:26 -04:00
Jeff Becker
af1529fa72
Merge remote-tracking branch 'origin/master'
2019-04-25 07:25:22 -04:00
Jeff Becker
4bda489437
add explicit enable/disable profiling option, try to always maintain outbound connections.
2019-04-25 07:00:18 -04:00
Michael
4143472a17
Add cmake module to target a library as 'system', and fix a few warnings
2019-04-25 00:27:31 +01:00
Ryan Tharp
508be6f9fb
Merge pull request #555 from neuroscr/issue547-2
...
config.cpp can't have ifaddr/ifname set to auto like this apparently, breaks validation
2019-04-23 17:28:20 -07:00
Ryan Tharp
563407c0a8
can't have these enabled like this apparently, breaks validation
2019-04-23 17:28:16 -07:00
Ryan Tharp
11a6691ab0
Merge pull request #549 from neuroscr/issue547-2
...
address issue loki-project#547, remove client.ini, update ini defaults, and clean up help message
2019-04-23 16:10:23 -07:00
Ryan Tharp
58be0229e6
fix issue #550 kqueue crash
2019-04-23 15:10:31 -07:00
Ryan Tharp
b36b378583
issue 547 make format
2019-04-23 14:57:01 -07:00
Ryan Tharp
8cf6a77c1d
address issue loki-project#547, remove client.ini, update ini defaults, and clean up help message
2019-04-23 14:50:49 -07:00
Jeff Becker
c5c28a528f
exit node tweaks
2019-04-23 14:29:42 -04:00
Jeff Becker
5921086391
common codepath for sending protocol frames
2019-04-23 13:35:20 -04:00
Jeff Becker
6711296b26
finish converting to shared_ptr
2019-04-23 12:13:22 -04:00
Jeff Becker
8484e29c9b
turn more stuff into std::shared_ptr
...
remove dead codepaths
2019-04-23 10:47:23 -04:00
Jeff Becker
99c29cf05a
prepare for ios/android jazz
...
move to use std::shared_ptr instead of bare pointers so we can
multithread everything.
2019-04-23 10:28:59 -04:00
Jeff Becker
5872573e91
rename Logic and Crypto functions to GetLogic and GetCrypto
2019-04-23 09:20:01 -04:00
Jeff Becker
a2912ff860
Merge remote-tracking branch 'origin/master'
2019-04-23 09:12:36 -04:00
Michael
3a8715d8e4
Fix introset tests
2019-04-23 10:25:03 +01:00
michael-loki
e36ddfb093
Fixup casing ( #543 )
...
* Rename Identity.hpp to identity.hpp
* Rename Identity.cpp to identity.cpp
* Rename Info.hpp to info.hpp
* Rename Intro.cpp to intro.cpp
* Rename Intro.hpp to intro.hpp
2019-04-22 20:24:23 -05:00
Michael
98e691f315
Tidy up more parts of the service/ directory
2019-04-22 22:28:10 +01:00
Michael
2d2c0e3ac2
Make introset PoW be a unique_ptr
2019-04-22 22:19:51 +01:00
Jeff Becker
33d1fb913f
more clairvoient path building
2019-04-22 15:54:43 -04:00
Jeff Becker
36369abcb4
"better" (more vigorus) path building
2019-04-22 15:15:07 -04:00
Jeff Becker
d5162c2aad
dont kill active exit paths
2019-04-22 13:55:07 -04:00
Michael
e33a33635c
Remove usage of raw new from service classes
2019-04-22 18:38:29 +01:00
Jeff Becker
3120464fd6
catch error
2019-04-22 10:53:30 -04:00
Jeff Becker
fddb4c6b5d
give commandline args to hooks
2019-04-22 10:33:27 -04:00
Jeff Becker
a73d6f5c31
stop and drain threadpool
2019-04-22 10:03:22 -04:00
Jeff Becker
c0d7b53328
make it work
2019-04-22 10:00:59 -04:00
Jeff Becker
6785bd75c6
actually fork
2019-04-22 08:48:48 -04:00
Jeff Becker
3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format
2019-04-22 08:25:25 -04:00
Michael
33c80b7c16
Move service::Session to its own componet
2019-04-21 19:39:50 +01:00
Michael
94ad84363a
Move CachedTagResult and TagLookupJob to its own component
2019-04-21 19:39:50 +01:00
Michael
6bf54e0925
Remove AsyncKeyExchange, HiddenServiceAddressLookup and OutboundContext to their own components
2019-04-21 19:39:50 +01:00
Michael
3db6d80928
Remove unnecessary llarp:: qualifiers
2019-04-21 19:39:50 +01:00
Michael
2412ed59ee
Move SendContext to its own component
2019-04-21 19:39:50 +01:00
Michael
84fc90dc82
Remove dependency on service::endpoint
2019-04-21 19:39:50 +01:00
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
2019-04-19 13:24:33 -05:00
Rick V
81e88ab351
wtf jeff
2019-04-19 12:36:45 -05:00
Michael
c39c931d03
Remove IStateful virtual inheritance
2019-04-19 16:10:26 +01:00
Jeff Becker
5d7618cf02
try interchanging read / write oder on kqueue
2019-04-19 09:57:59 -04:00
Jeff Becker
544595bdef
use pipe and not pipe2
2019-04-19 09:43:51 -04:00
Jeff
e10edfd0b8
Merge pull request #531 from majestrate/master
...
bundle RC in build record to improve build success rates.
2019-04-18 07:52:19 -04:00
Jeff Becker
57dc6cc965
make bundling rc in path builds configurable on runtime
2019-04-18 07:49:54 -04:00
Jeff Becker
94eb37d490
bundle RC in build record to improve build success rates.
2019-04-17 15:05:54 -04:00
Jeff
379783c7a1
Merge pull request #530 from majestrate/master
...
qol improvements
2019-04-17 11:25:59 -04:00
Jeff Becker
2be3401e08
* refactor profiling function names
...
* utp link layer make ping less active, pre-emptive pump faster
2019-04-17 10:46:00 -04:00