Michael
1aec0dfa2b
Move logging to subdirectory
2019-09-03 20:52:27 +01:00
Michael
16cdfbd5f0
clang-tidy modernize pass
2019-08-12 16:52:58 +01:00
Michael
a00d6afc5e
Convert llarp_buffer_t to be a class with methods
2019-02-17 13:09:48 +00:00
Michael
67b5d48095
Replace usage of new/delete with unique_ptr/stack allocation
2019-02-11 16:24:05 +00:00
Michael
7ca3e13e78
Rename to ManagedBuffer
2019-02-03 00:48:10 +00:00
Michael
f3b0af9d2f
Create CopyableBuffer type
2019-02-02 23:21:35 +00:00
Michael
2de621b0ad
Disable copy constructing llarp_buffer_t
2019-02-01 01:58:13 +00:00
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library
2019-01-10 20:07:24 +00:00
Michael
85dde7b6b0
Move remaining include/llarp headers to llarp/
2018-12-12 02:53:02 +00:00
Michael
a5c3ba0fdd
Move logger.hpp to llarp/
2018-12-12 02:53:01 +00:00
Jeff Becker
622ed8d12e
fix crash on premature close of event loop (also make format)
2018-12-02 13:07:07 -05:00
Jeff Becker
472948a610
more dns tweaks
2018-12-01 09:35:11 -05:00
Jeff Becker
11372c9544
Merge branch 'dev' into snode-endpoint
2018-11-29 09:34:19 -05:00
Jeff Becker
c1e494c2c4
have llarp_ev_* use llarp_buffer_t
2018-11-23 09:37:26 -05:00
Jeff Becker
5d0a9d7dc7
make format
2018-11-22 10:53:11 -05:00
Ryan Tharp
1c6031c677
clang-format
2018-11-21 16:39:09 -08:00
Ryan Tharp
638692f48a
magic numbers to defs, llarp_buffer_t implementation, cleanup, Michael/Sang code review changes
2018-11-21 15:23:19 -08:00
Ryan Tharp
efe86c2401
Merge branch 'master' of https://github.com/loki-project/loki-network
2018-11-20 19:32:12 +00:00
Michael
1c0cf72c02
Rename endian.h
2018-11-20 00:52:19 +00:00
Ryan Tharp
969865c499
internal refactor
...
- created various structs for each record type
- changed DNSd to return most of the recieved packet (allowing for multiple answers)
- favor vector<byte_t> over c-style buffers
- support NS records a little better
- fixed output on cname, ptr, txt
2018-11-18 15:08:02 -08:00
Ryan Tharp
4127c9bea5
Don't let NS record stomp A values
2018-11-14 05:36:30 -08:00
Ryan Tharp
87b1fb8b31
fix bad merge
2018-11-12 17:36:12 -08:00
Ryan Tharp
dfd602f390
Merge branch 'master' into master
2018-11-12 17:24:36 -08:00
Ryan Tharp
c7aa3617b8
fix PTR record reading when answer type doesn't make question type
2018-11-12 17:19:01 -08:00
Jeff
49cd5dfaa6
fix dns on macos
2018-11-11 10:24:08 -05:00
Jeff Becker
fd87f2ac96
purge VLAs from the codebase
2018-11-09 07:25:14 -05:00
Jeff Becker
f1cca956f9
make android compile again
2018-11-06 09:06:09 -05:00
Ryan Tharp
25fb34c7b4
lower debug
2018-11-03 08:32:48 -07:00
Ryan Tharp
67390de0c2
merge
2018-11-03 06:19:18 -07:00
Ryan Tharp
9205b8172c
scan-build fixes
2018-10-27 15:40:12 -07: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
fd41f7b3db
just make sure everything is initialized, fix typo in testing debug
2018-10-11 12:22:29 +00:00
Ryan Tharp
c8c4a0da10
don't risk any SOA crashes, fix language types
2018-10-09 05:40:53 -07:00
Ryan Tharp
c40d5f4c4d
notes and guard
2018-10-03 03:49:57 -07:00
Ryan Tharp
0ad4f43fe5
header clean up and clang-format
2018-09-24 06:09:01 -07:00
Ryan Tharp
589e1357fa
reverse support, some SOA record fixes, hex packet debug helper
2018-09-23 09:57:53 -07:00
Ryan Tharp
6e5905fb1e
windows compile compat fixes
2018-09-20 03:07:16 -07:00
Ryan Tharp
ab3493ba3d
Merge branch 'master' of https://github.com/loki-project/loki-network
2018-08-13 08:31:54 +00:00
Ryan Tharp
bf52d363de
Merge branch 'master' of https://github.com/loki-project/loki-network
2018-08-09 11:33:53 +00:00
Jeff Becker
30edb26ed9
use endian helpers
2018-08-08 13:01:32 -04:00
Jeff Becker
ebfe820b7a
remove the rest of gcc compiler warnings
2018-08-08 12:58:43 -04: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
de56a32069
another DNS clean up pass
2018-08-01 02:04:40 -07:00
Jeff Becker
b1eddbc70f
unbreak shared library build
2018-07-27 14:07:22 +10:00
Jeff Becker
f9db26adee
add mingw stl threading lib
...
run make format
2018-07-25 10:35:11 +10:00
Ryan Tharp
0decbe5613
fix gcc
2018-07-23 17:46:02 -07:00
Ryan Tharp
b93ea8a087
fix intercept api, implement new intercept api, logging clean up
2018-07-23 16:56:26 -07:00