Commit Graph

463 Commits

Author SHA1 Message Date
Jeff Becker
ea3323a3ab
correct key 2020-02-02 12:44:56 -05:00
jeff
88e8b7f98c mock lokid for loopback testnet 2020-02-02 11:32:15 -05:00
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
2020-01-14 15:12:47 -05:00
Jeff Becker
0afb3b320b
add bootstrap list functionality and utility 2019-12-06 12:32:46 -05:00
jeff
52757fef0e Merge remote-tracking branch 'micheal/background_mode' into vpn-api-2019-10-03 2019-10-04 14:10:58 -04:00
Rick V
9232cef300
remove old bootstrap code 2019-09-23 21:22:29 -05:00
Rick V
9ba4ecc42d
refactor lokinet-bootstrap
clean up and make more robust
2019-09-23 21:22:25 -05:00
Rick V
70dea71db6
new http parser 2019-09-23 21:22:25 -05:00
Rick V
8fd13577ba
Remove binaries, download them at runtime 2019-09-23 21:22:09 -05:00
Rick V
1a7212a745
add description to lokinet svc manifest 2019-09-03 08:02:33 -05:00
Michael
7d39f84ef3
Partial fixes for shadow 2019-08-26 23:10:48 +00:00
Michael
6e5cab971f
make windows fixes 2019-08-13 10:02:48 +01:00
Jeff Becker
94172e191e
redo commit 2019-08-12 07:36:23 -04:00
Jeff Becker
0a99a849a4
lokinet monitor 2019-08-09 12:23:41 -04:00
Michael
614b669fd5
Abandon debian 2019-07-29 21:31:26 +01:00
Michael
df498c7bf8
try to make some windows 2019-07-29 21:31:26 +01:00
Jeff Becker
6496663d25
fix testnet scripts 2019-07-19 13:56:17 -04:00
Jeff Becker
f79f5b9bb3
add ppc64le toolchain 2019-07-16 09:58:36 -04:00
Jeff Becker
7ef2462c0c
add forgotten file 2019-07-16 09:42:24 -04:00
Ryan Tharp
fd20b33064
Update README.md 2019-06-19 15:29:23 -07:00
Ryan Tharp
f1577d13fe
build a router config not a client 2019-06-05 14:43:29 -07:00
Jeff
674f272a46
Merge pull request #630 from majestrate/master
recent stability stuff
2019-05-29 08:20:25 -04:00
Michael
8323725509
Initial No-Op Crypto implementation 2019-05-29 09:46:34 +01:00
Jeff Becker
dd2d69444f
differentiate between clients and service nodes 2019-05-27 08:22:51 -04:00
Jeff Becker
142b631301
aaAaAAaaaa 2019-05-27 08:00:02 -04:00
Jeff Becker
ae74dedf29
gfdi 2019-05-27 07:52:04 -04:00
Jeff Becker
6f3465f546
add missing lines 2019-05-27 07:48:44 -04:00
Jeff Becker
110268dadf
more 2019-05-27 07:34:28 -04:00
Jeff Becker
5df825f873
more 2019-05-27 07:29:13 -04:00
Jeff Becker
fcd9b23a80
fix 2019-05-27 07:22:48 -04:00
Jeff Becker
02e8e055ed
update munin script 2019-05-27 07:08:59 -04:00
Michael
aeec414990
Minor warnings fixes in python/javascript code 2019-05-21 09:58:43 +01:00
Jeff Becker
018dd008ec
add custom single threaded allocator for utp buffers
fix up test net stuff
2019-05-09 16:28:56 -04:00
Ryan Tharp
dada2164ec
npm start doesn't work
why ask about an entry point...
2019-05-05 21:37:25 -07:00
Ryan Tharp
b18277c997
correction 2019-05-05 21:28:15 -07:00
Viktor Villainov
35b113f29e [AppArmor] Debian paths 2019-05-05 14:03:09 -04:00
Viktor Villainov
e2b11ed24c Add AppArmor profile 2019-05-05 09:23:15 -04:00
Jeff
bf9373d8ee
Merge pull request #584 from neuroscr/contrib-monitor
contrib: lokinet monitor
2019-05-04 08:07:22 -04:00
Ryan Tharp
712cfaf5a0 add README 2019-05-03 15:16:28 -07:00
Ryan Tharp
afa1273e23 lokinet monitor 2019-05-03 15:11:08 -07:00
Jeff Becker
ac09053a2c
update kubernetes config to use lokinet dns 2019-05-03 17:09:15 -04:00
Eliot Whalan
e900a04ebb Remove duplicate and unnecessary fields 2019-04-27 23:10:31 +10:00
Eliot Whalan
e3f9298258 Add kubernetes config file for test net 2019-04-27 23:08:02 +10:00
Jeff Becker
9503cc66f0
add disk worker based file flusher logger
make format

remove package.json
2019-04-16 09:20:48 -04:00
Jeff Becker
c26145f70e
* fix up integration tests
* make recursive router lookup backtrack
2019-04-12 11:29:48 -04:00
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.
2019-04-11 10:17:58 -05:00
Jeff Becker
a844c61049
unbreak windows target 2019-04-10 11:53:10 -04:00
Rick V
a7f11bc280
add service manifest for systems that have dtrace :^p 2019-03-25 12:03:55 -05:00
Rick V
de1714c399
fix internal testnet bootstrap
remove release tag
2019-03-20 19:46:37 -05:00
Rick V
e7fe345b7c
fix installer bootstrap 2019-03-20 19:37:39 -05:00
Rick V
63bcc49390 cut win64 build over 2019-03-19 12:04:16 +00:00
Rick V
be5e70f9eb
update clang bits for release 2019-03-18 23:09:29 -05:00
Jeff Becker
6a09348c47
today's work 2019-03-07 17:53:36 -05:00
Jeff Becker
ab0be935ca
fix testnet 2019-02-08 09:04:18 -05:00
Jeff Becker
5d4c02c22b
update testnet docs and add more tuneable paramters 2019-02-07 08:20:03 -05:00
Rick V
ad1179a333
remove ref to nrmicro
add note
2019-02-06 19:53:11 -06:00
Rick V
b53420d538
update copyright description
add more docs

more NRMicro stuff

reeeeeeee memory corruption

cut over to libcurl
2019-02-06 19:53:06 -06:00
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
2019-02-06 19:53:05 -06:00
Ryan Tharp
2d831dc33f get a copy of the binary to use 2019-01-29 03:14:59 -08:00
Ryan Tharp
98ca84e909 add cluster-shell initialize script 2019-01-29 02:33:53 -08:00
Ryan Tharp
0e5157dc93 add cluster-shell 2019-01-29 10:26:41 +00:00
Rick V
3354e47cb5
add program description 2019-01-23 21:43:32 -06:00
Rick V
aa319f5155
fix documentation 2019-01-23 18:53:30 -06:00
Rick V
2dc7501823
restore old script from git log (see parent commit) 2019-01-23 18:07:00 -06:00
Rick V
4ec1025ec2
add separate version for testnet 2019-01-23 17:56:16 -06:00
Rick V
f64f773c5a
update nt bootstrap script 2019-01-23 17:18:56 -06:00
Rick V
ccb1d74ae0
begin work on libunr web client 2019-01-23 16:31:39 -06:00
Jeff Becker
7653db89f4
fix timestamp comparison 2019-01-23 16:47:04 -05:00
Jeff Becker
6383ee994a
only have bootserv do staging branch by default 2019-01-23 16:36:01 -05:00
Jeff Becker
0bf5e96e38
fixit 2019-01-23 16:27:48 -05:00
Jeff Becker
ceab194909
make bootserv do 404 and have splash page 2019-01-23 16:19:40 -05:00
Jeff Becker
2e1cf85d9d
fix bootserv one last time 2019-01-23 16:17:10 -05:00
Jeff Becker
ed0294ddcf
Merge branch 'staging' of ssh://github.com/loki-project/loki-network into staging 2019-01-23 16:07:46 -05:00
Jeff Becker
6e6cb834a0
update bootserv webhook code 2019-01-23 16:07:36 -05:00
Jeff
832ad942aa
Merge pull request #237 from despair86/dev
separate header and implementation
2019-01-23 15:27:19 -05:00
Jeff Becker
124c100605
fix module name 2019-01-23 13:33:44 -05:00
Jeff Becker
86e26d6350
correct date parsing from webhooks 2019-01-23 13:32:13 -05:00
Jeff Becker
0f0f88791a
non existing file means it's new 2019-01-23 13:21:28 -05:00
Jeff Becker
082eceb601
update bootserv webhook logic 2019-01-23 13:13:40 -05:00
Jeff Becker
6ea28fa781
make webhook work better 2019-01-23 12:30:30 -05:00
Jeff Becker
74710d6c77
improve bootserv to have initial webhooks support 2019-01-23 12:13:54 -05:00
Rick V
207a1d575a
update Netscape ca cert bundle
update bootstrap to support the original Opteron 64

(cherry picked from commit bd285b3bdb09566d0a472381faffb17b8e07b5a6)
2019-01-22 18:17:01 -06:00
Jeff Becker
57ad2b2cfc
update pylokinet to use configurable lokid endpoint (no auth yet) 2019-01-21 12:15:21 -05:00
Jeff Becker
b521ba4670
make pylokinet work 2019-01-21 11:57:12 -05:00
Jeff Becker
d89e58199a
add initial identity key seed stuff
add more kubernetes stuff

make shared library installed if built
2019-01-21 10:45:18 -05:00
Jeff Becker
c622aa1eb3
move stuff around 2019-01-21 07:05:45 -05:00
Jeff Becker
9f436174d4
add openrc for freebsd 2019-01-18 08:26:26 -05:00
Jeff Becker
ed297f68d9
add docs 2019-01-17 13:45:42 -05:00
Jeff Becker
a1596e3604
more 2019-01-17 13:43:07 -05:00
Jeff Becker
c69d4e7389
add gitignore 2019-01-17 13:12:29 -05:00
Jeff Becker
024f020569
make it work for real 2019-01-17 12:30:46 -05:00
Jeff Becker
6ae3f2b394
make it work 2019-01-17 11:59:25 -05:00
Jeff Becker
e5792087cc
ad initial pylokinet wrapper 2019-01-17 11:21:35 -05:00
Jeff Becker
5b87fb509e
start on kubernetes shim and fix up shared library target and ffi python code 2019-01-09 11:07:55 -05:00
Michael
4f90192e1a
Fix lifetime issues in llarp_findOrCreate* function calls 2019-01-03 23:10:32 +00:00
Jeff Becker
bd0a98ba5a
lokinet-bootserv 2018-12-18 12:14:09 -05:00
Jeff Becker
e58f2c521e
done for the day 2018-12-17 17:43:16 -05:00
Jeff Becker
b39c46fc03
!!! this breaks backwards compat :^) !!!
redo link protocol to use 2 session keys, add unit tests.
2018-12-17 15:46:08 -05:00
Jeff Becker
fad734a5ce
strict types for pubkey, secretkey and routerid 2018-12-10 12:22:59 -05:00
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
2018-12-03 12:24:56 -06:00
Jeff Becker
921d515d96
Merge branch 'vanity' into dev 2018-11-27 16:49:03 -05:00
Jeff Becker
2b810e770c
update example 2018-11-27 09:25:17 -05:00
Jeff Becker
72d8a15261
remove uneeded print 2018-11-27 09:23:17 -05:00
Jeff Becker
97ddf00cb3
update vanity script, check for valid chars 2018-11-27 09:23:10 -05:00
Jeff Becker
93498bf78e
lokinet address vanity generator 2018-11-27 09:23:00 -05:00
Jeff Becker
0cdc502d22
remove uneeded print 2018-11-27 09:11:43 -05:00
Jeff Becker
23c41af5f8
update vanity script, check for valid chars 2018-11-27 09:10:27 -05:00
Jeff Becker
11acd20941
lokinet address vanity generator 2018-11-27 09:03:07 -05:00
despair
6deb83d101 alt prefix 2018-11-22 20:02:13 -06:00
Jeff Becker
4a9079a7a2
fix again 2018-11-20 10:01:02 -05:00
Jeff Becker
937059cf47
fix munin script 2018-11-20 09:40:31 -05:00
Jeff
ff6ab7d631 initial node garbage 2018-11-18 12:00:51 -05:00
Jeff Becker
f1cca956f9
make android compile again 2018-11-06 09:06:09 -05:00
Jeff Becker
bea13cef04
add android target (initial) 2018-11-06 08:03:10 -05:00
despair
b1c28be916 grabbed packaging scripts and fluff from abandoned repo 2018-10-30 00:16:18 -05:00
Jeff Becker
c5e2cffdbb
this may be better? 2018-10-29 10:37:20 -04:00
Jeff Becker
d21c2a3288
get rid of junk 2018-10-29 10:29:52 -04:00
Jeff Becker
dc3492d374
this may work 2018-10-29 10:29:28 -04:00
Jeff Becker
59f5cd70f5
idk any d 2018-10-29 10:27:27 -04:00
Jeff Becker
a234e9ad86
this? 2018-10-29 10:24:01 -04:00
Jeff Becker
1513915415
try this 2018-10-29 10:20:45 -04:00
Jeff Becker
129de103f2
try this 2018-10-29 10:17:54 -04:00
Jeff Becker
bc95f0eaba
try clearing (idk any D HELP I NEED AN ADULT !) 2018-10-29 10:16:45 -04:00
Jeff Becker
303ee9c692
correct call (?) 2018-10-29 10:13:37 -04:00
Jeff Becker
cf81e0fd63
fug 2018-10-29 10:12:54 -04:00
Jeff Becker
7565e455a9
remove line 2018-10-29 10:12:22 -04:00
Jeff Becker
e68462a568
correct shebang 2018-10-29 10:11:28 -04:00
Jeff Becker
b0ebce5c36
initial lokinet d-trace profiler (toy) 2018-10-29 09:31:37 -04:00
Jeff Becker
b3e7fee982
try making compatable with older versions of rapidjson
add toy munin plugin
2018-10-26 09:02:15 -04:00
despair86
faf6022288 rip ms c++ 2018-10-01 15:08:55 -05:00
Jeff Becker
dbd37f9f22
update testnet config generation 2018-09-23 12:28:51 -04:00
Jeff Becker
6ef89ea8b2
un break (kinda) 2018-09-06 09:16:24 -04:00
Jeff Becker
199dad09dd
* kill dht feedback loop
* add dht exploration for discovering new routers

* tweak loopback testnet paramters to not be initially fully connected
2018-08-27 09:44:16 -04:00
Jeff Becker
51029f0f2f
make loopback testnet work again 2018-08-23 10:07:53 -04:00
Jeff Becker
6a828ea985
fix shadow build 2018-08-14 18:07:58 -04:00
Jeff Becker
d7c1c3322f
it works. 2018-08-12 13:22:29 -04:00
Jeff Becker
86ec4dacc3 dht and testnet fixes 2018-08-04 12:59:32 +10:00
Jeff Becker
066c208622 add mutex/lock to singlethread mode threadpool
remove uneeded i2p.rock.signed.txt

update makefile clean target
2018-08-03 07:26:14 +10:00
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
2018-08-01 23:41:02 -05:00
Jeff Becker
88c84f9e05 update testnet configs 2018-08-02 10:51:08 +10:00
Jeff Becker
f65fee38be fix ffi example 2018-07-27 14:25:34 +10:00
Jeff Becker
48cfdab63c get rid of wizard and autogenerate configs if not present with sane defaults 2018-07-27 10:21:57 +10:00
Jeff Becker
6c5873c441 update wizard 2018-07-25 14:42:33 +10:00
Jeff Becker
2083ac90e2 try a wizard fix 2018-07-25 14:36:15 +10:00
Jeff Becker
ae09edd3e6 fix up wizard logic 2018-07-25 14:34:28 +10:00
Jeff Becker
10ee52a0cd add wizard 2018-07-25 14:32:16 +10:00
Jeff Becker
02ca1796b2 all the files 2018-07-20 14:50:28 +10:00
Jeff Becker
7fbc21207f more hidden service stuff 2018-07-19 14:58:39 +10:00
Jeff Becker
7c518bc4da prefetch introset via tag (non working) 2018-07-19 06:58:16 +10:00
Jeff Becker
c992720718 set value to sane value 2018-07-16 15:49:59 +10:00
Jeff Becker
a319c994de make shadow compile 2018-07-16 14:55:46 +10:00
Jeff Becker
bae4f746be
publish hidden service descriptors and acknoledge publish 2018-07-11 12:11:19 -04:00
Jeff Becker
fb13c5ce3e
more tweaking 2018-07-02 15:24:22 -04:00
Jeff Becker
44e34f81e8
tweaks to testnet 2018-06-20 13:45:44 -04:00
Jeff Becker
78f3ca0155
more 2018-06-20 08:34:48 -04:00
Jeff Becker
f68ffbc33d
more path building stuff 2018-06-19 13:11:24 -04:00
Jeff Becker
1f45a27080
fix up shadow configs 2018-06-07 13:36:17 -04:00
Jeff Becker
3569a186e0
update shadow config generator 2018-06-07 12:45:51 -04:00
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
2018-06-07 12:22:49 -04:00
Jeff Becker
a0f1d548f8
more shadow stuff 2018-06-06 17:23:57 -04:00
Jeff Becker
dc01aabafa
add omitted file 2018-06-06 13:03:44 -04:00
Jeff Becker
fbb6913ee9
pep8 2018-05-28 08:23:07 -04:00
Jeff Becker
e58bd10b23
add python ffi example wrapper code 2018-05-27 15:13:25 -04:00