Commit Graph

  • 56271819ea - control: filtering/add_url: don't call httpError() twice on error while reconfiguring Simon Zolin 2019-03-18 12:38:37 +03:00
  • a9b329daf6 - control: use locks when operating on config.Filters array Simon Zolin 2019-03-18 12:33:03 +03:00
  • 61b1a30aa1 * refactor: move code to loadFilters() Simon Zolin 2019-03-15 19:41:45 +03:00
  • b4732c83c5 * filter: use CRC32 to check whether filter data should be updated Simon Zolin 2019-03-15 16:49:10 +03:00
  • 783ac967a1 * filter: refactor Simon Zolin 2019-03-15 16:02:48 +03:00
  • c091d10a41 * client: update translations Ildar Kamalov 2019-03-19 16:27:23 +03:00
  • 756c5ac0d3 + client: added setup guide page and DNS addresses popover Ildar Kamalov 2019-03-19 16:19:53 +03:00
  • ef789acee4 * control: DHCP: don't return expired leases Simon Zolin 2019-03-19 15:54:35 +03:00
  • b1c11a718e Merge: * control: filtering/refresh: force update filters #537 Simon Zolin 2019-03-19 15:09:51 +03:00
  • d7b1825cf5 * control: filtering/refresh: force update filters Simon Zolin 2019-03-19 14:28:12 +03:00
  • b5eb840d22 + control: use the list of IP addresses instead of single string in "dns_address" Simon Zolin 2019-03-19 14:14:58 +03:00
  • 6f56eb4c12 Merge pull request #172 in DNS/adguard-dns from fix/525 to master Alexey Dmitrievskiy 2019-03-18 14:57:24 +03:00
  • 6b223e2992 * dnsfilter: extend logging Aleksey Dmitrevskiy 2019-03-18 14:50:33 +03:00
  • 43e5d42070 Merge branch 'master' of ssh://bit.adguard.com:7999/dns/adguard-dns Aleksey Dmitrevskiy 2019-03-15 20:15:14 +03:00
  • a58bf0e24e Merge: Fix function comments based on best practices from Effective Go; #638 Simon Zolin 2019-03-15 15:06:09 +03:00
  • f432eb3609 Fix function comments based on best practices from Effective Go CodeLingo Bot 2019-03-11 00:49:32 +00:00
  • 6e16654344 Merge: DHCP: refactoring, unit-test, readme, on-disk cache, safe restart, expiration handling; #584 #539 Simon Zolin 2019-03-15 14:52:18 +03:00
  • ef637e1313 + DHCP: step-by-step guide for test setup with Virtual Box Simon Zolin 2019-03-01 17:39:20 +03:00
  • 9494b87ca5 * control: add logs Simon Zolin 2019-03-11 16:03:34 +03:00
  • d68600c5d0 + dhcp: handle lease expiration Simon Zolin 2019-03-11 15:11:48 +03:00
  • 8fa2f48136 + dhcp: use ICMP for IP conflict detection Simon Zolin 2019-03-07 16:48:55 +03:00
  • 542a67b84e * dhcp: don't allocate a new lease when processing Request message Simon Zolin 2019-03-07 16:57:20 +03:00
  • d832d7ce95 * dhcp: don't process Discover/Request packets with empty client HW address Simon Zolin 2019-03-07 14:06:35 +03:00
  • 92cf7c1aca * dhcp: refactor Simon Zolin 2019-03-06 15:13:27 +03:00
  • b5f0d48e7f * DHCP: Stop(): wait until the worker is stopped Simon Zolin 2019-03-05 19:14:35 +03:00
  • 6f69fb73af * control: safely restart DHCP server Simon Zolin 2019-03-05 18:04:49 +03:00
  • 67014c40f7 + DHCP: On-disk database for lease table Simon Zolin 2019-03-05 17:15:38 +03:00
  • a2e9d69452 * use golibs v0.1.1: file.SafeWrite() Simon Zolin 2019-03-06 12:20:34 +03:00
  • e164cff02b + dhcp: test Simon Zolin 2019-03-01 20:03:22 +03:00
  • 08bf9b0acb * dhcp: remove code which forces an update of current lease's IP in Request message handler Simon Zolin 2019-03-01 14:48:33 +03:00
  • 60fa3b2e95 * dhcp: refactor; log client's HW addr Simon Zolin 2019-02-28 18:24:01 +03:00
  • 3f93cb3397 Merge branch 'master' of ssh://bit.adguard.com:7999/dns/adguard-dns Aleksey Dmitrevskiy 2019-03-15 11:55:34 +03:00
  • 10daf29e2f Merge: [feature] app, config: add symlink support, allow to specify absolute path in log_file; Fix #606, Fix #610 Alexey Dmitrievskiy 2019-03-15 11:55:01 +03:00
  • 70c56f7a18 + app, config: add symlink support, allow to specify absolute path in log_file Aleksey Dmitrevskiy 2019-03-14 18:06:53 +03:00
  • e9d20651e9 Fix #606, Fix #610 [change] app, config: add symlink support, allow to specify absolute path in log_file Aleksey Dmitrevskiy 2019-03-14 18:06:53 +03:00
  • 466807638c Merge pull request #168 in DNS/adguard-dns from fix/625 to master Ildar Kamalov 2019-03-14 11:30:21 +03:00
  • 991717e150 Merge pull request #166 in DNS/adguard-dns from fix/598 to master Alexey Dmitrievskiy 2019-03-13 11:22:28 +03:00
  • b1f707d18c - client: load favicon from local server Ildar Kamalov 2019-03-12 18:59:58 +03:00
  • f857ed74ec Merge pull request #154 in DNS/adguard-dns from fix/596 to master Alexey Dmitrievskiy 2019-03-12 14:30:31 +03:00
  • 2f497cf5d0 Merge pull request #167 in DNS/adguard-dns from feature/611 to master Ildar Kamalov 2019-03-12 12:30:03 +03:00
  • 21db166be0 + client: added Simplified Chinese Ildar Kamalov 2019-03-12 11:02:19 +03:00
  • d06cc0f8ee Fix #598 - [change] service: windows: register sercive to work under local system user Aleksey Dmitrevskiy 2019-03-11 19:18:18 +03:00
  • b74eded414 Merge branch 'master' into fix/596 Ildar Kamalov 2019-03-11 11:07:28 +03:00
  • ecf0b0c5c1 Merge pull request #163 in DNS/adguard-dns from feature/615 to master Ildar Kamalov 2019-03-11 11:03:02 +03:00
  • 64c2f2d89c Merge pull request #164 in DNS/adguard-dns from fix/621 to master Alexey Dmitrievskiy 2019-03-11 10:56:24 +03:00
  • 0b96bd17c4 Fix #621 - [change] config: change the default MalwareDomainList URL protocol Aleksey Dmitrevskiy 2019-03-07 19:12:41 +03:00
  • 392c16cd27 [change] control: fix issues from review Aleksey Dmitrevskiy 2019-03-07 16:32:52 +03:00
  • 10fcfefcfd * client: bulgarian language translation Ildar Kamalov 2019-03-07 12:38:17 +03:00
  • 2bd9923691 Merge branch 'fix/596' of ssh://bit.adguard.com:7999/dns/adguard-dns into fix/596 Aleksey Dmitrevskiy 2019-03-07 12:04:58 +03:00
  • c8c663f3f0 [change] config: fix default upstreams list Aleksey Dmitrevskiy 2019-03-07 12:04:22 +03:00
  • bf82ccede9 * client: typo Ildar Kamalov 2019-03-07 12:02:49 +03:00
  • 982f8dc1e1 * client: remove log Ildar Kamalov 2019-03-06 18:50:17 +03:00
  • 83877fb871 * client: fix grammar Ildar Kamalov 2019-03-06 18:39:14 +03:00
  • ac131923a2 [change] control: add upstreams validation before dns config test Aleksey Dmitrevskiy 2019-03-06 18:36:31 +03:00
  • bc4c2e2ff7 Merge branch 'master' into fix/596 Aleksey Dmitrevskiy 2019-03-06 18:25:42 +03:00
  • 1b15bee2b0 [change] control: add upstreams validation Aleksey Dmitrevskiy 2019-03-06 18:24:14 +03:00
  • 8e09424774 Merge branch 'fix/596' of ssh://bit.adguard.com:7999/dns/adguard-dns into fix/596 Aleksey Dmitrevskiy 2019-03-06 18:06:33 +03:00
  • 89b6323f03 [change] control: update bootstrap DNS check Aleksey Dmitrevskiy 2019-03-06 18:06:26 +03:00
  • cdc568d8d9 * client: remove empty elements from upstream and bootstrap Ildar Kamalov 2019-03-06 17:53:04 +03:00
  • bda6f777c4 Merge branch 'fix/596' of ssh://bit.adguard.com:7999/dns/adguard-dns into fix/596 Aleksey Dmitrevskiy 2019-03-06 17:14:58 +03:00
  • bf2781d465 * client: locales and pass object to testUpstream Ildar Kamalov 2019-03-06 16:35:21 +03:00
  • f2e547a54e [change] config, control, openapi: fix issues from reviw Aleksey Dmitrevskiy 2019-03-06 16:17:15 +03:00
  • ceaa1e4ebf [fix] control: fix json decode for upstream config Aleksey Dmitrevskiy 2019-03-06 15:35:22 +03:00
  • 5d6c980ac7 * client: upstream form Ildar Kamalov 2019-03-06 14:45:21 +03:00
  • e973c4b174 [change] control, openapi: Handle upstreams test with JSON Aleksey Dmitrevskiy 2019-03-05 12:29:52 +03:00
  • d9d641941c [change] upgrade_test: rework tests Aleksey Dmitrevskiy 2019-03-01 11:27:15 +03:00
  • d318545913 [change] upgrade_test: add test for upgrade Aleksey Dmitrevskiy 2019-02-28 20:41:18 +03:00
  • 7ec4aa91ea Merge pull request #153 in DNS/adguard-dns from fix/595 to master Alexey Dmitrievskiy 2019-02-28 18:05:27 +03:00
  • 681fb4e705 Merge pull request #160 in DNS/adguard-dns from fix/597 to master Alexey Dmitrievskiy 2019-02-28 18:05:19 +03:00
  • c443672e35 Merge pull request #157 in DNS/adguard-dns from feature/600 to master Simon Zolin 2019-02-28 18:04:37 +03:00
  • 53d680a5df Fix #597 - [bugfix] querylog_top: Empty domain gets to the Top Queried domains Aleksey Dmitrevskiy 2019-02-28 16:19:23 +03:00
  • 6b7a8078b0 * control: use single line comment Simon Zolin 2019-02-28 15:28:38 +03:00
  • 91f8ab0549 [change] control: Remove unuseful check Aleksey Dmitrevskiy 2019-02-28 15:18:51 +03:00
  • a8812908c1 [change] control: Fix issues from review Aleksey Dmitrevskiy 2019-02-28 15:06:30 +03:00
  • b8595b87c4 * disable config saving if invalid pair Ildar Kamalov 2019-02-28 14:59:25 +03:00
  • acb4a98466 [change] dnsforward: Add comments for public fields Aleksey Dmitrevskiy 2019-02-28 13:40:40 +03:00
  • 3929f0da44 [change] control: Handle upstream config with JSON Aleksey Dmitrevskiy 2019-02-28 13:01:41 +03:00
  • 224c2a891d * control: TLS: don't return empty error messages Simon Zolin 2019-02-28 11:55:16 +03:00
  • 81e88472cb Merge branch 'fix/542' into fix/596 Aleksey Dmitrevskiy 2019-02-28 11:16:03 +03:00
  • 6b2baba3c7 Add set_upstreams_config function Aleksey Dmitrevskiy 2019-02-28 11:10:43 +03:00
  • 967a1e6b87 Merge branch 'master' into fix/596 Aleksey Dmitrevskiy 2019-02-27 18:56:36 +03:00
  • 241e7ca20c * control: move TLS handlers to a separate file Simon Zolin 2019-02-27 18:53:16 +03:00
  • bc325de13f Add missed logging Aleksey Dmitrevskiy 2019-02-27 18:49:53 +03:00
  • ffa4429818 Merge branch 'master' into fix/542 Aleksey Dmitrevskiy 2019-02-27 18:47:01 +03:00
  • 24edf7eeb6 * helper functions return 'error', not 'int' Simon Zolin 2019-02-27 18:46:04 +03:00
  • 99c8cd06c9 Merge remote-tracking branch 'origin/master' into feature/600 Simon Zolin 2019-02-27 18:40:22 +03:00
  • 9a6266588d Merge pull request #158 in DNS/adguard-dns from feature/600-logger to master Simon Zolin 2019-02-27 18:35:34 +03:00
  • f21daae023 * control: print HTTP request with log.Tracef() Simon Zolin 2019-02-27 18:28:52 +03:00
  • 7b64f9ff42 * use dnsproxy v0.11.2 Simon Zolin 2019-02-27 18:28:09 +03:00
  • 1626b6bd5a Fix empty logging Aleksey Dmitrevskiy 2019-02-27 18:09:57 +03:00
  • eb22d9cdd9 * use golibs v0.1.0 Simon Zolin 2019-02-27 17:55:23 +03:00
  • 1ed3a9673d Add handles logging Aleksey Dmitrevskiy 2019-02-27 17:39:07 +03:00
  • 5ad9f8ead2 * tlsConfigStatus.usable is public, renamed ("ValidPair") and is exported to json ("valid_pair") Simon Zolin 2019-02-27 17:36:02 +03:00
  • 523c5ef10a Refactor httpErrors Aleksey Dmitrevskiy 2019-02-27 17:28:10 +03:00
  • a9839e95a0 pointer is unuseful for httpError func Aleksey Dmitrevskiy 2019-02-27 16:50:19 +03:00
  • 1223965cd4 Code simplify Aleksey Dmitrevskiy 2019-02-27 16:42:50 +03:00
  • 141b14c94a Remove unuseful library Aleksey Dmitrevskiy 2019-02-27 16:19:45 +03:00
  • 3a9d436f8a Add schema migration Aleksey Dmitrevskiy 2019-02-27 16:15:36 +03:00
  • 01548c236e * update go.sum Simon Zolin 2019-02-27 16:04:05 +03:00
  • 5cb6d97cd7 * use new logger - AdguardTeam/golibs/log Simon Zolin 2019-02-25 16:44:22 +03:00