Commit Graph

130 Commits (9dd604820f8e0859528902e7f50c28df83ea7c44)

Author SHA1 Message Date
Jeff Becker b122fc59f8
refactor (not done) 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 b7039f6e5c
more tun stuff 6 years ago
Jeff Becker 1a1f93c171
* more tun stuff
* use std::unique_ptr where bare pointers aren't absolutely required
6 years ago
Jeff Becker 6a828ea985
fix shadow build 6 years ago
Jeff Becker 1d3e9f6adc
make testnet no longer crash 6 years ago
Jeff Becker e79708c1dc
hidden services sorta work 6 years ago
Jeff Becker 86ec4dacc3 dht and testnet fixes 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 bc1c49b092 dht fixes 6 years ago
Jeff Becker 908716aca4 cleanup 6 years ago
Jeff Becker 2f51f6202a make it not crash 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
Jeff Becker 0f649d844f more 6 years ago
Jeff Becker e23d3a8eda * pad messages under 1KB to 1KB to reduce jitter
* fix race
6 years ago
Jeff Becker 19e3b9c642 * more hidden service code
* begin lokinet api
6 years ago
Jeff Becker 02ca1796b2 all the files 6 years ago
Jeff Becker 7fbc21207f more hidden service stuff 6 years ago
Jeff Becker f23ed98c33 make it work 6 years ago
Jeff Becker bb8532a281 correct ordering of outbound messages 6 years ago
Jeff Becker 6945fe53a5 more also run make format 6 years ago
Jeff Becker 0242e293c9 more 6 years ago
Jeff Becker fe01c38d8e
* fix dht feedback loop
* start on dht lookups for hidden services

* make debug logging confurable on runtime with env var LLARP_DEBUG=1

* make eventloop tick only when we get traffic

* make testnet parameters configurable on runtime
6 years ago
Jeff Becker cf6275155a
pump less 6 years ago
Jeff Becker 1337cc0c25
also pump outbound queues during logic tick 6 years ago
Jeff Becker 59ca4e4cae
make it work 6 years ago
Jeff Becker 4c08d9a028
make it compile 6 years ago
Jeff Becker dfa567e816
Merge remote-tracking branch 'sachaaaa/refactor' into hidden-service-dht 6 years ago
sachaaaaa 6f055eca4f Extracted structs out of iwp_link.cpp
to rebase

to rebase
6 years ago