Commit Graph

136 Commits (af6caf776a4a7a8580d96d5e72cb9e037708e3c4)

Author SHA1 Message Date
Jeff ccead80c3d make jsonrpc server configurable on build, disabled by default.
default to client only and require explicitly run as relay to run as relay.
6 years ago
cathugger 4d5f5fecfa
ip: make things fragmentation-aware, cleanup UDP handling; also format
one's complement math is pretty fun
6 years ago
Ryan Tharp 7e217366e6 fix overwrite? 6 years ago
Ryan Tharp 4b3b09736b Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
despair86 991c1d8fce fix 6 years ago
despair86 9fdde65798 make bencode ILP32/LLP64 clean (long is 32 bits outside of unix!)
actually open new RCs in binary mode
clang-format
win32 skeleton code for tun (still working on the guts)
6 years ago
despair86 8ac7d4f6dc if we didn't specify a path to save our config in, only create .lokinet on the assumption that $HOME or $APPDATA (on NT) already exist
add win32 tun glue, fix llarp timebase
(In fact, _both_ of these are guaranteed to exist on their respective platforms.)
also, tuntap is now wired up to the windows port
6 years ago
Ryan Tharp 47d71c601c fix another overwrite 6 years ago
Ryan Tharp c11e61a51d add -c for client auto-config, -f for overwrite 6 years ago
Jeff Becker 3938517dc6
fix creation 6 years ago
Jeff Becker 1d5adaf4cc
fix previous commit 6 years ago
Jeff Becker 3feb45bdf8
more fixes for main 6 years ago
Jeff Becker b00ee5203c
fix config generation with specified config file 6 years ago
Jeff Becker 58198656a3
configurable base directory for config and add option for only generating config 6 years ago
Jeff Becker 43b4e1eaf3
don't sighup for windows 6 years ago
Jeff Becker e047bfa266
update readme
add sighup
6 years ago
Jeff Becker d7c1c3322f
it works. 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 48cfdab63c get rid of wizard and autogenerate configs if not present with sane defaults 6 years ago
Ryan Tharp bd229be656 handleBaseCmdLineArgs() refactor 6 years ago
Jeff Becker 02ca1796b2 all the files 6 years ago
Jeff Becker a68cfefaa6
make it compile and run make format 6 years ago
Ryan Tharp cfb69224b5 Merge branch 'master' of https://github.com/neuroscr/loki-network 6 years ago
sachaaaaa 7442387307 renamed .c to .cpp 6 years ago
Jeff Becker fc069e3810
add shadow plugin 6 years ago
Jeff Becker e12bd9442f
expose multi process/single process option 6 years ago
Jeff Becker e58bd10b23
add python ffi example wrapper code 6 years ago
Jeff Becker 3f21cc5865
make c api for main 6 years ago
Jeff Becker 4a3a0fc556
make an application context to simplify the main function 6 years ago
Jeff Becker 956973cb84
use configurable number of net io threads 6 years ago
Jeff Becker bfaa837bce
refactor everything to use logger 6 years ago
Jeff Becker bc9e32d690
clang format and lots of stupid bug fixes 6 years ago
Jeff Becker 191cc30026
correction 6 years ago
Jeff Becker cc97da29d4
named threadpool 6 years ago
Jeff Becker 6cc469775f
implement rc signing 6 years ago
Jeff Becker 0f6c0d8a56
start fixing up main 6 years ago