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

7332 commits

Author SHA1 Message Date
Jason Rhinelander 1dccbb5814 Update deb repo dns name 2021-10-16 16:00:27 -03:00
Jason Rhinelander ca9d979361 Docker image updates
- split debian sid into base/sid/clang images
- similarly for debian stable
- add jsonnet to lint
- add `--pull` to docker build so that we always pull the latest images
  (otherwise we were building on whatever local cache we have for
  `debian:sid`, etc., which made the base image update layer much
  larger).
- don't install Recommends by default
- add libzmq3-dev
- split android into android (base) and flutter
- hard-code registry.oxen.rocks into the dockerfile stuff because that
  seems to be the only way to properly depend on other docker builds.
- update a few CI builds that should have been using our images but
  weren't.
- Update a few CI images to bullseye instead of buster

Add openssh-client (for sftp to upload builds)
2021-10-16 15:54:22 -03:00
Jason Rhinelander 6f58648161 Add libzmq3-dev; change deps into arrays
We're currently rebuilding libzmq3-dev all the time in most of the CI
jobs.
2021-10-16 15:16:55 -03:00
Jason Rhinelander 9c32058a50 Remove windows linefeeds 2021-10-16 15:16:55 -03:00
Jason Rhinelander 1526b2a2eb which => command -v; different format.sh exit codes
`which` is a debian tool that is being deprecated in favour of
posix-standard `command -v`, so which to that to avoid deprecation
warnings.

Change the exit codes of `contrib/format.sh verify` to be unique for
each formatting program.
2021-10-16 15:16:55 -03:00
Jason Rhinelander 52492c6253 make format 2021-10-16 15:16:55 -03:00
Jason Rhinelander 9b0b9fe67b Add jsonnet formatting (if jsonnet is installed) 2021-10-16 15:16:55 -03:00
Jason Rhinelander 1e22417ade Add missing deprecated copy assignment operator
Clang-13 warns (and -Werror dies) without it.
2021-10-16 15:16:55 -03:00
Jason Rhinelander 497c62b586 Update clang build to 13; add full llvm-13 build 2021-10-16 15:16:55 -03:00
Jason Rhinelander aee5dd2776
Merge pull request #1769 from majestrate/fix-sid-2021-10-13
fix debian sid compiler error
2021-10-16 15:16:37 -03:00
Jason Rhinelander 50449038b4 Another gcc-11 fix
GCC is wrongly warning that `h` is uninitialized here, but it clearly
isn't.  Work around it.
2021-10-16 15:02:06 -03:00
Jeff Becker 07fb41cfd4
fix debian sid compiler error 2021-10-13 08:05:12 -04:00
Sean e11a94c95c
RPC call for summary get_status (#1742)
* RPC call for summary get_status

* lint

* update with review notes

* further review points

* uint64_t
2021-10-13 07:20:36 -04:00
Jason Rhinelander 51016e672f
Merge pull request #1760 from majestrate/default-to-unix-socket-for-rpc-2021-10-06
catch exceptions on setup and dont abort
2021-10-12 20:21:48 -03:00
Jason Rhinelander 0768593fa5
Merge pull request #1762 from majestrate/v6-base-address-configuration-fix-2021-10-06
catch ipv6 ioctl throwing when someone runs lokinet with no ipv6
2021-10-12 20:21:04 -03:00
Jeff 1846c3e3d8
prevent bizare half open state. (#1754)
* attempt path timeout bullshittery fix

* make sure ServiceInfo always has its address set up

* do not copy intros in constuctor, ammend logging and
add assert
2021-10-12 17:37:01 -04:00
Nuc1eoN 8989910881
Add missing dep 'cppzmq' (#1764)
* Add missing dep to cppzmq
2021-10-07 11:54:59 -04:00
Jeff Becker 937d07b6ce
catch ipv6 ioctl throwing when someone runs lokinet with no ipv6 2021-10-06 18:08:08 -04:00
Jeff 40f26bb674
Merge pull request #1761 from majestrate/v6-base-address-configuration-fix-2021-10-06
resepct empty ipv6 range setting
2021-10-06 16:28:05 -04:00
Jeff Becker 5e9f9686e7
set base v6 address to nullopt when explicit empty string is provided 2021-10-06 16:22:49 -04:00
Jeff Becker 4c5b90fb03
handle exceptions on setup and config load without aborting 2021-10-06 15:36:29 -04:00
Jeff 24681fd35d
Merge pull request #1759 from majestrate/iterate-dir-in-order-2021-10-06
iterate through directory entries in lexigraphical order
2021-10-06 15:15:26 -04:00
Jeff 12bca7031b
Merge pull request #1638 from majestrate/log-refactor-source-location-2021-05-11
refactor logging to use std::source_location
2021-10-06 15:14:55 -04:00
Jeff 1d955cf28d
Update fs.hpp
style nit
2021-10-06 14:37:09 -04:00
Jeff Becker 00f81b1dac
iterate through directory entries in lexigraphical order 2021-10-06 14:04:11 -04:00
Jeff Becker d882f1a302
some compilers hated [[maybe_unused]] so use (void) when they are unused 2021-10-06 11:10:49 -04:00
Jeff Becker cf187ddffc
fix up logging, put _log into anonynous namespace, make only log trace nop in release builds 2021-10-06 11:10:48 -04:00
Jeff Becker 20814a4adc
use llarp:: prefix for LogError 2021-10-06 11:10:48 -04:00
Jeff Becker 1b06e263fb
update log statement for win32 2021-10-06 11:10:48 -04:00
Jeff Becker 2d5faccb9f
refactor for apple 2021-10-06 11:10:48 -04:00
Jeff Becker 7d07dea235
fix up gripes in source_location
* get rid of columns we dont need those
2021-10-06 11:10:48 -04:00
Jeff Becker acdb8a19a6
for some reason [[maybe_unused]] is hated by buster 32 bit x86 so we do something else
to appease that compiler.
2021-10-06 11:10:48 -04:00
Jeff Becker 18c5b43e63
use inline source_location implementation for android too 2021-10-06 11:10:48 -04:00
jeff 0546dab2e3
make source location happy on macos
* because of course apple doesn't provide any implementation (lmao) we provide one ourself
2021-10-06 11:10:48 -04:00
Jeff Becker 5c457ff486
refactor logging to use std::source_location
* use std::source_location instead of godawful macros in logging
* remove unused/absolutely haram af json logstream
* fix bug in android logger where it doesn't respect eLogNone
2021-10-06 11:10:48 -04:00
Jeff 5a5765edd5
Merge pull request #1756 from majestrate/ngtcp2-build-static-fix-2021-10-06
always build ngtcp2 as static
2021-10-06 10:13:22 -04:00
Jeff Becker d354a35869
always build ngtcp2 as static
squashme
2021-10-06 10:09:04 -04:00
Jason Rhinelander e32f7faf55
Merge pull request #1751 from majestrate/update-ngtcp2-2021-08-24
Update ngtcp2
2021-09-27 10:46:21 -03:00
Jason Rhinelander d733e37d9f
Merge pull request #1750 from majestrate/ci-update-2021-09-24
update ci to use main lokinet mobile repo
2021-09-27 10:44:09 -03:00
Jeff Becker 7d299d1c74
update ci to use main lokinet mobile repo 2021-09-24 17:23:51 -04:00
Jeff Becker 9c37e0146e
make it compile again 2021-09-24 17:15:50 -04:00
Jeff Becker ec83641ee8
update submodule 2021-09-24 16:51:03 -04:00
Jeff Becker 45b5fec314
make it compile again (squashme) 2021-09-24 16:51:03 -04:00
Jeff Becker 3c61af1de9
bump ngtcp2 submodule 2021-09-24 16:51:03 -04:00
Jeff ed271de715
make lokinet-util library static
every other lokinet internal lib is static, but liblokinet-util was not, this fixes that.
2021-09-18 19:54:06 -04:00
Jeff 9f19a3653e
Merge pull request #1741 from majestrate/systemd-resolved-dns-fix-2021-09-16
SystemD DNS fix
2021-09-16 17:53:46 -04:00
Jeff Becker d1246947f7
SystemD DNS fix:
when dns is port 53 call SetLinKDNS otherwise call SetLinkDNSEx as on older versions of systemd-resolved SetLinkDNSEx is not available.
2021-09-16 17:52:30 -04:00
Jeff cf1086e4ac
Update readme.md 2021-09-14 17:29:36 -04:00
Jeff 2fbfeb1112
Update readme.md 2021-09-14 17:26:53 -04:00
Jeff ad9bbe9290
Update readme.md 2021-09-14 17:23:49 -04:00