Commit Graph

95 Commits

Author SHA1 Message Date
Shreyas Zare
95d5da9559 DnsWebService: removed https timeout code in TlsToHttpTunnelAsync() and letting the http server to do timeout to avoid getting connection reset when downloading files. 2021-04-03 12:49:34 +05:30
Shreyas Zare
2cd08843cd DnsWebService: trying to start web service on 127.0.0.1 when it fails to start with default hostname. 2021-03-27 19:29:00 +05:30
Shreyas Zare
33246c742e DnsWebService: updated TlsToHttpTunnelAsync() code to allow injecting X-Real-IP header to allow logging the remote user's ip address when using https. Updated StartDnsWebService() to start multiple accept tasks. 2021-03-27 19:12:48 +05:30
Shreyas Zare
f93ae4f2df DnsWebService: ignoring io exception in TlsToHttpTunnelAsync(). Added overwrite option in AddRecord() method. Implemented version parameter in ListApps(). 2021-03-27 16:47:02 +05:30
Shreyas Zare
ab7dff2025 DnsWebService: updated zone api code to support managing multiple ANAME records. 2021-03-21 20:46:30 +05:30
Shreyas Zare
23031248c6 DnsWebService: implemented block list zone's allow list feature. 2021-03-21 20:05:06 +05:30
Shreyas Zare
6572fadaf3 DnsWebService: added app update api support. Updated WriteRecordsAsJson() to show hidden RDATA of special records. 2021-03-21 17:30:30 +05:30
Shreyas Zare
96eda19601 DnsWebService: removed application zone api support. 2021-03-13 13:22:39 +05:30
Shreyas Zare
ac3cf0e35a DnsWebService: added api support for DNS apps. Updated backup and restore to support apps. Updated zone api to allow creating application zone. Updated zone api to add, update, enable, disable and delete app records. 2021-03-06 17:48:21 +05:30
Shreyas Zare
2c3d684fe3 DnsWebService: code refactoring done. Implemented qname minimization setting. Stopping dns and dhcp servers correctly by calling Dispose(). 2021-02-27 19:18:08 +05:30
Shreyas Zare
3338038867 dns server code refactoring done. 2019-06-15 13:28:39 +05:30
Shreyas Zare
e82475870d DnsWebService: implemented DnsClient changes. 2019-05-25 12:34:17 +05:30
Shreyas Zare
e05c160ea6 minor refactoring done. 2019-05-05 16:16:17 +05:30
Shreyas Zare
4f80ceaf75 DnsWebService: SendError() code refactoring done. Implemented X-Real-IP support when using reverse proxy on private IP address. Set IgnoreWriteExceptions option for HttpListener. 2019-05-04 12:46:20 +05:30
Shreyas Zare
2f92daa178 DnsWebService: fixed string comparison issue caused with certain system locale. removed blocked zone check at CustomBlockZone() since it hinders adding zone which alreay has sub zone in block zone. 2019-05-01 19:40:03 +05:30
Shreyas Zare
086487ccb0 DnsWebService: implemented cache prefetch settings parameters in api and config file. 2019-04-28 19:16:39 +05:30
Shreyas Zare
8aa46b964a DnsWebService: added web service hostname property to indicate if web panel is running only on localhost. Fixed issue caused by previous change in WriteRecordsAsJson() for authoritative records ttl property. 2019-04-28 15:22:37 +05:30
Shreyas Zare
51817e8986 DnsWebService: added error logging to CheckForUpdate(). 2019-04-20 15:25:44 +05:30
Shreyas Zare
d9293242ab DnsWebService: minor refactoring changes. 2019-04-20 13:16:46 +05:30
Shreyas Zare
bab78ec014 DnsWebService: ResolveQuery() using only 1 retry and 10 sec timeout to help in debugging issues with DNS Server response times. 2019-03-30 17:03:00 +05:30
Shreyas Zare
4e7b40e534 DnsWebService: fixed minor issues. Added record sorting by name and type. Refactoring done. 2019-03-23 13:21:20 +05:30
Shreyas Zare
9aa347ed08 DnsWebService: removed warning log for common name mismatch in LoadTlsCertificate() since this will create confusion when using cert with Subject Alternate Names extension. 2019-03-09 16:00:50 +05:30
Shreyas Zare
457cfacb54 DnsWebService: removed DoH implementation from web service and moved it to DnsServer class so that the admin web console is not exposed due to reverse proxy misconfiguration. Added validation checks for domain parameter in api calls. Minor refactoring done. 2019-03-09 15:38:59 +05:30
Shreyas Zare
82f8f22e4c added X-Real-IP support to get client IP from reverse proxy. 2019-03-03 19:29:21 +05:30
Shreyas Zare
1cedea6391 web service multi threaded accept implemented. 2019-03-03 18:46:57 +05:30
Shreyas Zare
d4ac5130a4 DnsWebService: implemented DoT and DoH support API. Implemented standalone non TLS terminited DoH support directly on the web service. 2019-03-02 20:08:14 +05:30
Shreyas Zare
5a904eb0d5 removed base64 encoding for api parameter. 2019-02-16 15:23:42 +05:30
Shreyas Zare
37017e669f set http listener to use localhost prefix to corretly allow running it for non-admin users. 2019-02-10 14:16:27 +05:30
Shreyas Zare
b73f5c7a46 DnsWebService: concurrent block list file loading done in LoadBlockLists() to save loading time. 2019-02-02 18:28:59 +05:30
Shreyas Zare
5cbe4effd0 fixed issue that got added earlier. 2019-02-02 14:01:14 +05:30
Shreyas Zare
2beb087f12 DnsWebService: implemented import and export api for allowed zones and custom blocked zones. Minor change done to set content length to avoid chunking. Failed attempt check excluded for default password to avoid getting locked out due to auto login by web page refreshing. 2019-02-02 12:41:46 +05:30
Shreyas Zare
058a485522 brute force login attempts blocking mechanism added. 2019-01-27 20:04:13 +05:30
Shreyas Zare
580413f044 added validation checks for api calls. 2019-01-27 19:15:50 +05:30
Shreyas Zare
6e6117df04 get clean version number for UI display. 2019-01-27 18:11:37 +05:30
Shreyas Zare
b68119e22e Implemented feature to store TXT record in blocked zone that tells which list the domain was in. Api updated to allow only add/delete/flush operations on custom block zone such that the block list zones are not affected. 2019-01-27 17:03:02 +05:30
Shreyas Zare
e751dd3e18 ignoring error 2019-01-14 11:26:57 +05:30
Shreyas Zare
cfc1b57ee4 moved unhandled exception logging to log manager. 2019-01-14 11:11:51 +05:30
Shreyas Zare
1ca57a9f1b DnsWebService: compatibility code added to disable zones from dns config v6. 2019-01-13 16:04:50 +05:30
Shreyas Zare
fbe22281cc DnsWebService: Loading allowed and blocked zones in thread pool on start to speed up server startup. Updating server domain name in thread pool to allow the zone SOA update task to run in background. 2019-01-13 15:26:22 +05:30
Shreyas Zare
bbb1cb427b minor code refactoring done 2019-01-13 13:31:30 +05:30
Shreyas Zare
9d8ed065b5 DnsWebService: using authoritative zone's ServerDomain property instead of _serverDomain. Code refactoring and minor fixes done. 2019-01-13 13:25:08 +05:30
Shreyas Zare
7dbc5b29ee DnsWebService: Zone file changes done to save the disable state info in same file. Implemented resource record disable feature. Code refactoring done. 2019-01-06 16:52:53 +05:30
Shreyas Zare
3ae358e892 Added tcp protocol indication when logging with end points. 2019-01-05 15:23:11 +05:30
Shreyas Zare
569b00dbe1 fixed issue of download log option giving truncated file with fixed 2mb limit by making the limit option configurable. 2019-01-05 15:14:15 +05:30
Shreyas Zare
38c15ee87c DnsWebService: service start and stop related changes done to work with most platforms. 2018-12-30 16:45:41 +05:30
Shreyas Zare
3c09a61fd4 DnsWebService: custom dns server local addresses feature implemented. Code refactoring done to remove unnecessary value assignments. 2018-12-29 16:39:59 +05:30
Shreyas Zare
3d0bd151da DnsWebService: added logging for unhandled exception using AppDomain.CurrentDomain.UnhandledException. Made change to load StatsManager in Start(). 2018-12-23 19:19:32 +05:30
Shreyas Zare
89906ceb70 fixed issue caused when web service port changes breaking the custom block list url. 2018-12-15 15:02:37 +05:30
Shreyas Zare
c26017755d DnsWebService: Implemented cache hit feature. Removed BufferedStream usage since FileStream does internal buffering. 2018-12-09 17:06:30 +05:30
Shreyas Zare
50f520bc13 DnsWebService: updated logging for block list with additional details. 2018-11-18 18:46:32 +05:30