Ryan Tharp
4b3b09736b
Merge branch 'master' of https://github.com/loki-project/loki-network
2018-10-02 23:11:44 +00: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
7f809eb53b
fix windows build
2018-10-01 15:06:07 -05:00
Ryan Tharp
058ed4d4ea
Merge branch 'master' of https://github.com/neuroscr/loki-network
2018-10-01 09:03:31 +00:00
Ryan Tharp
35def45c98
answer_request_alloc() use a unique_ptr, multiple resolver support start, llarp_dnsc_init to use llarp::Addrs
2018-09-29 03:18:33 -07:00
Jeff Becker
8a4b2e97a5
add lint target for makefile using clang tidy
...
run make format
2018-09-28 10:29:34 -04:00
Ryan Tharp
1436036d94
make sure all vectors are unique_ptr, unorder maps (optimization)
2018-09-25 06:20:39 -07:00
Ryan Tharp
0ad4f43fe5
header clean up and clang-format
2018-09-24 06:09:01 -07:00
Ryan Tharp
47c90e63e8
reverse dns detection and question type
2018-09-23 09:52:47 -07:00
Ryan Tharp
6d0cf0c8c0
move logic into dnsc context, clang-format
2018-09-22 03:20:40 -07:00
Ryan Tharp
e2f5298e00
better logging
2018-09-20 03:06:47 -07:00
Ryan Tharp
9f1f3a35d4
skip answer if type 5 (cname) and advance to first answer, also properly adjsut for SOA hack
2018-08-17 03:36:54 -07:00
Ryan Tharp
c5dd067abe
format
2018-08-08 05:40:54 -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
Ryan Tharp
52bbf890ef
move hook out of dnsd into daemon, made hook use timer, decode_answer has beginning SOA parsing support, getDNSstring() refactor
2018-08-02 05:51:49 -07: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
Ryan Tharp
82f300523d
handle crash on multiple response to an alreayd handled packet, rename hook to sendto_hook, writecname_dnss_response() and write404_dnss_response()
2018-08-01 05:51:28 -07:00
Ryan Tharp
de56a32069
another DNS clean up pass
2018-08-01 02:04:40 -07: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
0f068a7ea4
fix warnings
2018-07-26 03:52:55 -07:00
Jeff Becker
f9db26adee
add mingw stl threading lib
...
run make format
2018-07-25 10:35:11 +10:00
Jeff Becker
f222f002f4
Merge remote-tracking branch 'loki/master'
2018-07-25 08:52:02 +10:00
Jeff Becker
f695b947f7
more arm fixes
2018-07-24 16:20:05 +10:00
Ryan Tharp
49b4d0189a
linux gcc compat
2018-07-24 01:06:56 +00:00
Ryan Tharp
b93ea8a087
fix intercept api, implement new intercept api, logging clean up
2018-07-23 16:56:26 -07:00
Ryan Tharp
ca06f1dded
refactor clean up (pass 1)
2018-07-21 20:34:28 -07:00
Ryan Tharp
a9e8584acd
clang-format (finally :)
2018-07-21 06:24:47 -07:00
Ryan Tharp
eadca4b4fc
"fixed" DNS multithreaded
2018-07-21 06:19:06 -07:00
Ryan Tharp
6582a2fb0f
fix casting of ip to return correct results
2018-07-20 03:42:28 -07:00
Ryan Tharp
dd4b3fa9a1
continue llarpification (StackBuffer) and other refactor
2018-07-20 03:28:21 -07:00
Jeff Becker
9114d79bd6
* make number of hops configurable
...
* remove compile warnings
2018-07-20 07:08:11 +10:00
Ryan Tharp
3758b1f6bf
heap allocate more sockaddr, debug adjustment
2018-07-18 14:07:37 -07:00
Jeff Becker
4b748a29f3
fix dns
2018-07-17 09:26:58 +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
Ryan Tharp
077c22150f
fix response bug, libev refactor
2018-07-16 05:48:04 -07:00