Commit Graph

1067 Commits

Author SHA1 Message Date
Ryan Tharp
2a217b5f7d Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-23 11:38:37 +00:00
Jeff Becker
ce03801a51
close socket in destructor 2018-09-23 07:29:41 -04:00
Ryan Tharp
14d9b19a0f clang-format 2018-09-22 04:28:55 -07:00
Ryan Tharp
dba3b66b50 fix FreeBSD compil 2018-09-22 04:25:37 -07:00
Ryan Tharp
9d4d595624 compile fixes 2018-09-22 03:39:53 -07:00
Ryan Tharp
2b2e0007fa active DNS relay (server/client) in tun interface 2018-09-22 03:25:16 -07:00
Ryan Tharp
1e13967198 support multiple dns ip tracker contexts for netns 2018-09-22 03:24:32 -07:00
Ryan Tharp
6590d502cd get first tun interface wiring 2018-09-22 03:23:23 -07:00
Ryan Tharp
31595d209d move logic into client 2018-09-22 03:22:18 -07:00
Ryan Tharp
e53e093e17 for previous commit 2018-09-22 03:21:26 -07:00
Ryan Tharp
6d0cf0c8c0 move logic into dnsc context, clang-format 2018-09-22 03:20:40 -07:00
Ryan Tharp
88670928f0 clang format 2018-09-22 03:20:15 -07:00
Ryan Tharp
3183d5a19e make sigint work, clean up dead code, update api, format 2018-09-22 03:18:56 -07:00
Ryan Tharp
8aa9d99977 update build, refactor .loki lookups into their own file 2018-09-22 03:17:22 -07:00
Ryan Tharp
eef2dbaaf4 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-21 21:55:11 +00:00
Jeff Becker
4309ea3b97
better handling for introset propagation 2018-09-21 12:37:49 -04:00
Jeff Becker
a91f54cc8a
when we get an invalid introset in response call handler if exists with empty result instead of timing out 2018-09-21 12:17:26 -04:00
Jeff Becker
86807d2631
permit 10 seconds clock skew for introsets 2018-09-21 11:24:00 -04:00
Jeff Becker
0abc035488
check for newest entry when inserting dht node 2018-09-21 10:50:07 -04:00
Ryan Tharp
2ce7ec3eda Merge branch 'master' of https://github.com/neuroscr/loki-network 2018-09-21 07:36:21 -07:00
Ryan Tharp
3138610253 clang format 2018-09-21 07:36:06 -07:00
Ryan Tharp
9ae925166a Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-21 14:10:35 +00:00
Jeff Becker
14c5690828
up the size of protocol frames to fit intro with 1500 bytes of payload data 2018-09-21 09:52:10 -04:00
Ryan Tharp
6ba51c7cc0 enable prefetch 2018-09-21 12:54:37 +00:00
Ryan Tharp
d639fa3fdd support other tun gateways others than 10.x.x.x 2018-09-21 12:53:45 +00:00
Ryan Tharp
ca7d3567a2 prefetch and expose it 2018-09-21 12:53:20 +00:00
Ryan Tharp
4df6202c9f Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-21 12:51:54 +00:00
Jeff Becker
7c90e13299
use another buffer for signing 2018-09-21 08:47:07 -04:00
Jeff Becker
4e7c6ee90a
fix crash 2018-09-21 08:30:57 -04:00
Ryan Tharp
6cb073aa02 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-21 11:06:57 +00:00
Jeff
e7e1db8302 fix epoll 2018-09-20 18:38:45 -04:00
Jeff
fcc2d00813 try to not die in event loop 2018-09-20 18:37:45 -04:00
Jeff
929cd8169f i fucking hate apple it's fucking shit, fucking god awful shit.
also drybones will never find this.
2018-09-20 18:31:34 -04:00
Jeff
d9424ca04b fix macos compile 2018-09-20 10:32:31 -04:00
Jeff Becker
8ade5dcd30
try fixing mac build, (THIS REFORMATTED THE FILE OMG D:) 2018-09-20 10:16:24 -04:00
Ryan Tharp
18c1e7094f undo llvm 3.8 fixme, Jeff said he fixed it 2018-09-20 12:48:06 +00:00
Ryan Tharp
29a304f928 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-20 12:45:19 +00:00
Ryan Tharp
0ffd49af04 bind to port 53, get first tun interface and set it up with dns tracker 2018-09-20 12:37:45 +00:00
Ryan Tharp
c5208fc7ae whoops for the last commit 2018-09-20 12:37:19 +00:00
Ryan Tharp
8bcc3b7c24 actually store service address with dns_pointer, dns_iptracker_setup, dns_iptracker_init remove autodetection/hard code 10.x.x.x for now 2018-09-20 12:36:11 +00:00
Ryan Tharp
aaeb035033 getRange() and getFirstTun() refactor start 2018-09-20 12:35:29 +00:00
Ryan Tharp
79fb82a3c8 main_router_getRange to get access to tun 2018-09-20 12:34:53 +00:00
Jeff Becker
ef9666e79b
add logging 2018-09-20 07:50:07 -04:00
Jeff Becker
5fb08c2139
check introset timestamps 2018-09-20 07:27:18 -04:00
Jeff Becker
8588aaa60b
dont use expired intros when shifting intros and lookup introsets via near router. 2018-09-20 07:08:12 -04:00
Jeff
e2bd6c942a
Merge pull request #15 from despair86/master
enable gtest on win32
2018-09-20 06:55:23 -04:00
Ryan Tharp
eebb2609b8 try to map an address 2018-09-20 03:08:07 -07:00
Ryan Tharp
6e5905fb1e windows compile compat fixes 2018-09-20 03:07:16 -07:00
Ryan Tharp
e2f5298e00 better logging 2018-09-20 03:06:47 -07:00
Ryan Tharp
d7e4cb483f better logging, note 2018-09-20 03:06:24 -07:00