Commit Graph

323 Commits

Author SHA1 Message Date
Ryan Tharp
a5f2f7080d Merge branch 'master' of https://github.com/neuroscr/loki-network 2018-08-16 10:44:31 +00:00
Ryan Tharp
94b6b828c1 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-08-16 10:38:02 +00:00
Jeff Becker
bb2754f3d9
more fixes? 2018-08-15 12:27:03 -04:00
Jeff Becker
191e9c29e1
will this help ? idk 2018-08-15 12:24:38 -04:00
Jeff Becker
27ba8b6c67
try fixing win32 build 2018-08-15 12:12:41 -04:00
Jeff Becker
04bf8d6116
some tun interface code 2018-08-15 11:36:34 -04:00
Jeff Becker
54f70f370a
remove NullCondition unused code 2018-08-15 10:06:14 -04:00
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
186bd7d573
use NTRU for introset end to end encryption 2018-08-13 19:22:31 -04:00
Ryan Tharp
13169e4ebf comment out unused property 2018-08-13 01:47:55 -07:00
Ryan Tharp
ab3493ba3d Merge branch 'master' of https://github.com/loki-project/loki-network 2018-08-13 08:31:54 +00:00
Jeff Becker
d7c1c3322f
it works. 2018-08-12 13:22:29 -04:00
Jeff Becker
e79708c1dc
hidden services sorta work 2018-08-10 17:34:11 -04:00
Jeff Becker
a9b28e5407
more fuxing around 2018-08-09 23:51:38 -04:00
Jeff Becker
c36c83d9dc
more hidden service code 2018-08-09 15:02:17 -04:00
Jeff Becker
2db8811cae
fix address detection 2018-08-09 11:49:35 -04:00
Jeff Becker
6bae623481
more defaults 2018-08-09 09:55:51 -04:00
Jeff Becker
32d82b5ba5
add more defaults in config with comments 2018-08-09 09:38:44 -04:00
Ryan Tharp
15dbaf3808 big clang-format cleanup 2018-08-09 04:28:55 -07:00
Ryan Tharp
3ada1e15be llarp_main_queryDHT_RC(), llarp_main_init_dnsd(), actually query DHT on dns lookup 2018-08-09 04:22:57 -07:00
Jeff Becker
d5532e4de4
more boilerplate and enable tun/tap build 2018-08-08 15:37:33 -04:00
Jeff Becker
e4bcf44a25
make net isolated threadpool more generic 2018-08-08 14:02:08 -04:00
Jeff Becker
62f41d3747
initial threadpool isolation code and run make format 2018-08-08 13:43:46 -04:00
Ryan Tharp
b5e136d916 fix if 10 is in use, comments and other last minute notes 2018-08-08 06:21:14 -07:00
Ryan Tharp
75bb65e909 clean up ipv4 creation, fix CopyInto 2018-08-08 06:09:38 -07:00
Ryan Tharp
63b0219191 format 2018-08-08 06:09:07 -07:00
Ryan Tharp
352aa50aa8 privatesInUse struct, ipv4 cstr attempt, isPrivate refactor 2018-08-08 05:43:21 -07:00
Ryan Tharp
c5dd067abe format 2018-08-08 05:40:54 -07:00
Ryan Tharp
6b85897b13 fix logging merge 2018-08-08 02:49:47 -07:00
Ryan Tharp
16c56ff04b Merge branch 'master' of https://github.com/majestrate/llarp + gcc 7.2 fixes 2018-08-06 12:02:00 +00:00
Jeff Becker
4deda702ff fix it 2018-08-06 15:01:27 +10:00
Jeff Becker
bed57ee44d more android logging 2018-08-06 14:42:22 +10:00
Jeff Becker
2d34935dd9 fix 2018-08-06 14:36:40 +10:00
Jeff Becker
8488844ac0 fix 2018-08-06 14:36:07 +10:00
Jeff Becker
ec6b468b44 android logging 2018-08-06 14:35:00 +10:00
Jeff Becker
86ec4dacc3 dht and testnet fixes 2018-08-04 12:59:32 +10:00
sachaaaaa
37aed03df2 use WIN32_LEAN_AND_MEAN project-wise to silent warnings on windows about winsock2.h and windows.h 2018-08-03 11:34:36 +10:00
Jeff Becker
a99fa8f6cf try fixing windows cross compile 2018-08-03 09:36:34 +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
7622f6cef1 dht tweaks 2018-08-02 14:34:46 +10:00
Jeff Becker
6ffa2eed1c fix up dht 2018-08-02 11:41:40 +10:00
Jeff Becker
d511057b7d * logging updates
* nicknames in RC (yw kee)

* spec update

* more hidden service code
2018-08-02 10:48:43 +10:00
Jeff Becker
bc1c49b092 dht fixes 2018-08-02 08:10:38 +10:00
Jeff Becker
d1bbce8192 add uint16/32 put/read on buffers 2018-08-02 08:09:12 +10:00
Ryan Tharp
de56a32069 another DNS clean up pass 2018-08-01 02:04:40 -07:00
Ryan Tharp
7469e35399 make sure LOG_TAG is set to something sensible 2018-08-01 02:03:42 -07:00
Jeff Becker
928ec3790d deterministic logging 2018-07-31 08:35:54 +10:00
Jeff Becker
2c652174b9 correct bitmask 2018-07-30 15:52:52 +10:00
Jeff Becker
2e13eac024 make it compile 2018-07-30 15:49:47 +10:00