Commit Graph

6644 Commits (ffe9bbc984da2f0c48dde2883718bfe7db38f543)
 

Author SHA1 Message Date
Jeff fe29df696c
Merge pull request #1522 from majestrate/update-readme-2021-01-25
redo readme structure
3 years ago
Jeff Becker 935f210900
update readme links 3 years ago
Jeff Becker 2d4ff6c9dd
update badge url 3 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
3 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
3 years ago
Jeff 5c1f66b8c0
Merge pull request #1531 from komachi/update-apparmor
Update AppArmor profile
3 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
3 years ago
Jeff c5a423d3f8
Merge pull request #1529 from majestrate/nodedb-refactor-2021-02-02
NodeDB refactor
3 years ago
Jeff Becker 1f1db29816
GetIf -> GetRandom 3 years ago
Jeff Becker f24cdb305b
clean up calls to NodeDB::GetIf to be cleaner and more concise 3 years ago
Jeff Becker c8aba0af31
make llarp::NodeDB::GetIf always randmize location 3 years ago
Jeff Becker d55705362a
use good routers 3 years ago
Jeff Becker b6dbbb4bef
consolidate pathbuilder logic
* deduplicate code for path hops selection
3 years ago
Jeff Becker 242e56507c
proper lokimq -> oxenmq refactor 3 years ago
Jeff Becker 1e58715e0b
fix pybind layer 3 years ago
Jeff Becker d112a50096
minidump fix 3 years ago
Jeff Becker 922f4fb724
fix iteration bug 3 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
3 years ago
Jeff Becker 811b2a3fbf
bump submodule 3 years ago
Jeff 5e2ba55c41
Merge pull request #1527 from jahway603/dev
fixed broken documentation link
3 years ago
jahway603 6eab03567a fixed broken documentation link 3 years ago
Jeff 899e0878eb
Merge pull request #1514 from jagerman/downgrade-required-libuv-version
Downgrade required libuv version to 1.18
3 years ago
Jason Rhinelander 3d0c9a90a8 Link against libdl for libuv 3 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.)
3 years ago
Jason Rhinelander 60a267a136 Add automake+libtool for libuv static build 3 years ago
Jason Rhinelander ab4013f00d Downgrade required libuv version to 1.18
(1.18 is the version found in bionic).
3 years ago
Jason Rhinelander b3d2177e73
Fix build server name & path (#1516)
builds.lokinet.dev -> oxen.rocks
/loki-project/ -> /oxen-io/
3 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.
3 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
3 years ago
Yevhen Stasiv 70ceeb10a6
Update readme.md (#1512)
Added missing instruction for FreeBSD install
3 years ago
Jason Rhinelander d6231521d5
Merge pull request #1509 from majestrate/unbreak-build-2021-01-12
unbreak the build
3 years ago
Jeff Becker f8c0195cfc
add ulimit -n 1024 to mac ci stuff because lol apple 3 years ago
Jeff Becker 82b3ec19e8
unbreak the build
* remove llarp/ev/pipe.cpp from cmake
* fix typo in llarp/ev/ev_libuv.cpp
3 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
3 years ago
Dimitris Apostolou 029b6db364
Fix macOS instructions (#1506) 3 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
3 years ago
Jason Rhinelander f9be8b6b73
Bump version & gui build (#1501) 3 years ago
Jeff Becker 7ee9d0281c
add llarp.endpoint rpc command with kill option to kill all active convotags given
a list of or a single remote service address.
4 years ago
Jeff Becker 1cb4203eff
Merge branch 'stable' into dev 4 years ago
Jeff 1eb5c6deed
resolve merge conflicts for 0.8.2 (#1493)
* Update gui win32 package url (#1466)

* Dev to stable (#1471)

* Install less stuff on windows CI

mingw-w64 is a metapackage that pulls in 4 different compilers
{i686,x86_64}×{-posix,-win32} but we only need x86_64-posix, so just
install that package.

* Update gui win32 package url (#1466) (#1468)

Co-authored-by: Jeff <jeff@i2p.rocks>

* stop lokinet before uninstalling service (#1469)

* stop lokinet before uninstalling service

* kill gui in uninstaller

* add helper script for building windows installers because i forgot how to most of the time.

* Update win32 gui download with smaller svg icon

Co-authored-by: Jeff <jeff@i2p.rocks>

Co-authored-by: Jason Rhinelander <jason@imaginary.ca>
4 years ago
Jeff Becker 0d79117674
Merge branch 'dev' into stable 4 years ago
Jeff Becker c24f6a6d2b
Merge branch 'stable' into dev 4 years ago
Jeff 6407733c8e
* make llarp.halt rpc call actually return a reply (#1488)
* add --kill flag to lokinet-vpn that calls llarp.halt
* make macos uninstaller kill lokinet via lokinet-vpn --kill
4 years ago
Jason Rhinelander f1b074bb95
Merge pull request #1487 from jagerman/revert-uninstaller-subdir
Revert "Build mac uninstaller as subproject instead of externalprojec…
4 years ago
Jeff b18546086a
make macos uninstaller actually kill and uninstall lokinet (#1484)
* macos fluff

* make uninstaller work, the uninstall script needs to be called with /usr/bin/sudo to work because god know why it needs that even though it's already root.
* add logrotation
* make the uninstall script kill all the things

* revert

* use correct regular expression

* remove logrotate configs rename logrotate config file name to be more descriptive
4 years ago
Jason Rhinelander bc62e9dd2d Revert "Build mac uninstaller as subproject instead of externalproject (#1485)"
This reverts commit e62f04c601.
4 years ago
Jason Rhinelander e62f04c601
Build mac uninstaller as subproject instead of externalproject (#1485)
This makes it easier to build/rebuild via a target, and is a bit
cleaner.
4 years ago
Jason Rhinelander a753e96d8d
Version bump (#1483)
* Bump version to 0.8.2

* Let cmake set PROJECT_NAME

`project(x ...)` already sets PROJECT_NAME (and CMAKE_PROKECT_NAME if
this is the top-level build) to `x`; the logic here seemed sort of
backwards.

* Get rid of uninstaller entitlement

We don't seem to need it anymore with Qt 5.15.1.

* Bump windows lokinet-gui build
4 years ago
Jason Rhinelander 225c991edd
Merge pull request #1478 from majestrate/macos-packaging-fixes-2020-11-13
reset dns in uninstall script
4 years ago
Jason Rhinelander deae302571 macos: pass our pre-built static libs into the gui sub-build
Avoids the mac build needing to build lokimq & libzmq twice (once in
lokinet, then again in the gui)
4 years ago