Simon Zolin
71ce0c6da9
* clients: multiple IP, CIDR, MAC addresses
...
+ /clients/find
* clients: move code for config read/write
* clients: move HTTP handlers
2019-11-29 16:52:32 +03:00
Simon Zolin
dc2c68b1e4
* use Go v1.13
2019-11-25 14:10:28 +03:00
Simon Zolin
a59e346d4a
* dnsfilter: major refactoring
...
* dnsfilter is controlled by package home, not dnsforward
* move HTTP handlers to dnsfilter/
* apply filtering settings without DNS server restart
* use only 1 goroutine for filters update
* apply new filters quickly (after they are ready to be used)
2019-10-09 20:05:21 +03:00
Andrey Meshkov
33ae359cc1
*: change initDNSServer method, add getDataDir
2019-10-02 16:53:23 +03:00
Simon Zolin
adb422fedf
filtering: refactor; change API; add "filters_update_interval" setting
...
+ config: "filters_update_interval"
* add /control/filtering_info
* remove /control/filtering/enable
* remove /control/filtering/disable
* add /control/filtering_config
* remove /control/filtering/status
* add /control/filtering/set_url
* remove /control/filtering/enable_url
* remove /control/filtering/disable_url
2019-09-12 18:38:13 +03:00
Simon Zolin
24bb708b21
+ config: add certificate_path, private_key_path
...
* POST /control/tls/configure: support certificate_path and private_key_path
2019-08-30 19:18:14 +03:00
Andrey Meshkov
c82e93cfc7
-(dnsforward): fixed sigsegv when protection is disabled
...
Also, fixed all golint issues
✅ Closes : #941
2019-08-20 00:55:32 +03:00
Simon Zolin
e81a9c7d56
+ dnsfilter: use global and per-client BlockedServices array
2019-08-05 14:12:22 +03:00
Simon Zolin
b8444ff46a
* minor
2019-07-19 12:18:16 +03:00
Simon Zolin
5e309a7b3a
* move "httpServer" to "config"
2019-07-19 12:18:16 +03:00
Simon Zolin
2780ace63e
* move "httpsServer" to "config"
2019-07-19 12:18:16 +03:00
Simon Zolin
f79008d9d0
* move "pidFileName" to "config"
2019-07-19 12:18:16 +03:00
Simon Zolin
c426ee0108
* move "client", "transport" to "config"
2019-07-19 12:18:16 +03:00
Simon Zolin
d51f43e27a
* clients: move container object to "config"
...
Now the functions use parameter, not a global object.
2019-07-17 19:29:45 +03:00
Simon Zolin
131aa4c93c
- service stop: fix race
...
Service Stop handler sends SIGINT to the main thread,
which begins the stops the app.
2019-07-02 12:56:23 +03:00
Andrey Meshkov
f1e6a30931
Fix version/channel linking
2019-06-20 14:36:26 +03:00
Simon Zolin
dc682763ff
* move ./*.go files into ./home/ directory
2019-06-10 11:51:53 +03:00