Commit Graph

1783 Commits

Author SHA1 Message Date
Jeff Becker
b64ed33755
more static linking flag magic 2018-11-19 09:43:46 -05:00
Jeff Becker
a35066ce42
static link with pthread because GNU a shit 2018-11-19 08:47:14 -05:00
Jeff Becker
5357b4b69f
make clang happy, disable netns by default (for now) 2018-11-19 08:39:35 -05:00
Jeff Becker
3585a558ec
Merge branch 'master' into dev 2018-11-19 07:25:41 -05:00
Jeff Becker
9c54939324
make llarp_router::SendToOrQueue check inbound and outbound links instead of just inbound or just outbound 2018-11-19 07:25:03 -05:00
Jeff Becker
270e5648b8
Merge remote-tracking branch 'github/master' 2018-11-19 07:01:50 -05:00
Jeff Becker
3718a7d016
Merge remote-tracking branch 'github/master' into dev 2018-11-19 07:01:42 -05:00
Jeff Becker
d37daf7996
Merge branch 'master' into dev 2018-11-19 06:57:29 -05:00
Jeff Becker
7214f242e0
rip out old threadpool code 2018-11-19 06:56:40 -05:00
Jeff
c0efc9ed29
Merge pull request #56 from michael-loki/uint32_t
Use std::atomic<std::uint32_t> over std::atomic_uint32_t
2018-11-19 06:46:25 -05:00
Michael
4c6f261b06
Use std::atomic<std::uint32_t> over std::atomic_uint32_t 2018-11-19 10:39:07 +00:00
Ryan Tharp
2daa986c33 fix static analysis issues 2018-11-18 15:56:59 -08:00
Ryan Tharp
de418125f2 remove redundance from (sockaddr) param refactor 2018-11-18 15:48:50 -08:00
Ryan Tharp
7039d70aa5 clean up 2018-11-18 15:47:53 -08:00
Ryan Tharp
42b8fc3a7a don't truncate last 2 bytes 2018-11-18 15:41:32 -08: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
373a14b44b clang-format 2018-11-18 15:06:21 -08:00
Ryan Tharp
0b4e4828d1
Merge pull request #55 from neuroscr/master
remove DNS_PORT
2018-11-19 08:06:05 +09:00
Ryan Tharp
9f436c68eb remove DNS_PORT 2018-11-18 14:40:35 -08:00
Jeff
23c8807d59
Merge pull request #54 from neuroscr/master
DNS QoL improvements
2018-11-18 15:13:25 -05:00
Ryan Tharp
82cfa61540 address alphakamp complaint about using 127.0.0.1 on linux (systemd taking it by default) 2018-11-18 10:02:22 -08:00
Ryan Tharp
f03c41a99f Deprecate DNS_PORT as configureable in INI now. Reduce confusion as it would change DNSc port too and I believe it was meant only to change DNSd port. 2018-11-18 09:41:09 -08:00
Jeff Becker
78e59fced0
remove cxx11 2018-11-18 09:43:32 -05:00
Jeff Becker
602a883038
add missing include for linux 2018-11-18 07:49:35 -05:00
Jeff Becker
f5ac1b5c0d
Merge branch 'master' into dev 2018-11-18 07:43:13 -05:00
Jeff
64d463fbec
Merge pull request #53 from michael-loki/fixedqueue
Create ThreadPool component backed by lock-free queue
2018-11-17 16:16:20 -05:00
Michael
8947ec0b97
Update vscode configs 2018-11-17 21:13:34 +00:00
Michael
3c5e3e79f9
Create ThreadPool component with test suite 2018-11-17 21:13:34 +00:00
Michael
8a52bf448e
Create Queue component with test suite 2018-11-17 21:13:34 +00:00
Michael
951a065867
Create QueueManager component with test suite 2018-11-17 21:13:34 +00:00
Jeff Becker
e3dc4dca11
mark paths as dead when they need to and revert codel changes 2018-11-17 13:40:13 -05:00
Jeff Becker
ffccb058c4
syntax error 2018-11-16 09:22:52 -05:00
Jeff Becker
ae62627c50
gfdi 2018-11-16 09:22:13 -05:00
Jeff Becker
8b64bb336a
syntax error 2018-11-16 09:21:52 -05:00
Jeff Becker
ce2760135a
mark paths as active when they are 2018-11-16 09:21:23 -05:00
Jeff Becker
4e3089dee4
fix last commit 2018-11-16 09:06:50 -05:00
Jeff Becker
6866e70a95
build paths if we are out of exits on exit session 2018-11-16 09:03:13 -05:00
Jeff Becker
8d613c182f
nullptr check 2018-11-15 18:07:39 -05:00
Jeff Becker
b56b3ad16d
don't remove ip mapping when endpoints are removed 2018-11-15 17:10:12 -05:00
Jeff Becker
17297837d9
that's dumb af, use std::unique_ptr 2018-11-15 16:47:05 -05:00
Jeff Becker
d6c42c4a30
gfdi 2018-11-15 13:40:08 -05:00
Jeff Becker
9d551ba768
more 2018-11-15 13:10:09 -05:00
Jeff Becker
937ab151ab
idk what is going on 2018-11-15 11:19:24 -05:00
Jeff Becker
9baf6ecfd9
idklol 2018-11-15 11:15:25 -05:00
Jeff Becker
723351eb4e
friendship with std::unordered_map is now over, std::map is my new best friend 2018-11-15 11:12:05 -05:00
Jeff Becker
c7c6905e1e
explicit type 2018-11-15 11:05:31 -05:00
Jeff Becker
207e312eb0
more logging 2018-11-15 11:00:16 -05:00
Jeff Becker
01724c8529
use const iter 2018-11-15 10:54:48 -05:00
Jeff Becker
6f796d031b
use const 2018-11-15 10:53:32 -05:00
Jeff Becker
7b188d0fde
more 2018-11-15 10:46:50 -05:00