Jeff Becker
8484e29c9b
turn more stuff into std::shared_ptr
...
remove dead codepaths
2019-04-23 10:47:23 -04:00
Jeff Becker
3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format
2019-04-22 08:25:25 -04:00
michael-loki
0195152e05
Allow builds on MSVC ( #518 )
...
* Import cxxopts to replace getopts usage
* Add visual studio build things
* Fixup abseil build parts
* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED
* Fixup minor windows build issues
* Replace getopts usage
* Temporarily fixup .rc files
* More minor windows fixes
* Get a working build
* Revert .rc files
* Revert changes to nodedb
2019-04-19 13:24:33 -05:00
Jeff Becker
f8edd3fbce
fix compiler warning
2019-04-12 11:26:20 -04:00
Jeff Becker
fadf519029
don't give extra record on end when nx
2019-04-12 11:19:51 -04:00
Jeff Becker
3aa0cc9d0b
address issue #510
2019-04-12 08:20:03 -04:00
Jeff Becker
7f25b62ef5
remove adding of defaults to upstream dns resolvers
2019-04-09 12:03:59 -04:00
Jeff Becker
e178a70929
use shared_ptr for event loop
2019-04-08 08:01:52 -04:00
Jeff Becker
1922221c3d
permit no upstream resolvers and send servfail if we have none
2019-04-05 12:46:11 -04:00
Jeff Becker
2f2b841c67
disable mx record dropping
...
add servfail
2019-04-05 12:39:43 -04:00
Jeff Becker
c931ac069f
add AAAA records that return SIIT addresses
2019-03-27 09:36:11 -04:00
Jeff Becker
567efb9a92
Revert "move is_random_snode/is_localhost_loki into dns, llarp_HandleHookedDNSMessage() attempt at unification refactor between exit/tun handlers"
...
This reverts commit e388dc47eb
.
2019-03-20 11:48:23 -04:00
Ryan Tharp
e388dc47eb
move is_random_snode/is_localhost_loki into dns, llarp_HandleHookedDNSMessage() attempt at unification refactor between exit/tun handlers
2019-03-20 03:28:58 +00:00
Rick V
61fb9a9c82
added some notes to gear up for the #371 putback by @michael-loki
...
moved platform-specifc stuff *to* platform specifc lib
removed -Wno-format on windows and *actually* turn on proper format checking
here using compiler-specifc extension for C99
2019-03-18 16:13:08 -05:00
Ryan Tharp
22d76f7454
additional macos DNS fixes
2019-03-08 17:19:55 -08:00
Ryan Tharp
4d6451aaa2
fix mojave random.snode lookup issue #324
2019-02-27 21:39:24 -08:00
Michael
e4cf1f245c
Convert most of llarp to use Printer
2019-02-24 23:46:44 +00:00
Jeff Becker
1a283c0176
try addressing issue #324
2019-02-22 11:18:53 -05:00
Michael
a00d6afc5e
Convert llarp_buffer_t to be a class with methods
2019-02-17 13:09:48 +00:00
Jeff Becker
8c77c53675
reply with cname
2019-02-05 09:03:38 -05:00
Jeff Becker
0bbd1ecbe4
fix previous commit
2019-02-05 08:42:57 -05:00
Jeff Becker
67282f03c0
disable recursion on nxdomain responses
2019-02-05 08:01:56 -05:00
Jeff Becker
5a33d2c84a
Merge remote-tracking branch 'origin/staging' into staging
2019-02-05 07:57:57 -05:00
Jeff Becker
804df24a87
remove stray semicolin
2019-02-05 07:56:41 -05:00
Jeff Becker
a7ff62f668
set dns flags correctly (probably)
2019-02-05 07:52:57 -05:00
Ryan Tharp
4bf4faa956
make format
2019-02-04 16:41:33 -08:00
Ryan Tharp
fefb012bf8
fix llvm 3.8
2019-02-04 16:29:09 -08: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
Jeff Becker
9e50e2d34a
try fixing AAAA record handling, return NOERROR with no records.
2019-01-28 11:16:17 -05:00
Michael
79157414f3
Split crypto.hpp into 3 different files
2019-01-13 16:32:51 +00:00
Michael
a3463120cc
Move net components into a distinct folder
2019-01-11 01:42:02 +00:00
Michael
081d4dfa32
Reorganise source into more folders
2019-01-11 01:19:49 +00:00
Michael
fa2b466ffe
Reorganise tests to mirror source layout
2019-01-11 00:12:52 +00:00
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library
2019-01-10 20:07:24 +00:00
Michael
df4fd0ef56
Fix some low hanging performance issues
2019-01-07 22:15:41 +00:00
Michael
4257b62e88
Add .cpp files for all .hpp files
2018-12-15 16:21:52 +00:00
Jeff Becker
2a678f47c4
fix previous commit
2018-12-13 17:22:53 -05:00
Jeff Becker
be1e78ca5d
make it compile
2018-12-13 17:20:12 -05:00
Jeff Becker
be234e4b6e
* make format
...
* snode to snode direct traffic
* wire up dns on service node tun
2018-12-13 11:14:44 -05:00
Jeff Becker
bb0cd81f02
random.snode
2018-12-12 19:03:19 -05: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
Michael
d9ce493a9e
Move dns* to llarp/
2018-12-12 02:53:01 +00:00
Michael
c064893947
Move buffer.hpp to llarp/
2018-12-12 02:53:00 +00:00
Michael
7be452092c
Convert llarp_crypto to be a true C++ class
2018-12-11 00:53:55 +00:00
Jeff
31d86ae273
class must be 1
2018-12-07 17:13:42 -05:00
Jeff
3eb78b6118
add mx record for .loki
2018-12-07 16:52:19 -05:00
Jeff Becker
e1ee2de38a
correctly encode response
2018-12-04 12:02:13 -05:00
Jeff Becker
1f104881be
unit testing for ptr
2018-12-04 11:52:48 -05:00
Jeff Becker
ebb42ca46f
fix previous commit
2018-12-04 11:37:15 -05:00
Jeff Becker
c27b7c2858
separate client/server in dns proxy
2018-12-04 11:35:25 -05:00
Jeff Becker
40678f9019
add dnslib unit test coverage
2018-12-04 11:16:43 -05:00
Jeff Becker
1d1bde2e88
add dnslib
2018-12-03 17:22:59 -05:00