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
928ec3790d
deterministic logging
2018-07-31 08:35:54 +10:00
Jeff Becker
d011fb550e
have logic and netio run in same thread for now
2018-07-30 08:20:31 +10:00
Jeff Becker
07b99e8ac4
extern "C" block for shared library
2018-07-27 13:41:55 +10:00
Ryan Tharp
bd229be656
handleBaseCmdLineArgs() refactor
2018-07-26 03:52:23 -07:00
despair86
bbe0634edc
this should get things going on UNIX :D
2018-07-25 20:00:15 -05:00
Jeff Becker
17ad12cd2c
* don't heap allocate llarp_rc
...
* store rc into network database cache on connect
2018-07-25 11:24:37 +10:00
Jeff Becker
a9c92213df
more backport
2018-07-24 16:37:12 +10:00
Jeff Becker
f7daee5abf
backport
2018-07-24 16:34:23 +10:00
Jeff Becker
066cf537e2
backport
2018-07-24 16:33:22 +10:00
Jeff Becker
62b94b17aa
more backport
2018-07-24 16:30:01 +10:00
Jeff Becker
fd4938b1e4
more android pendatic fixes
2018-07-24 12:25:10 +10:00
Jeff Becker
6945fe53a5
more also run make format
2018-07-17 14:37:50 +10:00
Jeff Becker
f48acbc23e
Merge remote-tracking branch 'ryan/libdns' into hidden-service-dht
...
also run make format
2018-07-17 07:26:16 +10:00
Jeff Becker
0242e293c9
more
2018-07-16 13:32:13 +10:00
Ryan Tharp
e1a4c2f32c
Merge branch 'hidden-service-dht' of https://github.com/majestrate/llarp
2018-07-13 07:25:20 +00:00
Jeff Becker
5bbaae4e2e
more
2018-07-12 14:21:44 -04: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
dfa567e816
Merge remote-tracking branch 'sachaaaa/refactor' into hidden-service-dht
2018-07-09 10:24:44 -04:00
sachaaaaa
33586d385b
clang format
2018-07-09 14:34:28 +10:00
sachaaaaa
c7940076bf
Remove most of the extern "C"
...
remove extern "C"
2018-07-09 14:34:09 +10:00
Ryan Tharp
00e56ecfd2
Merge branch 'hidden-service-dht' of https://github.com/majestrate/llarp
2018-07-08 11:41:44 +00:00
Jeff Becker
21a2ffdeaf
* refactor log functions
...
* add more stuff for hidden service dht
2018-07-05 11:44:06 -04:00
Ryan Tharp
876324fdbc
llarp_main_abort => llarp_logic_stop_timer
2018-07-03 04:25:36 -07:00
Jeff Becker
7d9bffdf9c
make format
2018-06-29 08:15:15 -04:00
Ryan Tharp
b524f19119
fix missing header
2018-06-28 11:40:46 +00:00
Ryan Tharp
d132e3cd10
load config-file from config, llarp_main_getLocalRC(), llarp_main_checkOnline(), llarp_main_queryDHT() refactor
2018-06-28 04:32:26 -07:00
Ryan Tharp
ede0cb4772
Merge branch 'master' of https://github.com/neuroscr/loki-network
2018-06-26 10:08:51 +00:00
Jeff Becker
da22f306e0
* add path building management
...
* fix bug in iwp that caused crash
2018-06-25 11:12:08 -04:00
Ryan Tharp
c31e5795fc
setup() refactor, llarp_main_queryDHT()
2018-06-23 07:56:59 -07:00
Ryan Tharp
2e74bce713
getDatabase and associated functions
2018-06-21 04:11:55 -07:00
Ryan Tharp
51c97d44b3
ReloadConfig refactor, direct nodedb functions
2018-06-19 02:44:53 -07:00
Ryan Tharp
f49bd89a42
Merge branch 'master' of https://github.com/neuroscr/llarp
2018-06-18 01:06:29 -07:00
Ryan Tharp
7cd13b3f89
changed info message
2018-06-18 00:55:06 -07:00
Jeff Becker
54366c040c
make format
2018-06-17 11:26:00 -04:00
Ryan Tharp
087f4c2f02
clean up llarp_nodedb_async_verify api, make setRC save to correct path
2018-06-13 04:40:49 -07:00
Jeff Becker
90611731a5
initial shadow test net
2018-06-06 13:02:57 -04:00
Jeff Becker
e12bd9442f
expose multi process/single process option
2018-06-06 08:49:46 -04:00
Jeff Becker
0278ba559c
add single threaded mode for shadow
2018-06-06 08:46:26 -04:00
Jeff Becker
9816fd65e9
* logging refactor to be concise
...
* don't inline bencode
* refactor initial start of dht code a bit
2018-06-01 13:47:37 -04:00
Jeff Becker
5649d261ae
start fleshing out dht subsystem a bit
2018-06-01 10:08:54 -04:00
Jeff Becker
fe19314484
more stuff
2018-05-30 16:56:47 -04:00
Ryan Tharp
9f2d7f717a
Merge branch 'master' of https://github.com/majestrate/llarp
2018-05-29 12:21:50 +00:00
Ryan Tharp
78007425fd
use FreeBSD API for setting thread names
2018-05-29 05:13:33 -07:00
Jeff Becker
a00a0622d1
more docs
...
more logging
2018-05-28 16:51:15 -04:00
Jeff Becker
02d785d30c
add release targets to makefile for future
...
purge llarp_alloc
colored logging
2018-05-28 09:49:44 -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