jeff
f728e6016b
router version
2020-01-25 11:28:07 -05:00
Stephen Shelton
f01392cc49
Start stale router lookup 5 minutes before its expiration
2020-01-18 14:37:42 -07:00
Stephen Shelton
9b00e6fa8d
Bump RC expiration constants significantly
2020-01-18 14:07:21 -07:00
Jeff Becker
d9297a4907
log invalid signatures
2020-01-15 10:42:28 -05:00
Jason Rhinelander
638fb25b47
Put version info into a compiled file
...
This rewrites the version info using lokid's approach of compiling it
into a .cpp file that gets generated as part of the build (*not* during
the configure stage).
Among other things, this means that changing the version no longer
invalidates ccache or cmake dependencies, and because it depends on
`.git/index` git commits will cause the version to be regenerated,
making the commit tag more reliable (currently if you rebuild without
running cmake your git commit tag doesn't update).
2019-12-11 22:40:07 -04:00
Stephen Shelton
a0699ad229
Undo adding of crypto version to RouterContact, other fixes
2019-11-27 11:30:19 -07:00
Stephen Shelton
0c02ea8d2e
Add "keyfile version" to RouterContact
2019-11-22 14:06:15 -07:00
Stephen Shelton
1666498405
Replace bencode_write_version_entry with a more general-purpose function for writing bencoded dictionary entries
2019-11-22 10:39:35 -07:00
Jeff Becker
61ade40a51
reduce logging and make format
2019-09-09 07:36:21 -04:00
Jeff Becker
ff233204cd
disable rc expiration
2019-09-09 06:45:52 -04:00
Michael
1aec0dfa2b
Move logging to subdirectory
2019-09-03 20:52:27 +01:00
Michael
70937ab503
Fix docker-compose isolated network
2019-08-27 01:57:37 +01:00
Michael
7cb1b525c9
Dump more info from router contact
2019-08-19 23:25:46 +01:00
Michael
777261cb20
Use ToString over ToHex
2019-08-19 22:26:37 +01:00
Michael
094b697b01
Replace StatusObject with underlying JSON type
2019-08-19 10:33:26 +01:00
Michael
4763888d2c
Add fail-able docker build for gcc trunk
2019-08-02 10:28:09 +01:00
Thomas Winget
baf8019fe5
Refactor Router code into more classes
...
This commit refactors functionality from the Router class into separate,
dedicated classes.
There are a few behavior changes that came as a result of discussion on
what the correct behavior should be.
In addition, many things Router was previously doing can now be provided
callback functions to alert the calling point when the asynchronous
action completes, successfully or otherwise.
2019-07-25 14:11:02 -04:00
Jeff Becker
16e20a9e79
try fixing bootstrap
2019-07-15 12:56:09 -04:00
Jeff Becker
58005c5f81
Merge remote-tracking branch 'origin/master' into ipv6-tun
2019-07-08 10:17:21 -04:00
Michael
a2326efa37
Revert "Merge pull request #679 from tewinget/revert-config-refactor"
...
This reverts commit 2996a7f29c
, reversing
changes made to 10df3bd4b3
.
2019-07-06 14:46:25 +01:00
Thomas Winget
d044d60101
Reverts #678 #677 and #669 with hashes:
...
10df3bd
766ece8
979f095
See those commits for further details
2019-07-02 11:02:20 -04:00
Michael
b51f7d8015
Convert to load config in config loader
2019-07-02 01:58:39 +01:00
Jeff Becker
ba6f9ed2d7
continue using llarp::openfilestream
2019-06-24 12:51:29 -04:00
Jeff Becker
54a098356d
continue using llarp::openfilestream
2019-06-24 12:39:03 -04:00
Jeff Becker
389c414ee3
add handover window to router contact updating
2019-06-17 10:02:12 -04:00
Jeff Becker
9ec41b8831
update RC expiration logic, lookup more often and remove stale entries
2019-06-10 08:47:21 -04:00
Jeff Becker
c2803e3020
fix
2019-06-04 09:29:16 -04:00
Jeff Becker
cacc73db7b
add rc expiration (again)
2019-06-04 09:19:45 -04:00
Michael
491fee206b
Port code to use CryptoManager over passing Crypto pointers
2019-05-28 20:45:08 +01:00
michael-loki
0195152e05
Allow builds on MSVC ( #518 )
...
* Import cxxopts to replace getopts usage
* Add visual studio build things
* Fixup abseil build parts
* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED
* Fixup minor windows build issues
* Replace getopts usage
* Temporarily fixup .rc files
* More minor windows fixes
* Get a working build
* Revert .rc files
* Revert changes to nodedb
2019-04-19 13:24:33 -05:00
Jeff Becker
20e398b684
fix exit info
2019-04-08 13:40:51 -04:00
Michael
e4cf1f245c
Convert most of llarp to use Printer
2019-02-24 23:46:44 +00:00
Michael
a00d6afc5e
Convert llarp_buffer_t to be a class with methods
2019-02-17 13:09:48 +00:00
Jeff Becker
62c200c6fa
disable rc expiration
2019-02-11 12:26:52 -05:00
Jeff Becker
46222df421
refactor
2019-02-11 12:14:43 -05:00
Jeff Becker
e1522faeaa
add introspection rpc endpoint
2019-02-08 14:43:25 -05:00
Michael
24066ea9e0
Fix warning on macOS
2019-02-05 21:18:38 +00:00
Michael
f3b0af9d2f
Create CopyableBuffer type
2019-02-02 23:21:35 +00:00
Michael
2de621b0ad
Disable copy constructing llarp_buffer_t
2019-02-01 01:58:13 +00:00
Ryan Tharp
ac2c1ad434
another build fix
2019-01-29 03:11:54 -08:00
Jeff Becker
7bc0b5f82b
try addressing issue #233
2019-01-24 10:13:41 -05:00
Jeff Becker
1e0d82848f
revert to use u instead of t for timestamp in RC for backwards compat reasons
2019-01-24 08:18:15 -05:00
Rick V
828c5d36f7
remove extra braces
2019-01-22 18:17:03 -06:00
Jeff Becker
6064ff5a68
try fixing unit tests
2019-01-17 10:11:17 -05:00
Michael
04e0fe3ad7
Move crypto code to a subdirectory
2019-01-13 15:06:16 +00:00
Michael
a3463120cc
Move net components into a distinct folder
2019-01-11 01:42:02 +00:00
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library
2019-01-10 20:07:24 +00:00
Michael
535c65ca52
Fix RCTest dependency ordering
2019-01-05 00:49:06 +00:00
Michael
be2354663d
Fix RCTest.TestSignVerify
2019-01-02 22:21:29 +00:00
Michael
ea19093a20
Remove const byte* conversion operators from llarp::AlignedBuffer
2019-01-02 01:04:04 +00:00