1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
Commit graph

99 commits

Author SHA1 Message Date
Michael Thorpe a2d5d80779
Enable warnings as errors
test criteria:
- Built from clean on macOS
2018-11-06 22:48:17 +00:00
Jeff Becker 80b99d2efb
make format and parallelize analyze target in makefile 2018-11-05 06:31:43 -05:00
Jeff Becker 6f8e6be252
remove redundant setcap 2018-11-05 06:22:25 -05:00
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