Commit Graph

1724 Commits

Author SHA1 Message Date
Simon Zolin ff0b4fa3b5 Merge: - rewrites: AAAA rewrites didn't work
Close #989

* commit 'f4c29715b553b00561c7c7d68005350a5be1bf5a':
  - rewrites: AAAA rewrites didn't work
2019-09-17 12:29:04 +03:00
Ildar Kamalov 0a26ee4224 - client: fix upstream DNS servers form
Closes #1000
2019-09-17 12:25:29 +03:00
Simon Zolin f4c29715b5 - rewrites: AAAA rewrites didn't work 2019-09-16 16:28:00 +03:00
Simon Zolin b8a98c1a77 * stats: pass configuration object via stats.New() 2019-09-16 16:17:39 +03:00
Ildar Kamalov 48a4df1a9f Merge: - client: fix url change handler on filters modal
* commit '92561cf04f631cb65fcddf80838252d9b34b8e4a':
  - client: fix url change handler on filters modal
2019-09-16 15:18:23 +03:00
Simon Zolin 3862662201 Merge: + clients: runtime list: add clients from DHCP that have non-empty Hostname property
Close #979

* commit '0c2611ff978e55ee1d6f4dd54b9edd54a3fe5909':
  * minor
  + clients: runtime list: add clients from DHCP that have non-empty Hostname property
2019-09-16 13:54:56 +03:00
Simon Zolin 0c2611ff97 * minor 2019-09-16 13:06:32 +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
Ildar Kamalov 92561cf04f - client: fix url change handler on filters modal 2019-09-13 15:02:12 +03:00
Simon Zolin 9a28526fa3 Merge: - stats: fix crash on load
Close #999

* commit '8b7d08ebfc1b389c301300f6bad7368e85617921':
  - stats: fix crash on load
2019-09-13 13:10:46 +03:00
Simon Zolin 8b7d08ebfc - stats: fix crash on load 2019-09-13 12:58:57 +03:00
Simon Zolin 30ca77303b Merge: Add Filters Update Interval setting; refactor
Close #641

* commit 'd0fc1dc54dfbc017f28c6c0afa4623c6259af557':
  + client: handle filters configuration
  * openapi: update /filtering
  filtering: refactor;  change API;  add "filters_update_interval" setting
2019-09-12 19:06:39 +03:00
Simon Zolin df5b41458f Merge: + dnsforward: disable Mozilla DoH - block use-application-dns.net
#988

* commit '47e29f96dfb9f254babcf4763912dc5e9a07ee2a':
  + dnsforward: disable Mozilla DoH - block use-application-dns.net
2019-09-12 19:05:29 +03:00
Simon Zolin 7b46f82fad Merge: Query log: add "interval" setting; add "clear log" button
#776 Close #446

* commit '8c89973365e660d47fa5fce88113414011961acb':
  - client: fix api client export
  - client: fix id and method name
  + client: handle logs configuration
  + openapi: /querylog_info, /querylog_config, /querylog_clear
  + doc: Relations between subsystems
  * querylog: move code to a separate package
2019-09-12 18:58:18 +03:00
Simon Zolin 47e29f96df + dnsforward: disable Mozilla DoH - block use-application-dns.net 2019-09-12 18:56:11 +03:00
Ildar Kamalov d0fc1dc54d + client: handle filters configuration 2019-09-12 18:38:13 +03:00
Simon Zolin 57bb04685f * openapi: update /filtering 2019-09-12 18:38:13 +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
Ildar Kamalov 8c89973365 - client: fix api client export 2019-09-12 18:35:13 +03:00
Ildar Kamalov 0e6c795c5b - client: fix id and method name 2019-09-12 18:35:13 +03:00
Ildar Kamalov a753ae86cc + client: handle logs configuration 2019-09-12 18:35:13 +03:00
Simon Zolin 27f895cf46 + openapi: /querylog_info, /querylog_config, /querylog_clear 2019-09-12 18:35:13 +03:00
Simon Zolin 05bb705e43 + doc: Relations between subsystems 2019-09-12 18:35: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 8f9ca4cba7 Merge: Fix stats module
* commit 'f9091472d790e5e340d0890906f51ef82720e7da':
  - openapi: fix
  - stats: fix incorrect loading of counters from file
  * stats: use uint32 or uint64 integer values, not int
  - /stats_config: write config
  - stats: use --workdir
2019-09-12 18:01:59 +03:00
Simon Zolin f9091472d7 - openapi: fix 2019-09-12 17:53:27 +03:00
Simon Zolin ce614ab8bf - stats: fix incorrect loading of counters from file 2019-09-12 17:53:27 +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 d0dcaeaa04 Merge: i386/linux: don't build binary with sse
Close #996

* commit '4b2a2615cbb14c7297707104789a5983f7f1bada':
  i386/linux: don't build binary with sse
2019-09-11 16:46:22 +03:00
Simon Zolin 2356ae5bdd Merge: * filter update: ensure filter data is text
Close #527

* commit 'b078b82a89940bd96c7e9157c2f5c758224a72ae':
  * filter update: ensure filter data is text (but not html)
2019-09-11 16:45:56 +03:00
Andrey Korolyov 4b2a2615cb i386/linux: don't build binary with sse
The vast majority of today's x86 routers are amd64-based, and the rest are probably either
very old computers or specialized hardware such as PCEngines' ALIX series. For Go language,
adding GO386=387 disables SSE optimizations made by a compiler, effectively allowing binary
to run on old CPUs such as SC1100 or Geode LX.
2019-09-11 16:25:40 +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
Ildar Kamalov ad96d061a0 Merge: + client: update github issues link
* commit 'dba3c9aef1160e1fa1e4dbf99dbce5dbd0854b6d':
  + client: update github issues link
2019-09-09 14:43:28 +03:00
Ildar Kamalov dba3c9aef1 + client: update github issues link
Closes #990
2019-09-09 11:59:53 +03:00
Simon Zolin e346eddf94 Merge: new Statistics module
Close #827

* commit '17a26155cdf0150ea9d8cf915311f16fafa6354a':
  - client: convert average processing time to milliseconds
  + client: handle clear statistics
  + client: update time interval notice
  + client: add notice to the time interval input
  + client: functional components for dashboard
  * client: fix missed translations
  * client: change the result message after adding a filter
  + client: handle the new statistics format
  + client: handle time interval for statistics
  + openapi: add /stats_config, /stats_info methods
  * openapi: update /stats method
  + statistics: store in separate file
  * stats: remove old code
  + config: "statistics_interval" setting
  + /control/stats_config, /control/stats_info
2019-09-04 12:39:42 +03:00
Ildar Kamalov 17a26155cd - client: convert average processing time to milliseconds 2019-09-04 10:14:01 +03:00
Ildar Kamalov 63049e0521 + client: handle clear statistics 2019-09-04 10:14:01 +03:00
Ildar Kamalov 883910c19e + client: update time interval notice 2019-09-04 10:14:01 +03:00
Ildar Kamalov cac8149d47 + client: add notice to the time interval input 2019-09-04 10:14:00 +03:00
Ildar Kamalov 6bce41bb0a + client: functional components for dashboard 2019-09-04 10:13:51 +03:00
Ildar Kamalov 75df5e8292 * client: fix missed translations
Closes #952
2019-09-04 10:13:21 +03:00
Ildar Kamalov 9087df5dcd * client: change the result message after adding a filter
Closes #948
2019-09-04 10:13:21 +03:00
Ildar Kamalov 6b2496d050 + client: handle the new statistics format 2019-09-04 10:13:21 +03:00
Ildar Kamalov 011bc3e36b + client: handle time interval for statistics 2019-09-04 10:13:18 +03:00
Simon Zolin 7ff27dbb42 + openapi: add /stats_config, /stats_info methods 2019-09-04 10:12:02 +03:00
Simon Zolin 55ceca6314 * openapi: update /stats method 2019-09-04 10:12:02 +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