Commit Graph

40 Commits

Author SHA1 Message Date
despair
0eacab7759 warn windows user if using untested relay mode
update readme
2018-11-11 22:50:41 -06:00
Jeff Becker
960aa479e9
fixes for ancient rpi toolchain 2018-11-08 07:31:50 -05:00
despair
38f2a6b2c9 be slightly less annoying
check build rules
2018-10-30 00:16:34 -05:00
despair
c5d1b32286 remove microsoft c++ crud
🤔🤔🤔🤔
2018-10-30 00:16:33 -05:00
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.
2018-10-27 08:41:04 -04:00
cathugger
4d5f5fecfa
ip: make things fragmentation-aware, cleanup UDP handling; also format
one's complement math is pretty fun
2018-10-13 18:42:47 +03:00
Ryan Tharp
7e217366e6 fix overwrite? 2018-10-04 07:09:36 -07:00
Ryan Tharp
4b3b09736b Merge branch 'master' of https://github.com/loki-project/loki-network 2018-10-02 23:11:44 +00:00
despair86
991c1d8fce fix 2018-10-01 15:19:26 -05:00
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)
2018-10-01 15:08:55 -05:00
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
2018-10-01 15:08:52 -05:00
Ryan Tharp
47d71c601c fix another overwrite 2018-10-01 03:08:05 -07:00
Ryan Tharp
c11e61a51d add -c for client auto-config, -f for overwrite 2018-10-01 02:58:30 -07:00
Jeff Becker
3938517dc6
fix creation 2018-09-19 09:32:50 -04:00
Jeff Becker
1d5adaf4cc
fix previous commit 2018-09-19 09:17:15 -04:00
Jeff Becker
3feb45bdf8
more fixes for main 2018-09-19 09:15:07 -04:00
Jeff Becker
b00ee5203c
fix config generation with specified config file 2018-09-19 09:10:14 -04:00
Jeff Becker
58198656a3
configurable base directory for config and add option for only generating config 2018-09-19 09:02:55 -04:00
Jeff Becker
43b4e1eaf3
don't sighup for windows 2018-09-19 07:57:07 -04:00
Jeff Becker
e047bfa266
update readme
add sighup
2018-09-17 07:47:34 -04:00
Jeff Becker
d7c1c3322f
it works. 2018-08-12 13:22:29 -04: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
48cfdab63c get rid of wizard and autogenerate configs if not present with sane defaults 2018-07-27 10:21:57 +10:00
Ryan Tharp
bd229be656 handleBaseCmdLineArgs() refactor 2018-07-26 03:52:23 -07:00
Jeff Becker
02ca1796b2 all the files 2018-07-20 14:50:28 +10:00
Jeff Becker
a68cfefaa6
make it compile and run make format 2018-07-13 09:36:51 -04:00
Ryan Tharp
cfb69224b5 Merge branch 'master' of https://github.com/neuroscr/loki-network 2018-07-13 07:54:27 +00:00
sachaaaaa
7442387307 renamed .c to .cpp 2018-07-09 14:34:28 +10:00
Jeff Becker
fc069e3810
add shadow plugin 2018-06-06 08:59:15 -04:00
Jeff Becker
e12bd9442f
expose multi process/single process option 2018-06-06 08:49:46 -04:00
Jeff Becker
e58bd10b23
add python ffi example wrapper code 2018-05-27 15:13:25 -04:00
Jeff Becker
3f21cc5865
make c api for main 2018-05-27 14:03:10 -04:00
Jeff Becker
4a3a0fc556
make an application context to simplify the main function 2018-05-27 13:44:01 -04:00
Jeff Becker
956973cb84
use configurable number of net io threads 2018-05-27 12:45:04 -04:00
Jeff Becker
bfaa837bce
refactor everything to use logger 2018-05-27 10:04:30 -04:00
Jeff Becker
bc9e32d690
clang format and lots of stupid bug fixes 2018-05-22 11:54:19 -04:00
Jeff Becker
191cc30026
correction 2018-05-20 14:58:26 -04:00
Jeff Becker
cc97da29d4
named threadpool 2018-05-20 14:56:34 -04:00
Jeff Becker
6cc469775f
implement rc signing 2018-05-20 13:45:47 -04:00
Jeff Becker
0f6c0d8a56
start fixing up main 2018-05-20 12:15:16 -04:00