Commit Graph

43 Commits (85dde7b6b08a7b0ce22939ef116402394b3a7c91)

Author SHA1 Message Date
Michael 85dde7b6b0
Move remaining include/llarp headers to llarp/ 6 years ago
Michael a5c3ba0fdd
Move logger.hpp to llarp/ 6 years ago
Jeff Becker 622ed8d12e
fix crash on premature close of event loop (also make format) 6 years ago
Jeff Becker 472948a610
more dns tweaks 6 years ago
Jeff Becker 11372c9544
Merge branch 'dev' into snode-endpoint 6 years ago
Jeff Becker c1e494c2c4
have llarp_ev_* use llarp_buffer_t 6 years ago
Jeff Becker 5d0a9d7dc7
make format 6 years ago
Ryan Tharp 1c6031c677 clang-format 6 years ago
Ryan Tharp 638692f48a magic numbers to defs, llarp_buffer_t implementation, cleanup, Michael/Sang code review changes 6 years ago
Ryan Tharp efe86c2401 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Michael 1c0cf72c02
Rename endian.h 6 years ago
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
6 years ago
Ryan Tharp 4127c9bea5 Don't let NS record stomp A values 6 years ago
Ryan Tharp 87b1fb8b31 fix bad merge 6 years ago
Ryan Tharp dfd602f390
Merge branch 'master' into master 6 years ago
Ryan Tharp c7aa3617b8 fix PTR record reading when answer type doesn't make question type 6 years ago
Jeff 49cd5dfaa6 fix dns on macos 6 years ago
Jeff Becker fd87f2ac96
purge VLAs from the codebase 6 years ago
Jeff Becker f1cca956f9
make android compile again 6 years ago
Ryan Tharp 25fb34c7b4 lower debug 6 years ago
Ryan Tharp 67390de0c2 merge 6 years ago
Ryan Tharp 9205b8172c scan-build fixes 6 years ago
cathugger 4d5f5fecfa
ip: make things fragmentation-aware, cleanup UDP handling; also format
one's complement math is pretty fun
6 years ago
Ryan Tharp fd41f7b3db just make sure everything is initialized, fix typo in testing debug 6 years ago
Ryan Tharp c8c4a0da10 don't risk any SOA crashes, fix language types 6 years ago
Ryan Tharp c40d5f4c4d notes and guard 6 years ago
Ryan Tharp 0ad4f43fe5 header clean up and clang-format 6 years ago
Ryan Tharp 589e1357fa reverse support, some SOA record fixes, hex packet debug helper 6 years ago
Ryan Tharp 6e5905fb1e windows compile compat fixes 6 years ago
Ryan Tharp ab3493ba3d Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Ryan Tharp bf52d363de Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Jeff Becker 30edb26ed9
use endian helpers 6 years ago
Jeff Becker ebfe820b7a
remove the rest of gcc compiler warnings 6 years ago
Ryan Tharp c5dd067abe format 6 years ago
Ryan Tharp 16c56ff04b Merge branch 'master' of https://github.com/majestrate/llarp + gcc 7.2 fixes 6 years ago
Ryan Tharp 52bbf890ef move hook out of dnsd into daemon, made hook use timer, decode_answer has beginning SOA parsing support, getDNSstring() refactor 6 years ago
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
6 years ago
Ryan Tharp de56a32069 another DNS clean up pass 6 years ago
Jeff Becker b1eddbc70f unbreak shared library build 6 years ago
Jeff Becker f9db26adee add mingw stl threading lib
run make format
6 years ago
Ryan Tharp 0decbe5613 fix gcc 6 years ago
Ryan Tharp b93ea8a087 fix intercept api, implement new intercept api, logging clean up 6 years ago
Ryan Tharp ca06f1dded refactor clean up (pass 1) 6 years ago