Commit Graph

197 Commits (8a003a11447666e51593dfa4c14408828d3643a5)

Author SHA1 Message Date
Jeff Becker 43cb62af16
fix android compile, have makefile pull in libuv for cmake on android 5 years ago
Jeff Becker 16e20a9e79
try fixing bootstrap 5 years ago
Jeff 284a352dda fix previous commit 5 years ago
Jeff b9cdfd116e correct worker threads amounts 5 years ago
Jeff Becker 1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Jeff Becker 749ee7cb9f
make it compile 5 years ago
Jeff Becker fcc3c05124
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Michael 488695047f
Remove redundant else blocks 5 years ago
Jeff Becker edd3611166
correct name 5 years ago
Jeff Becker ec6a1cfddc
make it compile 5 years ago
Jeff Becker 84407b3557
make it compile 5 years ago
Jeff Becker b9bcc2b775
make threadpool consice 5 years ago
Michael 3ce90b678e
Allow override of the rest of the config 5 years ago
Michael 937f28f75d
Move router config to be encapsulated 5 years ago
Michael f310160065
Fixup and add tests 5 years ago
Michael a2326efa37
Revert "Merge pull request #679 from tewinget/revert-config-refactor"
This reverts commit 2996a7f29c, reversing
changes made to 10df3bd4b3.
5 years ago
Thomas Winget d044d60101 Reverts #678 #677 and #669 with hashes:
10df3bd
766ece8
979f095

See those commits for further details
5 years ago
Michael b51f7d8015
Convert to load config in config loader 5 years ago
Michael 00c237dc6d
Move config class to its own dir 5 years ago
Michael fedf6cb8e0
Send netid to metrictank 5 years ago
Rick V 5092a1fa85
restore llarp_make_ev_loop() as we only use libuv now; separate function is now ded code 5 years ago
Michael c0525f2ea3
Move local publishers to their own files 5 years ago
Jeff Becker 9ec41b8831
update RC expiration logic, lookup more often and remove stale entries 5 years ago
Jeff Becker 223f2702d3
Merge branch 'fix-big-ooooofff' 5 years ago
Michael 75430a234c
Convert to use memFn 5 years ago
Jeff Becker 9deafa4cb8
use libuv 5 years ago
Michael 8323725509
Initial No-Op Crypto implementation 5 years ago
Michael 491fee206b
Port code to use CryptoManager over passing Crypto pointers 5 years ago
Jeff Becker 9c96aecf3f
move llarp::Logic to std::shared_ptr
add sequence numbers to HSD messages

begin work on network isolation code

add more docs
5 years ago
Jeff Becker 7b03b63d13
more sighup code 5 years ago
Jeff Becker a53da68700
start work on sighup 5 years ago
Jeff Becker 8484e29c9b
turn more stuff into std::shared_ptr
remove dead codepaths
5 years ago
Jeff Becker 3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format 5 years ago
michael-loki 0195152e05 Allow builds on MSVC (#518)
* Import cxxopts to replace getopts usage

* Add visual studio build things

* Fixup abseil build parts

* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED

* Fixup minor windows build issues

* Replace getopts usage

* Temporarily fixup .rc files

* More minor windows fixes

* Get a working build

* Revert .rc files

* Revert changes to nodedb
5 years ago
Michael fb0f08ec01
Make JSON metrics opt-in 5 years ago
Michael ae341b40fd
fixup! MetricTank metric collector 5 years ago
Michael 9bc501bbf7 Integrate metric tank into build 5 years ago
Michael 544c5f9b61 Move metrics publishers to their own directory 5 years ago
Jeff Becker 3da6551e82
make android compile 5 years ago
Jeff Becker 184971a446
Merge remote-tracking branch 'origin/master' 5 years ago
Jeff Becker e178a70929
use shared_ptr for event loop 5 years ago
Michael 5df8e16c44
Add metrics section to config 5 years ago
Michael 57d6668e55
Move metrics out of daemon into llarp::Context 5 years ago
Michael 89ae60cfab
llarp::Context uses AbstractRouter now 5 years ago
Michael 13a9f65520
Fully define interface for dht::Context 5 years ago
Michael 4fc582af96
Fix annoying typo 5 years ago
Michael 67b5d48095
Replace usage of new/delete with unique_ptr/stack allocation 5 years ago
Michael 729cd045f1
Convert llarp::Router into an abstract base class 5 years ago
Michael f24f554a01
Convert llarp::Crypto into an abstract base class 6 years ago
Jeff Becker d89e58199a
add initial identity key seed stuff
add more kubernetes stuff

make shared library installed if built
6 years ago
Jeff Becker 177dca91e2
add pidfile option 6 years ago
Michael da6cdfc0b2
More refactoring to continue to make dependency graph acylic 6 years ago
Michael 081d4dfa32
Reorganise source into more folders 6 years ago
Michael fa2b466ffe
Reorganise tests to mirror source layout 6 years ago
Michael e5eda0fb8f
Move lokinet unspecific components to a util/ library 6 years ago
Jeff Becker 2afe296f8b
for real fix issue #185 6 years ago
Jeff Becker e835c5f69a
add graceful stop for path builders and friends 6 years ago
Jeff Becker cca19290de
session renegotiation, RC expiration, more utp unit tests, network isolation. 6 years ago
Jeff Becker be234e4b6e
* make format
* snode to snode direct traffic

* wire up dns on service node tun
6 years ago
Michael 85dde7b6b0
Move remaining include/llarp headers to llarp/ 6 years ago
Michael e887b4e9c7
Move service* to llarp/ 6 years ago
Michael 7be452092c
Convert llarp_crypto to be a true C++ class 6 years ago
Michael 6358b25db0
Convert llarp_nodedb to be a true C++ class 6 years ago
Michael f0fce5b68a
Convert llarp_router to be a true C++ class 6 years ago
Michael 30e9dca2e5
Convert llarp_logic to be a C++ class 6 years ago
Jeff Becker 1d1bde2e88
add dnslib 6 years ago
Jeff Becker 622ed8d12e
fix crash on premature close of event loop (also make format) 6 years ago
Jeff Becker 7bc3d94895
try fixing rdns for local interace's address 6 years ago
Jeff Becker 11372c9544
Merge branch 'dev' into snode-endpoint 6 years ago
Jeff Becker 90a2545bb1
handle SIGTERM 6 years ago
Jeff Becker 7e4d74cbfc
add initial jni stuff for lokinet android. i fucking hate android so god damn much. 6 years ago
Jeff Becker 7090a012f3
Merge remote-tracking branch 'micheal/wextra' into dev 6 years ago
Michael Thorpe 33bfaf7ecd
Enable -Wextra
test criteria:
- test build on macOS
- test build in debian docker container
- test build in fedora docker container
6 years ago
Jeff Becker f1cca956f9
make android compile again 6 years ago
despair 38f2a6b2c9 be slightly less annoying
check build rules
6 years ago
despair c5d1b32286 remove microsoft c++ crud
🤔🤔🤔🤔
6 years ago
cathugger 4971fae171 uint32_t byte ordering type safety 6 years ago
Ryan Tharp cc42e8e623 guard, rename endpoint to context, main_router_endpoint_iterator() implementation 6 years ago
Ryan Tharp 9ea564e832 update llarp_main_init_dnsd to make new DNSd init 6 years ago
Ryan Tharp 902f6f14b7 pass RC by ref, header cleanup, clang format 6 years ago
Ryan Tharp 9d4d595624 compile fixes 6 years ago
Ryan Tharp 6590d502cd get first tun interface wiring 6 years ago
Ryan Tharp ca7d3567a2 prefetch and expose it 6 years ago
Ryan Tharp 4df6202c9f Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Jeff Becker 4e7c6ee90a
fix crash 6 years ago
Ryan Tharp 79fb82a3c8 main_router_getRange to get access to tun 6 years ago
Ryan Tharp 2bdee7d528 expose mapAddress of first tunEndpoint 6 years ago
Ryan Tharp f283923cb7 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Ryan Tharp 9f33edeed0 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Jeff Becker 2761da0b5f
actually load config 6 years ago
Jeff Becker e047bfa266
update readme
add sighup
6 years ago
Jeff Becker c3c388b6aa
remove iwp and start on curvecp
does not compile
6 years ago
Jeff Becker 973f86c900
it compiles 6 years ago
Jeff Becker 5228a81bae
more refactor
get rid of C api
6 years ago
Ryan Tharp 8724ddd792 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
despair86 9ad93a0893 sunos patches, avoid shadowing data members in derived classes, header fixes
SunOS build works, with a few issues:

- no tuntap debugging on Solaris? (TUNSDEBUG ioctl missing)
- regular socket ioctls are not pulled in with #include <sys/ioctl.h>
  even though they're included at the bottom of same (filio.h,
  sockio.h)
- no named threads in any libre fork of solaris

-despair86 (rick)

sun patch
6 years ago
Ryan Tharp 3ada1e15be llarp_main_queryDHT_RC(), llarp_main_init_dnsd(), actually query DHT on dns lookup 6 years ago
Jeff Becker 62f41d3747
initial threadpool isolation code and run make format 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 928ec3790d deterministic logging 6 years ago