Commit Graph

339 Commits

Author SHA1 Message Date
Andrey Meshkov
25f20bd5a7 Fix binary search in the whitelist 2018-11-21 00:18:13 +03:00
Andrey Meshkov
345e4dc89a Added ratelimit whitelist and tests 2018-11-20 23:51:18 +03:00
Eugene Bujak
54ee16634c Merge pull request #96 in DNS/adguard-dns from gomodules to master
* commit '3c427ba2956a0ceae80ed27976d1a3615494a80a':
  Drop support for go 1.10 or lower.
  Introduce go module support
2018-11-09 19:33:13 +03:00
Eugene Bujak
3c427ba295 Drop support for go 1.10 or lower. 2018-11-09 19:31:38 +03:00
Eugene Bujak
a6e4c48567 Introduce go module support 2018-11-09 18:19:55 +03:00
Eugene Bujak
bd39509458 Merge pull request #95 in DNS/adguard-dns from feature/265 to master
* commit 'fc7d93b920b196e654502e1a2b720d56bae05711':
  Force safe search on Youtube
2018-11-06 15:11:06 +03:00
Andrey Meshkov
fc7d93b920 Force safe search on Youtube 2018-11-06 15:03:42 +03:00
Andrey Meshkov
4a357f1345 Merge pull request #93 in DNS/adguard-dns from fix/414 to master
* commit '914eb612cd0da015b98c151b7ac603fb4126a2c3':
  Add bootstrap DNS to readme
  Fix review comments
  Close test upstream
  Added bootstrap DNS to the config file DNS healthcheck now uses the upstream package methods
  goimports files
  Added CoreDNS plugin setup and replaced forward
  Added factory method for creating DNS upstreams
  Added health-check method
  Added persistent connections cache
  Upstream plugin prototype
2018-11-06 12:27:08 +03:00
Andrey Meshkov
914eb612cd Add bootstrap DNS to readme 2018-11-06 01:20:53 +03:00
Andrey Meshkov
cc40826299 Fix review comments 2018-11-06 01:14:28 +03:00
Andrey Meshkov
2e879896ff Close test upstream 2018-11-06 00:52:27 +03:00
Andrey Meshkov
451922b858 Added bootstrap DNS to the config file
DNS healthcheck now uses the upstream package methods
2018-11-06 00:47:59 +03:00
Andrey Meshkov
7f018234f6 goimports files 2018-11-05 23:52:11 +03:00
Andrey Meshkov
efdd1c1ff2 Added CoreDNS plugin setup and replaced forward 2018-11-05 23:49:31 +03:00
Andrey Meshkov
9bc4bf66ed Added factory method for creating DNS upstreams 2018-11-05 22:11:13 +03:00
Andrey Meshkov
a6022fc198 Added health-check method 2018-11-05 21:19:01 +03:00
Andrey Meshkov
d6f560ecaf Added persistent connections cache 2018-11-05 20:40:10 +03:00
Eugene Bujak
2449075bca Revert "Cache DNS lookups when resolving safebrowsing or parental servers, also cache replacement hostnames as well."
This reverts commit a5d1053520.

This cache had unintended side effects.
2018-11-02 12:15:30 +03:00
Andrey Meshkov
484c0ceaff Upstream plugin prototype 2018-11-01 14:45:32 +03:00
Andrey Meshkov
19e30dbccc Merge pull request #92 in DNS/adguard-dns from feature/371 to master
* commit '49ff0d2b9ae4982d4352b668b8d7085ed72f2d4e':
  Added green background for whitelist rows
  Fix rule text in the Reason
  Added filter name to popover
  Fix review comments: NextFilterId collisions
  Added more logging to the plugin
  Added filterId to the querylog Updated the openapi.yaml accordingly Some minor refactoring/renaming Fix other review comments
  Fix review comments Fixed coredns plugin tests Check that user filter is not empty
  Fix #371 #421
2018-10-30 18:20:34 +03:00
Ildar Kamalov
49ff0d2b9a Added green background for whitelist rows 2018-10-30 18:10:05 +03:00
Andrey Meshkov
800002f83d Merge branch 'feature/371' of ssh://bit.adguard.com:7999/dns/adguard-dns into feature/371 2018-10-30 17:41:12 +03:00
Andrey Meshkov
73e20d1dd0 Fix rule text in the Reason 2018-10-30 17:37:11 +03:00
Ildar Kamalov
9bb788ecb5 Merge branch 'feature/371' of ssh://bit.adguard.com:7999/dns/adguard-dns into feature/371 2018-10-30 17:28:08 +03:00
Ildar Kamalov
f3fa497af3 Added filter name to popover 2018-10-30 17:27:47 +03:00
Andrey Meshkov
54bdacdde2 Fix review comments: NextFilterId collisions 2018-10-30 17:16:20 +03:00
Andrey Meshkov
0e065a2e61 Added more logging to the plugin 2018-10-30 12:57:16 +03:00
Andrey Meshkov
591065aa3a Added filterId to the querylog
Updated the openapi.yaml accordingly
Some minor refactoring/renaming
Fix other review comments
2018-10-30 12:24:59 +03:00
Andrey Meshkov
760e3596b6 Fix review comments
Fixed coredns plugin tests
Check that user filter is not empty
2018-10-30 11:01:09 +03:00
Andrey Meshkov
32d4e80c93 Fix #371 #421
Filters are now saved to a file
Also, they're loaded from the file on startup
Filter ID is not passed to the CoreDNS plugin config (server-side AG DNS must be changed accordingly)
Some minor refactoring, unused functions removed
2018-10-30 02:17:24 +03:00
Andrey Meshkov
30f3eb446c
Merge pull request #443 from AdguardTeam/fix/sync_with_bitbucket
Fix/sync with bitbucket
2018-10-29 13:50:41 +00:00
Andrey Meshkov
f711d6558f Merge pull request #90 in DNS/adguard-dns from fix/437 to master
* commit 'c39831abbcc3942bc7af9f8fd6c816b96770ee3e':
  Fix sorting method
  Move tiny-version-compare module to helpers
  Fix tooltips over-lapping
  Fix IP address sorting
2018-10-29 16:34:02 +03:00
Andrey Meshkov
abd1d306dc Merge pull request #91 in DNS/adguard-dns from fix/383 to master
* commit '1e1ce606c552d83daa4272a301d373561182820b':
  gofmt instead of goland's format
  Add ErrAlreadyExists
  Moved hosts-syntax matching to DnsFilter
  Fix gitignore
2018-10-29 16:33:53 +03:00
Andrey Meshkov
1e1ce606c5 gofmt instead of goland's format 2018-10-29 16:29:30 +03:00
Andrey Meshkov
abb51ddb8a Add ErrAlreadyExists 2018-10-29 16:17:18 +03:00
Andrey Meshkov
2b2a797cf7 Moved hosts-syntax matching to DnsFilter 2018-10-29 15:46:58 +03:00
Ildar Kamalov
c39831abbc Fix sorting method 2018-10-29 15:24:35 +03:00
Ildar Kamalov
9173b0ee7a Move tiny-version-compare module to helpers 2018-10-29 14:38:01 +03:00
Ildar Kamalov
c427034e27 Fix tooltips over-lapping
Closes #439
2018-10-29 13:13:32 +03:00
Ildar Kamalov
3cd3b93511 Fix IP address sorting
Closes #437
2018-10-29 13:12:04 +03:00
Ildar Kamalov
41c9a89516 Merge pull request #89 in DNS/adguard-dns from fix/433 to master
* commit '90ed48e9fbc140ef3ab09f4ae006a4b4d433e518':
  Fix graph corruption on Edge browser
2018-10-29 10:05:59 +03:00
Ildar Kamalov
90ed48e9fb Fix graph corruption on Edge browser
Closes #433
2018-10-27 21:17:48 +03:00
Ildar Kamalov
7a68c3dfc6
Merge pull request #431 from abpvn/master
Allow click footer link when loading
2018-10-26 14:58:50 +03:00
Andrey Meshkov
234ab23557 Fix gitignore 2018-10-26 14:13:31 +03:00
hoangnd
3be7366ae1 Fix toast z-index after allow click link on footer on loading 2018-10-25 16:44:23 +07:00
hoangnd
f8ee8a7907 Allow click footer link when loading 2018-10-25 12:55:35 +07:00
Andrey Meshkov
b6bc613c87
Merge pull request #411 from mustakimali/master
Formatted 'Rules count' number with thousands separator
2018-10-23 18:30:40 +01:00
Mo Mustakim Ali
e466a09e20
Update index.js 2018-10-23 15:58:07 +01:00
Mo Mustakim Ali
98bf5322a3
Using culture-specific approach instead of regex 2018-10-23 13:48:51 +01:00
A.J. Ruckman
b3ae247520 use keyed fields 2018-10-22 22:51:51 +03:00