Commit Graph

382 Commits

Author SHA1 Message Date
Shreyas Zare
72ff15a91e Scope: using hostname from request instead of resserved lease hostname in GetOffer(). 2019-07-28 15:52:39 +05:30
Shreyas Zare
8a712cf739 DhcpServer: added reserved lease hostname update code after dhcp request message lease commit. 2019-07-28 15:50:29 +05:30
Shreyas Zare
144c952b70 Scope: removed code to update hostname in reserved lease in GetOffer(). 2019-07-28 15:47:57 +05:30
Shreyas Zare
fe5ea94ca0 Lease: added comments parameter to constructors. 2019-07-28 15:47:20 +05:30
Shreyas Zare
5df1677269 Lease: added comments field. 2019-07-27 12:35:44 +05:30
Shreyas Zare
fb29d181c3 DhcpServer: updated no offer handling in ProcessDhcpMessage() for Discover request. Fixed issue with space in host name option. Removed using hostname from reserved lease since hostname field will be removed from UI. Added hostname check in UpdateDnsAuthZone() to fix DHCP server failing to activate scope bug if client has not hostname. Added error handling in ActivateScope() to avoid partial binding of scope causing inconsistent state. 2019-07-27 12:34:12 +05:30
Shreyas Zare
f8682743ba webapp: added quad9 https-json options. 2019-07-27 12:29:02 +05:30
Shreyas Zare
4e1c46cc70 Scope: throwing error in GetOffer() to allow correctly logging the reason for no offer. 2019-07-27 12:27:57 +05:30
Shreyas Zare
5e0be86dfa webapp: removed zeus tracker block list url since it is now discontinued. added ransomeware tracker block list url. 2019-07-13 14:36:35 +05:30
Shreyas Zare
22847f1c72 assembly version updated to v4.0 2019-06-29 14:01:18 +05:30
Shreyas Zare
2580003067 webapp: redesigned zone UI code. Updated dashboard with new stats and chart. Added Google DoH url. 2019-06-29 12:19:16 +05:30
Shreyas Zare
193e13734d dhcp.js: updated js code with minor enhancements. 2019-06-29 12:16:42 +05:30
Shreyas Zare
4c6652decd WebService: updated GetStats() api with new stats and new chart. Updated zone api to support CAA record. Refactored UpdateRecord() api call for simple usage. Fixed minor TTL related issue with dns client import record feature. Updated zone file loading from 'zones' directory. 2019-06-29 12:15:46 +05:30
Shreyas Zare
fdb686a9af DnsServer: implemented stats manager changes. 2019-06-29 12:12:36 +05:30
Shreyas Zare
42cc59c3c4 StatsManager: updated stats collection implementation to record auth & recursive response stats. 2019-06-29 12:11:54 +05:30
Shreyas Zare
c8367f191d Zone: fixed issue in SetRecords() with stale record getting overwritten by failure record in cache. 2019-06-29 12:08:57 +05:30
Shreyas Zare
16665fe8f9 webapp: updated refreshDhcpScopes() to allow overriding refresh. 2019-06-23 20:21:25 +05:30
Shreyas Zare
9a13dd9493 Scope: added check for offers in IsAddressAvailable() that can cause issues in small scope ranges. Added lock for finding offer address in address pool to avoid race condition. 2019-06-23 16:43:48 +05:30
Shreyas Zare
f2dd188e2a WebService: Updated dashboard api to return client domain name for display. Implemented useThisDnsServer feature for dhcp api calls. Minor dhcp api call changes done. 2019-06-22 15:42:00 +05:30
Shreyas Zare
e6965f988e fixed minor typo 2019-06-22 15:40:42 +05:30
Shreyas Zare
43b8194bcc webapp: updated html markup for dhcp. Added minor ui changes. 2019-06-22 15:40:31 +05:30
Shreyas Zare
932b6f9703 minor ui changes done 2019-06-22 15:39:38 +05:30
Shreyas Zare
8e0f06f227 webapp: added dhcp refresh tab option. Implemented UseThisDnsServer option. Added minor changes and fixes. 2019-06-22 15:39:14 +05:30
Shreyas Zare
713b0fd05b DhcpServer: added default scope of first start. Changed implementation to bind to ANY address only when a scope is active. Fixed minor issues. 2019-06-22 15:37:43 +05:30
Shreyas Zare
7ba8e62611 Scope: implemented UseThisDnsServer feature. Updated FindInterface() to do validations to check if interface has static ip address. Implemented LeaseType changes. 2019-06-22 15:35:57 +05:30
Shreyas Zare
0baf2bfed3 Lease: added LeaseType option. Changed ResetLeaseTime() to ExtendLease() to keep leased obtained time unchanged. Minor refactoring done. 2019-06-22 15:34:24 +05:30
Shreyas Zare
dfb93c343b minor ui changes done 2019-06-16 21:59:12 +05:30
Shreyas Zare
4a5ab0516a WebService: minor bug fixes done. 2019-06-16 21:47:47 +05:30
Shreyas Zare
ff412bfd03 DhcpServer: minor bug fixes done. 2019-06-16 21:47:27 +05:30
Shreyas Zare
162a053f42 minor ui code fix. 2019-06-16 21:27:31 +05:30
Shreyas Zare
d23baaefab WebService: fixed minor issues with dhcp api calls. 2019-06-16 21:27:16 +05:30
Shreyas Zare
6fa2c5406b DhcpServer: socket implementation redesigned to resolve cross platform issues with consistent behavior on windows and linux. FindScope() implementation changed to use IPPacketInformation for scope selection. BindUdpListener() updated with SocketOptionName.ReuseAddress to work on Unix platforms. 2019-06-16 21:26:34 +05:30
Shreyas Zare
5c3be88616 Scope: added interface index property to allow matching broadcast message from specific interface to scope for cross platform consistent way. Implemented FindInterface() independent to be called while activating scope. 2019-06-16 21:20:17 +05:30
Shreyas Zare
8b99eca75c minor ui css changes done 2019-06-16 14:27:47 +05:30
Shreyas Zare
5f0cdbda1e Scope: minor fix done. 2019-06-16 14:27:25 +05:30
Shreyas Zare
cf12608cf3 DhcpServer: fixed minor bug in RenameScope(). Added SaveScope() method. 2019-06-16 14:27:07 +05:30
Shreyas Zare
39dd66f44b Scope: changes done to include start and end address in offer. minor error message changes done. 2019-06-16 13:45:35 +05:30
Shreyas Zare
282e47f6a5 minor change 2019-06-16 13:44:55 +05:30
Shreyas Zare
8e47a32d7c minor changes 2019-06-15 21:08:18 +05:30
Shreyas Zare
5b038c0b44 Scope: minor issues fixed. 2019-06-15 21:08:05 +05:30
Shreyas Zare
e127b6024a webapp: updated dhcp html markup. 2019-06-15 20:57:42 +05:30
Shreyas Zare
91fef01988 webapp: implemented lease time changes. 2019-06-15 20:57:14 +05:30
Shreyas Zare
030ebc2da6 Scope: replaces LeaseTime with day, hour and minute based time selection. 2019-06-15 20:56:48 +05:30
Shreyas Zare
88e391896e DhcpServer: changed offer dalay time to milli seconds. 2019-06-15 20:55:59 +05:30
Shreyas Zare
7f6a173fb3 webapp: implemented dhcp working ui. 2019-06-15 18:12:19 +05:30
Shreyas Zare
8dff54ed18 WebService: implemented dashboard client ip to domain mapping using dhcp map data. Implemented 'internal' zone option for validation to prevent unauthorized operations on internal zones. Implemented dhcp lease and zone sorting. Fixed minor issues. 2019-06-15 18:11:08 +05:30
Shreyas Zare
775a753a37 DhcpServer: implemented error handling in ReadUdpRequestAsync() to handle scope deactivation event correctly. Fixed minor bugs. Implemented internal zone option in UpdateDnsAuthZone(). Implemented GetAddressClientMap() method for dashboard client ip to domain mapping. 2019-06-15 18:09:09 +05:30
Shreyas Zare
981eddba10 Scope: implemented IComparable. fixed minor bugs. 2019-06-15 18:07:19 +05:30
Shreyas Zare
834b35bdc7 Lease: implemented IComparable and added ':' as allowed char for hardware address parsing. 2019-06-15 18:06:27 +05:30
Shreyas Zare
95d7c7abd7 DnsServer: implemented internal zone option. 2019-06-15 18:05:44 +05:30