Commit Graph

7365 Commits

Author SHA1 Message Date
Jason Rhinelander
39d31df059
no-op LogTrace(); print chars as ints
- LogTrace() (and LogTraceTag, etc.) are now no-ops for release builds.
(hoping there are no side effects in trace logging!)
- renamed llarp::_Log to llarp::_log because _Log is a reserved keyword
- change logging code to implicitly convert 1-byte types (char, unsigned
char, uint8_t) to ints so that we print them as numeric values rather
than raw chars because, more often than not, printing a single char is
trying to log an 8-bit value.
2021-04-19 06:57:46 -04:00
Jason Rhinelander
b61bd82b4b
Add llarp::buffer_printer for pretty buffer logs 2021-04-19 06:57:46 -04:00
Jason Rhinelander
818b4042e9
Migrate plainquic logging to llarp logging 2021-04-19 06:57:46 -04:00
Jason Rhinelander
5d897781ef
Replace custom random with llarp/sodium random 2021-04-19 06:57:45 -04:00
Jason Rhinelander
aa0f54fa07
WIP plainquic tunnels 2021-04-19 06:57:45 -04:00
Jason Rhinelander
46c619c49f
Move external/ cmake bits into external/CMakeLists.txt
- Move uvw target to external instead of llarp/CMakeLists.txt

- Add sqlite_orm headers via interface library rather than shoving it
  into the global include search path.

- Find sqlite3 as part of the sqlite_orm target deps rather than linking
  it separately.  (Also don't link it into lokinet-util, which doesn't
  appear to actually need it).
2021-04-19 06:57:45 -04:00
Jason Rhinelander
442fa951fc
Add ngtcp2 submodule 2021-04-19 06:56:26 -04:00
Jason Rhinelander
9df6cd74c7
Add draft liblokinet TCP-over-QUIC design doc 2021-04-19 06:55:36 -04:00
Jeff Becker
8ee80bc13d
don't build liblokinet in android we have liblokinet-android for that 2021-04-19 06:55:36 -04:00
Jeff Becker
079604c6cf
get rid of deprecated vpnio code in android 2021-04-19 06:52:24 -04:00
Jeff Becker
b45a268dbc
fix windows dll link-ism 2021-04-19 06:52:24 -04:00
Jeff Becker
2fa7a54e86
fix pybind layer compile errors from missing llarp.h header 2021-04-19 06:52:24 -04:00
Jeff Becker
e4841917ba
redo cmake parts
* add liblokinet.so target
* make every library we build except liblokinet.so static
* wire up parts of liblokinet
2021-04-19 06:52:24 -04:00
Jeff Becker
affd2e23f7
flesh out lokinet.h more 2021-04-19 06:52:24 -04:00
Jeff Becker
414c2d42e6
add lokinet.h header for liblokinet api 2021-04-19 06:52:24 -04:00
Jeff Becker
e11249d158
remove llarp.h header references 2021-04-19 06:52:24 -04:00
Jeff Becker
9e2cfd90cb
remove unneeded header 2021-04-19 06:52:23 -04:00
Jeff Becker
a6715a1f75
remove old vpnio bits 2021-04-19 06:52:23 -04:00
Jeff Becker
c92894804c
Merge remote-tracking branch 'origin/stable' into dev 2021-04-17 09:18:37 -04:00
Jeff Becker
68826f10bb use binary mode for writing files 2021-04-16 18:52:18 -03:00
Jeff
9f2f9e0f05
Merge pull request #1598 from majestrate/cherry-pick-for-stable-2021-04-15
new logos and new lokinet-bootstrap backport for stable
2021-04-16 15:10:35 -04:00
Jeff Becker
4daebc0141
catch exception and print out error 2021-04-16 15:01:00 -04:00
Jeff Becker
a0d3ab125a
throw on failed writing and port fs namespace changes from oxen-core 2021-04-16 14:47:17 -04:00
Jeff Becker
6cde9062b5
build lokinet-android target only on android 2021-04-16 14:17:39 -04:00
Jeff Becker
a80d8b95b3
update lokinet-bootstrap
* compat with old shell script curl wrapper's arguments
* do lazy validation of fetched data
2021-04-16 14:16:16 -04:00
Jeff Becker
77de60af91
require openssl explicitly for lokinet-bootstrap 2021-04-16 09:40:36 -04:00
Jeff Becker
27c80a2638
add include directory for daemon directory so llarp/* includes work 2021-04-16 05:51:34 -04:00
Jeff Becker
e8178a032e
lokinet-bootstrap native binary 2021-04-15 20:06:15 -04:00
Jeff Becker
3af465bb5f
rebrand and bump version 2021-04-15 20:06:07 -04:00
Jeff
6e05f7ad13
Merge pull request #1597 from majestrate/lokinet-bootstrap-native-2021-04-15
Lokinet bootstrap native binary
2021-04-15 19:52:16 -04:00
Jeff Becker
0c37cc7f60
lokinet-bootstrap native binary 2021-04-15 13:39:45 -04:00
Jeff
ac7cf68dbe
Merge pull request #1596 from majestrate/rebrand-2021-04-14
rebranding assets
2021-04-15 07:43:41 -04:00
Jeff
189a746dfa
Merge pull request #1594 from majestrate/plug-leak-2021-04-12
call delivery status hook on overload
2021-04-14 13:24:41 -04:00
Jeff Becker
9e05e245e0
rebrand and bump version 2021-04-14 12:55:52 -04:00
Jeff Becker
7a1ffc2df4
* lessen replay filter window
* dont have transit hops use a replay filter
* formatting
2021-04-12 13:14:59 -04:00
Jeff Becker
9c742b36eb
call delivery status hook on overload 2021-04-12 12:00:35 -04:00
Jeff
6bd53484da
Merge pull request #1541 from majestrate/lns-consensus-2021-02-19
lns lookup consensus
2021-03-26 19:24:29 -04:00
Jeff
cb2254ba46
Merge pull request #1573 from jagerman/more-code-refactors
More code refactors
2021-03-23 16:22:23 -04:00
Jeff
68aac7964a
Merge pull request #1583 from majestrate/linux-vpn-ipv6-soft-fail-2021-03-20
allow failure of setting ipv6 address
2021-03-22 15:12:55 -04:00
Jeff Becker
dfa84081c9
forgot a type 2021-03-20 15:26:08 -04:00
Jeff Becker
202c9348fa
use std::variant 2021-03-20 15:18:04 -04:00
Jeff Becker
b7f72601ce
move stuff to var::variant 2021-03-20 14:30:18 -04:00
Jeff Becker
ba9dca6c5d
use var::variant and var::visit shims because apple is sux 2021-03-20 11:47:36 -04:00
Jeff Becker
f10269b03e
remove std::visit because apple is functionally retarded and does not support it despite claiming to support c++14 2021-03-20 10:06:26 -04:00
Jeff Becker
c07358f084
allow failure of setting ipv6 address when it is not allowed by kernel on linux 2021-03-20 09:55:43 -04:00
Jeff Becker
aa0546563a lokimq -> oxenmq artifact
* fix dep to lokimq in macos installer gui target when doing make package, change it to oxenmq
2021-03-19 17:32:45 -03:00
Jeff Becker
6c1d18412c
seperate logic into IsDone() 2021-03-19 16:13:09 -04:00
Jeff Becker
88ddcceca4
make lookup name async return optional variant 2021-03-19 16:06:03 -04:00
Jeff Becker
4e14567d67
make Endpoint::LookupNameAsync return void 2021-03-19 15:34:07 -04:00
Jeff Becker
8e57572b37
dont reference iterator in lambda. 2021-03-19 10:18:36 -04:00