Commit Graph

196 Commits

Author SHA1 Message Date
Ryan Tharp
5d90cbe895 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-11-03 13:43:21 +00:00
Ryan Tharp
67390de0c2 merge 2018-11-03 06:19:18 -07:00
Jeff
4a60ab97e1
Merge branch 'master' into docker 2018-11-02 18:08:11 -04:00
Michael Thorpe
01445399f0
Add initial dockerfile support
This provides a simple way to do quick cross-platform verification
of changes.

`make docker-debian` will build a debian image and run the tests
`make docker-fedora` will build a fedora image and run the tests
2018-11-02 18:06:01 -04:00
Michael Thorpe
43d78e5c71
Add initial dockerfile support
This provides a simple way to do quick cross-platform verification
of changes.

`make docker-debian` will build a debian image and run the tests
`make docker-fedora` will build a fedora image and run the tests
2018-11-02 21:05:36 +00:00
Jeff Becker
f285a0ac3e
update tests 2018-11-02 13:08:01 -04:00
despair
765934a796 add assembler flags 2018-11-01 08:27:55 -05:00
Jeff Becker
2d279e83fd
initial tcp connect for epoll 2018-11-01 08:47:14 -04:00
despair
f381201d6b override fpu target in cflags 2018-10-30 05:50:28 -05:00
despair
d425b5d308 implement tcp evloop on win32
(with its now-obsolete distinction between socketfd and fd)

sockets and file descriptors used to be distinct objects....back in the
16-bit Winsock 1.1 era, which needlessly complicated the 32-bit port
back then. these days one can use [Read|Write]File(2) to operate on
sockfds...which also have some of the semantics of [read|write]v(2)
i.e. the scatter-gather thing it's known for is done in async handler

-rick

variants are nice

added note to self

clang-format

link abyss properly

oops

shut up

*shrugs*

oops forgot to start winsock

moved our async io status flags to the base class

let derived classes override them as needed

this is probably a synchronous op _anyway_

fix typo

wtf
2018-10-30 00:16:33 -05:00
Jeff Becker
5fa9eb180b
freebsd fix 2018-10-28 10:29:09 -04:00
Jeff Becker
d1d323a9b8
freebsd stuff 2018-10-28 10:28:13 -04:00
Jeff
04b738aa9e make it work on osx for real 2018-10-27 15:03:23 -04:00
Jeff
d3531ca561 fix macos build and add anaylze target 2018-10-27 14:26:08 -04:00
Jeff
ccead80c3d make jsonrpc server configurable on build, disabled by default.
default to client only and require explicitly run as relay to run as relay.
2018-10-27 08:41:04 -04:00
Jeff Becker
957a5ed833
initial epoll event loop implementation for tcp 2018-10-24 14:02:42 -04:00
Jeff Becker
2fdbb439df
update install target and readme 2018-10-24 07:57:21 -04:00
Jeff Becker
ff8bcf58a7
update makefile 2018-10-23 08:41:29 -04:00
Ryan Tharp
4c081b24b8 make MacOS execute echo 2018-10-23 05:34:10 -07:00
Jeff Becker
c262f8b5e3
bundle relevent libsodium parts 2018-10-23 07:29:37 -04:00
Jeff Becker
cc106ed37b
fix dht bug, probably, re-enable loopback testnet functionality 2018-10-21 10:19:49 -04:00
Jeff Becker
138c222a1a
dns port configurable at compile time (make this configurable on runtime plz) 2018-09-30 08:42:28 -04:00
Jeff Becker
8a4b2e97a5
add lint target for makefile using clang tidy
run make format
2018-09-28 10:29:34 -04:00
Jeff Becker
83643845c2
default for CI to have no cxx17 filesystem 2018-09-24 12:12:53 -04:00
Jeff Becker
f3ebb48c7b
enable TUNTAP by default 2018-09-24 06:25:29 -04:00
Jeff Becker
7027ba2cf1
more agressive network exploration
add install target for makefile
2018-09-15 07:37:46 -04:00
Jeff Becker
b23dab09fb
don't overwrite our RC, hide parameter. 2018-09-09 07:23:21 -04:00
Jeff Becker
4b3a113397
mostly works 2018-09-07 13:41:49 -04:00
Jeff Becker
5dfcd60df1
more 2018-09-06 16:31:58 -04:00
Jeff Becker
6ef89ea8b2
un break (kinda) 2018-09-06 09:16:24 -04:00
Jeff Becker
60d5277351
broken 2018-09-06 07:46:19 -04:00
Jeff Becker
186bd7d573
use NTRU for introset end to end encryption 2018-08-13 19:22:31 -04:00
Jeff Becker
d7c1c3322f
it works. 2018-08-12 13:22:29 -04:00
Jeff Becker
e79708c1dc
hidden services sorta work 2018-08-10 17:34:11 -04:00
Jeff Becker
d5532e4de4
more boilerplate and enable tun/tap build 2018-08-08 15:37:33 -04:00
Jeff Becker
066c208622 add mutex/lock to singlethread mode threadpool
remove uneeded i2p.rock.signed.txt

update makefile clean target
2018-08-03 07:26:14 +10:00
Jeff Becker
d511057b7d * logging updates
* nicknames in RC (yw kee)

* spec update

* more hidden service code
2018-08-02 10:48:43 +10:00
Jeff Becker
b1eddbc70f unbreak shared library build 2018-07-27 14:07:22 +10:00
Jeff Becker
02ca1796b2 all the files 2018-07-20 14:50:28 +10:00
Jeff Becker
9114d79bd6 * make number of hops configurable
* remove compile warnings
2018-07-20 07:08:11 +10:00
Jeff Becker
7c518bc4da prefetch introset via tag (non working) 2018-07-19 06:58:16 +10:00
Jeff Becker
6945fe53a5 more also run make format 2018-07-17 14:37:50 +10:00
Jeff Becker
a319c994de make shadow compile 2018-07-16 14:55:46 +10:00
Jeff Becker
0242e293c9 more 2018-07-16 13:32:13 +10:00
Jeff Becker
fe01c38d8e
* fix dht feedback loop
* start on dht lookups for hidden services

* make debug logging confurable on runtime with env var LLARP_DEBUG=1

* make eventloop tick only when we get traffic

* make testnet parameters configurable on runtime
2018-07-12 09:43:37 -04:00
Jeff Becker
d2a4f0b103
start on hidden service dht 2018-07-05 10:23:45 -04:00
Jeff Becker
18b50f4a74
* implement path transfer message
* update dht docs
* update other docs
* start working on dht for hidden services
* fix up unit tests for dht
* update makefile and other build files
2018-06-29 10:25:09 -04:00
Jeff Becker
eeb9c9e5b4
do correct dht lookup 2018-06-28 11:10:25 -04:00
Jeff Becker
9b2bcfc22e
only pump queue from timer 2018-06-26 13:12:33 -04:00
Jeff Becker
5439947781
fix path building so that it works for real 2018-06-26 10:52:19 -04:00
Jeff Becker
6633fb151d
make it work 2018-06-26 09:39:29 -04:00
Jeff Becker
5d9fe74e39
can we fix it? NO it's fucked. :D 2018-06-25 21:30:36 -04:00
Jeff Becker
da22f306e0
* add path building management
* fix bug in iwp that caused crash
2018-06-25 11:12:08 -04:00
Jeff Becker
f2c42e4e5a
onion routing downstream traffic relaying works on testnet 2018-06-22 09:59:28 -04:00
Jeff Becker
44e34f81e8
tweaks to testnet 2018-06-20 13:45:44 -04:00
Jeff Becker
78f3ca0155
more 2018-06-20 08:34:48 -04:00
Jeff Becker
f68ffbc33d
more path building stuff 2018-06-19 13:11:24 -04:00
Jeff Becker
597aa8eb74
fix release target 2018-06-15 09:42:49 -04:00
Jeff Becker
ccf8574c03
make unit tests work 2018-06-14 10:04:42 -04:00
Jeff Becker
1f45a27080
fix up shadow configs 2018-06-07 13:36:17 -04:00
Jeff Becker
315798a0c4
* loopback test network
* fix various crashes and race conditions

* rename iwp-connect to connect in config

* rename iwp-links to bind in config

* always make a link just for outbound sessions even if no bind section is provided
2018-06-07 12:22:49 -04:00
Jeff Becker
a0f1d548f8
more shadow stuff 2018-06-06 17:23:57 -04:00
Jeff Becker
90611731a5
initial shadow test net 2018-06-06 13:02:57 -04:00
Jeff Becker
d587c1cbf5
add shadow target 2018-06-06 09:17:03 -04:00
Jeff Becker
0278ba559c
add single threaded mode for shadow 2018-06-06 08:46:26 -04:00
Jeff Becker
02d785d30c
add release targets to makefile for future
purge llarp_alloc

colored logging
2018-05-28 09:49:44 -04:00
Jeff Becker
956973cb84
use configurable number of net io threads 2018-05-27 12:45:04 -04:00
Jeff Becker
4929bf0da8
fix with gcc and use default c++ compiler 2018-05-24 09:03:11 -04:00
Jeff Becker
bc9e32d690
clang format and lots of stupid bug fixes 2018-05-22 11:54:19 -04:00
Jeff Becker
1958df312d
fix format target 2018-05-21 10:31:52 -04:00
Jeff Becker
ae5243cc95
add clang format but don't format YET 2018-05-21 10:28:15 -04:00
Jeff Becker
c0ff64868d
more meat 2018-05-16 12:41:20 -04:00
Jeff Becker
cf9ae0875c
fix up makefile 2018-05-16 11:59:24 -04:00
Jeff Becker
0806120c06
add makefile back but using cmake/ninja 2018-05-16 11:57:16 -04:00
Jeff Becker
39b9b52aca
we cmake now 2018-05-16 09:58:02 -04:00
Jeff Becker
72d63a294b
remove libuv from makefile 2018-04-30 11:08:24 -04:00
Jeff Becker
a7703b0dbc
refactor threadpool 2018-04-30 10:57:13 -04:00
Jeff Becker
02dfb7c3a9
more 2018-04-08 08:18:16 -04:00
Jeff Becker
8c2bbbb2eb
more 2018-04-04 12:10:27 -04:00
Jeff Becker
dcc5e6e348
more 2018-04-04 11:19:11 -04:00
Jeff Becker
b949e61752
omg optimize 2018-02-15 12:09:27 -05:00
Jeff
8c3bd25825 fix on os x 2018-02-01 17:10:47 -05:00
Jeff Becker
212165500d
more 2018-02-01 17:04:58 -05:00
Jeff Becker
afd6530049
fix test 2018-02-01 14:59:03 -05:00
Jeff Becker
1fdfdc0244
more 2018-02-01 12:06:49 -05:00
Jeff Becker
ae76b6b376
google format 2018-02-01 08:21:00 -05:00
Jeff Becker
4718281202
awe yeh 2018-01-31 14:59:26 -05:00
Jeff Becker
de3ddbb93e
clang-format 2018-01-29 09:27:24 -05:00
Jeff Becker
b7d4499f43
more 2018-01-26 09:17:51 -05:00
Jeff Becker
045a692522
more 2018-01-25 11:11:45 -05:00
Jeff Becker
62fb43a52c
refactor 2018-01-25 10:38:14 -05:00
Jeff Becker
d6a4425017
more 2018-01-19 11:51:27 -05:00
Jeff Becker
74112dd6f3
more 2018-01-08 08:49:05 -05:00
Jon Titor
f557027692
more 2017-11-28 09:05:31 -05:00
Jon Titor
1e86edd321
more 2017-10-03 15:14:46 -04:00
Jon Titor
781637bbf4
more boilerplate 2017-09-28 13:02:05 -04:00