Commit Graph

6701 Commits

Author SHA1 Message Date
Jason Rhinelander
53f1601dc4
Merge pull request #1379 from majestrate/config-fixes-2020-10-02
fixes for 0.8.0 retag
2020-10-02 15:23:13 -03:00
Jeff
f797405318 ping lokid every 30 second after starting up 2020-10-02 14:11:39 -04:00
Thomas Winget
4f3ed5d1c4
remove unnecessary code
the signed_bt_dict field is not used for a Version 0 RC anyway, so no need to handle it here.  That was my bad.
2020-10-02 11:41:21 -04:00
Jeff Becker
c04cbfe34f
fix decode version 0 rc when in version 1 mode 2020-10-02 11:09:38 -04:00
Jeff Becker
79dfb6d357
kill lmq before stopping links/ 2020-10-02 11:09:13 -04:00
Jeff Becker
5b4b1f7aee
disable whitelist in unit test 2020-10-02 11:08:49 -04:00
Jeff Becker
bb67b42f0b
put pubkey_ed25519 in fields 2020-10-02 10:06:35 -04:00
Jeff Becker
23302cd10c
use size_left 2020-10-02 10:06:08 -04:00
Jeff
3445716fce update readme build info 2020-10-02 06:16:01 -04:00
Jeff
503a92c992 un limit lmq 2020-10-02 05:51:52 -04:00
Jeff
7852735b36 tweak configuration defaults 2020-10-02 05:48:08 -04:00
Jason Rhinelander
acd6bd2ba7 Fixed missing -r flag in service file 2020-10-02 01:06:41 -03:00
Jason Rhinelander
f9a453938d Add missing router mode flag to service file 2020-10-02 01:05:02 -03:00
Jason Rhinelander
d04374e128 Fix broken motto in debs 2020-10-01 22:48:25 -03:00
Jason Rhinelander
02f9e0d061 0.8.0 release 2020-10-01 19:47:11 -03:00
Jason Rhinelander
ffeee3960c Fix gbp distro 2020-10-01 19:44:54 -03:00
Jason Rhinelander
2d6850d965 Merge remote-tracking branch 'origin/master' into ubuntu/groovy 2020-10-01 19:44:24 -03:00
Jason Rhinelander
98463b9c11
Merge pull request #1376 from loki-project/dev
0.8.0
2020-10-01 19:41:31 -03:00
Jeff
28bfaf0372
ammend log levels for common spammy log events (#1375) 2020-10-01 11:14:08 -04:00
Jason Rhinelander
176fd8d0bc Fix config file generation 2020-09-30 18:45:03 -03:00
Jason Rhinelander
d04671631a Fix ufw install rule 2020-09-30 18:04:01 -03:00
Jason Rhinelander
bfb50948f0 Rename ufw rule to match the package name 2020-09-30 17:55:55 -03:00
Jeff Becker
ac16cdc177 bump lokimq submodule to 1.2.0 2020-09-30 17:18:26 -03:00
Jason Rhinelander
d41f6f1ef0
0.8.0 version bump (#1373) 2020-09-30 16:13:43 -04:00
Jeff
8943be6c3a
serialize auth codes in rpc (#1369)
* serialize auth codes in rpc

* format

* format

* config and route fixups

* bump lokimq

* fix compile

* discard unknown members in service keys

* format
2020-09-29 09:26:45 -04:00
Thomas Winget
7f18df4e9a
fix format string for size_t (#1371) 2020-09-28 20:07:40 -04:00
Jeff
56f49a6980
make win32 exits work again (#1367) 2020-09-28 18:43:31 -04:00
Jeff
53598ec0e9
dont serialize ephemeral members of service identity (#1370)
* prepare for keytool script

* dont serialize ephemeral members in service key file
* regnerate ephemeral members in service identity on load

* add keygen script

* use nacl for generating keys

* format
2020-09-28 11:15:07 -04:00
Thomas Winget
15229ea7ff
New RC format (#1368)
* initial work for RC SRVs.

Needs tests for new RC format.

Needs SRVs added to new RC, and associated tests.

* convert rc sign/verify test to catch2, add test for new rc

Also fixes a mistake in new rc serialization

* bump loki-mq submodule

need support for viewing bt deserialize consumer buffer so we
know how much it has consumed.

* fix some behavior errors

need to advance llarp_buffer_t after consuming data from it

only rewind and modify size of llarp_buffer_t in owning context.

* Add test for router contact (de-)serialization

Adds a test that makes a list of RouterContact with mixed
versions and ensures it serializes and deserializes correctly.
2020-09-25 14:05:28 -04:00
Jeff
252692a55b
dont poke routes if we have no exit (#1352)
* * refactor route poking out of llarp::Router and into llarp::RoutePoker
* only poke routes when we have an exit enabled as a client

* add route_poker header so it compiles
2020-09-23 20:28:38 -04:00
Jason Rhinelander
cec8f2dcac Add lokinet-vpn binary, disable shared libs 2020-09-23 20:08:44 -03:00
Jason Rhinelander
b33a227be2 Try submodules --depth=1 2020-09-23 19:54:57 -03:00
Jason Rhinelander
6838a814f4 Don't build tests 2020-09-23 19:35:08 -03:00
Jason Rhinelander
e2b8aebd10 Kill i386 2020-09-23 19:15:16 -03:00
Jason Rhinelander
de3944d8d0 Fork sid -> groovy deb 2020-09-23 17:01:43 -03:00
Jason Rhinelander
a59ab55758 DRY 2020-09-23 17:00:10 -03:00
Jason Rhinelander
0c921f0ce9 Disable tests in deb builds 2020-09-23 15:49:19 -03:00
Jeff
10e3d80559
resolve issue #1361 about peer stats excessive logging (#1365) 2020-09-23 14:44:39 -04:00
Jason Rhinelander
5765c128ad
Remove gcc-5 workaround (#1360) 2020-09-23 14:44:28 -04:00
Jason Rhinelander
58d8aed0b8 Enable other arches 2020-09-23 15:12:16 -03:00
Jason Rhinelander
a6be832155 Merge remote-tracking branch 'origin/dev' into deb08 2020-09-23 14:40:24 -03:00
Jeff Becker
7a18d14fde make it compile 2020-09-23 14:39:06 -03:00
Jason Rhinelander
658665c3c2 Allow binary 2020-09-23 14:31:42 -03:00
Jason Rhinelander
43a9e18a8b de-https so we don't need ca-certificates 2020-09-23 14:25:43 -03:00
Jason Rhinelander
32867e5736 Dearmor gpg; 1 apt-get update; no explicit g++; no ccache reconf 2020-09-23 14:13:10 -03:00
Jason Rhinelander
f2fd003eb2 Don't install recommended packages 2020-09-23 13:59:43 -03:00
Jason Rhinelander
488673f460 Add gpg public key
This avoids the need to install curl+ca-certificates+gpg, and
additionally avoids the deprecated apt-key use to install the key.
2020-09-23 13:58:12 -03:00
Jeff
a9d23d3ac3
use absolute path for route command (#1354)
* ignore tun interfaces on windows for mitigating foot cannons

* add flag for git add -p when using format verifier as git hook

* use explicit path for route command on windows

* fix typo

* fix typo

* remove hunk for win32 route exclusion based off being a tun interface

* add metric to win32 route command

* * refactor win32 route poking to use a common function for iterating over routes

* put interface in route poking for default route

* mnake it compile

* use correct route command on windows

* use fs::path for service::Identity::EnsureKeys
2020-09-23 07:06:11 -04:00
Jeff
11ed8924c6
use fs::path for service::Identity::EnsureKeys (#1364) 2020-09-23 07:05:37 -04:00
Jason Rhinelander
5362f585b5 ccache debug 2020-09-22 20:58:04 -03:00