Commit Graph

468 Commits (dev)

Author SHA1 Message Date
Linux User e6bcbf47b4
patch libsodium for windows the cmake way 4 years ago
Jeff Becker 6984cda3a6
add pybind and router hive to ci 4 years ago
Jeff 45cda241f0
Merge pull request #1272 from majestrate/exit-nodes-2020-05-16
exit traffic via snapps
4 years ago
Jeff Becker 242ab3caba
rename lokinet-exit too to lokinet-vpn
install lokinet-vpn tool for use with debian packaging
4 years ago
Rick V 5529371637 RouterContact::[Read|Write] now take a fs::path const ref 4 years ago
Jeff Becker b572e7a7cd
add lokinet-exit.py script 4 years ago
Jeff Becker 6af498092b
exit traffic via loki addresses 4 years ago
Jason Rhinelander 8851766c5d macos static build & upload 4 years ago
Jason Rhinelander cf447dc3a4 Build (and upload) debs by merging into the deb branches
Similar to the static files, the debs also end up under
builds.lokinet.dev/deb.
4 years ago
Jason Rhinelander f54beadaa9 Add tar+upload to builds.lokinet.dev of static build
Relies on an SSH_KEY secret being set in the repository.

Also move the linked library check to a bash script because escaping a
value in jsonnet (escape once) that gets passed through yaml (escape
twice) and then bash (escape again) is too painful.
4 years ago
Jason Rhinelander 5b7d194ff1 Merge remote-tracking branch 'origin/master' into dev 4 years ago
Jeff Becker 64157d5d44 track libcurl and libuv with cmake, add libuv submodule 4 years ago
Jeff Becker 57a737290c
relicense to GPL3 4 years ago
Jason Rhinelander 1a552d580e More macos uninstall hackery 4 years ago
Jason Rhinelander 86a67db87a After touching, macos needs some sleep 4 years ago
Jason Rhinelander 2be546557f Touch the magic file 4 years ago
Jason Rhinelander d48a54363d Restore DNS via signal handler
If we get signalled we still want to run it, but a signal on the script
could result in us exiting early.
4 years ago
Stephen Shelton 47806b4408
Handle no-explicitly-set-dns case in launchd script 4 years ago
Stephen Shelton b4b2e91bb5
Handle no-explicitly-set-dns case in launchd script 4 years ago
Jason Rhinelander dacea9a2bc Add stapling after notarization 4 years ago
Stephen Shelton b56ff52ad9 Include macos uninstall script 4 years ago
Jason Rhinelander 2036bcaf8f NOTARIZE only has one O 4 years ago
Jason Rhinelander 35197a7620 codesigning and notarization
Codesigns and notarizes the package.  Requires a bunch of stuff to
actually get this working.  (see contrib/macos-signing.txt).

I'm currently also building with

    -DLOKINET_GUI_REPO=https://github.com/jagerman/loki-network-control-panel.git -DLOKINET_GUI_CHECKOUT=cmake

because it needs the camke-ification PR for the control panel to
properly sign everything there.
4 years ago
Jason Rhinelander d65a0c97ed Add simple installer readme 4 years ago
Jason Rhinelander 1221a24c25 Change mac install prefix to /opt/lokinet
/usr/local is probably going to get stomped on by homebrew.
4 years ago
Jason Rhinelander c9a8c67276 Build lokinet-gui with ExternalProject
Also installs it without the extra hack by specifying ../../Applications
for the destination.  (This definitely feels kind of nasty, but it works).
4 years ago
Stephen Shelton 0388a10f81 Bundle gui in mac installer 4 years ago
Stephen Shelton e80f20ecb8 MacOS installer / runtime nonsense 4 years ago
Jeff Becker 8cfc02ca56 add plist 4 years ago
Jeff Becker b630a3135a macos post install script that bootstraps, generates configs and registers plist 4 years ago
Jeff Becker dbaed61100 make gitlab pump out 32 bit installers, no lto for builds as that is cursed for now. 4 years ago
Jason Rhinelander 4a0ee5c66f Add stapling after notarization 4 years ago
Jeff edc0d1a3ed
Merge pull request #1225 from majestrate/macos-cpack-setup-and-bootstrap-2020-04-10
macos cpack installer infra
4 years ago
Stephen Shelton 0b1c57f650 Include macos uninstall script 4 years ago
Jason Rhinelander 6da26bfa43 NOTARIZE only has one O 4 years ago
Rick V 96fc3cdd55
fix pybind 4 years ago
Jason Rhinelander 8d74407d11 codesigning and notarization
Codesigns and notarizes the package.  Requires a bunch of stuff to
actually get this working.  (see contrib/macos-signing.txt).

I'm currently also building with

    -DLOKINET_GUI_REPO=https://github.com/jagerman/loki-network-control-panel.git -DLOKINET_GUI_CHECKOUT=cmake

because it needs the camke-ification PR for the control panel to
properly sign everything there.
4 years ago
Jason Rhinelander 0032f1fdde Add simple installer readme 4 years ago
Jason Rhinelander daf0174e53 Change mac install prefix to /opt/lokinet
/usr/local is probably going to get stomped on by homebrew.
4 years ago
Jason Rhinelander 93311fbc99 Build lokinet-gui with ExternalProject
Also installs it without the extra hack by specifying ../../Applications
for the destination.  (This definitely feels kind of nasty, but it works).
4 years ago
Stephen Shelton c20d5b186d Bundle gui in mac installer 4 years ago
Stephen Shelton dd3121d8ac MacOS installer / runtime nonsense 4 years ago
Jeff Becker b0936830d1 add plist 4 years ago
Jeff Becker 31f74b5ffb macos post install script that bootstraps, generates configs and registers plist 4 years ago
Jason Rhinelander 612c65f2ab hex-to-base32z.py: add -r flag to do reverse conversion 4 years ago
Jason Rhinelander 5e0a8cf738 Add ed25519 key to snode address script to contrib 4 years ago
Jeff Becker 3b26b8b24d
make gitlab pump out 32 bit installers, no lto for builds as that is cursed for now. 4 years ago
Jeff 375b09486e
Merge pull request #1196 from majestrate/lokinetmon-update-2020-03-24
update lokinetmon to work again with dns rebinding protection
4 years ago
Jeff Becker 510053cbce
update lokinetmon to work again with dns rebinding protection 4 years ago
Jeff Becker e8c5a62ee8
remove unused cruft 4 years ago
Rick V 4cd7a22ca3
fix libsodium cross compile 4 years ago
Jeff 6f182c4b26
Merge pull request #1077 from majestrate/mock-lokid-rpc-2020-02-02
mock lokid for loopback testnet
4 years ago
Jeff Becker 7374f8f0fd
update lokinetmon 4 years ago
Jeff Becker fa15ab567d
update lokinetmon 4 years ago
Jeff Becker c60a83f7f4
update lokinet monitor to work with iwp 4 years ago
Jeff Becker ea3323a3ab
correct key 4 years ago
jeff 88e8b7f98c mock lokid for loopback testnet 4 years ago
Jeff Becker 6fd714d193
contrib/testnet: fix up testnet config generator to make super centralized topology
llarp/context.cpp, llarp/nodedb.{h,c}pp: load netdb AFTER whitelist
llarp/router/router.cpp: explore always
llarp/router/{i,}rc_lookup_handler.{h,c}pp explore with whitelist, update routers with lookup before stale
4 years ago
Jeff Becker 0afb3b320b
add bootstrap list functionality and utility 5 years ago
jeff 52757fef0e Merge remote-tracking branch 'micheal/background_mode' into vpn-api-2019-10-03 5 years ago
Rick V 9232cef300
remove old bootstrap code 5 years ago
Rick V 9ba4ecc42d
refactor lokinet-bootstrap
clean up and make more robust
5 years ago
Rick V 70dea71db6
new http parser 5 years ago
Rick V 8fd13577ba
Remove binaries, download them at runtime 5 years ago
Rick V 1a7212a745
add description to lokinet svc manifest 5 years ago
Michael 7d39f84ef3
Partial fixes for shadow 5 years ago
Michael 6e5cab971f
make windows fixes 5 years ago
Jeff Becker 94172e191e
redo commit 5 years ago
Jeff Becker 0a99a849a4
lokinet monitor 5 years ago
Michael 614b669fd5
Abandon debian 5 years ago
Michael df498c7bf8
try to make some windows 5 years ago
Jeff Becker 6496663d25
fix testnet scripts 5 years ago
Jeff Becker f79f5b9bb3
add ppc64le toolchain 5 years ago
Jeff Becker 7ef2462c0c
add forgotten file 5 years ago
Ryan Tharp fd20b33064
Update README.md 5 years ago
Ryan Tharp f1577d13fe
build a router config not a client 5 years ago
Jeff 674f272a46
Merge pull request #630 from majestrate/master
recent stability stuff
5 years ago
Michael 8323725509
Initial No-Op Crypto implementation 5 years ago
Jeff Becker dd2d69444f
differentiate between clients and service nodes 5 years ago
Jeff Becker 142b631301
aaAaAAaaaa 5 years ago
Jeff Becker ae74dedf29
gfdi 5 years ago
Jeff Becker 6f3465f546
add missing lines 5 years ago
Jeff Becker 110268dadf
more 5 years ago
Jeff Becker 5df825f873
more 5 years ago
Jeff Becker fcd9b23a80
fix 5 years ago
Jeff Becker 02e8e055ed
update munin script 5 years ago
Michael aeec414990
Minor warnings fixes in python/javascript code 5 years ago
Jeff Becker 018dd008ec
add custom single threaded allocator for utp buffers
fix up test net stuff
5 years ago
Ryan Tharp dada2164ec
npm start doesn't work
why ask about an entry point...
5 years ago
Ryan Tharp b18277c997
correction 5 years ago
Viktor Villainov 35b113f29e [AppArmor] Debian paths 5 years ago
Viktor Villainov e2b11ed24c Add AppArmor profile 5 years ago
Jeff bf9373d8ee
Merge pull request #584 from neuroscr/contrib-monitor
contrib: lokinet monitor
5 years ago
Ryan Tharp 712cfaf5a0 add README 5 years ago
Ryan Tharp afa1273e23 lokinet monitor 5 years ago
Jeff Becker ac09053a2c
update kubernetes config to use lokinet dns 5 years ago
Eliot Whalan e900a04ebb Remove duplicate and unnecessary fields 5 years ago
Eliot Whalan e3f9298258 Add kubernetes config file for test net 5 years ago
Jeff Becker 9503cc66f0
add disk worker based file flusher logger
make format

remove package.json
5 years ago
Jeff Becker c26145f70e
* fix up integration tests
* make recursive router lookup backtrack
5 years ago
Rick V 853d19209c
Revert "unbreak windows target"
select 64-bit target by default (since normal devs REEEEEEEE at the sight of 4 byte ptrs)
pretty much every _other_ linux/unix has a c++17 windows compiler

This reverts commit a844c61049.
5 years ago
Jeff Becker a844c61049
unbreak windows target 5 years ago
Rick V a7f11bc280
add service manifest for systems that have dtrace :^p 5 years ago
Rick V de1714c399
fix internal testnet bootstrap
remove release tag
5 years ago
Rick V e7fe345b7c
fix installer bootstrap 5 years ago
Rick V 63bcc49390 cut win64 build over 5 years ago
Rick V be5e70f9eb
update clang bits for release 5 years ago
Jeff Becker 6a09348c47
today's work 5 years ago
Jeff Becker ab0be935ca
fix testnet 5 years ago
Jeff Becker 5d4c02c22b
update testnet docs and add more tuneable paramters 5 years ago
Rick V ad1179a333
remove ref to nrmicro
add note
5 years ago
Rick V b53420d538
update copyright description
add more docs

more NRMicro stuff

reeeeeeee memory corruption

cut over to libcurl
5 years ago
Rick V aafecf8c43
try to shave off some space in the static data segment
by using miniz-exclusive ultra deflate
this is safe since we do not depend on libz in the slightest
5 years ago
Ryan Tharp 2d831dc33f get a copy of the binary to use 5 years ago
Ryan Tharp 98ca84e909 add cluster-shell initialize script 5 years ago
Ryan Tharp 0e5157dc93 add cluster-shell 5 years ago
Rick V 3354e47cb5
add program description 5 years ago
Rick V aa319f5155
fix documentation 5 years ago
Rick V 2dc7501823
restore old script from git log (see parent commit) 5 years ago
Rick V 4ec1025ec2
add separate version for testnet 5 years ago
Rick V f64f773c5a
update nt bootstrap script 5 years ago
Rick V ccb1d74ae0
begin work on libunr web client 5 years ago
Jeff Becker 7653db89f4
fix timestamp comparison 5 years ago
Jeff Becker 6383ee994a
only have bootserv do staging branch by default 5 years ago
Jeff Becker 0bf5e96e38
fixit 5 years ago
Jeff Becker ceab194909
make bootserv do 404 and have splash page 5 years ago
Jeff Becker 2e1cf85d9d
fix bootserv one last time 5 years ago
Jeff Becker ed0294ddcf
Merge branch 'staging' of ssh://github.com/loki-project/loki-network into staging 5 years ago
Jeff Becker 6e6cb834a0
update bootserv webhook code 5 years ago
Jeff 832ad942aa
Merge pull request #237 from despair86/dev
separate header and implementation
5 years ago
Jeff Becker 124c100605
fix module name 5 years ago
Jeff Becker 86e26d6350
correct date parsing from webhooks 5 years ago
Jeff Becker 0f0f88791a
non existing file means it's new 5 years ago
Jeff Becker 082eceb601
update bootserv webhook logic 5 years ago
Jeff Becker 6ea28fa781
make webhook work better 5 years ago
Jeff Becker 74710d6c77
improve bootserv to have initial webhooks support 5 years ago
Rick V 207a1d575a
update Netscape ca cert bundle
update bootstrap to support the original Opteron 64

(cherry picked from commit bd285b3bdb09566d0a472381faffb17b8e07b5a6)
5 years ago
Jeff Becker 57ad2b2cfc
update pylokinet to use configurable lokid endpoint (no auth yet) 5 years ago
Jeff Becker b521ba4670
make pylokinet work 5 years ago
Jeff Becker d89e58199a
add initial identity key seed stuff
add more kubernetes stuff

make shared library installed if built
5 years ago
Jeff Becker c622aa1eb3
move stuff around 5 years ago
Jeff Becker 9f436174d4
add openrc for freebsd 5 years ago
Jeff Becker ed297f68d9
add docs 5 years ago
Jeff Becker a1596e3604
more 5 years ago
Jeff Becker c69d4e7389
add gitignore 5 years ago
Jeff Becker 024f020569
make it work for real 5 years ago
Jeff Becker 6ae3f2b394
make it work 5 years ago
Jeff Becker e5792087cc
ad initial pylokinet wrapper 5 years ago
Jeff Becker 5b87fb509e
start on kubernetes shim and fix up shared library target and ffi python code 5 years ago
Michael 4f90192e1a
Fix lifetime issues in llarp_findOrCreate* function calls 5 years ago
Jeff Becker bd0a98ba5a
lokinet-bootserv 6 years ago
Jeff Becker e58f2c521e
done for the day 6 years ago
Jeff Becker b39c46fc03
!!! this breaks backwards compat :^) !!!
redo link protocol to use 2 session keys, add unit tests.
6 years ago
Jeff Becker fad734a5ce
strict types for pubkey, secretkey and routerid 6 years ago
despair d26141d433 Merge branch 'dev' into reeeee-divergence
ok hope this works -rick

# Conflicts:
#	.gitignore
#	.vscode/settings.json
#	include/llarp/service/context.hpp
#	llarp/dns.cpp
#	llarp/dnsc.cpp
#	llarp/ev.cpp
#	llarp/ev.hpp
#	llarp/ev_win32.hpp
#	llarp/net.cpp
#	llarp/router.cpp
#	llarp/router.hpp
#	llarp/service/context.cpp
6 years ago
Jeff Becker 921d515d96
Merge branch 'vanity' into dev 6 years ago
Jeff Becker 2b810e770c
update example 6 years ago
Jeff Becker 72d8a15261
remove uneeded print 6 years ago
Jeff Becker 97ddf00cb3
update vanity script, check for valid chars 6 years ago
Jeff Becker 93498bf78e
lokinet address vanity generator 6 years ago
Jeff Becker 0cdc502d22
remove uneeded print 6 years ago
Jeff Becker 23c41af5f8
update vanity script, check for valid chars 6 years ago
Jeff Becker 11acd20941
lokinet address vanity generator 6 years ago
despair 6deb83d101 alt prefix 6 years ago
Jeff Becker 4a9079a7a2
fix again 6 years ago
Jeff Becker 937059cf47
fix munin script 6 years ago
Jeff ff6ab7d631 initial node garbage 6 years ago
Jeff Becker f1cca956f9
make android compile again 6 years ago
Jeff Becker bea13cef04
add android target (initial) 6 years ago
despair b1c28be916 grabbed packaging scripts and fluff from abandoned repo 6 years ago
Jeff Becker c5e2cffdbb
this may be better? 6 years ago
Jeff Becker d21c2a3288
get rid of junk 6 years ago
Jeff Becker dc3492d374
this may work 6 years ago
Jeff Becker 59f5cd70f5
idk any d 6 years ago
Jeff Becker a234e9ad86
this? 6 years ago
Jeff Becker 1513915415
try this 6 years ago
Jeff Becker 129de103f2
try this 6 years ago
Jeff Becker bc95f0eaba
try clearing (idk any D HELP I NEED AN ADULT !) 6 years ago
Jeff Becker 303ee9c692
correct call (?) 6 years ago
Jeff Becker cf81e0fd63
fug 6 years ago
Jeff Becker 7565e455a9
remove line 6 years ago
Jeff Becker e68462a568
correct shebang 6 years ago
Jeff Becker b0ebce5c36
initial lokinet d-trace profiler (toy) 6 years ago
Jeff Becker b3e7fee982
try making compatable with older versions of rapidjson
add toy munin plugin
6 years ago
despair86 faf6022288 rip ms c++ 6 years ago
Jeff Becker dbd37f9f22
update testnet config generation 6 years ago
Jeff Becker 6ef89ea8b2
un break (kinda) 6 years ago
Jeff Becker 199dad09dd
* kill dht feedback loop
* add dht exploration for discovering new routers

* tweak loopback testnet paramters to not be initially fully connected
6 years ago
Jeff Becker 51029f0f2f
make loopback testnet work again 6 years ago
Jeff Becker 6a828ea985
fix shadow build 6 years ago
Jeff Becker d7c1c3322f
it works. 6 years ago
Jeff Becker 86ec4dacc3 dht and testnet fixes 6 years ago
Jeff Becker 066c208622 add mutex/lock to singlethread mode threadpool
remove uneeded i2p.rock.signed.txt

update makefile clean target
6 years ago
despair86 bdc54835c2 initial windows server port. Requires Windows 2000 Server or later.
- updated CMake build script
- builds with Microsoft C++ 19.1x. such builds require Windows 8.1 or later
  unless you have the .NET Server 2003-toolset (v141_xp)
- windows port requires a C++17 compiler since cpp17::filesystem is POSIX-only
- HAVE_CXX17_FILESYSTEM manual toggle in CMake. You must manually specify where
  std::[experimental::]filesystem is defined in LDFLAGS or CMAKE_x_LINKER_FLAGS.
- IPv6 support can be added at any time, and the windows sdk still has that
  inline getaddrinfo(3) if it can't find a suitable IPv6 stack.
- inline code for mingw-w64: there's a few bits and pieces still missing simply because
  mingw-w64 derives its windows sdk from wine and reactos, and then writing all the newer
  stuff into it by hand straight from the MSDN manpages.
- misc. C++11 stuff (nullptr and friends)
- Internal file handling code takes UTF-8 or plain 8-bit text, NTFS is UTF-16, so
  std::filesystem::path::c_str() is wchar_t. That's no good unless you first
  call std::filesystem::path::string().
- implemented getifaddrs(3) and if_nametoindex(3) on top of GetAdapters[Info|Addresses](2).
- updated readme with new info

BONUS: may implement Solaris/illumos IOCP someday...

-despair86
6 years ago
Jeff Becker 88c84f9e05 update testnet configs 6 years ago
Jeff Becker f65fee38be fix ffi example 6 years ago
Jeff Becker 48cfdab63c get rid of wizard and autogenerate configs if not present with sane defaults 6 years ago
Jeff Becker 6c5873c441 update wizard 6 years ago
Jeff Becker 2083ac90e2 try a wizard fix 6 years ago
Jeff Becker ae09edd3e6 fix up wizard logic 6 years ago
Jeff Becker 10ee52a0cd add wizard 6 years ago
Jeff Becker 02ca1796b2 all the files 6 years ago
Jeff Becker 7fbc21207f more hidden service stuff 6 years ago
Jeff Becker 7c518bc4da prefetch introset via tag (non working) 6 years ago
Jeff Becker c992720718 set value to sane value 6 years ago
Jeff Becker a319c994de make shadow compile 6 years ago
Jeff Becker bae4f746be
publish hidden service descriptors and acknoledge publish 6 years ago
Jeff Becker fb13c5ce3e
more tweaking 6 years ago
Jeff Becker 44e34f81e8
tweaks to testnet 6 years ago
Jeff Becker 78f3ca0155
more 6 years ago
Jeff Becker f68ffbc33d
more path building stuff 6 years ago
Jeff Becker 1f45a27080
fix up shadow configs 6 years ago
Jeff Becker 3569a186e0
update shadow config generator 6 years ago
Jeff Becker 315798a0c4
* loopback test network
* fix various crashes and race conditions

* rename iwp-connect to connect in config

* rename iwp-links to bind in config

* always make a link just for outbound sessions even if no bind section is provided
6 years ago
Jeff Becker a0f1d548f8
more shadow stuff 6 years ago
Jeff Becker dc01aabafa
add omitted file 6 years ago
Jeff Becker fbb6913ee9
pep8 6 years ago
Jeff Becker e58bd10b23
add python ffi example wrapper code 6 years ago