Jeff Becker
dbd2c41909
use event loop for time
2018-10-29 12:48:36 -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
6e1761eb05
first jsonrpc endpoint added
2018-10-25 15:06:16 -04:00
Jeff Becker
f873b18036
fix up event loop
2018-10-25 08:39:32 -04:00
Jeff Becker
de17324012
don't make tcp event code epoll specific
2018-10-25 08:00:29 -04:00
Jeff Becker
957a5ed833
initial epoll event loop implementation for tcp
2018-10-24 14:02:42 -04:00
Jeff
4ea3549c21
tick and use std::unique_ptr
2018-10-21 13:07:17 -04:00
Jeff Becker
612057003a
de changes
2018-10-19 07:41:36 -04:00
Jeff Becker
ff26f2dcff
do bounds check
2018-10-15 12:20:45 -04:00
Jeff Becker
d7c188d817
Revert "add a check for overlow in event loop"
...
This reverts commit 1042c73829
.
2018-10-15 12:19:48 -04:00
Jeff Becker
1042c73829
add a check for overlow in event loop
2018-10-15 12:09:34 -04:00
Jeff Becker
32a028f6d8
Merge remote-tracking branch 'cathugger/master'
2018-10-10 07:48:44 -04:00
Jeff Becker
23cff0bee3
try fixing all that tun shit, YOLO
2018-10-01 13:16:15 -04:00
Jeff Becker
f6c812a642
include packet info in tun but discard it so that tun can work on platforms
...
that include packet info
2018-09-30 09:23:37 -04:00
Jeff
e7e1db8302
fix epoll
2018-09-20 18:38:45 -04:00
Jeff Becker
b96887ddb2
various fixes and tweaks
2018-09-10 09:43:36 -04:00
Jeff Becker
5dfcd60df1
more
2018-09-06 16:31:58 -04:00
Jeff Becker
b7039f6e5c
more tun stuff
2018-08-22 11:52:10 -04:00
Jeff Becker
4e2f0ccbf8
* add ProcessIf in CoDel queue to requeue unprocessed items
...
* more tun code
* make event loop tick and write with tun
2018-08-21 14:17:16 -04:00
Jeff Becker
4aebbda640
more tun stuff
2018-08-20 15:12:12 -04:00
Jeff Becker
377cc78144
fix crash
2018-08-18 10:01:21 -04:00
Jeff Becker
1a1f93c171
* more tun stuff
...
* use std::unique_ptr where bare pointers aren't absolutely required
2018-08-17 15:49:58 -04:00
Jeff Becker
913fb1d88a
don't use 100% cpu
2018-08-16 11:31:32 -04:00
Jeff Becker
04bf8d6116
some tun interface code
2018-08-15 11:36:34 -04:00
Jeff Becker
a9b28e5407
more fuxing around
2018-08-09 23:51:38 -04:00
despair86
ae956aff5f
This completes the Windows NT Server port of the LokiNetwork components.
...
Also changed the epoll_wait timeout to 10ms in llarp_epoll_loop::run() to match the other platforms.
-despair86
2018-08-03 04:21:53 -05:00
Jeff Becker
b9f07e8593
* tweak event loop parameters
...
* various code cleanup
2018-07-30 10:30:10 +10:00
Jeff Becker
48cfdab63c
get rid of wizard and autogenerate configs if not present with sane defaults
2018-07-27 10:21:57 +10:00
Jeff Becker
a24a9f3e7f
revert to old epoll for android
2018-07-24 11:44:01 +10:00
Jeff Becker
45ea414a7b
fix attempt for android
2018-07-24 11:42:10 +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
21a2ffdeaf
* refactor log functions
...
* add more stuff for hidden service dht
2018-07-05 11:44:06 -04:00
Jeff Becker
1c26fb5e40
* codel related changes
...
* add tick callback to udp event loop
2018-06-27 09:14:07 -04:00
Jeff Becker
51c5cf8540
get rid of AF_PACKET for now
2018-06-14 16:42:30 -04:00
Jeff Becker
a0f1d548f8
more shadow stuff
2018-06-06 17:23:57 -04:00
Jeff Becker
0278ba559c
add single threaded mode for shadow
2018-06-06 08:46:26 -04:00
Jeff Becker
9816fd65e9
* logging refactor to be concise
...
* don't inline bencode
* refactor initial start of dht code a bit
2018-06-01 13:47:37 -04:00
Jeff Becker
bee7c2b271
ipv4 fixes
2018-05-29 08:15:48 -04:00
Jeff Becker
57c39eeded
prevent double free
2018-05-28 16:58:10 -04:00
Jeff Becker
a00a0622d1
more docs
...
more logging
2018-05-28 16:51:15 -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
39b1714f27
add minimal logger
...
move some printf to use logger
remove warnings from bencode.h
2018-05-27 09:42:55 -04:00
Jeff Becker
c51d29a0c6
add link level keepalive
...
remove debugging messages
start handling more messages
2018-05-26 14:31:45 -04:00
Jeff Becker
b2a9605745
it does stuff :DDDDDDDD
2018-05-23 16:37:43 -04:00
Jeff Becker
d426f9e65e
more
2018-05-23 09:49:00 -04:00
Jeff Becker
d8631bb2b5
fix leaks
2018-05-22 15:19:06 -04:00
Jeff Becker
bc9e32d690
clang format and lots of stupid bug fixes
2018-05-22 11:54:19 -04:00
Jeff Becker
9deafe7ce8
more
2018-05-18 10:48:30 -04:00
Jeff Becker
4959067af2
it binds
2018-05-18 09:17:58 -04:00