Simon Zolin
a12f01793f
+ clients: find DNS client's hostname by IP using rDNS
2019-05-28 19:07:57 +03:00
Simon Zolin
b1fbd7c40c
* openapi: add new dhcp methods
2019-05-28 19:01:24 +03:00
Ildar Kamalov
2976726f99
* client: fix page scrolling on adding/deleting leases
2019-05-28 19:01:24 +03:00
Ildar Kamalov
6f2503a09f
+ client: handle static leases form
2019-05-28 19:01:24 +03:00
Ildar Kamalov
a8384c004e
+ client: add table to show static leases
2019-05-28 19:01:24 +03:00
Simon Zolin
49b91b4fc9
+ doc: DHCP static leases
2019-05-28 19:01:24 +03:00
Simon Zolin
fa47fa3f9c
* dhcpd: refactor: use separate objects for ServerConfig and RWMutex
2019-05-28 19:01:24 +03:00
Simon Zolin
763b986955
+ dhcp: /dhcp/status: return static leases
2019-05-28 18:59:15 +03:00
Simon Zolin
342699d933
* dhcpd: minor improvements
2019-05-28 18:59:15 +03:00
Simon Zolin
fd593f5282
* control: refactor: move DHCP lease -> json convertor to a separate function
2019-05-28 18:59:15 +03:00
Simon Zolin
725aeeb910
+ dhcp: /dhcp/add_static_lease, /dhcp/remove_static_lease: control static lease table
2019-05-28 18:59:15 +03:00
Simon Zolin
564a41d598
+ helpers: parseIPv4()
2019-05-28 18:59:15 +03:00
Simon Zolin
c3204664c3
* control: use new DHCP functions: CheckConfig, Init, Start
2019-05-28 18:59:15 +03:00
Simon Zolin
626c1ae753
* control,dhcp: use dhcpServerConfigJSON struct
2019-05-28 18:59:15 +03:00
Simon Zolin
cc366495d3
+ dhcpd: CheckConfig()
2019-05-28 18:59:15 +03:00
Simon Zolin
0d405c0af8
* dhcpd: move code from Start() to Init()
2019-05-28 18:59:15 +03:00
Simon Zolin
c038e4cf14
Merge: + Per-client settings
...
Close #727
* commit 'a83bc5eeeb4107f2157443b7b40636036fe2a7cc':
* client: add source column
* client: remove redundant table formatting for runtime clients table
* client: show MAC address as default
+ client: add runtime clients table
* client: add icons for table buttons
* client: remove unused api method
* client: confirm before deleting
* client: remove table column min-width
* client: fix no data text
* client: fix sort helper
+ client: handle per-client settings
- openapi.yaml: fix HTTP methods
+ openapi.yaml: add /clients handlers
+ dnsfilter: use callback function for applying per-client settings
+ dhcp: FindIPbyMAC()
+ dns: use per-client filtering settings
+ clients: config: save/restore clients info array
+ clients API
+ doc: clients
2019-05-28 18:52:51 +03:00
Ildar Kamalov
a83bc5eeeb
* client: add source column
2019-05-28 18:44:27 +03:00
Ildar Kamalov
702db84e39
* client: remove redundant table formatting for runtime clients table
2019-05-28 18:44:27 +03:00
Ildar Kamalov
9cc824d852
* client: show MAC address as default
2019-05-28 18:44:27 +03:00
Ildar Kamalov
8a8c7329f7
+ client: add runtime clients table
2019-05-28 18:44:27 +03:00
Ildar Kamalov
cbef338592
* client: add icons for table buttons
2019-05-28 18:44:27 +03:00
Ildar Kamalov
bd2c4269db
* client: remove unused api method
2019-05-28 18:44:27 +03:00
Ildar Kamalov
f40141bbbc
* client: confirm before deleting
2019-05-28 18:44:27 +03:00
Ildar Kamalov
c7b5830336
* client: remove table column min-width
2019-05-28 18:44:27 +03:00
Ildar Kamalov
bb34381a0d
* client: fix no data text
2019-05-28 18:44:27 +03:00
Ildar Kamalov
68a4cc597f
* client: fix sort helper
2019-05-28 18:44:27 +03:00
Ildar Kamalov
22d3c38df2
+ client: handle per-client settings
2019-05-28 18:44:27 +03:00
Simon Zolin
22c7efd2d1
- openapi.yaml: fix HTTP methods
2019-05-28 18:44:27 +03:00
Simon Zolin
eb159e6997
+ openapi.yaml: add /clients handlers
2019-05-28 18:44:27 +03:00
Simon Zolin
8bf76c331d
+ dnsfilter: use callback function for applying per-client settings
2019-05-28 18:44:27 +03:00
Simon Zolin
4bb7b654ab
+ dhcp: FindIPbyMAC()
2019-05-28 18:44:27 +03:00
Simon Zolin
3f89335ed2
+ dns: use per-client filtering settings
2019-05-28 18:44:27 +03:00
Simon Zolin
8f7aff93d7
+ clients: config: save/restore clients info array
2019-05-28 18:44:27 +03:00
Simon Zolin
5fb7e44e79
+ clients API
...
* /clients handler: new format
+ /clients/add handler
+ /clients/delete handler
+ /clients/update handler
2019-05-28 18:44:27 +03:00
Simon Zolin
6a7b1aba8b
+ doc: clients
2019-05-28 18:44:27 +03:00
Simon Zolin
218f51092c
Merge: + app: disable new version check and auto-update by command line switch
...
Close #778
* commit '9f75146eaba9d9a3ce085c884d7f18a2c628dc50':
* client: check for empty versions response
* docker: use --no-check-update
* openapi: update /version.json description
+ app: disable new version check and auto-update by command line switch
2019-05-28 18:18:40 +03:00
Ildar Kamalov
9f75146eab
* client: check for empty versions response
2019-05-28 15:22:48 +03:00
Simon Zolin
6ab8aa4da1
* docker: use --no-check-update
2019-05-28 11:42:50 +03:00
Simon Zolin
386886cec2
Merge: * control: 🚑 Corrects typo in parental control API error message
...
Close #781
* commit '517ebc0251d6bfe43b7b4d31c7c4e7e91ea928fa':
🚑 Corrects typo in parental control API error message
2019-05-28 11:42:12 +03:00
Simon Zolin
5b29cae133
* openapi: update /version.json description
2019-05-28 11:41:36 +03:00
Simon Zolin
4df8868787
Merge: * dnsfilter: parental/safebrowsing: add setting to switch between HTTP and HTTPS #646
...
* commit 'f23507a5546229d8ce8f69d56667cd5212f026d3':
* dnsfilter: parental/safebrowsing: add setting to switch between HTTP and HTTPS
2019-05-28 11:31:51 +03:00
Franck Nijhof
517ebc0251
🚑 Corrects typo in parental control API error message
2019-05-27 22:51:51 +02:00
Simon Zolin
f25639f1fc
+ app: disable new version check and auto-update by command line switch
2019-05-27 18:48:33 +03:00
Simon Zolin
f23507a554
* dnsfilter: parental/safebrowsing: add setting to switch between HTTP and HTTPS
2019-05-27 18:11:05 +03:00
Simon Zolin
b9df476c5d
Merge: dnsforward: support IPv6
...
Close #735
* commit 'e2579c72bdcafed41d5be1250fb38aeda0a8184e':
* dnsfilter: fix tests
+ dnsforward: support IPv6 (AAAA response)
* dnsfilter: return the correct IP address (host rules)
2019-05-27 12:35:31 +03:00
Simon Zolin
e2579c72bd
* dnsfilter: fix tests
2019-05-24 18:08:08 +03:00
Simon Zolin
ac8f703407
+ dnsforward: support IPv6 (AAAA response)
...
If question type is AAAA:
Before this patch we responded with NXDOMAIN.
Now we send an empty response if host rule is IPv4;
or we send an AAAA answer if host rule is IPv6.
+ block ipv6 if rule is "0.0.0.0 blockdomain"
2019-05-24 18:08:08 +03:00
Simon Zolin
9ad4bba9ab
* dnsfilter: return the correct IP address (host rules)
2019-05-24 18:08:08 +03:00
Simon Zolin
452c930dd0
Merge: * dnsfilter: use 'https' for safe-browsing and parental control
...
Close #646
* commit '00e1b6ca089705e7fdb4764133058e04111e36df':
* dnsfilter: use 'https' for safe-browsing and parental control
2019-05-24 18:03:00 +03:00