Commit Graph

6040 Commits

Author SHA1 Message Date
Stephen Shelton
dd9ab0f1d5
Remove ability to have multiple endpoints/snodes from config 2020-05-04 11:07:21 -04:00
Stephen Shelton
b7451b7632
Rip out tag, prefetch tags/addrs from Endpoint 2020-05-04 11:06:47 -04:00
Stephen Shelton
1d12e9d14e
Lokinet_INIT() is already checked in main(), so remove from config 2020-05-04 11:06:47 -04:00
Stephen Shelton
3198a8b139
Handle blacklist-snode validation in config 2020-05-04 11:06:47 -04:00
Stephen Shelton
fde93ac02d
Don't take EndpointConfig by value 2020-05-04 11:06:18 -04:00
Stephen Shelton
2730491641
Remove NetworkConfig's freehand options 2020-05-04 11:06:18 -04:00
Stephen Shelton
daf599b032
Update comment about ExitEndpoint config TODO 2020-05-04 11:05:52 -04:00
Stephen Shelton
2bc908cd40
Remove [dns]:local-dns in favor of [dns]:bind 2020-05-04 11:05:52 -04:00
Stephen Shelton
779658edd0
Refactor ExitEndpoint's config, mv dns ops from [network] to [dns] 2020-05-04 11:05:51 -04:00
Stephen Shelton
21ad442b55
Remove NetConfig_t 2020-05-04 11:05:51 -04:00
Stephen Shelton
df01770466
Rename SnappConfig -> EndpointConfig 2020-05-04 11:05:51 -04:00
Stephen Shelton
93b35c92a7
Eradicate service::Config 2020-05-04 11:05:51 -04:00
Stephen Shelton
cbd93fcb09
Find "-snapp" conf sections, add more snapp conf options 2020-05-04 11:03:53 -04:00
Jason Rhinelander
d901943593
Merge pull request #1250 from jagerman/cpp17
C++17
2020-05-01 20:22:42 -03:00
Jason Rhinelander
3efaf9ff76 Add string header (reportedly needed for libc++) 2020-05-01 19:41:20 -03:00
Jason Rhinelander
5cf2126bb9 make format 2020-05-01 19:25:32 -03:00
Jason Rhinelander
1697bf90fe C++17
Compiles with C++17, replaces ghc::filesystem with std::filesystem,
nonstd::optional with std::optional, and llarp::string_view with
std::string_view.
2020-05-01 17:43:27 -03:00
Jeff
5a2141bae8
Merge pull request #1248 from notlesh/config-fixes-2020-04-29
Config fixes 2020 04 29
2020-04-29 16:59:19 -04:00
Stephen Shelton
f0f9b1abdd
Allow 0 as outbound port 2020-04-29 14:23:50 -06:00
Stephen Shelton
f8439dab61
Misc aesthetic tweaks 2020-04-29 14:19:48 -06:00
Stephen Shelton
7d83611a0a
Default outbound port to 0, not 1090 2020-04-29 14:19:35 -06:00
Stephen Shelton
c4de0f8493
Add more ignored config options 2020-04-29 13:42:06 -06:00
Stephen Shelton
517922e4c3
Reintroduce support for configurable key files 2020-04-29 13:41:39 -06:00
Stephen Shelton
5c6c7c7020
Expand on ConfigDefinition truthy/falsy unit test 2020-04-29 12:40:29 -06:00
Stephen Shelton
320564d792
Specialize ConfigOption for bool to accept "truthy" / "falsy" values 2020-04-29 12:32:07 -06:00
Stephen Shelton
331770b348
Add ability to tolerate (ignore) old config options
This allows us to explicitly ignore (with a warning) old options
that are no longer supported.
2020-04-29 10:47:51 -06:00
Stephen Shelton
cdd4439cff
Temporary fix for [dns]bind and [dns]local-dns 2020-04-29 10:10:33 -06:00
Stephen Shelton
936fbb2424
Fix config not falling back to undeclared handler for missing option 2020-04-29 09:41:07 -06:00
Jason Rhinelander
7ce8e4a830
Merge pull request #1234 from notlesh/i-love-apple-2020-04-21
Fix DNS "claiming" on Mac when no explicit DNS is set
2020-04-27 00:52:49 -03:00
Jeff
20dfd11d4e
Merge pull request #1245 from notlesh/potential-router-hive-fixes-post-config-cleanup-2020-04-24
Some maybe-fixes for RouterHive post config cleanup
2020-04-24 13:19:17 -04:00
Stephen Shelton
526b1320b7
Some maybe-fixes for RouterHive post config cleanup 2020-04-24 11:18:25 -06:00
Jeff
54a7843bc5
Merge pull request #1186 from notlesh/config-cleanup-2020-03-13
Config cleanup
2020-04-24 12:49:08 -04:00
Jeff
0d6d0ec7b2
Merge pull request #1239 from jagerman/restore-dns-via-signal-handler
More macos hacks
2020-04-24 12:12:07 -04:00
Jeff
245c0004dd
Merge pull request #1243 from majestrate/fix-windows-ci-2020-04-22
fix ci for win32
2020-04-22 13:08:53 -04:00
Jeff Becker
783e72da73
fix ci for win32 2020-04-22 12:55:05 -04:00
Jeff
0fcb7380c5
Merge pull request #1240 from majestrate/fix-win32-build-for-ci-2020-04-22
fix ci for win32
2020-04-22 12:53:16 -04:00
Jeff
1b7fa7c978
Merge pull request #1242 from jagerman/fix-systemd-dev
No LINUX variable in cmake
2020-04-22 11:43:43 -04:00
Jeff
0048badcf9
Merge pull request #1241 from jagerman/fix-systemd
No LINUX variable in cmake
2020-04-22 11:43:35 -04:00
Jason Rhinelander
6080a9427b No LINUX variable in cmake
Just let the pkg_check fail when libsystemd isn't install; it shouldn't
hurt anything.
2020-04-22 12:02:05 -03:00
Jason Rhinelander
d8858361f4 No LINUX variable in cmake
Just let the pkg_check fail when libsystemd isn't install; it shouldn't
hurt anything.
2020-04-22 12:00:09 -03:00
Jeff Becker
2f97b98945
fix ci for win32 2020-04-22 08:28:25 -04:00
Jason Rhinelander
1a552d580e More macos uninstall hackery 2020-04-22 00:04:13 -03:00
Jason Rhinelander
86a67db87a After touching, macos needs some sleep 2020-04-21 23:39:25 -03:00
Jason Rhinelander
2be546557f Touch the magic file 2020-04-21 23:14:41 -03:00
Jason Rhinelander
d48a54363d Restore DNS via signal handler
If we get signalled we still want to run it, but a signal on the script
could result in us exiting early.
2020-04-21 22:55:11 -03:00
Jason Rhinelander
9ce38fe54f
Merge pull request #1238 from notlesh/mac-uninstall-permissions-into-dev-2020-04-21
Use install(PROGRAMS... instead of isntall(FILES...
2020-04-21 20:40:13 -03:00
Stephen Shelton
67f023cf8a
Use install(PROGRAMS... instead of isntall(FILES... 2020-04-21 17:37:10 -06:00
Stephen Shelton
04bba0f415
Merge pull request #1237 from notlesh/install-mac-script-with-execute-2020-04-21
Use install(PROGRAMS... instead of install(FILES...
2020-04-21 17:34:49 -06:00
Stephen Shelton
55ff55eec0
Use install(PROGRAMS... instead of isntall(FILES...
@ mac uninstall script
2020-04-21 17:11:21 -06:00
Jason Rhinelander
ffae1a7f11
Merge pull request #1236 from jagerman/macos-deployment-target-dev
Set -mmacosx-version-min the cmake way
2020-04-21 20:08:18 -03:00