Commit Graph

1751 Commits

Author SHA1 Message Date
Simon Zolin 7acbeb8956 * dhcp: when adding a static lease, it can replace a dynamic lease 2019-08-23 16:14:00 +03:00
Simon Zolin 625b22a8d7 * dhcp: validate range_start/range_end values 2019-08-23 14:44:23 +03:00
Simon Zolin 307b934cf1 Merge: * control: refactor: all handlers are registered via httpRegister()
* commit '452a668a5ba66efa265621104fe3be17ae156ed5':
  * control: refactor: all handlers are registered via httpRegister()
2019-08-23 14:09:22 +03:00
Ildar Kamalov fb2c625bd1 Merge: - client: fix IPv6 redirect url for install
* commit 'c8052c23d190ebcc8437a1c61b08e685e5657e70':
  fix condition
  - client: fix IPv6 redirect url for install
2019-08-23 13:54:44 +03:00
Ildar Kamalov c8052c23d1 fix condition 2019-08-22 18:50:58 +03:00
Ildar Kamalov 0bd722c426 - client: fix IPv6 redirect url for install
Closes #953
2019-08-22 18:42:55 +03:00
Andrey Meshkov 53767a5bed *(documentation): bump openapi spec version to 0.98.1 2019-08-22 15:42:43 +03:00
Andrey Meshkov 64d40bdc47 Merge: - config: global "blocked_services" settings were reset on startup
* commit 'b1ca7c90d3ef0e72d3535b7cf195adfe83d34e5a':
  - config: global "blocked_services" settings were reset on startup
2019-08-22 15:38:24 +03:00
Simon Zolin b1ca7c90d3 - config: global "blocked_services" settings were reset on startup 2019-08-22 15:30:48 +03:00
Simon Zolin bde59364c6 Merge: - dnsforward: don't use dnsfilter object after it's closed (additional check)
* commit 'a370cd0bf035213ea7d09e1e577a4612934a8c5a':
  - dnsforward: don't use dnsfilter object after it's closed (additional check)
2019-08-22 12:05:55 +03:00
Simon Zolin a370cd0bf0 - dnsforward: don't use dnsfilter object after it's closed (additional check) 2019-08-22 12:01:59 +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
Ildar Kamalov e6bd2a101d Merge: + translations: add twosky config file
* commit '568a7a73347862c30830d956a26e2beb31c27857':
  + translations: add twosky config file
2019-08-20 18:07:16 +03:00
Simon Zolin d2e0940053 Merge: * use dnsproxy v0.18.4
* commit '31af6ae9147fd85d593237ec6715c428d56740ed':
  * use dnsproxy v0.18.4
2019-08-20 18:05:21 +03:00
Simon Zolin 31af6ae914 * use dnsproxy v0.18.4 2019-08-20 17:59:40 +03:00
Ildar Kamalov 568a7a7334 + translations: add twosky config file 2019-08-20 17:19:49 +03:00
Simon Zolin 09a52436fb Merge: - dnsforward: don't use dnsfilter object after it's closed
Close #940

* commit '94552a30d7080c8471f7fca370a5905c6c420272':
  - dnsforward: don't use dnsfilter object after it's closed
2019-08-20 15:36:34 +03:00
Simon Zolin 94552a30d7 - dnsforward: don't use dnsfilter object after it's closed 2019-08-20 15:07:39 +03:00
Andrey Meshkov 87ca9ed9c2 -(dnsforward): fixed sigsegv when protection is disabled
* commit 'c82e93cfc7cf439a5e5bf9b8bc27f5b68b528b53':
  -(dnsforward): fixed sigsegv when protection is disabled
2019-08-20 15:03:17 +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 91a1eb9e06 Merge: * use dnsproxy v0.18.3
* commit 'c54e2585ac86d045fe21ae61af35e6a4eeda5d91':
  * use dnsproxy v0.18.3
2019-08-19 17:10:03 +03:00
Simon Zolin c54e2585ac * use dnsproxy v0.18.3 2019-08-19 17:02:19 +03:00
Simon Zolin 5b555f95ff Merge: + dhcp: use --workdir value for "leases.db" file path
Close #935

* commit '8e08cddf647226d5e8e5f41307b60274a3f232e5':
  + dhcp: use --workdir value for "leases.db" file path
2019-08-19 16:55:42 +03:00
Simon Zolin 8e08cddf64 + dhcp: use --workdir value for "leases.db" file path 2019-08-19 14:40:10 +03:00
Simon Zolin eba7931c2d Merge: Revert: * dnsfilter: use fastcache instead of gcache
* commit 'b37208564bd170f21347db9cfde39614ea4a02c2':
  - fix build: we're using a new gcache module now
  Revert "+ config: add cache size settings"
  Revert "* dnsfilter: use fastcache instead of gcache"
  Revert "fix tests"
2019-08-16 16:13:03 +03:00
Andrey Meshkov 5448000f7b *(global): travis slack notification 2019-08-16 16:08:56 +03:00
Simon Zolin b37208564b - fix build: we're using a new gcache module now 2019-08-16 15:43:12 +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 68d5d595b6 Revert "* dnsfilter: use fastcache instead of gcache"
This reverts commit 6f51df7d2e.
2019-08-16 15:17:38 +03:00
Simon Zolin 56c69cdb79 Revert "fix tests"
This reverts commit d9265aa9a8.
2019-08-16 15:11:57 +03:00
Simon Zolin 28cc9dc973 Merge: + travis: slack notifications
* commit '8aef6d8f91bbac5ce47539ef121a73ea75d12042':
  + travis: slack notifications
2019-08-16 13:50:59 +03:00
Simon Zolin 8aef6d8f91 + travis: slack notifications 2019-08-16 13:47:51 +03:00
Simon Zolin 1f0c8c6a3b Merge: * use dnsproxy v0.18.1
Close #847

* commit '0faf144853df3cf5628d917e936aae0c508aa753':
  * use dnsproxy v0.18.1
2019-08-14 19:18:23 +03:00
Simon Zolin 0faf144853 * use dnsproxy v0.18.1 2019-08-14 18:49:27 +03:00
Simon Zolin 57cfd97a6a Merge: * client: update translations
Close #915

* commit '256030f0c1b780dd73618965a0738162b7835780':
  * client: update translations
2019-08-14 12:48:35 +03:00
Simon Zolin 256030f0c1 * client: update translations 2019-08-13 17:36:19 +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 b302ccb491 Merge: * filters update: increase update period to 24 hours
Close #929

* commit '8b63811fa98333cae3c33cac5cc3484995d3ea09':
  * filters update: increase update period to 24 hours
2019-08-13 12:33:11 +03:00
Simon Zolin 4407ad3585 Merge: - readme: fix misspelling
Close #924

* commit 'd7ff61ca590cca9d7fd2374934da790b11aabfdb':
  - readme: fix misspelling
2019-08-13 12:32:04 +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 d7ff61ca59 - readme: fix misspelling 2019-08-13 10:41:06 +03:00
Simon Zolin 8b63811fa9 * filters update: increase update period to 24 hours 2019-08-13 10:30:28 +03:00
Andrey Meshkov 5c3dfd114c *(global): update dependencies 2019-08-11 20:45:01 +03:00
Simon Zolin 61897db0c5 Merge: * rDNS: refactor: move code to a separate file
* commit 'ccf72b60084b4818e64105b0687eb98434f14cf3':
  * safebrowsing/parental: split some code
  * rDNS: make log messages' level = debug
  * rDNS: refactor: move code to a separate file
2019-08-08 12:14:32 +03:00
Simon Zolin ccf72b6008 * safebrowsing/parental: split some code
* dnsfilter.CheckHost() doesn't support host="hostname." (with a trailing dot) anymore
2019-08-08 12:11:24 +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 77592c6382 Merge: * use golibs v0.1.4
Close #893

* commit '272115724df8748afc1954538673786cd56f9365':
  * use golibs v0.1.4
2019-08-07 15:12:44 +03:00
Simon Zolin 272115724d * use golibs v0.1.4 2019-08-06 18:55:56 +03:00
Simon Zolin a59b6b3054 Merge: block access to specific services
Close #819

* commit 'e7001c3bc4a7e1ec53d810cafbc90d7f2a624af5':
  * config upgrade: sequential processing
  * config: upgrade schema version: 3 -> 4
  + client: add prefix to the service icons
  + client: handle blocked services
  + openapi: add /blocked_services/*
  + openapi: clients: add "blocked_services" field
  * refactor
  + /control/blocked_services/* API
  + dnsfilter: use global and per-client BlockedServices array
  + clients: add BlockedServices field
  + config: store/load "blocked_services" per-client setting
  + doc: add "Services Filter" section
2019-08-05 14:13:54 +03:00