Simon Zolin
6304a7b91b
+ Login page and web sessions
...
+ /control/login
+ /control/logout
2019-09-19 12:47:55 +03:00
Simon Zolin
b8a98c1a77
* stats: pass configuration object via stats.New()
2019-09-16 16:17:39 +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
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
04e2566e9e
* stats: use uint32 or uint64 integer values, not int
2019-09-12 17:53:27 +03:00
Simon Zolin
97684368b9
- stats: use --workdir
2019-09-12 14:48:13 +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
Simon Zolin
4f08f96607
* rDNS: refactor: move code to a separate file
2019-08-08 12:10:50 +03:00
Simon Zolin
e81a9c7d56
+ dnsfilter: use global and per-client BlockedServices array
2019-08-05 14:12:22 +03:00
Simon Zolin
6701e9ce06
* move "dnsctx" to "config"
2019-07-19 12:18:16 +03:00
Simon Zolin
af21a5f17b
* move "dnsServer" to "config"
2019-07-19 12:18:16 +03:00
Simon Zolin
d51f43e27a
* clients: move container object to "config"
...
Now the functions use parameter, not a global object.
2019-07-17 19:29:45 +03:00
Simon Zolin
94f3bf44d7
- filters: start DNS server after filter has been removed
2019-07-16 12:55:47 +03:00
Simon Zolin
375e410aa3
- /filtering/remove_url: windows: remove filter file only after DNS server has been stopped
...
Otherwise, os.Remove() will return with an error "file is being used".
2019-07-15 18:23:58 +03:00
Simon Zolin
e2b518339f
- don't load filter rules if filter is disabled
2019-07-15 12:49:48 +03:00
Simon Zolin
1445940473
Merge: * use urlfilter v0.4.0
...
Close #866
* commit '134d9275bba7de7d1550412310bc275c52bb340e':
* use urlfilter v0.4.0
2019-07-05 12:33:30 +03:00
Simon Zolin
134d9275bb
* use urlfilter v0.4.0
...
Now we pass filtering rules to urlfilter as filer file names,
rather than the list of rule strings.
(Note: user rules are still passed as the list of rule strings).
As a result, we don't store the contents of filter files in memory.
2019-07-04 14:10:01 +03:00
Simon Zolin
dc43ad9910
* dns: fail on starting DNS server if upstream servers configuration is incorrect
2019-07-03 17:59:19 +03:00
Simon Zolin
6a1edc45be
- rDNS: don't try to resolve loopback IP addresses
2019-06-25 16:14:52 +03:00
Simon Zolin
dc682763ff
* move ./*.go files into ./home/ directory
2019-06-10 11:51:53 +03:00