Commit Graph

7467 Commits

Author SHA1 Message Date
Jeff Becker
c5b5ff7810 typo fix 2022-01-31 10:53:48 -05:00
Jeff Becker
2428cc189e llarp::BootstrapConfig update
* make routers member a llarp::BootstrapList
2022-01-31 10:53:48 -05:00
Jeff Becker
c4b1a9c074 lokinet_add_bootstrap_rc
* allow bootstrap lists to be passed in
2022-01-31 10:53:48 -05:00
Jeff Becker
00075f541b fix compile error 2022-01-31 10:53:48 -05:00
Jeff Becker
5b8ebb269c changes for liblokinet-ffi
* cmake option BUILD_DAEMON for toggling building of daemon directory
* when WITH_BOOTSTRAP is OFF dont build curl or cpr
2022-01-31 10:53:48 -05:00
Jeff Becker
db7050cd2d update liblokinet udp header 2022-01-31 10:53:48 -05:00
Jeff Becker
50001da9a1 remove dead shit from header 2022-01-31 10:53:48 -05:00
Jeff Becker
433febe5c6 update liblokinet udp api header 2022-01-31 10:53:48 -05:00
Jeff Becker
5f49d3a49f update header with notes 2022-01-31 10:53:48 -05:00
majestrate
7a992c7ebc
Merge pull request #1845 from majestrate/make-github-see-we-are-gpl3-2022-01-28
make it so github sees the repo is gpl3
2022-01-28 13:03:46 -05:00
Jeff
185809907d fix typo in readme, use 3 hashes instead of 2 because it is a sub 3 section 2022-01-28 11:21:11 -05:00
Jeff
996de3d4c6 make it so github sees the repo is gpl3 2022-01-28 11:20:22 -05:00
majestrate
36925d0576
Merge pull request #1844 from majestrate/sigusr1-wire-up-thaw-2022-01-27
wire up sigusr1 to trigger a network thaw on non win32 platforms
2022-01-27 11:22:09 -05:00
Jeff
fc444741f1 move constant to new header
create llarp/constants/time.hpp for time/duration constants
2022-01-27 11:11:57 -05:00
Jeff
5fac6c84d8 detect timeskip and thaw network when we think it happened. 2022-01-27 10:59:04 -05:00
Jeff
38c6d99375 wire up sigusr1 to trigger a network thaw on non win32 platforms 2022-01-27 09:59:52 -05:00
majestrate
cf0e3146a2
Merge pull request #1843 from majestrate/disable-unit-tests-on-broken-gcc-2022-01-24
work around gcc lto bug
2022-01-25 13:21:21 -05:00
Jeff
7e92f36b6a disable tests by default
make ci enable tests explicitly
2022-01-25 13:15:37 -05:00
majestrate
27619f5fb4
Merge pull request #1838 from majestrate/sd_notify_extra_info-2022-01-13
redo systemd status line
2022-01-14 17:01:52 -05:00
majestrate
9d1111a0b1
Merge pull request #1839 from majestrate/disable-route-blackhole-config-2022-01-14
route poker: allow not blackholing routes.
2022-01-14 17:01:32 -05:00
Jeff
b3d9cd463f route poker: allow not blackholing routes.
allow runtime configuration to disable ip blackholing.
2022-01-14 13:03:01 -05:00
Jeff
205584acdf redo systemd status line to include number of paths and endpoint count. optionally warn about low path success. 2022-01-14 11:18:07 -05:00
majestrate
53526f386a
Merge pull request #1834 from majestrate/route-poker-fix-2022-01-03
prevent segfault in route poker if Init() is not called
2022-01-11 17:59:05 -05:00
majestrate
2c44ffe85b
Update llarp/router/route_poker.cpp
Co-authored-by: Jason Rhinelander <jason@imaginary.ca>
2022-01-11 12:44:05 -05:00
majestrate
68a7174807
Merge pull request #1837 from jagerman/gentler-install-instructions
readme: point to oxen docs; mention systemctl controls
2022-01-11 11:29:01 -05:00
Jason Rhinelander
b442e8a43b
readme: point to oxen docs; mention systemctl controls 2022-01-11 12:13:24 -04:00
Jeff
27ba3e044d
prevent segfault in route poker if Init() is not called 2022-01-03 10:16:08 -05:00
majestrate
9e4bd2cd44
Merge pull request #1801 from majestrate/introset-publish-spam-fix-2021-11-16
prevent introset publish spam
2021-12-27 10:04:48 -05:00
majestrate
838208217d
Merge pull request #1819 from majestrate/android-drop-x86-2021-12-05
drop x86 for android as flutter does not support it
2021-12-26 10:59:03 -05:00
majestrate
94611eda19
Merge pull request #1818 from majestrate/toggle-route-poker-2021-12-04
configurable route poker
2021-12-26 10:58:50 -05:00
majestrate
229a6c9bb9
Merge pull request #1828 from zoobab/dev
Add missing libssl-dev
2021-12-19 11:11:53 -05:00
Benjamin Henrion
409772f763
Add missing libssl-dev
Add missing libssl-dev on Ubuntu to compile it from source.
2021-12-19 17:09:40 +01:00
Jeff Becker
061aebc964
reword auto-routing config comment 2021-12-15 18:42:22 -05:00
Jeff Becker
14ffdb6639
configurable route poker
this allows you to use exit nodes without forcing routes over the interface, useful for using lokinet with an exit and selectively routing over the lokinet interface using an external socks proxy or binding to device explicitly.

* make route poker configurable, defaults to enabled but allows disabling it on runtime if desired
* add config option [network]:auto-routing to enable/disable route poker
2021-12-15 18:42:22 -05:00
majestrate
54bff69a0a
Merge pull request #1816 from majestrate/exit-pooling-2021-12-01
client side exit node pooling
2021-12-15 16:27:18 -05:00
Jeff Becker
da887dc559
implement exit node pooling, allows users to use multiple exits for an address range.
mappings per ip stick to the same exit, each new ip is mapped to a random exit in the specified pool.

make exit-auth multi value
2021-12-15 16:26:21 -05:00
majestrate
64224f2344
Merge pull request #1822 from majestrate/make-windows-work-again-2021-12-07
Make windows work again
2021-12-15 15:39:00 -05:00
Jeff
776e9227fd
make serivce::Endpoint::EnsurePathToService have a default timeout as a named constant. 2021-12-15 15:25:53 -05:00
Jeff
301b19bd0f
do not send buggy reply as rpc 2021-12-15 15:25:53 -05:00
Jeff
388fc53380
match io loop event order on windows/apple to match linux.
on win32/apple reading packets from the interface does not count as an io operation.
manually trigger pump on win32/apple to pretend that it is an io event.
add platform quark function MaybeWakeUpperLayers on vpn::Interface to manaully wake up the other components on platforms that need that (ones on which packet io is not done via io events).
on non linux platforms, use uv_prepare_t instead of uv_check_t as the former triggers before blocking for io, instead of after. this better matches linux's order of operations in libuv.
2021-12-15 15:25:53 -05:00
majestrate
44c7cf5f27
Update readme.md
remove old parts about macos from readme
2021-12-13 22:59:29 -05:00
majestrate
019a9f1611
Update readme.md
remove pedantic separation in readme
2021-12-13 22:58:05 -05:00
majestrate
6af589d845
Update readme.md
correct cmake flag
2021-12-13 22:57:11 -05:00
majestrate
d186a887d3
Update readme.md
remove note in readme
2021-12-13 22:55:51 -05:00
majestrate
b7bbb7f40d
Update readme.md
fix readme, do not use static deps.
2021-12-13 22:53:53 -05:00
Jeff
e0df1875fb
drop x86 for android as flutter does not support it 2021-12-05 14:17:58 -05:00
Jeff
5890c99a81
Merge pull request #1817 from majestrate/disable-upstream-ip6-dns-2021-12-03
disable ip6 upstream dns in libunbound
2021-12-04 09:19:34 -05:00
Jeff Becker
0e2b0edaf6
when lokinet looses ip4 connectivity libunbound used to freak out and only use ip6 after such an event.
as a result dns queries stop working because we blackhole ip6 routes if exit mode is on.
this prevents this case from being hit.
2021-12-03 16:12:10 -05:00
Jeff
ce8b3c83a7
Update high-level.txt
add notice to file as very out of date.
2021-11-28 14:01:12 -05:00
Jeff
b23ceefc5a
Merge pull request #1812 from majestrate/log-level-demotion-11-28-2021
demote log statement levels
2021-11-28 11:02:36 -05:00