Commit Graph

154 Commits (54f70f370ad532bde044a07c868e19f74b6b1053)

Author SHA1 Message Date
Jeff Becker 1d3e9f6adc
make testnet no longer crash 6 years ago
Jeff Becker e79708c1dc
hidden services sorta work 6 years ago
Jeff Becker 32d82b5ba5
add more defaults in config with comments 6 years ago
despair86 ae956aff5f This completes the Windows NT Server port of the LokiNetwork components.
Also changed the epoll_wait timeout to 10ms in llarp_epoll_loop::run() to match the other platforms.

-despair86
6 years ago
Jeff Becker 0d2bce2089 fix up win32 specific parts 6 years ago
Jeff Becker 1b20ba6a6c fix dead code, clean up parts. 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 7622f6cef1 dht tweaks 6 years ago
Jeff Becker d511057b7d * logging updates
* nicknames in RC (yw kee)

* spec update

* more hidden service code
6 years ago
Jeff Becker 928ec3790d deterministic logging 6 years ago
Jeff Becker 058ce4fae3 don't put private addresses into rc EVER 6 years ago
Jeff Becker 48cfdab63c get rid of wizard and autogenerate configs if not present with sane defaults 6 years ago
Jeff Becker 976ca3015c move iwp server to own source file 6 years ago
Ryan Tharp 554834425d important note, as I have relays that are outbound only 6 years ago
Jeff Becker 7cec96901d update build logic for clients 6 years ago
Jeff Becker ee54149465 when building paths only use nodes we are directly connected to for first hops. 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 98e992e28f backport 6 years ago
Jeff Becker 40dc125b17 another backport 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 a68cfefaa6
make it compile and run make format 6 years ago
Ryan Tharp 0750befddc skip private interfaces if no public-address et 6 years ago
Ryan Tharp a3d791e516 update logging to new format 6 years ago
Ryan Tharp cfb69224b5 Merge branch 'master' of https://github.com/neuroscr/loki-network 6 years ago
Jeff Becker 5bbaae4e2e
more 6 years ago
Jeff Becker bae4f746be
publish hidden service descriptors and acknoledge publish 6 years ago
Jeff Becker 6ad79b97dc
broken 6 years ago
Jeff Becker dfa567e816
Merge remote-tracking branch 'sachaaaa/refactor' into hidden-service-dht 6 years ago
sachaaaaa 61bb7905f0 fix method calls in server.cpp + use ctor instead of factory/allocator
to squash
6 years ago
sachaaaaa 661f050636 Fix includes/forward declarations 6 years ago
sachaaaaa c7940076bf Remove most of the extern "C"
remove extern "C"
6 years ago
Ryan Tharp 840a50abbc don't skip private interfaces quite yet/we need them for NAT to work correctly, try_connect refactor clean up 6 years ago
Jeff Becker 21a2ffdeaf
* refactor log functions
* add more stuff for hidden service dht
6 years ago
Ryan Tharp 938cfec657 Revert "resolve_job_type() and on_verify_client_rc() clean u"
This reverts commit 9805cc153f.
6 years ago
Ryan Tharp 9805cc153f resolve_job_type() and on_verify_client_rc() clean u 6 years ago
Jeff Becker cc23d8ddbd
format 6 years ago
Jeff Becker 2b8cd93d6a
make it compile :^) 6 years ago
Jeff Becker ab509e0a13
try not to crash 6 years ago
Jeff Becker 4ca34995bf
add inbound server connections to DHT 6 years ago
Jeff Becker 8cfcc101b4
* path latency ticks every 5s
* retransmit xmit if we haven't gotten an ack yet (IWP)
6 years ago
Jeff Becker 9c57be0301
look up remote not self 6 years ago
Jeff Becker 7d9bffdf9c
make format 6 years ago
Ryan Tharp 0af33b4205
Merge pull request #3 from neuroscr/master
vendor libtuntap, set log level c api, codel fixes, private network detection, nat address override, --locate and --localInfo utils
6 years ago
Jeff Becker eeb9c9e5b4
do correct dht lookup 6 years ago
Ryan Tharp 0cc0c8f476 better public override detection 6 years ago
Ryan Tharp d5a89b91b3 clean up debug, detect override better 6 years ago
Ryan Tharp b93943ab32 support for public-address/public-port overrides for NAT, decrease min paths to 3, add debugging 6 years ago
Ryan Tharp 07f0653e83 Merge branch 'master' of https://github.com/majestrate/llarp 6 years ago