Simon Zolin
b8d9ca942c
- app: fix crash on starting DNS server after installation
2019-05-31 16:39:18 +03:00
Simon Zolin
8f7aff93d7
+ clients: config: save/restore clients info array
2019-05-28 18:44:27 +03:00
Simon Zolin
f25639f1fc
+ app: disable new version check and auto-update by command line switch
2019-05-27 18:48:33 +03:00
Simon Zolin
068072bc5a
* go linter
2019-05-17 15:39:56 +03:00
Simon Zolin
28440fc3ac
+ set config.runningAsService
2019-05-17 15:37:38 +03:00
Simon Zolin
3ee8051e97
* app: optimize config file reading
...
* read config file just once (even when upgrading)
* don't call os.Stat()
2019-05-17 15:37:38 +03:00
Alexander Turcic
07ffcbec3d
* dnsforward, config: add unspecified IP blocking option
...
* dnsforward: prioritize host files over null filter
* dnsforward, config: adjust setting variable to blocking_mode
* dnsforward: use net.IPv4zero for null IP
2019-05-14 16:53:06 +03:00
Simon Zolin
c8e4f61534
Merge: + config: add "rlimit_nofile" setting - Maximum number of opened fd's per process
...
* commit '1f1e26f67b00ee4983c65e4e3aabf59a488f687b':
+ config: add "rlimit_nofile" setting - Maximum number of opened fd's per process
2019-04-15 18:34:53 +03:00
Simon Zolin
d43290fe31
+ config: set default parameters for DHCP server
2019-04-04 17:13:51 +03:00
Simon Zolin
1f1e26f67b
+ config: add "rlimit_nofile" setting - Maximum number of opened fd's per process
2019-03-28 13:56:12 +03:00
Andrey Meshkov
7ebfaccc6e
Merge with master
2019-03-22 10:36:48 +03:00
Simon Zolin
a2e9d69452
* use golibs v0.1.1: file.SafeWrite()
2019-03-15 13:56:45 +03:00
Aleksey Dmitrevskiy
70c56f7a18
+ app, config: add symlink support, allow to specify absolute path in log_file
2019-03-15 11:49:58 +03:00
Ildar Kamalov
b74eded414
Merge branch 'master' into fix/596
2019-03-11 11:07:28 +03:00
Aleksey Dmitrevskiy
0b96bd17c4
Fix #621 - [change] config: change the default MalwareDomainList URL protocol
2019-03-07 19:12:41 +03:00
Aleksey Dmitrevskiy
c8c663f3f0
[change] config: fix default upstreams list
2019-03-07 12:04:22 +03:00
Aleksey Dmitrevskiy
bc4c2e2ff7
Merge branch 'master' into fix/596
2019-03-06 18:25:42 +03:00
Aleksey Dmitrevskiy
f2e547a54e
[change] config, control, openapi: fix issues from reviw
2019-03-06 16:17:15 +03:00
Aleksey Dmitrevskiy
81e88472cb
Merge branch 'fix/542' into fix/596
2019-02-28 11:16:03 +03:00
Aleksey Dmitrevskiy
967a1e6b87
Merge branch 'master' into fix/596
2019-02-27 18:56:36 +03:00
Aleksey Dmitrevskiy
ffa4429818
Merge branch 'master' into fix/542
2019-02-27 18:47:01 +03:00
Simon Zolin
99c8cd06c9
Merge remote-tracking branch 'origin/master' into feature/600
2019-02-27 18:40:22 +03:00
Simon Zolin
5ad9f8ead2
* tlsConfigStatus.usable is public, renamed ("ValidPair") and is exported to json ("valid_pair")
2019-02-27 17:36:02 +03:00
Simon Zolin
5cb6d97cd7
* use new logger - AdguardTeam/golibs/log
2019-02-27 15:02:11 +03:00
Andrey Meshkov
bd31151c1f
More platforms
2019-02-27 12:41:37 +03:00
Aleksey Dmitrevskiy
dc05556c5a
Fix #542 - Add Bootstrap DNS resolver settings
2019-02-27 11:15:18 +03:00
Aleksey Dmitrevskiy
5bc6d00aa0
Fix #596 - Intelligent Optimal DNS Resolution
2019-02-26 18:19:05 +03:00
Andrey Meshkov
4e1c1618cb
Added install methods to openapi.yaml
...
Print all net interfaces when bind_host is 0.0.0.0
2019-02-22 17:59:42 +03:00
Andrey Meshkov
251beb24d3
Added openapi description
2019-02-21 17:33:46 +03:00
Eugene Bujak
3c374b5940
/tls/ -- add internal usable flag to simplify logic when https needs to be booted up
2019-02-19 15:21:38 +03:00
Eugene Bujak
ba103f9825
/tls/ -- add ValidCert, without it being true https is not usable
2019-02-19 15:21:19 +03:00
Ildar Kamalov
05cce8b107
Added validation on change and enable encryption checkbox
2019-02-18 16:06:27 +03:00
Eugene Bujak
cb97c221fd
/tls/validate and /tls/configure -- do checks on private key, add more fields to certificate status, do keypair check last.
2019-02-15 16:28:28 +03:00
Eugene Bujak
81bb4aea78
/tls/configure and /tls/status -- now there's an explicit 'enabled' bool.
2019-02-15 16:28:28 +03:00
Eugene Bujak
e8280c60d8
/tls/status — Add not_after
field with a valid certificate expiration date.
2019-02-15 16:28:28 +03:00
Eugene Bujak
571be68733
Validate certificates and update certificate statuses on launch as well.
2019-02-15 16:28:28 +03:00
Eugene Bujak
28df187012
/tls/configure -- restart HTTPS server if settings changed
...
Fixes not using new HTTPS certificate after submitting it.
2019-02-15 16:28:28 +03:00
Eugene Bujak
57a33654f7
Certificate that doesn't go through the chain is not fatal, just send the warning over json.
2019-02-15 16:28:28 +03:00
Eugene Bujak
229ef78085
Activate DNS-over-TLS server when certificates, keys and ports are configured.
2019-02-15 16:28:28 +03:00
Eugene Bujak
0d3aa00956
Default values for DoH and DoT ports
2019-02-15 16:28:28 +03:00
Eugene Bujak
3d3e0784ea
tls/configure -- Backend implementation of parsing user certs
2019-02-15 16:28:27 +03:00
Eugene Bujak
c19416bf8e
Move up tls block in config, don't send json with zero values
2019-02-15 16:28:27 +03:00
Eugene Bujak
8725c1df7a
Add stub OpenAPI methods
2019-02-15 16:28:26 +03:00
Andrey Meshkov
9ff420bb52
Do not store last_updated in the config file anymore
2019-02-10 21:44:16 +03:00
Andrey Meshkov
9a03190a62
Fix #579
...
1. Added --workdir command-line argument that lets configure the working dir.
2. Made "dnsforward" use this workdir parameter when saving/reading querylog.
3. Reworked "dnsforward" -- moved http handlers out of there to control.go
2019-02-10 20:47:43 +03:00
Eugene Bujak
68c8a4d484
Demote some log.printf into log.tracef
2019-02-07 18:24:43 +03:00
Eugene Bujak
672ff33879
Default listening to 0.0.0.0 for first-time setup
2019-02-06 17:28:09 +03:00
Eugene Bujak
302c3a767a
Initial implementation of welcome/firstrun/installer page in go backend
2019-02-06 17:21:23 +03:00
Andrey Meshkov
0fbfa057b1
Get rid of hardcoded binary name
2019-02-05 20:35:48 +03:00
Andrey Meshkov
277415124e
AdGuard Home as a system service
...
1. Reworked working with command-line arguments
2. Added service control actions: install/uninstall/start/stop/status
3. Added log settings to the configuration file
4. Updated the README file
2019-02-04 13:54:53 +03:00