Jeff
98f332f7a5
make it work on mac os with makefiles
2018-06-14 16:13:07 -04:00
Jeff Becker
22d4d5b3d0
make rcutil build
2018-06-14 15:28:27 -04:00
Jeff Becker
53eb3d0a59
default to c++11
2018-06-14 15:22:26 -04:00
Jeff
31c26d1a85
Merge pull request #5 from neuroscr/master
...
PATH_SEP, FS shim
2018-06-14 15:00:31 -04:00
Jeff Becker
0d85577fac
exponential backoff
2018-06-14 13:35:12 -04:00
Jeff Becker
11f9c3532b
default lookup job to not found
2018-06-14 11:46:45 -04:00
Jeff Becker
3dc5f3ddf6
be concise
2018-06-14 11:44:55 -04:00
Jeff Becker
1395cb8518
iterative search as well as recursive
2018-06-14 11:42:21 -04:00
Jeff Becker
d645c07290
fix up dht
2018-06-14 11:39:54 -04:00
Jeff Becker
6e5ebd62bf
do dht lookup for unknown routers
2018-06-14 11:10:31 -04:00
Jeff Becker
1288148999
slightly better iwp session establish logic
2018-06-14 11:01:10 -04:00
Jeff Becker
b3f1440b19
correct iwp session logic
2018-06-14 10:34:51 -04:00
Jeff Becker
c28d17d2d5
verify rc sig in iwp
2018-06-14 10:27:28 -04:00
Jeff Becker
43bf2c3dbb
verify authenticity of iwp session (initial)
2018-06-14 10:26:03 -04:00
Jeff Becker
ccf8574c03
make unit tests work
2018-06-14 10:04:42 -04:00
Ryan Tharp
ce8d0f48b7
Merge branch 'master' of https://github.com/majestrate/llarp
2018-06-14 07:55:55 +00:00
Ryan Tharp
2b08fb1235
windows support
2018-06-14 00:49:56 -07:00
Ryan Tharp
72bc32dcf4
define PATH_SEP, llvm 3.8 fs shim
2018-06-14 00:48:42 -07:00
Jeff Becker
d5fe7623fc
more dht stuff
2018-06-13 12:32:34 -04:00
Jeff Becker
9d66b3a1a6
xenial backport fix
2018-06-13 09:26:12 -04:00
Jeff Becker
09d6a46cad
correct encoding of aligned buffer
2018-06-13 09:18:18 -04:00
Jeff Becker
c104abb9c2
make nodedb work
2018-06-13 09:09:19 -04:00
Jeff Becker
10ddc3da8a
async load rc
2018-06-13 08:58:51 -04:00
Ryan Tharp
d8329b9955
Merge branch 'master' of https://github.com/majestrate/llarp
2018-06-13 11:53:18 +00:00
Ryan Tharp
7ad98cad9f
was supposed to be in last commit, and context wasn't. Context just loads from disk now
2018-06-13 04:41:23 -07:00
Ryan Tharp
087f4c2f02
clean up llarp_nodedb_async_verify api, make setRC save to correct path
2018-06-13 04:40:49 -07:00
Jeff Becker
2ff92efea5
merge all
2018-06-13 07:37:44 -04:00
Jeff Becker
0d9025bc7d
Merge remote-tracking branch 'ryan/master' into dev
2018-06-13 07:31:34 -04:00
Ryan Tharp
1cf247e36e
Merge branch 'master' of https://github.com/majestrate/llarp
2018-06-12 21:53:55 +00:00
Jeff Becker
4758bc119a
more onion routing code
2018-06-12 12:45:12 -04:00
Jeff Becker
d2700f818b
comply with spec
...
update spec
2018-06-12 08:49:23 -04:00
Jeff Becker
a8ab66f4f8
refactor to use AlignedBuffer for public key, shared secret, nonce, secret key etc
2018-06-12 07:57:14 -04:00
Jeff Becker
f80cce26c6
encrypt in place
2018-06-11 09:44:49 -04:00
Jeff Becker
9d749d20ae
encrypted frames
2018-06-11 09:25:10 -04:00
Jeff Becker
ec53cab169
more onion routing stuff
2018-06-10 10:05:48 -04:00
Jeff Becker
a947806b57
start working on onion routing parts
2018-06-08 09:12:17 -04:00
Jeff Becker
3e293eed6c
lessen warning threshold for slow jobs
2018-06-07 12:30:54 -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
Ryan Tharp
716f64634d
compile fix and remove unneeded patterning
2018-06-07 02:40:06 -07:00
Ryan Tharp
70579e6846
finish implementing llarp_nodedb_async_verify, move context inside llarp_async_verify_rc
2018-06-07 02:36:30 -07:00
Ryan Tharp
373fbc58dc
move struct so we can compile
2018-06-07 07:14:52 +00:00
Ryan Tharp
7b8ef635e4
Merge branch 'master' of https://github.com/majestrate/llarp
2018-06-07 06:49:57 +00: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
e12bd9442f
expose multi process/single process option
2018-06-06 08:49:46 -04:00
Jeff Becker
0278ba559c
add single threaded mode for shadow
2018-06-06 08:46:26 -04:00
Jeff Becker
4fd0ef6984
timer fixes
2018-06-05 07:48:06 -04:00
Jeff Becker
d3782cb3ab
update timer
2018-06-04 13:22:14 -04:00
Ryan Tharp
d0196fdc65
comment and error output
2018-06-04 06:11:13 -07:00
Ryan Tharp
a7abaa7f02
llvm 3.8 fixes
2018-06-04 06:10:19 -07:00
Ryan Tharp
bbf9f2274c
fix kqueue on OSX
2018-06-04 06:08:35 -07:00
Ryan Tharp
b7fe7e465c
llvm 3.8 compat
2018-06-04 06:07:31 -07:00
Ryan Tharp
6e1a0e1702
Merge branch 'master' of https://github.com/majestrate/llarp
2018-06-04 12:59:20 +00:00
Jeff Becker
d5e232d7c5
advance iterator
2018-06-04 07:59:29 -04:00
Jeff Becker
eae8a81e35
fix timer a bit more
2018-06-04 07:49:37 -04:00
Jeff Becker
98130d0dcd
fix up timer
2018-06-04 07:46:02 -04:00
Ryan Tharp
87c6571bc2
fixed context, change deletion method
2018-06-04 01:42:21 +00:00
Ryan Tharp
129605cc36
Merge branch 'master' of https://github.com/neuroscr/llarp
2018-06-04 00:43:11 +00:00
Ryan Tharp
56fcaaa567
Merge branch 'master' of https://github.com/majestrate/llarp
2018-06-03 22:49:04 +00:00
Jeff Becker
4ce92ae9d1
xenial
2018-06-03 11:41:41 -04:00
Jeff Becker
c9fe6c374f
try fixing timer again
2018-06-03 11:40:12 -04:00
Jeff Becker
f8be941bce
more timer fixing shit
2018-06-03 11:31:26 -04:00
Jeff Becker
1effcf88f8
try fixing timer
2018-06-03 11:27:22 -04:00
Jeff Becker
c4fef111d2
add breaak
2018-06-03 11:04:46 -04:00
Jeff Becker
000658d7b0
fix hashing
2018-06-03 11:02:00 -04:00
Jeff Becker
5fb1953ee9
more checks
2018-06-03 10:41:59 -04:00
Jeff Becker
0416bda24f
reassemble in order
2018-06-03 10:34:00 -04:00
Jeff Becker
698cc0489e
logging
2018-06-03 10:28:22 -04:00
Jeff Becker
4231243931
more iwp tweaking
2018-06-03 10:06:56 -04:00
Jeff Becker
70d19621ee
immediate acknoledge xmit and then trasnmit frags
2018-06-03 09:49:12 -04:00
Jeff Becker
adeb3ca837
xenial backport
2018-06-03 09:39:13 -04:00
Jeff Becker
c2d76dce3a
inbound message fixes
2018-06-03 09:36:38 -04:00
Jeff Becker
2075f9a6b8
add discard message for testing
2018-06-03 09:04:51 -04:00
Jeff Becker
04628874cd
handle message fragmentation better
2018-06-03 08:35:50 -04:00
Jeff Becker
0d4baa924e
bounds check
2018-06-03 08:17:06 -04:00
Jeff Becker
a3628f153a
fix
2018-06-02 10:44:26 -04:00
Jeff Becker
0acf142619
make it compile
2018-06-02 10:41:30 -04:00
Jeff Becker
840c7c4925
fix timeout issue
2018-06-02 10:40:41 -04:00
Jeff Becker
1c2155284e
only keepalive when established
2018-06-02 09:46:35 -04:00
Jeff Becker
7ea64305ab
keepalive every tick
2018-06-02 09:42:19 -04:00
Jeff Becker
3fd79f73c6
increment iterator
2018-06-02 09:36:59 -04:00
Jeff Becker
3ad3dbd29d
add debug
2018-06-02 09:34:06 -04:00
Jeff Becker
c6b3a45eca
actually call session ticker
2018-06-02 09:22:08 -04:00
Jeff Becker
87aabefddc
some fixups on link layer
...
only add trusted routers to DHT
2018-06-02 09:18:11 -04:00
Ryan Tharp
a6f3e09d8b
remove debug
2018-06-01 15:41:10 -07:00
Ryan Tharp
34dca85780
fix BSD compile issue, added some debug, OSX compile fixes
2018-06-01 15:39:30 -07:00
Ryan Tharp
3f6a5c4ca5
Merge branch 'master' of https://github.com/majestrate/llarp
2018-06-01 21:55:48 +00:00
Jeff Becker
fe7388bd69
make it work
2018-06-01 17:47:38 -04:00
Jeff Becker
620b9616a6
initial dht implementation
2018-06-01 17:35:17 -04:00
Jeff Becker
1a6a0755e3
fix compile warning
2018-06-01 14:05:40 -04:00
Jeff Becker
3db5bffbbd
fix xenial backport
2018-06-01 13:54:21 -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
0724479eba
fix logging
2018-06-01 10:24:58 -04:00
Jeff Becker
5649d261ae
start fleshing out dht subsystem a bit
2018-06-01 10:08:54 -04:00
Ryan Tharp
40dedf7471
start of async version of verifying router contacts
2018-05-31 06:08:06 -07:00
Ryan Tharp
ee28623dbf
important threading note
2018-05-31 06:07:52 -07:00
Ryan Tharp
5f3c2b4499
implement missing llarp_alloc struct
2018-05-31 06:06:28 -07:00
Ryan Tharp
563f94773b
Merge branch 'master' of https://github.com/majestrate/llarp
2018-05-31 09:32:38 +00:00
Jeff Becker
fe19314484
more stuff
2018-05-30 16:56:47 -04:00
Ryan Tharp
eebb36683c
new getter/setter style API
2018-05-29 17:40:02 -07:00