Commit Graph

6707 Commits (f10269b03eb2587428c3a9fe8a936f072c52f371)
 

Author SHA1 Message Date
Jeff Becker e46204b068
dont wire up router thaw to sigusr1 4 years ago
Jeff Becker 07b599430e
thaw router when connectivity changes 4 years ago
Jeff Becker 676ca7f511
close stale sessions on thaw because they are probably already gone. this removes them and forces the sessions to be renegotiated. 4 years ago
Jeff Becker ffef3bc48f
wire up sigusr1 to reset libunbound dns resolver 4 years ago
Jeff 6825e9177d
Merge pull request #1538 from majestrate/ip6nat-exit-2021-02-16
ip6 nat exits
4 years ago
Jeff Becker 8239efa71b
clarify new member's purpose and name. add comment. 4 years ago
Jeff Becker 1526941f3a
make it compile again 4 years ago
Jeff Becker 0600f42814
fix up names of functions to be less hidious. 4 years ago
Jeff Becker 1ee545d6d2
fix up macos route command for ipv6 4 years ago
Jeff Becker 35137913b9
windows and macos route pokers for ipv6 4 years ago
Jeff Becker 1c7079dbab
fix up route poking with lokinet to work with ipv6 4 years ago
Jeff Becker 063e982ef6
fix exit range default value 4 years ago
Jeff Becker bd93a8f828
initial v6 exits 4 years ago
Jeff fe29df696c
Merge pull request #1522 from majestrate/update-readme-2021-01-25
redo readme structure
4 years ago
Jeff Becker 935f210900
update readme links 4 years ago
Jeff Becker 2d4ff6c9dd
update badge url 4 years ago
Jeff Becker 6d00c3ecd2
update windows parts
* document need for ninja-build package
* update contrib/windows.sh, remove -DCROSS_COMPILE option, set -e and set +x
4 years ago
Jeff Becker fdc3de6f9c
redo readme structure:
* add notes about debian packages (fixes #1521)
* reorder sections to have better flow
* add notes about win/mac release location
4 years ago
Jeff 5c1f66b8c0
Merge pull request #1531 from komachi/update-apparmor
Update AppArmor profile
4 years ago
Anton Nesterov da2c979936 update apparmor profile:
add nameservice abstraction
give profile a name
allow to read conf, tmp files, etc.
remove /lib/@{multiarch}/ld-*.so mr, already covered by abstractions/base
allow local additions
4 years ago
Jeff c5a423d3f8
Merge pull request #1529 from majestrate/nodedb-refactor-2021-02-02
NodeDB refactor
4 years ago
Jeff Becker 1f1db29816
GetIf -> GetRandom 4 years ago
Jeff Becker f24cdb305b
clean up calls to NodeDB::GetIf to be cleaner and more concise 4 years ago
Jeff Becker c8aba0af31
make llarp::NodeDB::GetIf always randmize location 4 years ago
Jeff Becker d55705362a
use good routers 4 years ago
Jeff Becker b6dbbb4bef
consolidate pathbuilder logic
* deduplicate code for path hops selection
4 years ago
Jeff Becker 242e56507c
proper lokimq -> oxenmq refactor 4 years ago
Jeff Becker 1e58715e0b
fix pybind layer 4 years ago
Jeff Becker d112a50096
minidump fix 4 years ago
Jeff Becker 922f4fb724
fix iteration bug 4 years ago
Jeff Becker df4ea34a56
nodedb refactor
* bump zmq static dep
* lokimq -> oxenmq
* llarp_nodedb -> llarp::NodeDB
* remove all crufty api parts of NodeDB
* make NodeDB rc selection api not suck
* make path builder api not suck
* propagate all above changes so that unit tests work and it all compiles
4 years ago
Jeff Becker 811b2a3fbf
bump submodule 4 years ago
Jeff 5e2ba55c41
Merge pull request #1527 from jahway603/dev
fixed broken documentation link
4 years ago
jahway603 6eab03567a fixed broken documentation link 4 years ago
Jeff 899e0878eb
Merge pull request #1514 from jagerman/downgrade-required-libuv-version
Downgrade required libuv version to 1.18
4 years ago
Jason Rhinelander 3d0c9a90a8 Link against libdl for libuv 4 years ago
Jason Rhinelander 231674e5a5 Remove CMAKE_CROSSCOMPILE
We set CMAKE_CROSSCOMPILE in a few places, but that is just a typo for
CMAKE_CROSSCOMPILING.  However we don't need to set it at all: cmake
does so automatically whenever CMAKE_SYSTEM_NAME is set (which is why
our cross compiling actually works currently.)
4 years ago
Jason Rhinelander 60a267a136 Add automake+libtool for libuv static build 4 years ago
Jason Rhinelander ab4013f00d Downgrade required libuv version to 1.18
(1.18 is the version found in bionic).
4 years ago
Jason Rhinelander b3d2177e73
Fix build server name & path (#1516)
builds.lokinet.dev -> oxen.rocks
/loki-project/ -> /oxen-io/
4 years ago
Jeff 5f0f4e0c70
prevent crash by removing duplicate logic (#1515)
when a path expires or fails or something causes its lifecycle to end we have cleanup
logic that handles clean up for it. this removes a code path that was crashing that
is duplicated elsewhere and is thus probably safe to bin. yolo.
4 years ago
Jeff 0ed8942dc6
libuv cmake fixups (#1511)
* fix up cmake parts for libuv
* make libuv use external project via StaticBuild.cmake
* remove libuv submodule
4 years ago
Yevhen Stasiv 70ceeb10a6
Update readme.md (#1512)
Added missing instruction for FreeBSD install
4 years ago
Jason Rhinelander d6231521d5
Merge pull request #1509 from majestrate/unbreak-build-2021-01-12
unbreak the build
4 years ago
Jeff Becker f8c0195cfc
add ulimit -n 1024 to mac ci stuff because lol apple 4 years ago
Jeff Becker 82b3ec19e8
unbreak the build
* remove llarp/ev/pipe.cpp from cmake
* fix typo in llarp/ev/ev_libuv.cpp
4 years ago
Jeff 49b9ad7197
tun code refactor (#1495)
* partial tun code refactor

* take out the trash

* move vpn platform code into llarp/vpn/platform.cpp

* fix hive build

* fix win32

* fix memory leak on win32

* reduce cpu use

* make macos compile

* win32 patches:

* use wepoll for zmq
* use all cores on windows iocp read loop

* fix zmq patch for windows

* clean up cmake for win32

* add uninstall before reinstall option to win32 installer

* more ipv6 stuff

* make it compile

* fix up route poker

* remove an unneeded code block in macos wtf

* always use call to system

* fix route poker behavior on macos

* disable ipv6 on windows for now

* cpu perf improvement:

* colease calls to Router::PumpLL to 1 per event loop wakeup

* set up THEN add addresses

* emulate proactor event loop on win32

* remove excessively verbose error message

* fix issue #1499

* exclude uv_poll from win32 so that it can start up

* update logtag to include directory

* create minidump on windows if there was a crash

* make windows happy

* use dmp suffix on minidump files

* typo fix

* address feedback from jason
* use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
* quote $@ in apply-patches in case path has spaces in it

* address feedback from tom

* remove llarp/ev/pipe
* add comments for clairification
* make event loop queue size constant named
4 years ago
Dimitris Apostolou 029b6db364
Fix macOS instructions (#1506) 4 years ago
Jason Rhinelander 7ad1030736
Add full-static-deps armhf build (+upload) (#1505)
* Add armhf static build + upload

* openssl build fix for static armhf build

Without this it tries building for arm64.

* Disable LTO for armhf static build

* Fix static lib check for arm
4 years ago
Jason Rhinelander f9be8b6b73
Bump version & gui build (#1501) 4 years ago