Commit Graph

8056 Commits

Author SHA1 Message Date
Jason Rhinelander
333df898e4
Merge pull request #2090 from necro-nemesis/fedora/36
Fedora/36
2022-12-21 14:56:56 -04:00
Jason Rhinelander
e82540852a
Fix bad useradd argument 2022-12-19 21:30:54 -04:00
Jason Rhinelander
f24702b291
Reformat .drone.jsonnet (no changes) 2022-12-19 15:35:10 -04:00
Jason Rhinelander
55a9596724
RPM cleanups
- We don't need sqlite anymore (it will likely come back at some point,
  but for .10/.11 it isn't used).
- Drop the file-not-empty assertion from the service file.  This isn't
  wanted anymore as having no bootstrap is now perfectly acceptable
  (lokinet has the default bootstrap built-in now).
- Remove obsolete patch (applied in .10).
- Copy bootstrap.signed from contrib rather than having an extra copy in
  SOURCES.
2022-12-19 15:33:19 -04:00
necro-nemsis
c3d6bcc3b7 Align remaining submodules to stable branch 2022-12-16 05:46:30 -05:00
necro-nemsis
bf10734b03 checkout oxen-encoding commit a869ae2b0152ad70855e3774a425c39a25ae1ca6 2022-12-15 06:34:00 -05:00
necro-nemsis
1313a192da checkout oxen-mq ac6ef82ff6fd20437b7d073466dbef82a95a2173 2022-12-15 06:22:42 -05:00
necro-nemsis
dd0a165d68 Fix date 2022-12-15 06:10:40 -05:00
necro-nemsis
ca00d8e1a6 checkout cpr commit f88fd7737de3e640c61703eb57a0fa0ce00c60cd 2022-12-15 05:57:56 -05:00
necro-nemsis
133e883b6e Merge remote-tracking branch 'upstream/stable' into fedora/36 2022-12-15 05:46:03 -05:00
necro-nemsis
2bb1118a89 Merge stable branch and bump version 2022-12-15 05:32:49 -05:00
Jason Rhinelander
81a61f3d03
Merge pull request #2080 from oxen-io/dev
0.9.11 release
2022-11-29 14:06:18 -04:00
Jason Rhinelander
8959e84595
Merge pull request #2079 from jagerman/bump-deps
Version bump for new release
2022-11-29 13:58:58 -04:00
Jason Rhinelander
d9d3041dce
Bump version for fix release
In retrospect the last release really should have been called 0.10.0 and
this should be 0.10.1, but too late now.
2022-11-29 12:42:40 -04:00
Jason Rhinelander
c3d212054a
Update deps to latest versions 2022-11-29 12:42:40 -04:00
majestrate
e1f1b8b1c7
Merge pull request #2066 from jagerman/another-obsolete-bs
Remove another obsolete bootstrap
2022-11-27 13:27:38 -05:00
majestrate
9edda9f101
Merge pull request #2055 from jagerman/fix-option-names
Fix missing option names, make [lokid]:rpc required
2022-11-27 13:27:32 -05:00
majestrate
2c6e2e9472
Merge pull request #2076 from tewinget/more-verbose-logging
Fix Windows DNS issues
2022-11-24 09:38:13 -05:00
Thomas Winget
1e29465237 fix missing namespace 2022-11-22 18:39:22 -05:00
Thomas Winget
c4c81cc9f8 I hate clang-format sometimes 2022-11-22 18:33:12 -05:00
Thomas Winget
3d71bbd1e4 log func should return a string instead 2022-11-22 17:59:54 -05:00
Thomas Winget
d44ad497fd rvalue ref -> value 2022-11-22 17:48:03 -05:00
Thomas Winget
548ce5c3a2 invert packet direction on WINDIVERT_ADDRESS
We simply keep the WINDIVERT_ADDRESS struct given on recv, so when
using it for send we need to invert the direction (the Output bit)
2022-11-22 16:36:33 -05:00
Thomas Winget
5238c3f1a0 force windivert to recalc IP checksum 2022-11-22 16:36:33 -05:00
Thomas Winget
133cee0fd9 Remove obsolete/extraneous WouldLoop function
The DNS resolver code should not and can not be responsible for
preventing packet looping.
2022-11-22 16:36:33 -05:00
Thomas Winget
a518e654c5 add much logging around dns and windivert 2022-11-22 16:36:33 -05:00
Jason Rhinelander
e8d1361865
Remove another obsolete bootstrap
I found another defunct obsolete boostrap file on a few foundation
service nodes; this adds it to the list.
2022-11-18 16:00:12 -04:00
Jason Rhinelander
5345c60b30
Merge pull request #2065 from Bilb/fix-min-height-gui
fix: allow GUI window height as low as 600 for small screens
2022-11-17 19:47:14 -04:00
Audric Ackermann
c57d8ef091 fix: allow GUI window height as low as 600 for small screens 2022-11-18 10:00:32 +11:00
Jason Rhinelander
f9db657f64
Make Default&Required or Required&Hidden compilation failures
Default & Required makes no sense: if we have a default it makes no
sense to make it required.  The previous behaviour when this was
specified was to force an (uncommented) value in the config with the
value, but this was only used in the test suite.

Required & Hidden makes no sense either: if it's required to be
specified we definitely don't want to hide it from the generated config
file.

These are now compile-time failures.
2022-11-15 13:15:54 -04:00
Jason Rhinelander
68bb74a95d
Make [lokid]:rpc setting required in SN mode
When running as a service node we can't do anything without a lokid rpc
URL, and we don't necessarily have a good default for it.

This makes it required so that we fail with an appropriate error message
(rather than connect timeouts) if it is not specified.
2022-11-15 13:14:15 -04:00
Jason Rhinelander
c8ce78315d
Fix missing option names
At some point between 0.9.9 and 0.9.10 we removed the printing of option
names when a value doesn't have a default, but this means the config is
littered with things like:

    # This option sets the greater foo value.

with no actual option name printed out when there is no default.

This fixes it by always printing the option name in such a case, just
with an empty value, e.g.:

    # This option sets the greater foo value.
    #big-foo=
2022-11-15 13:11:11 -04:00
Jason Rhinelander
1e5e34bd24
Merge pull request #2052 from oxen-io/dev
v0.9.10
2022-11-10 22:33:47 -04:00
Jason Rhinelander
7906fac4f0
Merge pull request #2053 from jagerman/mac-dmg-bg
Make dmg background retina capable
2022-11-10 22:33:26 -04:00
Jason Rhinelander
7f3cb0ff38 Make dmg background retina capable
The bg has to get encoded in a multi-format TIFF to make it work.

Also increase the vertical size a bit so that it still looks okay in
case you are a crazy person with a bunch of toolbars and other junk
cluttering up the window.
2022-11-10 20:32:23 -04:00
majestrate
4b5ab4bde3
Merge pull request #2051 from jagerman/mac-dmg-bg
Add mac .dmg background
2022-11-10 13:33:44 -05:00
Jason Rhinelander
135664ccb0 Add mac .dmg background 2022-11-09 20:46:37 -04:00
majestrate
27fd4d8faf
Merge pull request #2049 from majestrate/add-omitted-header-2022-11-08
add omitted header
2022-11-09 17:37:20 -05:00
Thomas Winget
bb14a7bd09
when in rome, remove duplicate includes 2022-11-09 10:39:01 -05:00
Jeff Becker
259114b51d
add omitted header
certain files needed to include either fstream and our shim for std::filesystem.
this includes fstream into our shim and includes this shim in places
that require fstream. this is done because some toolchains (cough
cough broke af arch linux amalgums) can have weird subsets of the
requirements of C++17 that overlap, except when they dont, denoted by
unknowable undisclosed circumstances.

this issue was reported by a user in the wild, and this fixes it.
2022-11-09 07:16:29 -05:00
Jason Rhinelander
77fa34ca4d Bump apple network extension sub-version 2022-11-07 10:17:07 -04:00
Jason Rhinelander
67863cd9a4
Merge branch 'dev' into stable 2022-11-04 11:36:05 -03:00
Jason Rhinelander
4f1f336e50
Bump openssl static build version 2022-11-03 20:51:02 -03:00
Jason Rhinelander
2660761ce2
Merge pull request #2047 from oxen-io/dev
lokinet v0.9.10
2022-11-03 20:38:38 -03:00
majestrate
7325878afd
Merge pull request #2048 from majestrate/simplify-ons-ready-logic-2022-11-03
simplify llarp::service::Endpoint::ReadyToDoLookup()
2022-11-03 11:14:35 -04:00
majestrate
29da2a9943
Update llarp/service/endpoint.cpp
Co-authored-by: Jason Rhinelander <jason@imaginary.ca>
2022-11-03 10:49:57 -04:00
Jeff Becker
e5efe793ca
llarp::service::Endpoint::ReadyToDoLookup()
previously we had a checking style function that passes in an optional
defaulting to nullopt as a micro optimzation, this makes the code
unnessarily obtuse.

simplify this by splitting up into 2 functions,
one for getting the unique endpoints and one for checking if the
number of them is above the minimum.

add overload for ReadyToDoLookup() that checks against constant but
can do more in the future if desired to reduce the burden on future contributors.
2022-11-03 10:00:44 -04:00
Jason Rhinelander
9dfb4a389c
Update gui subproject 2022-11-02 20:47:28 -03:00
majestrate
b67a70517d
Merge pull request #2046 from majestrate/fix-lokinet-vpn-2022-11-02
prevent throwing on no error in lokinet-vpn
2022-11-02 16:41:44 -04:00
Jeff Becker
0cf637178d
prevent throwing on no error in lokinet-vpn 2022-11-02 15:42:49 -04:00