Commit Graph

162 Commits (af6caf776a4a7a8580d96d5e72cb9e037708e3c4)

Author SHA1 Message Date
Jeff Becker bee5eee0b1
fix skiplist placement 6 years ago
Jeff Becker e79708c1dc
hidden services sorta work 6 years ago
Jeff Becker 9dc88fb64b another win32 cross compile fix 6 years ago
Jeff Becker a99fa8f6cf try fixing windows cross compile 6 years ago
Jeff Becker 0d2bce2089 fix up win32 specific parts 6 years ago
Jeff Becker 5c03b3c8f9 add comments 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 6bd2e965fc don't store client RC EVER 6 years ago
Jeff Becker 08b60a9ae7 update code to match protocol spec
backwards incompat change
6 years ago
Ryan Tharp 2fcd885030 make compile on linux gcc 7.2 6 years ago
despair86 bbe0634edc this should get things going on UNIX :D 6 years ago
Jeff Becker 17ad12cd2c * don't heap allocate llarp_rc
* store rc into network database cache on connect
6 years ago
Jeff Becker 02ca1796b2 all the files 6 years ago
Jeff Becker 6945fe53a5 more also run make format 6 years ago
Jeff Becker 0242e293c9 more 6 years ago
Jeff Becker dfa567e816
Merge remote-tracking branch 'sachaaaa/refactor' into hidden-service-dht 6 years ago
sachaaaaa 33586d385b clang format 6 years ago
sachaaaaa c7940076bf Remove most of the extern "C"
remove extern "C"
6 years ago
Jeff Becker 21a2ffdeaf
* refactor log functions
* add more stuff for hidden service dht
6 years ago
Ryan Tharp 07f0653e83 Merge branch 'master' of https://github.com/majestrate/llarp 6 years ago
Jeff Becker 6633fb151d
make it work 6 years ago
Ryan Tharp ede0cb4772 Merge branch 'master' of https://github.com/neuroscr/loki-network 6 years ago
Jeff Becker da22f306e0
* add path building management
* fix bug in iwp that caused crash
6 years ago
Ryan Tharp 16f7de99e4 disable llarp_nodedb_async_load_rc 6 years ago
Ryan Tharp deb97fda3f Merge branch 'master' of https://github.com/majestrate/llarp 6 years ago
Jeff Becker 47b4b5c536
make format 6 years ago
Jeff Becker f2c42e4e5a
onion routing downstream traffic relaying works on testnet 6 years ago
Ryan Tharp 810c0c83bf iterator clean up 6 years ago
Ryan Tharp 10f9fc86e8 skip directories and .DS_Store on MacOS, remove some dead code 6 years ago
Ryan Tharp 932e04c81f use llarp_rc_read, llarp_nodedb_put_rc(), llarp_nodedb_iterate_all(), iterate() 6 years ago
Jeff Becker 78f3ca0155
more 6 years ago
Jeff Becker f68ffbc33d
more path building stuff 6 years ago
Jeff Becker d3d14ba03a
fix infinite loop 6 years ago
Jeff Becker 0d85577fac
exponential backoff 6 years ago
Jeff Becker c104abb9c2
make nodedb work 6 years ago
Jeff Becker 10ddc3da8a
async load rc 6 years ago
Ryan Tharp d8329b9955 Merge branch 'master' of https://github.com/majestrate/llarp 6 years ago
Ryan Tharp 7ad98cad9f was supposed to be in last commit, and context wasn't. Context just loads from disk now 6 years ago
Jeff Becker 2ff92efea5
merge all 6 years ago
Jeff Becker 0d9025bc7d
Merge remote-tracking branch 'ryan/master' into dev 6 years ago
Jeff Becker a8ab66f4f8
refactor to use AlignedBuffer for public key, shared secret, nonce, secret key etc 6 years ago
Jeff Becker ec53cab169
more onion routing stuff 6 years ago
Ryan Tharp 70579e6846 finish implementing llarp_nodedb_async_verify, move context inside llarp_async_verify_rc 6 years ago
Ryan Tharp 373fbc58dc move struct so we can compile 6 years ago
Ryan Tharp 87c6571bc2 fixed context, change deletion method 6 years ago
Ryan Tharp 3f6a5c4ca5 Merge branch 'master' of https://github.com/majestrate/llarp 6 years ago
Jeff Becker 5649d261ae
start fleshing out dht subsystem a bit 6 years ago
Ryan Tharp 40dedf7471 start of async version of verifying router contacts 6 years ago
Ryan Tharp 563f94773b Merge branch 'master' of https://github.com/majestrate/llarp 6 years ago
Jeff Becker fe19314484
more stuff 6 years ago
Ryan Tharp eebb36683c new getter/setter style API 6 years ago
Jeff Becker bee7c2b271
ipv4 fixes 6 years ago
Jeff Becker a00a0622d1
more docs
more logging
6 years ago
Jeff Becker 02d785d30c
add release targets to makefile for future
purge llarp_alloc

colored logging
6 years ago
Jeff Becker 956973cb84
use configurable number of net io threads 6 years ago
Jeff Becker 93f0e03958
handle inter node messages
currently only handling LIM
6 years ago
Jeff Becker bc9e32d690
clang format and lots of stupid bug fixes 6 years ago
Jeff Becker 6cc469775f
implement rc signing 6 years ago
Jeff Becker 420f49a288
fix leak 6 years ago
Jeff Becker 91a9108300
refactor 6 years ago
Jeff Becker 8181670bf3
format 6 years ago
Jeff Becker 02dfb7c3a9
more 6 years ago