Commit Graph

26 Commits

Author SHA1 Message Date
Jeff Becker
6a828ea985
fix shadow build 2018-08-14 18:07:58 -04:00
Jeff Becker
1d3e9f6adc
make testnet no longer crash 2018-08-14 17:17:18 -04:00
Jeff Becker
e79708c1dc
hidden services sorta work 2018-08-10 17:34:11 -04:00
Jeff Becker
86ec4dacc3 dht and testnet fixes 2018-08-04 12:59:32 +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
bc1c49b092 dht fixes 2018-08-02 08:10:38 +10:00
Jeff Becker
908716aca4 cleanup 2018-07-30 09:29:36 +10:00
Jeff Becker
2f51f6202a make it not crash 2018-07-30 08:57:39 +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
976ca3015c move iwp server to own source file 2018-07-27 08:06:11 +10:00
Jeff Becker
0f649d844f more 2018-07-27 07:08:56 +10:00
Jeff Becker
e23d3a8eda * pad messages under 1KB to 1KB to reduce jitter
* fix race
2018-07-24 08:36:46 +10:00
Jeff Becker
19e3b9c642 * more hidden service code
* begin lokinet api
2018-07-23 17:38:29 +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
f23ed98c33 make it work 2018-07-17 16:17:13 +10:00
Jeff Becker
bb8532a281 correct ordering of outbound messages 2018-07-17 14:43:44 +10:00
Jeff Becker
6945fe53a5 more also run make format 2018-07-17 14:37:50 +10:00
Jeff Becker
0242e293c9 more 2018-07-16 13:32:13 +10:00
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
2018-07-12 09:43:37 -04:00
Jeff Becker
cf6275155a
pump less 2018-07-10 07:56:05 -04:00
Jeff Becker
1337cc0c25
also pump outbound queues during logic tick 2018-07-10 07:51:51 -04:00
Jeff Becker
59ca4e4cae
make it work 2018-07-10 07:47:22 -04:00
Jeff Becker
4c08d9a028
make it compile 2018-07-10 07:36:55 -04:00
Jeff Becker
dfa567e816
Merge remote-tracking branch 'sachaaaa/refactor' into hidden-service-dht 2018-07-09 10:24:44 -04:00
sachaaaaa
6f055eca4f Extracted structs out of iwp_link.cpp
to rebase

to rebase
2018-07-09 15:01:15 +10:00