Simon Zolin
|
fd592b4dc8
|
+ whois: add WHOIS information for a client
+ return WHOIS info in GET /clients response
|
2019-09-23 18:12:54 +03:00 |
|
Simon Zolin
|
07fa9bb47c
|
* minor
|
2019-09-19 12:47:55 +03:00 |
|
Andrey Meshkov
|
4e76013334
|
*(home): fix golint issues
|
2019-09-19 12:47:55 +03:00 |
|
Simon Zolin
|
d7f256ba7f
|
- fix crash after stats module is closed
Close DNS forward module BEFORE stats.
|
2019-09-19 12:47:55 +03:00 |
|
Simon Zolin
|
a71521a658
|
+ config: upgrade from v4 to v5
|
2019-09-19 12:47:55 +03:00 |
|
Simon Zolin
|
6304a7b91b
|
+ Login page and web sessions
+ /control/login
+ /control/logout
|
2019-09-19 12:47:55 +03:00 |
|
Simon Zolin
|
b8a98c1a77
|
* stats: pass configuration object via stats.New()
|
2019-09-16 16:17:39 +03:00 |
|
Simon Zolin
|
93babd3e1c
|
+ clients: runtime list: add clients from DHCP that have non-empty Hostname property
|
2019-09-16 13:06:32 +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
|
8104c902ee
|
* querylog: move code to a separate package
+ config: "querylog_interval" setting
/control/querylog_config, /control/querylog_info
+ POST /control/querylog_clear
|
2019-09-12 18:35:13 +03:00 |
|
Simon Zolin
|
04e2566e9e
|
* stats: use uint32 or uint64 integer values, not int
|
2019-09-12 17:53:27 +03:00 |
|
Simon Zolin
|
8a2aa57e24
|
- /stats_config: write config
|
2019-09-12 14:48:24 +03:00 |
|
Simon Zolin
|
97684368b9
|
- stats: use --workdir
|
2019-09-12 14:48:13 +03:00 |
|
Simon Zolin
|
b078b82a89
|
* filter update: ensure filter data is text (but not html)
stop checking Content-Type HTTP header
|
2019-09-10 15:22:17 +03:00 |
|
Simon Zolin
|
4a58266ba3
|
+ statistics: store in separate file
+ GET /control/stats handler
|
2019-09-04 10:12:02 +03:00 |
|
Simon Zolin
|
60eb55bdce
|
* stats: remove old code
|
2019-09-04 10:12:01 +03:00 |
|
Simon Zolin
|
fe23b33d7e
|
+ config: "statistics_interval" setting
|
2019-09-04 10:12:01 +03:00 |
|
Simon Zolin
|
cc2654c371
|
+ /control/stats_config, /control/stats_info
|
2019-09-04 10:12:01 +03:00 |
|
Simon Zolin
|
c616259e8b
|
* dnsfilter: use golibs/cache
+ config: add cache size settings
+ config: add cache_time setting
|
2019-09-02 19:12:53 +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 |
|
Ildar Kamalov
|
bdd86adac5
|
+ blocked_services: add tiktok main domain
|
2019-08-29 11:45:39 +03:00 |
|
Ildar Kamalov
|
eb524e27a6
|
+ blocked_services: add tiktok
|
2019-08-29 11:39:04 +03:00 |
|
Simon Zolin
|
d4c012220e
|
* control: add link to the issue on github
|
2019-08-27 11:53:09 +03:00 |
|
Simon Zolin
|
815489c0ff
|
* /control/version.json: retry up to 3 times after DNS resolve of static.adguard.com has failed
|
2019-08-26 16:02:56 +03:00 |
|
Simon Zolin
|
452a668a5b
|
* control: refactor: all handlers are registered via httpRegister()
* move some code to home/control_filtering.go
|
2019-08-21 14:52:57 +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
|
8e08cddf64
|
+ dhcp: use --workdir value for "leases.db" file path
|
2019-08-19 14:40:10 +03:00 |
|
Simon Zolin
|
d46ebe1c8b
|
Revert "+ config: add cache size settings"
This reverts commit 81303b5db7 .
|
2019-08-16 15:17:38 +03:00 |
|
Simon Zolin
|
ea2a523f8c
|
Merge: * config: set default DNS server as IP addresses
Close #926
* commit '9d7285e42c61852ab5106402b0138ef27dbc5b0f':
* config: set default DNS server as IP addresses
|
2019-08-13 13:48:12 +03:00 |
|
Simon Zolin
|
9d7285e42c
|
* config: set default DNS server as IP addresses
* config: add "1.0.0.1" to default bootstrap addresses
|
2019-08-13 11:52:06 +03:00 |
|
Simon Zolin
|
8b63811fa9
|
* filters update: increase update period to 24 hours
|
2019-08-13 10:30:28 +03:00 |
|
Simon Zolin
|
d659e7ee08
|
* rDNS: make log messages' level = debug
|
2019-08-08 12:11:24 +03:00 |
|
Simon Zolin
|
4f08f96607
|
* rDNS: refactor: move code to a separate file
|
2019-08-08 12:10:50 +03:00 |
|
Simon Zolin
|
e7001c3bc4
|
* config upgrade: sequential processing
|
2019-08-05 14:12:22 +03:00 |
|
Simon Zolin
|
1b95a85651
|
* config: upgrade schema version: 3 -> 4
|
2019-08-05 14:12:22 +03:00 |
|
Simon Zolin
|
dc2d8cf075
|
+ /control/blocked_services/* API
|
2019-08-05 14:12:22 +03:00 |
|
Simon Zolin
|
e81a9c7d56
|
+ dnsfilter: use global and per-client BlockedServices array
|
2019-08-05 14:12:22 +03:00 |
|
Simon Zolin
|
04a477c14a
|
+ clients: add BlockedServices field
|
2019-08-05 14:12:22 +03:00 |
|
Simon Zolin
|
8307a5a494
|
+ config: store/load "blocked_services" per-client setting
|
2019-08-05 14:12:22 +03:00 |
|
Simon Zolin
|
9857024c5d
|
+ control: add /rewrite/* handlers
|
2019-07-29 11:48:24 +03:00 |
|
Simon Zolin
|
81303b5db7
|
+ config: add cache size settings
|
2019-07-23 15:57:44 +03:00 |
|
Simon Zolin
|
b8444ff46a
|
* minor
|
2019-07-19 12:18:16 +03:00 |
|
Simon Zolin
|
6701e9ce06
|
* move "dnsctx" to "config"
|
2019-07-19 12:18:16 +03:00 |
|
Simon Zolin
|
af21a5f17b
|
* move "dnsServer" to "config"
|
2019-07-19 12:18:16 +03:00 |
|
Simon Zolin
|
001b4b981f
|
* move "dhcpServer" to "config"
|
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
|
d3ddfc81a6
|
* move "versionCheckJSON" 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 |
|